Skip to content
v2.278.0

ReplicaSSESpecificationProperty Struct ​

Allows you to specify a KMS key identifier to be used for server-side encryption.

The key can be specified via ARN, key ID, or alias. The key must be created in the same region as the replica.

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 replicaSSESpecificationProperty: dynamodb.CfnGlobalTable.ReplicaSSESpecificationProperty = {
  kmsMasterKeyId: 'kmsMasterKeyId',
};
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

replica_sse_specification_property = dynamodb.CfnGlobalTable.ReplicaSSESpecificationProperty(
    kms_master_key_id="kmsMasterKeyId"
)
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.*;

ReplicaSSESpecificationProperty replicaSSESpecificationProperty = ReplicaSSESpecificationProperty.builder()
        .kmsMasterKeyId("kmsMasterKeyId")
        .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 replicaSSESpecificationProperty = new ReplicaSSESpecificationProperty {
    KmsMasterKeyId = "kmsMasterKeyId"
};
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"

replicaSSESpecificationProperty := &ReplicaSSESpecificationProperty{
	KmsMasterKeyId: jsii.String("kmsMasterKeyId"),
}

Properties ​

kmsMasterKeyIdstringkms_master_key_idstrkmsMasterKeyIdStringKmsMasterKeyIdstringKmsMasterKeyId*string required #
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 .