We recommend new projects start with resources from the AWS provider.
aws-native.iotanalytics.getChannel
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::IoTAnalytics::Channel
Using getChannel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getChannel(args: GetChannelArgs, opts?: InvokeOptions): Promise<GetChannelResult>
function getChannelOutput(args: GetChannelOutputArgs, opts?: InvokeOptions): Output<GetChannelResult>
def get_channel(channel_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChannelResult
def get_channel_output(channel_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChannelResult]
func LookupChannel(ctx *Context, args *LookupChannelArgs, opts ...InvokeOption) (*LookupChannelResult, error)
func LookupChannelOutput(ctx *Context, args *LookupChannelOutputArgs, opts ...InvokeOption) LookupChannelResultOutput
> Note: This function is named LookupChannel
in the Go SDK.
public static class GetChannel
{
public static Task<GetChannelResult> InvokeAsync(GetChannelArgs args, InvokeOptions? opts = null)
public static Output<GetChannelResult> Invoke(GetChannelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetChannelResult> getChannel(GetChannelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iotanalytics:getChannel
arguments:
# arguments dictionary
The following arguments are supported:
- Channel
Name string - The name of the channel.
- Channel
Name string - The name of the channel.
- channel
Name String - The name of the channel.
- channel
Name string - The name of the channel.
- channel_
name str - The name of the channel.
- channel
Name String - The name of the channel.
getChannel Result
The following output properties are available:
- Channel
Storage Pulumi.Aws Native. Io TAnalytics. Outputs. Channel Storage - Where channel data is stored.
- Id string
- Retention
Period Pulumi.Aws Native. Io TAnalytics. Outputs. Channel Retention Period - How long, in days, message data is kept for the channel.
- List<Pulumi.
Aws Native. Outputs. Tag> Metadata which can be used to manage the channel.
For more information, see Tag .
- Channel
Storage ChannelStorage - Where channel data is stored.
- Id string
- 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
Storage ChannelStorage - Where channel data is stored.
- id String
- 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
Storage ChannelStorage - Where channel data is stored.
- id string
- 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_
storage ChannelStorage - Where channel data is stored.
- id str
- retention_
period ChannelRetention Period - How long, in days, message data is kept for the channel.
- Sequence[root_Tag]
Metadata which can be used to manage the channel.
For more information, see Tag .
- channel
Storage Property Map - Where channel data is stored.
- id String
- 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 .
Supporting Types
ChannelCustomerManagedS3
- 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
- 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
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.