@Stability(value=Stable) @Internal public static final class StreamProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StreamProps
StreamPropssoftware.amazon.jsii.JsiiObject.InitializationModeStreamProps.Builder, StreamProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(StreamProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
StreamProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
StreamEncryption |
getEncryption()
The kind of server-side encryption to apply to this stream.
|
IKey |
getEncryptionKey()
External KMS key to use for stream encryption.
|
Duration |
getRetentionPeriod()
The number of hours for the data records that are stored in shards to remain accessible.
|
Number |
getShardCount()
The number of shards for the stream.
|
StreamMode |
getStreamMode()
The capacity mode of this stream.
|
String |
getStreamName()
Enforces a particular physical stream name.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(StreamProps.Builder builder)
StreamProps.Builder.public final StreamEncryption getEncryption()
StreamProps
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
getEncryption in interface StreamPropspublic final IKey getEncryptionKey()
StreamPropsThe '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.
getEncryptionKey in interface StreamPropspublic final Duration getRetentionPeriod()
StreamPropsDefault: Duration.hours(24)
getRetentionPeriod in interface StreamPropspublic final Number getShardCount()
StreamPropsCan only be provided if streamMode is Provisioned.
Default: 1
getShardCount in interface StreamPropspublic final StreamMode getStreamMode()
StreamPropsDefault: StreamMode.PROVISIONED
getStreamMode in interface StreamPropspublic final String getStreamName()
StreamProps
Default:
getStreamName in interface StreamProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.