SSESpecificationProperty Struct
Represents the settings used to enable server-side encryption.
| Source | |
|---|---|
| Type last changed |
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.CfnGlobalTable.SSESpecificationProperty = {
sseEnabled: false,
// the properties below are optional
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.CfnGlobalTable.SSESpecificationProperty(
sse_enabled=False,
# the properties below are optional
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
.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
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
SseType: jsii.String("sseType"),
}
Properties
sseEnabledboolean | IResolvablesse_enabledtyping.Union[bool, IResolvable]sseEnabledBooleanSseEnabledboolSseEnabledinterface{} required #Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key.
notes
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 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.
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).