@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.575Z") @Stability(value=Experimental) public interface StreamProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
StreamProps.Builder
A builder for
StreamProps |
static class |
StreamProps.Jsii$Proxy
An implementation for
StreamProps |
| Modifier and Type | Method and Description |
|---|---|
static StreamProps.Builder |
builder() |
default StreamEncryption |
getEncryption()
(experimental) The kind of server-side encryption to apply to this stream.
|
default IKey |
getEncryptionKey()
(experimental) External KMS key to use for stream encryption.
|
default Duration |
getRetentionPeriod()
(experimental) The number of hours for the data records that are stored in shards to remain accessible.
|
default Number |
getShardCount()
(experimental) The number of shards for the stream.
|
default String |
getStreamName()
(experimental) Enforces a particular physical stream name.
|
@Stability(value=Experimental) @Nullable default StreamEncryption getEncryption()
If you choose KMS, you can specify a KMS key via encryptionKey. If
encryption key is not specified, a key will automatically be created.
Default: - StreamEncryption.KMS if encrypted Streams are supported in the region or StreamEncryption.UNENCRYPTED otherwise. StreamEncryption.KMS if an encryption key is supplied through the encryptionKey property
@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
The 'encryption' property must be set to "Kms".
Default: - Kinesis Data Streams master key ('/alias/aws/kinesis'). If encryption is set to StreamEncryption.KMS and this property is undefined, a new KMS key will be created and associated with this stream.
@Stability(value=Experimental) @Nullable default Duration getRetentionPeriod()
Default: Duration.hours(24)
@Stability(value=Experimental) @Nullable default Number getShardCount()
Default: 1
@Stability(value=Experimental) @Nullable default String getStreamName()
Default:
@Stability(value=Experimental) static StreamProps.Builder builder()
StreamProps.Builder of StreamPropsCopyright © 2021. All rights reserved.