Skip to content
v2.278.0

SSESpecificationProperty Struct ​

Represents the settings used to enable server-side encryption.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const sSESpecificationProperty: dynamodb.CfnTable.SSESpecificationProperty = {
  sseEnabled: false,

  // the properties below are optional
  kmsMasterKeyId: 'kmsMasterKeyId',
  sseType: 'sseType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dynamodb as dynamodb

s_se_specification_property = dynamodb.CfnTable.SSESpecificationProperty(
    sse_enabled=False,

    # the properties below are optional
    kms_master_key_id="kmsMasterKeyId",
    sse_type="sseType"
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;

var sSESpecificationProperty = new SSESpecificationProperty {
    SseEnabled = false,

    // the properties below are optional
    KmsMasterKeyId = "kmsMasterKeyId",
    SseType = "sseType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

sSESpecificationProperty := &SSESpecificationProperty{
	SseEnabled: jsii.Boolean(false),

	// the properties below are optional
	KmsMasterKeyId: jsii.String("kmsMasterKeyId"),
	SseType: jsii.String("sseType"),
}

Properties ​

kmsMasterKeyIdoptionalstringkms_master_key_idoptionalstrkmsMasterKeyIdoptionalStringKmsMasterKeyIdoptionalstringKmsMasterKeyIdoptional*string #
The AWS key that should be used for the AWS 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 .

sseEnabledboolean | IResolvablesse_enabledtyping.Union[bool, IResolvable]sseEnabledBooleanSseEnabledboolSseEnabledinterface{} required #
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 charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned key.

sseTypeoptionalstringsse_typeoptionalstrsseTypeoptionalStringSseTypeoptionalstringSseTypeoptional*string #
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 ( AWS charges apply).