Skip to content
v2.277.0

EncryptionConfigProperty Struct ​

The encryption configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const encryptionConfigProperty: connect.CfnInstanceStorageConfig.EncryptionConfigProperty = {
  encryptionType: 'encryptionType',
  keyId: 'keyId',
};
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_connect as connect

encryption_config_property = connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
    encryption_type="encryptionType",
    key_id="keyId"
)
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.connect.*;

EncryptionConfigProperty encryptionConfigProperty = EncryptionConfigProperty.builder()
        .encryptionType("encryptionType")
        .keyId("keyId")
        .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.Connect;

var encryptionConfigProperty = new EncryptionConfigProperty {
    EncryptionType = "encryptionType",
    KeyId = "keyId"
};
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"

encryptionConfigProperty := &EncryptionConfigProperty{
	EncryptionType: jsii.String("encryptionType"),
	KeyId: jsii.String("keyId"),
}

Properties ​

encryptionTypestringencryption_typestrencryptionTypeStringEncryptionTypestringEncryptionType*stringrequired#
The type of encryption.
keyIdstringkey_idstrkeyIdStringKeyIdstringKeyId*stringrequired#
The full ARN of the encryption key.
notes

Be sure to provide the full ARN of the encryption key, not just the ID.

Amazon Connect supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT .