Interface CfnBroker.IEncryptionOptionsProperty
Encryption options for the broker.
Namespace: Amazon.CDK.AWS.AmazonMQ
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEncryptionOptionsProperty
Syntax (vb)
Public Interface IEncryptionOptionsProperty
Remarks
Does not apply to RabbitMQ brokers.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmazonMQ;
var encryptionOptionsProperty = new EncryptionOptionsProperty {
UseAwsOwnedKey = false,
// the properties below are optional
KmsKeyId = "kmsKeyId"
};
Synopsis
Properties
Kms |
The customer master key (CMK) to use for the A AWS KMS (KMS). |
Use |
Enables the use of an AWS owned CMK using AWS KMS (KMS). |
Properties
KmsKeyId
The customer master key (CMK) to use for the A AWS KMS (KMS).
virtual string KmsKeyId { get; }
Property Value
System.
Remarks
This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
UseAwsOwnedKey
Enables the use of an AWS owned CMK using AWS KMS (KMS).
object UseAwsOwnedKey { get; }
Property Value
System.
Remarks
Set to true
by default, if no value is provided, for example, for RabbitMQ brokers.