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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesis.StreamProps
StreamProps.Builder, StreamProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(StreamProps.Builder builder) Constructor that initializes the object based on literal property values passed by theStreamProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal StreamEncryptionThe kind of server-side encryption to apply to this stream.final IKeyExternal KMS key to use for stream encryption.final RemovalPolicyPolicy to apply when the stream is removed from the stack.final DurationThe number of hours for the data records that are stored in shards to remain accessible.final NumberThe number of shards for the stream.final List<ShardLevelMetrics> A list of shard-level metrics in properties to enable enhanced monitoring mode.final StreamModeThe capacity mode of this stream.final StringEnforces a particular physical stream name.final inthashCode()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:StreamPropsThe 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:
getEncryptionin interfaceStreamProps
-
getEncryptionKey
Description copied from interface:StreamPropsExternal 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:
getEncryptionKeyin interfaceStreamProps
-
getRemovalPolicy
Description copied from interface:StreamPropsPolicy to apply when the stream is removed from the stack.Default: RemovalPolicy.RETAIN
- Specified by:
getRemovalPolicyin interfaceStreamProps
-
getRetentionPeriod
Description copied from interface:StreamPropsThe number of hours for the data records that are stored in shards to remain accessible.Default: Duration.hours(24)
- Specified by:
getRetentionPeriodin interfaceStreamProps
-
getShardCount
Description copied from interface:StreamPropsThe number of shards for the stream.Can only be provided if streamMode is Provisioned.
Default: 1
- Specified by:
getShardCountin interfaceStreamProps
-
getShardLevelMetrics
Description copied from interface:StreamPropsA list of shard-level metrics in properties to enable enhanced monitoring mode.Default: undefined - AWS Kinesis default is disabled
- Specified by:
getShardLevelMetricsin interfaceStreamProps- See Also:
-
getStreamMode
Description copied from interface:StreamPropsThe capacity mode of this stream.Default: StreamMode.PROVISIONED
- Specified by:
getStreamModein interfaceStreamProps
-
getStreamName
Description copied from interface:StreamPropsEnforces a particular physical stream name.Default:
- Specified by:
getStreamNamein interfaceStreamProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-