@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:48.101Z") @Stability(value=Experimental) public class Queue extends QueueBase
| Modifier and Type | Class and Description |
|---|---|
static class |
Queue.Builder
(experimental) A fluent builder for
Queue. |
software.amazon.jsii.JsiiObject.InitializationModeIQueue.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
Queue(software.constructs.Construct scope,
String id) |
|
Queue(software.constructs.Construct scope,
String id,
QueueProps props) |
protected |
Queue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Queue(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IQueue |
fromQueueArn(software.constructs.Construct scope,
String id,
String queueArn)
(experimental) Import an existing SQS queue provided an ARN.
|
static IQueue |
fromQueueAttributes(software.constructs.Construct scope,
String id,
QueueAttributes attrs)
(experimental) Import an existing queue.
|
protected Boolean |
getAutoCreatePolicy()
(experimental) Controls automatic creation of policy objects.
|
IKey |
getEncryptionMasterKey()
(experimental) If this queue is encrypted, this is the KMS key.
|
Boolean |
getFifo()
(experimental) Whether this queue is an Amazon SQS FIFO queue.
|
String |
getQueueArn()
(experimental) The ARN of this queue.
|
String |
getQueueName()
(experimental) The name of this queue.
|
String |
getQueueUrl()
(experimental) The URL of this queue.
|
addToResourcePolicy, grant, grantConsumeMessages, grantPurge, grantSendMessages, metric, metric, metricApproximateAgeOfOldestMessage, metricApproximateAgeOfOldestMessage, metricApproximateNumberOfMessagesDelayed, metricApproximateNumberOfMessagesDelayed, metricApproximateNumberOfMessagesNotVisible, metricApproximateNumberOfMessagesNotVisible, metricApproximateNumberOfMessagesVisible, metricApproximateNumberOfMessagesVisible, metricNumberOfEmptyReceives, metricNumberOfEmptyReceives, metricNumberOfMessagesDeleted, metricNumberOfMessagesDeleted, metricNumberOfMessagesReceived, metricNumberOfMessagesReceived, metricNumberOfMessagesSent, metricNumberOfMessagesSent, metricSentMessageSize, metricSentMessageSizeapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Queue(software.amazon.jsii.JsiiObjectRef objRef)
protected Queue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Queue(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
QueueProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public Queue(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IQueue fromQueueArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String queueArn)
scope - The parent creating construct. This parameter is required.id - The construct's name. This parameter is required.queueArn - queue ARN (i.e. arn:aws:sqs:us-east-2:444455556666:queue1). This parameter is required.@Stability(value=Experimental) @NotNull public static IQueue fromQueueAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull QueueAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull protected Boolean getAutoCreatePolicy()
Set by subclasses.
getAutoCreatePolicy in class QueueBase@Stability(value=Experimental) @NotNull public Boolean getFifo()
If false, this is a standard queue.
@Stability(value=Experimental) @NotNull public String getQueueArn()
getQueueArn in interface IQueuegetQueueArn in class QueueBase@Stability(value=Experimental) @NotNull public String getQueueName()
getQueueName in interface IQueuegetQueueName in class QueueBase@Stability(value=Experimental) @NotNull public String getQueueUrl()
getQueueUrl in interface IQueuegetQueueUrl in class QueueBase@Stability(value=Experimental) @Nullable public IKey getEncryptionMasterKey()
getEncryptionMasterKey in interface IQueuegetEncryptionMasterKey in class QueueBaseCopyright © 2021. All rights reserved.