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.kinesis.CfnChannel
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IChannelRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:54.358Z")
@Stability(Stable)
public class CfnChannel
extends CfnResource
implements IInspectable, IChannelRef, ITaggableV2
Resource Type definition for AWS::Kinesis::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.kinesis.*;
CfnChannel cfnChannel = CfnChannel.Builder.create(this, "MyCfnChannel")
.channelName("channelName")
.serviceExecutionRoleArn("serviceExecutionRoleArn")
.streamConfigurationList(List.of(StreamConfigurationProperty.builder()
.recordConfiguration(RecordConfigurationProperty.builder()
.recordFormatType("recordFormatType")
// the properties below are optional
.gsrSchemaArn("gsrSchemaArn")
.build())
.streamArn("streamArn")
.build()))
// the properties below are optional
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.encryptionType("encryptionType")
.keyId("keyId")
.build())
.loggingConfiguration(LoggingConfigurationProperty.builder()
.cloudWatchLogs(CloudWatchLogsConfigurationProperty.builder()
.enabled(false)
// the properties below are optional
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.build())
.s3DestinationConfiguration(S3DestinationConfigurationProperty.builder()
.storageConfiguration(S3StorageConfigurationProperty.builder()
.bucketArn("bucketArn")
.compressionType("compressionType")
.expectedBucketOwner("expectedBucketOwner")
// the properties below are optional
.outputKeyTemplate("outputKeyTemplate")
.storageClass("storageClass")
.build())
// the properties below are optional
.dataFreshnessInSeconds(123)
.deadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationProperty.builder()
.bucketArn("bucketArn")
.expectedBucketOwner("expectedBucketOwner")
// the properties below are optional
.errorOutputPrefix("errorOutputPrefix")
.build())
.build())
.s3TablesDestinationConfiguration(S3TablesDestinationConfigurationProperty.builder()
.deadLetterQueueS3Configuration(DeadLetterQueueS3ConfigurationProperty.builder()
.bucketArn("bucketArn")
.expectedBucketOwner("expectedBucketOwner")
// the properties below are optional
.errorOutputPrefix("errorOutputPrefix")
.build())
.s3TablesConfigurationList(List.of(S3TableConfigurationProperty.builder()
.compressionType("compressionType")
.namespace("namespace")
.tableBucketArn("tableBucketArn")
.tableName("tableName")
// the properties below are optional
.partitionSpec(PartitionSpecProperty.builder()
.partitionFields(List.of(PartitionFieldProperty.builder()
.sourceName("sourceName")
.transform("transform")
.build()))
.build())
.build()))
// the properties below are optional
.dataFreshnessInSeconds(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnChannel.static interfaceCloudWatch Logs configuration for the channel.static interfaceConfiguration of the S3 bucket used to capture records that cannot be delivered to the primary destination.static interfaceServer-side encryption configuration for data at rest in the destination.static interfaceConfiguration for delivering channel operational logs.static interfaceA single partition field consisting of a transform applied to a source column.static interfacePartitioning specification for the destination Iceberg table.static interfaceThe configuration that describes how records on the source stream are encoded.static interfaceConfiguration for delivery to a vanilla S3 bucket destination.static interfaceS3 storage configuration that describes the destination bucket and how delivered objects are stored.static interfaceAn S3 Tables destination including its table bucket, namespace, table name, and partition spec.static interfaceConfiguration for delivery to S3 Tables destinations.static interfaceThe configuration of a Kinesis stream that the channel reads from.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.kinesis.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::Kinesis::Channel. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForChannel(IChannelRef resource) The ARN of the channel.Timestamp of when the channel was created.The service-generated unique identifier for the channel.The status of the channel.Tag Manager which manages the tags for this resource.The name of the channel.A reference to a Channel resource.Server-side encryption configuration for data at rest in the destination.Configuration for delivering channel operational logs.Configuration for delivery to a vanilla S3 bucket destination.Configuration for delivery to S3 Tables destinations.The ARN of the IAM role that the channel assumes to read from the source stream, deliver records to the destination, and (when enabled) write CloudWatch Logs.List of stream configurations associated with the channel.getTags()An arbitrary set of tags (key-value pairs) to associate with the Kinesis channel.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) The name of the channel.voidServer-side encryption configuration for data at rest in the destination.voidServer-side encryption configuration for data at rest in the destination.voidConfiguration for delivering channel operational logs.voidConfiguration for delivering channel operational logs.voidConfiguration for delivery to a vanilla S3 bucket destination.voidConfiguration for delivery to a vanilla S3 bucket destination.voidConfiguration for delivery to S3 Tables destinations.voidConfiguration for delivery to S3 Tables destinations.voidsetServiceExecutionRoleArn(String value) The ARN of the IAM role that the channel assumes to read from the source stream, deliver records to the destination, and (when enabled) write CloudWatch Logs.voidsetStreamConfigurationList(List<Object> value) List of stream configurations associated with the channel.voidList of stream configurations associated with the channel.voidAn arbitrary set of tags (key-value pairs) to associate with the Kinesis channel.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::Kinesis::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 ARN of the channel. -
getAttrChannelCreationTimestamp
Timestamp of when the channel was created. -
getAttrChannelId
The service-generated unique identifier for the channel. -
getAttrChannelStatus
The status of the channel. -
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
The name of the channel. -
setChannelName
The name of the channel. -
getServiceExecutionRoleArn
The ARN of the IAM role that the channel assumes to read from the source stream, deliver records to the destination, and (when enabled) write CloudWatch Logs. -
setServiceExecutionRoleArn
The ARN of the IAM role that the channel assumes to read from the source stream, deliver records to the destination, and (when enabled) write CloudWatch Logs. -
getStreamConfigurationList
List of stream configurations associated with the channel.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannel.StreamConfigurationProperty> -
setStreamConfigurationList
List of stream configurations associated with the channel. -
setStreamConfigurationList
List of stream configurations associated with the channel. -
getEncryptionConfiguration
Server-side encryption configuration for data at rest in the destination.Returns union: either
IResolvableorCfnChannel.EncryptionConfigurationProperty -
setEncryptionConfiguration
Server-side encryption configuration for data at rest in the destination. -
setEncryptionConfiguration
@Stability(Stable) public void setEncryptionConfiguration(@Nullable CfnChannel.EncryptionConfigurationProperty value) Server-side encryption configuration for data at rest in the destination. -
getLoggingConfiguration
Configuration for delivering channel operational logs.Returns union: either
IResolvableorCfnChannel.LoggingConfigurationProperty -
setLoggingConfiguration
Configuration for delivering channel operational logs. -
setLoggingConfiguration
@Stability(Stable) public void setLoggingConfiguration(@Nullable CfnChannel.LoggingConfigurationProperty value) Configuration for delivering channel operational logs. -
getS3DestinationConfiguration
Configuration for delivery to a vanilla S3 bucket destination.Returns union: either
IResolvableorCfnChannel.S3DestinationConfigurationProperty -
setS3DestinationConfiguration
Configuration for delivery to a vanilla S3 bucket destination. -
setS3DestinationConfiguration
@Stability(Stable) public void setS3DestinationConfiguration(@Nullable CfnChannel.S3DestinationConfigurationProperty value) Configuration for delivery to a vanilla S3 bucket destination. -
getS3TablesDestinationConfiguration
Configuration for delivery to S3 Tables destinations.Returns union: either
IResolvableorCfnChannel.S3TablesDestinationConfigurationProperty -
setS3TablesDestinationConfiguration
Configuration for delivery to S3 Tables destinations. -
setS3TablesDestinationConfiguration
@Stability(Stable) public void setS3TablesDestinationConfiguration(@Nullable CfnChannel.S3TablesDestinationConfigurationProperty value) Configuration for delivery to S3 Tables destinations. -
getTags
An arbitrary set of tags (key-value pairs) to associate with the Kinesis channel. -
setTags
An arbitrary set of tags (key-value pairs) to associate with the Kinesis channel.
-