Class CfnChannelPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnChannelPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:30.245Z") @Stability(Stable) public class CfnChannelPropsMixin extends Mixin implements software.constructs.IMixin
Resource Type definition for AWS::MSK::Channel.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.msk.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnChannelPropsMixin cfnChannelPropsMixin = CfnChannelPropsMixin.Builder.create(CfnChannelMixinProps.builder()
         .channelName("channelName")
         .clusterArn("clusterArn")
         .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                 .kmsKeyArn("kmsKeyArn")
                 .build())
         .icebergDestinationConfiguration(IcebergDestinationConfigurationProperty.builder()
                 .appendOnly(false)
                 .catalog(CatalogProperty.builder()
                         .catalogArn("catalogArn")
                         .warehouseLocation("warehouseLocation")
                         .build())
                 .compressionType("compressionType")
                 .dataFreshnessInSeconds(123)
                 .deadLetterQueueS3(DeadLetterQueueS3Property.builder()
                         .bucketArn("bucketArn")
                         .errorOutputPrefix("errorOutputPrefix")
                         .expectedBucketOwner("expectedBucketOwner")
                         .build())
                 .destinationTableList(List.of(DestinationTableProperty.builder()
                         .destinationDatabaseName("destinationDatabaseName")
                         .destinationTableName("destinationTableName")
                         .partitionSpec(PartitionSpecProperty.builder()
                                 .partitionStrategy("partitionStrategy")
                                 .sourceList(List.of(PartitionSourceProperty.builder()
                                         .sourceName("sourceName")
                                         .build()))
                                 .build())
                         .build()))
                 .schemaEvolution(SchemaEvolutionProperty.builder()
                         .enableSchemaEvolution(false)
                         .build())
                 .serviceExecutionRoleArn("serviceExecutionRoleArn")
                 .tableCreation(TableCreationProperty.builder()
                         .enableTableCreation(false)
                         .build())
                 .build())
         .loggingInfo(ChannelLoggingInfoProperty.builder()
                 .cloudWatchLogs(CloudWatchLogsLogDestinationProperty.builder()
                         .enabled(false)
                         .logGroup("logGroup")
                         .build())
                 .firehose(FirehoseLogDestinationProperty.builder()
                         .deliveryStream("deliveryStream")
                         .enabled(false)
                         .build())
                 .s3(S3LogDestinationProperty.builder()
                         .bucket("bucket")
                         .enabled(false)
                         .prefix("prefix")
                         .build())
                 .build())
         .s3DestinationConfiguration(S3DestinationConfigurationProperty.builder()
                 .dataFreshnessInSeconds(123)
                 .deadLetterQueueS3(DeadLetterQueueS3Property.builder()
                         .bucketArn("bucketArn")
                         .errorOutputPrefix("errorOutputPrefix")
                         .expectedBucketOwner("expectedBucketOwner")
                         .build())
                 .serviceExecutionRoleArn("serviceExecutionRoleArn")
                 .storage(S3StorageProperty.builder()
                         .bucketArn("bucketArn")
                         .compressionType("compressionType")
                         .expectedBucketOwner("expectedBucketOwner")
                         .outputKeyTemplate("outputKeyTemplate")
                         .outputPrefix("outputPrefix")
                         .storageClass("storageClass")
                         .build())
                 .build())
         .tags(Map.of(
                 "tagsKey", "tags"))
         .topicConfigurationList(List.of(TopicConfigurationProperty.builder()
                 .recordConverter(RecordConverterProperty.builder()
                         .valueConverter("valueConverter")
                         .build())
                 .recordSchema(RecordSchemaProperty.builder()
                         .gsrArn("gsrArn")
                         .build())
                 .topicArn("topicArn")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnChannelPropsMixin

      protected CfnChannelPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnChannelPropsMixin

      protected CfnChannelPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnChannelPropsMixin

      @Stability(Stable) public CfnChannelPropsMixin(@NotNull CfnChannelMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::MSK::Channel.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnChannelPropsMixin

      @Stability(Stable) public CfnChannelPropsMixin(@NotNull CfnChannelMixinProps props)
      Create a mixin to apply properties to AWS::MSK::Channel.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnChannelMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()