StreamState constructor
- Input<
String?> ? arn, - Input<
String?> ? encryptionType, - Input<
bool?> ? enforceConsumerDeletion, - Input<
String?> ? kmsKeyId, - Input<
int?> ? maxRecordSizeInKib, - Input<
String?> ? name, - Input<
String?> ? region, - Input<
int?> ? retentionPeriod, - Input<
int?> ? shardCount, - Input<
List< ? shardLevelMetrics,String> ?> - Input<
StreamStreamModeDetails?> ? streamModeDetails, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
int?> ? warmThroughputMibPs,
Creates a new StreamState.
arn ARN specifying the stream (same as id).
encryptionType The encryption type to use. The only acceptable values are NONE or KMS. The default value is NONE.
enforceConsumerDeletion A boolean that indicates all registered consumers should be deregistered from the stream so that the stream can be destroyed without error. The default value is false.
kmsKeyId The identifier for the customer-managed KMS key to use for encryption. This can be a Key ID (UUID), a Key ARN, an Alias Name (prefixed with alias/), or an Alias ARN. You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
maxRecordSizeInKib The maximum size for a single data record in KiB. The minimum value is 1024. The maximum value is 10240.
name A name to identify the stream. This is unique to the AWS account and region the Stream is created in.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
retentionPeriod Length of time data records are accessible after they are added to the stream. The maximum value of a stream's retention period is 8760 hours. Minimum value is 24. Default is 24.
shardCount The number of shards that the stream will use. If the streamMode is PROVISIONED, this field is required. Amazon has guidelines for specifying the Stream size that should be referenced when creating a Kinesis stream. See Amazon Kinesis Streams for more.
shardLevelMetrics A list of shard-level CloudWatch metrics which can be enabled for the stream. See Monitoring with CloudWatch for more. Note that the value ALL should not be used; instead you should provide an explicit list of metrics you wish to enable.
streamModeDetails Indicates the capacity mode of the data stream. Detailed below.
tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
warmThroughputMibPs Target warm throughput in MB/s that the stream should be scaled to handle.
Implementation
const StreamState({
this.arn,
this.encryptionType,
this.enforceConsumerDeletion,
this.kmsKeyId,
this.maxRecordSizeInKib,
this.name,
this.region,
this.retentionPeriod,
this.shardCount,
this.shardLevelMetrics,
this.streamModeDetails,
this.tags,
this.tagsAll,
this.warmThroughputMibPs,
});