Class QueueAttributes
Reference to a queue.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SQS
Assembly: Amazon.CDK.AWS.SQS.dll
Syntax (csharp)
public class QueueAttributes : Object, IQueueAttributes
Syntax (vb)
Public Class QueueAttributes
Inherits Object
Implements IQueueAttributes
Remarks
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.SQS;
var queueAttributes = new QueueAttributes {
QueueArn = "queueArn",
// the properties below are optional
Fifo = false,
KeyArn = "keyArn",
QueueName = "queueName",
QueueUrl = "queueUrl"
};
Synopsis
Constructors
QueueAttributes() |
Properties
Fifo | Whether this queue is an Amazon SQS FIFO queue. If false, this is a standard queue. |
KeyArn | KMS encryption key, if this queue is server-side encrypted by a KMS key. |
QueueArn | The ARN of the queue. |
QueueName | The name of the queue. |
QueueUrl |
Constructors
QueueAttributes()
public QueueAttributes()
Properties
Fifo
Whether this queue is an Amazon SQS FIFO queue. If false, this is a standard queue.
public Nullable<bool> Fifo { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
In case of a FIFO queue which is imported from a token, this value has to be explicitly set to true.
Default: - if fifo is not specified, the property will be determined based on the queue name (not possible for FIFO queues imported from a token)
KeyArn
KMS encryption key, if this queue is server-side encrypted by a KMS key.
public string KeyArn { get; set; }
Property Value
System.String
Remarks
Default: - None
QueueArn
The ARN of the queue.
public string QueueArn { get; set; }
Property Value
System.String
QueueName
The name of the queue.
public string QueueName { get; set; }
Property Value
System.String
Remarks
Default: if queue name is not specified, the name will be derived from the queue ARN
QueueUrl
public string QueueUrl { get; set; }
Property Value
System.String