Class StreamProps.Jsii$Proxy
- All Implemented Interfaces:
StreamProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StreamProps
StreamProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesis.StreamProps
StreamProps.Builder, StreamProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(StreamProps.Builder builder) Constructor that initializes the object based on literal property values passed by theStreamProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final StreamEncryption
The kind of server-side encryption to apply to this stream.final IKey
External KMS key to use for stream encryption.final Duration
The number of hours for the data records that are stored in shards to remain accessible.final Number
The number of shards for the stream.final StreamMode
The capacity mode of this stream.final String
Enforces a particular physical stream name.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theStreamProps.Builder
.
-
-
Method Details
-
getEncryption
Description copied from interface:StreamProps
The kind of server-side encryption to apply to this stream.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
- Specified by:
getEncryption
in interfaceStreamProps
-
getEncryptionKey
Description copied from interface:StreamProps
External KMS key to use for stream encryption.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.
- Specified by:
getEncryptionKey
in interfaceStreamProps
-
getRetentionPeriod
Description copied from interface:StreamProps
The number of hours for the data records that are stored in shards to remain accessible.Default: Duration.hours(24)
- Specified by:
getRetentionPeriod
in interfaceStreamProps
-
getShardCount
Description copied from interface:StreamProps
The number of shards for the stream.Can only be provided if streamMode is Provisioned.
Default: 1
- Specified by:
getShardCount
in interfaceStreamProps
-
getStreamMode
Description copied from interface:StreamProps
The capacity mode of this stream.Default: StreamMode.PROVISIONED
- Specified by:
getStreamMode
in interfaceStreamProps
-
getStreamName
Description copied from interface:StreamProps
Enforces a particular physical stream name.Default:
- Specified by:
getStreamName
in interfaceStreamProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-