# ReplicaSSESpecificationProperty

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `kmsMasterKeyId`: 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` .
