Interface CfnTable.SSESpecificationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTable.SSESpecificationProperty.Jsii$Proxy
Enclosing class:
CfnTable

@Stability(Stable) public static interface CfnTable.SSESpecificationProperty extends software.amazon.jsii.JsiiSerializable
Represents the settings used to enable server-side encryption.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.dynamodb.*;
 SSESpecificationProperty sSESpecificationProperty = SSESpecificationProperty.builder()
         .sseEnabled(false)
         // the properties below are optional
         .kmsMasterKeyId("kmsMasterKeyId")
         .sseType("sseType")
         .build();
 
  • Method Details

    • getSseEnabled

      @Stability(Stable) @NotNull Object getSseEnabled()
      Indicates whether server-side encryption is done using an AWS managed key or an AWS owned key.

      If enabled (true), server-side encryption type is set to KMS and an AWS managed key is used ( AWS KMS charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned key.

    • getKmsMasterKeyId

      @Stability(Stable) @Nullable default String getKmsMasterKeyId()
      The AWS KMS key that should be used for the AWS KMS encryption.

      To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb .

    • getSseType

      @Stability(Stable) @Nullable default String getSseType()
      Server-side encryption type. The only supported value is:.

      • KMS - Server-side encryption that uses AWS Key Management Service . The key is stored in your account and is managed by AWS KMS ( AWS KMS charges apply).
    • builder

      @Stability(Stable) static CfnTable.SSESpecificationProperty.Builder builder()
      Returns:
      a CfnTable.SSESpecificationProperty.Builder of CfnTable.SSESpecificationProperty