interface EncryptionOptionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AmazonMQ.CfnBroker.EncryptionOptionsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsamazonmq#CfnBroker_EncryptionOptionsProperty |
![]() | software.amazon.awscdk.services.amazonmq.CfnBroker.EncryptionOptionsProperty |
![]() | aws_cdk.aws_amazonmq.CfnBroker.EncryptionOptionsProperty |
![]() | aws-cdk-lib » aws_amazonmq » CfnBroker » EncryptionOptionsProperty |
Encryption options for the broker.
Does not apply to RabbitMQ brokers.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amazonmq as amazonmq } from 'aws-cdk-lib';
const encryptionOptionsProperty: amazonmq.CfnBroker.EncryptionOptionsProperty = {
useAwsOwnedKey: false,
// the properties below are optional
kmsKeyId: 'kmsKeyId',
};
Properties
Name | Type | Description |
---|---|---|
use | boolean | IResolvable | Enables the use of an AWS owned CMK using AWS KMS (KMS). |
kms | string | The customer master key (CMK) to use for the A AWS KMS (KMS). |
useAwsOwnedKey
Type:
boolean |
IResolvable
Enables the use of an AWS owned CMK using AWS KMS (KMS).
Set to true
by default, if no value is provided, for example, for RabbitMQ brokers.
kmsKeyId?
Type:
string
(optional)
The customer master key (CMK) to use for the A AWS KMS (KMS).
This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.