Class CfnChannel
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.msk.CfnChannel
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IChannelRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:14.175Z")
@Stability(Stable)
public class CfnChannel
extends CfnResource
implements IInspectable, IChannelRef, ITaggableV2
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.services.msk.*;
CfnChannel cfnChannel = CfnChannel.Builder.create(this, "MyCfnChannel")
.channelName("channelName")
.topicConfigurationList(List.of(TopicConfigurationProperty.builder()
.recordConverter(RecordConverterProperty.builder()
.valueConverter("valueConverter")
.build())
.topicArn("topicArn")
// the properties below are optional
.recordSchema(RecordSchemaProperty.builder()
.gsrArn("gsrArn")
.build())
.build()))
// the properties below are optional
.clusterArn("clusterArn")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsKeyArn("kmsKeyArn")
.build())
.icebergDestinationConfiguration(IcebergDestinationConfigurationProperty.builder()
.appendOnly(false)
.deadLetterQueueS3(DeadLetterQueueS3Property.builder()
.bucketArn("bucketArn")
.errorOutputPrefix("errorOutputPrefix")
// the properties below are optional
.expectedBucketOwner("expectedBucketOwner")
.build())
.destinationTableList(List.of(DestinationTableProperty.builder()
.destinationDatabaseName("destinationDatabaseName")
.destinationTableName("destinationTableName")
// the properties below are optional
.partitionSpec(PartitionSpecProperty.builder()
.partitionStrategy("partitionStrategy")
// the properties below are optional
.sourceList(List.of(PartitionSourceProperty.builder()
.sourceName("sourceName")
.build()))
.build())
.build()))
.schemaEvolution(SchemaEvolutionProperty.builder()
.enableSchemaEvolution(false)
.build())
.serviceExecutionRoleArn("serviceExecutionRoleArn")
.tableCreation(TableCreationProperty.builder()
.enableTableCreation(false)
.build())
// the properties below are optional
.catalog(CatalogProperty.builder()
.catalogArn("catalogArn")
.warehouseLocation("warehouseLocation")
.build())
.compressionType("compressionType")
.dataFreshnessInSeconds(123)
.build())
.loggingInfo(ChannelLoggingInfoProperty.builder()
.cloudWatchLogs(CloudWatchLogsLogDestinationProperty.builder()
.enabled(false)
// the properties below are optional
.logGroup("logGroup")
.build())
.firehose(FirehoseLogDestinationProperty.builder()
.enabled(false)
// the properties below are optional
.deliveryStream("deliveryStream")
.build())
.s3(S3LogDestinationProperty.builder()
.enabled(false)
// the properties below are optional
.bucket("bucket")
.prefix("prefix")
.build())
.build())
.s3DestinationConfiguration(S3DestinationConfigurationProperty.builder()
.deadLetterQueueS3(DeadLetterQueueS3Property.builder()
.bucketArn("bucketArn")
.errorOutputPrefix("errorOutputPrefix")
// the properties below are optional
.expectedBucketOwner("expectedBucketOwner")
.build())
.serviceExecutionRoleArn("serviceExecutionRoleArn")
.storage(S3StorageProperty.builder()
.bucketArn("bucketArn")
.compressionType("compressionType")
.storageClass("storageClass")
// the properties below are optional
.expectedBucketOwner("expectedBucketOwner")
.outputKeyTemplate("outputKeyTemplate")
.outputPrefix("outputPrefix")
.build())
// the properties below are optional
.dataFreshnessInSeconds(123)
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnChannel.static interfaceCatalog configuration of the destination.static interfaceLog configuration details for Channel.static interfaceIncludes information about the channel state.static interfaceCloudWatch Logs log destination details.static interfaceDead letter queue S3 configuration of the destination.static interfaceDestination table configuration.static interfaceEncryption configuration.static interfaceFirehose log destination details.static interfaceIceberg destination configuration.static interfacePartition source configuration.static interfacePartition specification.static interfaceRecord converter configuration for a topic.static interfaceRecord schema configuration for a topic.static interfaceS3 destination configuration.static interfaceS3 log destination details.static interfaceS3 storage configuration.static interfaceSchema evolution configuration of the destination.static interfaceTable creation configuration of the destination.static interfaceConfiguration of topic in a channel.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.msk.IChannelRef
IChannelRef.Jsii$Default, IChannelRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnChannel(software.amazon.jsii.JsiiObjectRef objRef) CfnChannel(software.constructs.Construct scope, String id, CfnChannelProps props) Create a newAWS::MSK::Channel. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForChannel(IChannelRef resource) The Amazon Resource Name (ARN) that uniquely identifies the channel.Includes information about the channel state.Status of a channel resource.Tag Manager which manages the tags for this resource.Name of the channel.A reference to a Channel resource.The Amazon Resource Name (ARN) of the cluster.Encryption configuration.Iceberg destination configuration.Log configuration details for Channel.S3 destination configuration.getTags()Tags attached to the channel.Topic configuration.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnChannel.renderProperties(Map<String, Object> props) voidsetChannelName(String value) Name of the channel.voidsetClusterArn(String value) The Amazon Resource Name (ARN) of the cluster.voidEncryption configuration.voidEncryption configuration.voidIceberg destination configuration.voidIceberg destination configuration.voidsetLoggingInfo(IResolvable value) Log configuration details for Channel.voidLog configuration details for Channel.voidS3 destination configuration.voidS3 destination configuration.voidTags attached to the channel.voidsetTopicConfigurationList(List<Object> value) Topic configuration.voidTopic configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnChannel
protected CfnChannel(software.amazon.jsii.JsiiObjectRef objRef) -
CfnChannel
protected CfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnChannel
@Stability(Stable) public CfnChannel(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnChannelProps props) Create a newAWS::MSK::Channel.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForChannel
- Parameters:
resource- This parameter is required.
-
isCfnChannel
Checks whether the given object is a CfnChannel.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrChannelArn
The Amazon Resource Name (ARN) that uniquely identifies the channel. -
getAttrStateInfo
Includes information about the channel state. -
getAttrStatus
Status of a channel resource. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getChannelRef
A reference to a Channel resource.- Specified by:
getChannelRefin interfaceIChannelRef
-
getChannelName
Name of the channel. -
setChannelName
Name of the channel. -
getTopicConfigurationList
Topic configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannel.TopicConfigurationProperty> -
setTopicConfigurationList
Topic configuration. -
setTopicConfigurationList
Topic configuration. -
getClusterArn
The Amazon Resource Name (ARN) of the cluster. -
setClusterArn
The Amazon Resource Name (ARN) of the cluster. -
getEncryptionConfiguration
Encryption configuration.Returns union: either
IResolvableorCfnChannel.EncryptionConfigurationProperty -
setEncryptionConfiguration
Encryption configuration. -
setEncryptionConfiguration
@Stability(Stable) public void setEncryptionConfiguration(@Nullable CfnChannel.EncryptionConfigurationProperty value) Encryption configuration. -
getIcebergDestinationConfiguration
Iceberg destination configuration.Returns union: either
IResolvableorCfnChannel.IcebergDestinationConfigurationProperty -
setIcebergDestinationConfiguration
Iceberg destination configuration. -
setIcebergDestinationConfiguration
@Stability(Stable) public void setIcebergDestinationConfiguration(@Nullable CfnChannel.IcebergDestinationConfigurationProperty value) Iceberg destination configuration. -
getLoggingInfo
Log configuration details for Channel.Returns union: either
IResolvableorCfnChannel.ChannelLoggingInfoProperty -
setLoggingInfo
Log configuration details for Channel. -
setLoggingInfo
@Stability(Stable) public void setLoggingInfo(@Nullable CfnChannel.ChannelLoggingInfoProperty value) Log configuration details for Channel. -
getS3DestinationConfiguration
S3 destination configuration.Returns union: either
IResolvableorCfnChannel.S3DestinationConfigurationProperty -
setS3DestinationConfiguration
S3 destination configuration. -
setS3DestinationConfiguration
@Stability(Stable) public void setS3DestinationConfiguration(@Nullable CfnChannel.S3DestinationConfigurationProperty value) S3 destination configuration. -
getTags
Tags attached to the channel. -
setTags
Tags attached to the channel.
-