CfnEncryptionConfigurationProps Struct
Properties for defining a CfnEncryptionConfiguration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnEncryptionConfigurationProps: iot.CfnEncryptionConfigurationProps = {
encryptionType: 'encryptionType',
// the properties below are optional
kmsAccessRoleArn: 'kmsAccessRoleArn',
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_iot as iot
cfn_encryption_configuration_props = iot.CfnEncryptionConfigurationProps(
encryption_type="encryptionType",
# the properties below are optional
kms_access_role_arn="kmsAccessRoleArn",
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.iot.*;
CfnEncryptionConfigurationProps cfnEncryptionConfigurationProps = CfnEncryptionConfigurationProps.builder()
.encryptionType("encryptionType")
// the properties below are optional
.kmsAccessRoleArn("kmsAccessRoleArn")
.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.IoT;
var cfnEncryptionConfigurationProps = new CfnEncryptionConfigurationProps {
EncryptionType = "encryptionType",
// the properties below are optional
KmsAccessRoleArn = "kmsAccessRoleArn",
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"
cfnEncryptionConfigurationProps := &CfnEncryptionConfigurationProps{
EncryptionType: jsii.String("encryptionType"),
// the properties below are optional
KmsAccessRoleArn: jsii.String("kmsAccessRoleArn"),
KmsKeyArn: jsii.String("kmsKeyArn"),
}
Properties
encryptionTypestringencryption_typestrencryptionTypeStringEncryptionTypestringEncryptionType*stringrequired#The type of the KMS key.
kmsAccessRoleArnoptionalstringkms_access_role_arnoptionalstrkmsAccessRoleArnoptionalStringKmsAccessRoleArnoptionalstringKmsAccessRoleArnoptional*string#The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS on behalf of the customer.
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string#The ARN of the customer managed KMS key.