SnapshotEncryptionConfigurationDescriptionProperty Struct Added in v2.278.0
A KMS encryption configuration for snapshot data: the key type, and the key when it is a customer managed key.
| 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_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const snapshotEncryptionConfigurationDescriptionProperty: kinesisanalytics.CfnSnapshotV2.SnapshotEncryptionConfigurationDescriptionProperty = {
keyType: 'keyType',
// the properties below are optional
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_kinesisanalytics as kinesisanalytics
snapshot_encryption_configuration_description_property = kinesisanalytics.CfnSnapshotV2.SnapshotEncryptionConfigurationDescriptionProperty(
key_type="keyType",
# the properties below are optional
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.kinesisanalytics.*;
SnapshotEncryptionConfigurationDescriptionProperty snapshotEncryptionConfigurationDescriptionProperty = SnapshotEncryptionConfigurationDescriptionProperty.builder()
.keyType("keyType")
// the properties below are optional
.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.KinesisAnalytics;
var snapshotEncryptionConfigurationDescriptionProperty = new SnapshotEncryptionConfigurationDescriptionProperty {
KeyType = "keyType",
// the properties below are optional
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"
snapshotEncryptionConfigurationDescriptionProperty := &SnapshotEncryptionConfigurationDescriptionProperty{
KeyType: jsii.String("keyType"),
// the properties below are optional
KeyId: jsii.String("keyId"),
}
Properties
The ARN of the customer managed KMS key.
Required when KeyType is CUSTOMER_MANAGED_KEY; must be omitted for AWS_OWNED_KEY.
The type of KMS key: AWS_OWNED_KEY or CUSTOMER_MANAGED_KEY.