Interface CfnChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelProps.Jsii$Proxy
CfnChannel.
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.*;
CfnChannelProps cfnChannelProps = CfnChannelProps.builder()
.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 TypeInterfaceDescriptionstatic final classA builder forCfnChannelPropsstatic final classAn implementation forCfnChannelProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnChannelProps.Builderbuilder()The name of the channel.default ObjectServer-side encryption configuration for data at rest in the destination.default ObjectConfiguration for delivering channel operational logs.default ObjectConfiguration for delivery to a vanilla S3 bucket destination.default ObjectConfiguration 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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChannelName
The name of the channel.The name's uniqueness is scoped per AWS account and region.
- See Also:
-
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.- See Also:
-
getStreamConfigurationList
List of stream configurations associated with the channel.v1 supports a single element; the list shape allows future extensibility to fan in from multiple streams.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannel.StreamConfigurationProperty>- See Also:
-
getEncryptionConfiguration
Server-side encryption configuration for data at rest in the destination.Data delivered to S3 / S3 Tables is encrypted with the same key.
Returns union: either
IResolvableorCfnChannel.EncryptionConfigurationProperty- See Also:
-
getLoggingConfiguration
Configuration for delivering channel operational logs.Returns union: either
IResolvableorCfnChannel.LoggingConfigurationProperty- See Also:
-
getS3DestinationConfiguration
Configuration for delivery to a vanilla S3 bucket destination.Exactly one of S3DestinationConfiguration and S3TablesDestinationConfiguration must be specified on the channel.
Returns union: either
IResolvableorCfnChannel.S3DestinationConfigurationProperty- See Also:
-
getS3TablesDestinationConfiguration
Configuration for delivery to S3 Tables destinations.Exactly one of S3DestinationConfiguration and S3TablesDestinationConfiguration must be specified on the channel.
Returns union: either
IResolvableorCfnChannel.S3TablesDestinationConfigurationProperty- See Also:
-
getTags
An arbitrary set of tags (key-value pairs) to associate with the Kinesis channel.- See Also:
-
builder
- Returns:
- a
CfnChannelProps.BuilderofCfnChannelProps
-