Skip to content
v2.278.0

SseSpecificationProperty Struct ​

AWS Verified Access provides server side encryption by default to data at rest using AWS -owned KMS keys.

You also have the option of using customer managed KMS keys, which can be specified using the options below.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const sseSpecificationProperty: ec2.CfnVerifiedAccessGroup.SseSpecificationProperty = {
  customerManagedKeyEnabled: false,
  kmsKeyArn: 'kmsKeyArn',
};
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_ec2 as ec2

sse_specification_property = ec2.CfnVerifiedAccessGroup.SseSpecificationProperty(
    customer_managed_key_enabled=False,
    kms_key_arn="kmsKeyArn"
)
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.ec2.*;

SseSpecificationProperty sseSpecificationProperty = SseSpecificationProperty.builder()
        .customerManagedKeyEnabled(false)
        .kmsKeyArn("kmsKeyArn")
        .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.EC2;

var sseSpecificationProperty = new SseSpecificationProperty {
    CustomerManagedKeyEnabled = false,
    KmsKeyArn = "kmsKeyArn"
};
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{
	CustomerManagedKeyEnabled: jsii.Boolean(false),
	KmsKeyArn: jsii.String("kmsKeyArn"),
}

Properties ​

customerManagedKeyEnabledoptionalboolean | IResolvablecustomer_managed_key_enabledoptionaltyping.Union[bool, IResolvable]customerManagedKeyEnabledoptionalBooleanCustomerManagedKeyEnabledoptionalboolCustomerManagedKeyEnabledoptionalinterface{} #
Enable or disable the use of customer managed KMS keys for server side encryption.

Valid values: True | False

kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #
The ARN of the KMS key.