Interface QueueAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
QueueAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.041Z")
@Stability(Stable)
public interface QueueAttributes
extends software.amazon.jsii.JsiiSerializable
Reference to a queue.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sqs.*;
QueueAttributes queueAttributes = QueueAttributes.builder()
.queueArn("queueArn")
// the properties below are optional
.fifo(false)
.keyArn("keyArn")
.queueName("queueName")
.queueUrl("queueUrl")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forQueueAttributesstatic final classAn implementation forQueueAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic QueueAttributes.Builderbuilder()default BooleangetFifo()Whether this queue is an Amazon SQS FIFO queue.default StringKMS encryption key, if this queue is server-side encrypted by a KMS key.The ARN of the queue.default StringThe name of the queue.default StringThe URL of the queue.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQueueArn
The ARN of the queue. -
getFifo
Whether this queue is an Amazon SQS FIFO queue. If false, this is a standard queue.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)
-
getKeyArn
KMS encryption key, if this queue is server-side encrypted by a KMS key.Default: - None
-
getQueueName
The name of the queue.Default: if queue name is not specified, the name will be derived from the queue ARN
-
getQueueUrl
The URL of the queue.Default: - 'https://sqs.<region-endpoint>/<account-ID>/<queue-name>'
-
builder
- Returns:
- a
QueueAttributes.BuilderofQueueAttributes
-