Class StreamProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesis.StreamProps.Jsii$Proxy
All Implemented Interfaces:
StreamProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
StreamProps

@Stability(Stable) @Internal public static final class StreamProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StreamProps
An implementation for 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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the StreamProps.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 Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    The kind of server-side encryption to apply to this stream.
    final IKey
    External KMS key to use for stream encryption.
    Policy to apply when the stream is removed from the stack.
    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.
    The capacity mode of this stream.
    final String
    Enforces a particular physical stream name.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(StreamProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the StreamProps.Builder.
  • Method Details

    • getEncryption

      public final StreamEncryption 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 interface StreamProps
    • getEncryptionKey

      public final IKey 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 interface StreamProps
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: StreamProps
      Policy to apply when the stream is removed from the stack.

      Default: RemovalPolicy.RETAIN

      Specified by:
      getRemovalPolicy in interface StreamProps
    • getRetentionPeriod

      public final Duration 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 interface StreamProps
    • getShardCount

      public final Number 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 interface StreamProps
    • getStreamMode

      public final StreamMode getStreamMode()
      Description copied from interface: StreamProps
      The capacity mode of this stream.

      Default: StreamMode.PROVISIONED

      Specified by:
      getStreamMode in interface StreamProps
    • getStreamName

      public final String getStreamName()
      Description copied from interface: StreamProps
      Enforces a particular physical stream name.

      Default:

      Specified by:
      getStreamName in interface StreamProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object