Class CfnStream.StreamEncryptionProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnStream.StreamEncryptionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnStream.StreamEncryptionProperty
  • 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(CfnStream.StreamEncryptionProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnStream.StreamEncryptionProperty.Builder.
  • Method Details

    • getEncryptionType

      public final String getEncryptionType()
      Description copied from interface: CfnStream.StreamEncryptionProperty
      The encryption type to use.

      The only valid value is KMS .

      Specified by:
      getEncryptionType in interface CfnStream.StreamEncryptionProperty
    • getKeyId

      public final String getKeyId()
      Description copied from interface: CfnStream.StreamEncryptionProperty
      The GUID for the customer-managed AWS KMS key to use for encryption.

      This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis .

      • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
      • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
      • Globally unique key ID example: 12345678-1234-1234-1234-123456789012
      • Alias name example: alias/MyAliasName
      • Master key owned by Kinesis Data Streams: alias/aws/kinesis
      Specified by:
      getKeyId in interface CfnStream.StreamEncryptionProperty
    • $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