Show / Hide Table of Contents

Enum QueueEncryption

What kind of encryption to apply to this queue.

Namespace: Amazon.CDK.AWS.SQS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum QueueEncryption
Syntax (vb)
Public Enum QueueEncryption
Remarks

ExampleMetadata: infused

Examples
// Use managed key
            // Use managed key
            new Queue(this, "Queue", new QueueProps {
                Encryption = QueueEncryption.KMS_MANAGED
            });

            // Use custom key
            var myKey = new Key(this, "Key");

            new Queue(this, "Queue", new QueueProps {
                Encryption = QueueEncryption.KMS,
                EncryptionMasterKey = myKey
            });

            // Use SQS managed server side encryption (SSE-SQS)
            // Use SQS managed server side encryption (SSE-SQS)
            new Queue(this, "Queue", new QueueProps {
                Encryption = QueueEncryption.SQS_MANAGED
            });

            // Unencrypted queue
            // Unencrypted queue
            new Queue(this, "Queue", new QueueProps {
                Encryption = QueueEncryption.UNENCRYPTED
            });

Synopsis

Fields

KMS

Server-side encryption with a KMS key managed by the user.

KMS_MANAGED

Server-side KMS encryption with a KMS key managed by SQS.

SQS_MANAGED

Server-side encryption key managed by SQS (SSE-SQS).

UNENCRYPTED

Messages in the queue are not encrypted.

Fields

Name Description
KMS

Server-side encryption with a KMS key managed by the user.

KMS_MANAGED

Server-side KMS encryption with a KMS key managed by SQS.

SQS_MANAGED

Server-side encryption key managed by SQS (SSE-SQS).

UNENCRYPTED

Messages in the queue are not encrypted.

Back to top Generated by DocFX