EncryptionDetailsProperty Struct
Configuration details about encryption for the cluster including the AWS key ARN, encryption type, and encryption status.
| 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_dsql as dsql } from 'aws-cdk-lib';
const encryptionDetailsProperty: dsql.CfnCluster.EncryptionDetailsProperty = {
encryptionStatus: 'encryptionStatus',
encryptionType: 'encryptionType',
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_dsql as dsql
encryption_details_property = dsql.CfnCluster.EncryptionDetailsProperty(
encryption_status="encryptionStatus",
encryption_type="encryptionType",
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.dsql.*;
EncryptionDetailsProperty encryptionDetailsProperty = EncryptionDetailsProperty.builder()
.encryptionStatus("encryptionStatus")
.encryptionType("encryptionType")
.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.DSQL;
var encryptionDetailsProperty = new EncryptionDetailsProperty {
EncryptionStatus = "encryptionStatus",
EncryptionType = "encryptionType",
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"
encryptionDetailsProperty := &EncryptionDetailsProperty{
EncryptionStatus: jsii.String("encryptionStatus"),
EncryptionType: jsii.String("encryptionType"),
KmsKeyArn: jsii.String("kmsKeyArn"),
}
Properties
encryptionStatusoptionalstringencryption_statusoptionalstrencryptionStatusoptionalStringEncryptionStatusoptionalstringEncryptionStatusoptional*string #The status of encryption for the cluster.
encryptionTypeoptionalstringencryption_typeoptionalstrencryptionTypeoptionalStringEncryptionTypeoptionalstringEncryptionTypeoptional*string #The type of encryption that protects the data on your cluster.
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #The ARN of the AWS key that encrypts data in the cluster.