AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotanalytics.Channel
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::IoTAnalytics::Channel
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var channel = new AwsNative.IoTAnalytics.Channel("channel", new()
{
ChannelName = "SimpleChannel",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotanalytics.NewChannel(ctx, "channel", &iotanalytics.ChannelArgs{
ChannelName: pulumi.String("SimpleChannel"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
channel = aws_native.iotanalytics.Channel("channel", channel_name="SimpleChannel")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const channel = new aws_native.iotanalytics.Channel("channel", {channelName: "SimpleChannel"});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var channel = new AwsNative.IoTAnalytics.Channel("channel", new()
{
ChannelName = "SimpleChannel",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotanalytics.NewChannel(ctx, "channel", &iotanalytics.ChannelArgs{
ChannelName: pulumi.String("SimpleChannel"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
channel = aws_native.iotanalytics.Channel("channel", channel_name="SimpleChannel")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const channel = new aws_native.iotanalytics.Channel("channel", {channelName: "SimpleChannel"});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var channel = new AwsNative.IoTAnalytics.Channel("channel", new()
{
ChannelName = "ComplexChannel",
RetentionPeriod = new AwsNative.IoTAnalytics.Inputs.ChannelRetentionPeriodArgs
{
Unlimited = false,
NumberOfDays = 10,
},
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "keyname1",
Value = "value1",
},
new AwsNative.Inputs.TagArgs
{
Key = "keyname2",
Value = "value2",
},
},
});
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotanalytics.NewChannel(ctx, "channel", &iotanalytics.ChannelArgs{
ChannelName: pulumi.String("ComplexChannel"),
RetentionPeriod: &iotanalytics.ChannelRetentionPeriodArgs{
Unlimited: pulumi.Bool(false),
NumberOfDays: pulumi.Int(10),
},
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("keyname1"),
Value: pulumi.String("value1"),
},
&aws.TagArgs{
Key: pulumi.String("keyname2"),
Value: pulumi.String("value2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
channel = aws_native.iotanalytics.Channel("channel",
channel_name="ComplexChannel",
retention_period=aws_native.iotanalytics.ChannelRetentionPeriodArgs(
unlimited=False,
number_of_days=10,
),
tags=[
aws_native.TagArgs(
key="keyname1",
value="value1",
),
aws_native.TagArgs(
key="keyname2",
value="value2",
),
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const channel = new aws_native.iotanalytics.Channel("channel", {
channelName: "ComplexChannel",
retentionPeriod: {
unlimited: false,
numberOfDays: 10,
},
tags: [
{
key: "keyname1",
value: "value1",
},
{
key: "keyname2",
value: "value2",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var channel = new AwsNative.IoTAnalytics.Channel("channel", new()
{
ChannelName = "ComplexChannel",
RetentionPeriod = new AwsNative.IoTAnalytics.Inputs.ChannelRetentionPeriodArgs
{
Unlimited = false,
NumberOfDays = 10,
},
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "keyname1",
Value = "value1",
},
new AwsNative.Inputs.TagArgs
{
Key = "keyname2",
Value = "value2",
},
},
});
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotanalytics.NewChannel(ctx, "channel", &iotanalytics.ChannelArgs{
ChannelName: pulumi.String("ComplexChannel"),
RetentionPeriod: &iotanalytics.ChannelRetentionPeriodArgs{
Unlimited: pulumi.Bool(false),
NumberOfDays: pulumi.Int(10),
},
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("keyname1"),
Value: pulumi.String("value1"),
},
&aws.TagArgs{
Key: pulumi.String("keyname2"),
Value: pulumi.String("value2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
channel = aws_native.iotanalytics.Channel("channel",
channel_name="ComplexChannel",
retention_period=aws_native.iotanalytics.ChannelRetentionPeriodArgs(
unlimited=False,
number_of_days=10,
),
tags=[
aws_native.TagArgs(
key="keyname1",
value="value1",
),
aws_native.TagArgs(
key="keyname2",
value="value2",
),
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const channel = new aws_native.iotanalytics.Channel("channel", {
channelName: "ComplexChannel",
retentionPeriod: {
unlimited: false,
numberOfDays: 10,
},
tags: [
{
key: "keyname1",
value: "value1",
},
{
key: "keyname2",
value: "value2",
},
],
});
Coming soon!
Create Channel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Channel(name: string, args?: ChannelArgs, opts?: CustomResourceOptions);
@overload
def Channel(resource_name: str,
args: Optional[ChannelArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Channel(resource_name: str,
opts: Optional[ResourceOptions] = None,
channel_name: Optional[str] = None,
channel_storage: Optional[ChannelStorageArgs] = None,
retention_period: Optional[ChannelRetentionPeriodArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewChannel(ctx *Context, name string, args *ChannelArgs, opts ...ResourceOption) (*Channel, error)
public Channel(string name, ChannelArgs? args = null, CustomResourceOptions? opts = null)
public Channel(String name, ChannelArgs args)
public Channel(String name, ChannelArgs args, CustomResourceOptions options)
type: aws-native:iotanalytics:Channel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Channel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Channel resource accepts the following input properties:
- Channel
Name string - The name of the channel.
- Channel
Storage Pulumi.Aws Native. Io TAnalytics. Inputs. Channel Storage - Where channel data is stored.
- Retention
Period Pulumi.Aws Native. Io TAnalytics. Inputs. Channel Retention Period - How long, in days, message data is kept for the channel.
- List<Pulumi.
Aws Native. Inputs. Tag> Metadata which can be used to manage the channel.
For more information, see Tag .
- Channel
Name string - The name of the channel.
- Channel
Storage ChannelStorage Args - Where channel data is stored.
- Retention
Period ChannelRetention Period Args - How long, in days, message data is kept for the channel.
- Tag
Args Metadata which can be used to manage the channel.
For more information, see Tag .
- channel
Name String - The name of the channel.
- channel
Storage ChannelStorage - Where channel data is stored.
- retention
Period ChannelRetention Period - How long, in days, message data is kept for the channel.
- List<Tag>
Metadata which can be used to manage the channel.
For more information, see Tag .
- channel
Name string - The name of the channel.
- channel
Storage ChannelStorage - Where channel data is stored.
- retention
Period ChannelRetention Period - How long, in days, message data is kept for the channel.
- Tag[]
Metadata which can be used to manage the channel.
For more information, see Tag .
- channel_
name str - The name of the channel.
- channel_
storage ChannelStorage Args - Where channel data is stored.
- retention_
period ChannelRetention Period Args - How long, in days, message data is kept for the channel.
- Sequence[Tag
Args] Metadata which can be used to manage the channel.
For more information, see Tag .
- channel
Name String - The name of the channel.
- channel
Storage Property Map - Where channel data is stored.
- retention
Period Property Map - How long, in days, message data is kept for the channel.
- List<Property Map>
Metadata which can be used to manage the channel.
For more information, see Tag .
Outputs
All input properties are implicitly available as output properties. Additionally, the Channel resource produces the following output properties:
Supporting Types
ChannelCustomerManagedS3, ChannelCustomerManagedS3Args
- Bucket string
- The name of the S3 bucket in which channel data is stored.
- Role
Arn string - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- Key
Prefix string - (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
- Bucket string
- The name of the S3 bucket in which channel data is stored.
- Role
Arn string - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- Key
Prefix string - (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
- bucket String
- The name of the S3 bucket in which channel data is stored.
- role
Arn String - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key
Prefix String - (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
- bucket string
- The name of the S3 bucket in which channel data is stored.
- role
Arn string - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key
Prefix string - (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
- bucket str
- The name of the S3 bucket in which channel data is stored.
- role_
arn str - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key_
prefix str - (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
- bucket String
- The name of the S3 bucket in which channel data is stored.
- role
Arn String - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key
Prefix String - (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
ChannelRetentionPeriod, ChannelRetentionPeriodArgs
- Number
Of intDays - The number of days that message data is kept. The
unlimited
parameter must be false. - Unlimited bool
- If true, message data is kept indefinitely.
- Number
Of intDays - The number of days that message data is kept. The
unlimited
parameter must be false. - Unlimited bool
- If true, message data is kept indefinitely.
- number
Of IntegerDays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited Boolean
- If true, message data is kept indefinitely.
- number
Of numberDays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited boolean
- If true, message data is kept indefinitely.
- number_
of_ intdays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited bool
- If true, message data is kept indefinitely.
- number
Of NumberDays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited Boolean
- If true, message data is kept indefinitely.
ChannelStorage, ChannelStorageArgs
- Customer
Managed Pulumi.S3 Aws Native. Io TAnalytics. Inputs. Channel Customer Managed S3 - Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created. - Service
Managed Pulumi.S3 Aws Native. Io TAnalytics. Inputs. Channel Service Managed S3 - Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.
- Customer
Managed ChannelS3 Customer Managed S3 - Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created. - Service
Managed ChannelS3 Service Managed S3 - Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.
- customer
Managed ChannelS3 Customer Managed S3 - Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created. - service
Managed ChannelS3 Service Managed S3 - Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.
- customer
Managed ChannelS3 Customer Managed S3 - Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created. - service
Managed ChannelS3 Service Managed S3 - Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.
- customer_
managed_ Channels3 Customer Managed S3 - Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created. - service_
managed_ Channels3 Service Managed S3 - Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.
- customer
Managed Property MapS3 - Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the
retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created. - service
Managed Property MapS3 - Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.