Class CfnGlobalTable.SSESpecificationProperty.Builder

java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnGlobalTable.SSESpecificationProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTable.SSESpecificationProperty>
Enclosing interface:
CfnGlobalTable.SSESpecificationProperty

@Stability(Stable) public static final class CfnGlobalTable.SSESpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnGlobalTable.SSESpecificationProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • sseEnabled

      @Stability(Stable) public CfnGlobalTable.SSESpecificationProperty.Builder sseEnabled(Boolean sseEnabled)
      Parameters:
      sseEnabled - Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key. This parameter is required. 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 an AWS owned key. If you choose to use KMS encryption, you can also use customer managed KMS keys by specifying them in the ReplicaSpecification.SSESpecification object. You cannot mix AWS managed and customer managed KMS keys.
      Returns:
      this
    • sseEnabled

      @Stability(Stable) public CfnGlobalTable.SSESpecificationProperty.Builder sseEnabled(IResolvable sseEnabled)
      Parameters:
      sseEnabled - Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key. This parameter is required. 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 an AWS owned key. If you choose to use KMS encryption, you can also use customer managed KMS keys by specifying them in the ReplicaSpecification.SSESpecification object. You cannot mix AWS managed and customer managed KMS keys.
      Returns:
      this
    • sseType

      @Stability(Stable) public CfnGlobalTable.SSESpecificationProperty.Builder sseType(String sseType)
      Parameters:
      sseType - 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).
      Returns:
      this
    • build

      @Stability(Stable) public CfnGlobalTable.SSESpecificationProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGlobalTable.SSESpecificationProperty>
      Returns:
      a new instance of CfnGlobalTable.SSESpecificationProperty
      Throws:
      NullPointerException - if any required attribute was not provided