| Modifier and Type | Method and Description |
|---|---|
CfnStream |
build() |
static CfnStream.Builder |
create(software.constructs.Construct scope,
String id) |
CfnStream.Builder |
name(String name)
The name of the Kinesis stream.
|
CfnStream.Builder |
retentionPeriodHours(Number retentionPeriodHours)
The number of hours for the data records that are stored in shards to remain accessible.
|
CfnStream.Builder |
shardCount(Number shardCount)
The number of shards that the stream uses.
|
CfnStream.Builder |
streamEncryption(CfnStream.StreamEncryptionProperty streamEncryption)
When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
|
CfnStream.Builder |
streamEncryption(IResolvable streamEncryption)
When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream.
|
CfnStream.Builder |
streamModeDetails(CfnStream.StreamModeDetailsProperty streamModeDetails)
Specifies the capacity mode to which you want to set your data stream.
|
CfnStream.Builder |
streamModeDetails(IResolvable streamModeDetails)
Specifies the capacity mode to which you want to set your data stream.
|
CfnStream.Builder |
tags(List<? extends CfnTag> tags)
An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream.
|
@Stability(value=Stable) public static CfnStream.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnStream.StreamEncryptionProperty.Builder.@Stability(value=Stable) public CfnStream.Builder name(String name)
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the stream name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
name - The name of the Kinesis stream. This parameter is required.this@Stability(value=Stable) public CfnStream.Builder retentionPeriodHours(Number retentionPeriodHours)
The default value is 24. For more information about the stream retention period, see Changing the Data Retention Period in the Amazon Kinesis Developer Guide.
retentionPeriodHours - The number of hours for the data records that are stored in shards to remain accessible. This parameter is required.this@Stability(value=Stable) public CfnStream.Builder shardCount(Number shardCount)
For greater provisioned throughput, increase the number of shards.
shardCount - The number of shards that the stream uses. This parameter is required.this@Stability(value=Stable) public CfnStream.Builder streamEncryption(CfnStream.StreamEncryptionProperty streamEncryption)
Removing this property from your stack template and updating your stack disables encryption.
streamEncryption - When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream. This parameter is required.this@Stability(value=Stable) public CfnStream.Builder streamEncryption(IResolvable streamEncryption)
Removing this property from your stack template and updating your stack disables encryption.
streamEncryption - When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream. This parameter is required.this@Stability(value=Stable) public CfnStream.Builder streamModeDetails(CfnStream.StreamModeDetailsProperty streamModeDetails)
Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
streamModeDetails - Specifies the capacity mode to which you want to set your data stream. This parameter is required.this@Stability(value=Stable) public CfnStream.Builder streamModeDetails(IResolvable streamModeDetails)
Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
streamModeDetails - Specifies the capacity mode to which you want to set your data stream. This parameter is required.this@Stability(value=Stable) public CfnStream.Builder tags(List<? extends CfnTag> tags)
For information about constraints for this property, see Tag Restrictions in the Amazon Kinesis Developer Guide .
tags - An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream. This parameter is required.thisCopyright © 2022. All rights reserved.