AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon Managed Streaming for Apache Kafka (MSK) CreateChannel API operation.

Syntax

New-MSKChannel
-IcebergDestinationConfiguration_AppendOnly <Boolean>
-LoggingInfo_S3_Bucket <String>
-IcebergDestinationConfiguration_DeadLetterQueueS3_BucketArn <String>
-S3DestinationConfiguration_DeadLetterQueueS3_BucketArn <String>
-S3DestinationConfiguration_Storage_BucketArn <String>
-IcebergDestinationConfiguration_Catalog_CatalogArn <String>
-ChannelName <String>
-ClusterArn <String>
-IcebergDestinationConfiguration_CompressionType <IcebergCompressionType>
-S3DestinationConfiguration_Storage_CompressionType <S3CompressionType>
-IcebergDestinationConfiguration_DataFreshnessInSecond <Int32>
-S3DestinationConfiguration_DataFreshnessInSecond <Int32>
-LoggingInfo_Firehose_DeliveryStream <String>
-IcebergDestinationConfiguration_DestinationTableList <DestinationTable[]>
-LoggingInfo_CloudWatchLogs_Enabled <Boolean>
-LoggingInfo_Firehose_Enabled <Boolean>
-LoggingInfo_S3_Enabled <Boolean>
-IcebergDestinationConfiguration_SchemaEvolution_EnableSchemaEvolution <Boolean>
-IcebergDestinationConfiguration_TableCreation_EnableTableCreation <Boolean>
-IcebergDestinationConfiguration_DeadLetterQueueS3_ErrorOutputPrefix <String>
-S3DestinationConfiguration_DeadLetterQueueS3_ErrorOutputPrefix <String>
-IcebergDestinationConfiguration_DeadLetterQueueS3_ExpectedBucketOwner <String>
-S3DestinationConfiguration_DeadLetterQueueS3_ExpectedBucketOwner <String>
-S3DestinationConfiguration_Storage_ExpectedBucketOwner <String>
-EncryptionConfiguration_KmsKeyArn <String>
-LoggingInfo_CloudWatchLogs_LogGroup <String>
-S3DestinationConfiguration_Storage_OutputKeyTemplate <String>
-S3DestinationConfiguration_Storage_OutputPrefix <String>
-LoggingInfo_S3_Prefix <String>
-IcebergDestinationConfiguration_ServiceExecutionRoleArn <String>
-S3DestinationConfiguration_ServiceExecutionRoleArn <String>
-S3DestinationConfiguration_Storage_StorageClass <S3StorageClass>
-Tag <Hashtable>
-TopicConfigurationList <TopicConfiguration[]>
-IcebergDestinationConfiguration_Catalog_WarehouseLocation <String>
-Select <String>
-Force <SwitchParameter>
-ClientConfig <AmazonKafkaConfig>

Description

Creates a Channel that streams records from an Amazon MSK Express cluster topic to Amazon S3 or Apache Iceberg.

Parameters

-ChannelName <String>
The name of the channel. Must be unique within the cluster.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientConfig <AmazonKafkaConfig>
Amazon.PowerShell.Cmdlets.MSK.AmazonKafkaClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClusterArn <String>
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-EncryptionConfiguration_KmsKeyArn <String>
The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the data.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_AppendOnly <Boolean>
Whether the destination is append-only. Must be true; updates and deletes are not supported.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_Catalog_CatalogArn <String>
The Amazon Resource Name (ARN) of the federated AWS Glue Data Catalog that projects the S3 Tables bucket. If omitted, MSK derives the catalog ARN from warehouseLocation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_Catalog_WarehouseLocation <String>
The Amazon Resource Name (ARN) of the S3 Tables bucket that backs the Apache Iceberg warehouse.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_CompressionType <IcebergCompressionType>
The compression codec for Iceberg table data files. Defaults to ZSTD.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_DataFreshnessInSecond <Int32>
The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900. Default: 600.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesIcebergDestinationConfiguration_DataFreshnessInSeconds
-IcebergDestinationConfiguration_DeadLetterQueueS3_BucketArn <String>
The Amazon Resource Name (ARN) of the dead-letter Amazon S3 bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_DeadLetterQueueS3_ErrorOutputPrefix <String>
An optional prefix prepended to every dead-letter Amazon S3 object key.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_DeadLetterQueueS3_ExpectedBucketOwner <String>
Optional 12-digit AWS account ID expected to own the dead-letter Amazon S3 bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_DestinationTableList <DestinationTable[]>
The destination Iceberg tables. Currently exactly one table must be specified. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_SchemaEvolution_EnableSchemaEvolution <Boolean>
Whether to allow MSK to evolve the destination table's schema. Must be false for the current release.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_ServiceExecutionRoleArn <String>
The Amazon Resource Name (ARN) of the IAM role that MSK assumes to access the destination table, the AWS Glue Data Catalog, and the dead-letter Amazon S3 bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-IcebergDestinationConfiguration_TableCreation_EnableTableCreation <Boolean>
Whether MSK creates the destination table on the customer's behalf. Must be true for the current release.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LoggingInfo_CloudWatchLogs_Enabled <Boolean>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LoggingInfo_CloudWatchLogs_LogGroup <String>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LoggingInfo_Firehose_DeliveryStream <String>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LoggingInfo_Firehose_Enabled <Boolean>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LoggingInfo_S3_Bucket <String>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LoggingInfo_S3_Enabled <Boolean>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-LoggingInfo_S3_Prefix <String>
The service has not provided documentation for this parameter; please refer to the service's API reference documentation for the latest available information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_DataFreshnessInSecond <Int32>
The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900. Default: 600.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesS3DestinationConfiguration_DataFreshnessInSeconds
-S3DestinationConfiguration_DeadLetterQueueS3_BucketArn <String>
The Amazon Resource Name (ARN) of the dead-letter Amazon S3 bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_DeadLetterQueueS3_ErrorOutputPrefix <String>
An optional prefix prepended to every dead-letter Amazon S3 object key.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_DeadLetterQueueS3_ExpectedBucketOwner <String>
Optional 12-digit AWS account ID expected to own the dead-letter Amazon S3 bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_ServiceExecutionRoleArn <String>
The Amazon Resource Name (ARN) of the IAM role that MSK assumes to write to the destination Amazon S3 bucket and the dead-letter bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_Storage_BucketArn <String>
The Amazon Resource Name (ARN) of the destination Amazon S3 bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_Storage_CompressionType <S3CompressionType>
The compression codec applied to delivered Amazon S3 objects.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_Storage_ExpectedBucketOwner <String>
Optional 12-digit AWS account ID expected to own the Amazon S3 bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_Storage_OutputKeyTemplate <String>
An optional template that controls the Amazon S3 object key for each delivered record. Supports the placeholders !{partition-id}, !{sequence-number}, and !{kafka-offset}.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_Storage_OutputPrefix <String>
An optional prefix prepended to every Amazon S3 object key written by the channel.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-S3DestinationConfiguration_Storage_StorageClass <S3StorageClass>
The Amazon S3 storage class for delivered objects.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Kafka.Model.CreateChannelResponse). Specifying the name of a property of type Amazon.Kafka.Model.CreateChannelResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Tag <Hashtable>
The tags attached to the channel. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTags
-TopicConfigurationList <TopicConfiguration[]>
The list of topic configurations for the channel. Currently exactly one topic must be specified. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.Kafka.Model.CreateChannelResponse object containing multiple properties.

Supported Version

AWS Tools for PowerShell: 2.x.y.z