@Generated(value="jsii-pacmak/0.14.3 (build 1b1062d)", date="2019-08-02T10:16:28.751Z") @Stability(value=Stable) public abstract class QueueBase extends software.amazon.awscdk.core.Resource implements IQueue
| Modifier | Constructor and Description |
|---|---|
|
QueueBase(software.amazon.awscdk.core.Construct scope,
String id) |
|
QueueBase(software.amazon.awscdk.core.Construct scope,
String id,
software.amazon.awscdk.core.ResourceProps props) |
protected |
QueueBase(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToResourcePolicy(software.amazon.awscdk.services.iam.PolicyStatement statement)
Adds a statement to the IAM resource policy associated with this queue.
|
protected Boolean |
getAutoCreatePolicy()
Controls automatic creation of policy objects.
|
software.amazon.awscdk.services.kms.IKey |
getEncryptionMasterKey()
If this queue is server-side encrypted, this is the KMS encryption key.
|
String |
getQueueArn()
The ARN of this queue.
|
String |
getQueueName()
The name of this queue.
|
String |
getQueueUrl()
The URL of this queue.
|
software.amazon.awscdk.services.iam.Grant |
grant(software.amazon.awscdk.services.iam.IGrantable grantee,
String... actions)
Grant the actions defined in queueActions to the identity Principal given on this SQS queue resource.
|
software.amazon.awscdk.services.iam.Grant |
grantConsumeMessages(software.amazon.awscdk.services.iam.IGrantable grantee)
Grant permissions to consume messages from a queue.
|
software.amazon.awscdk.services.iam.Grant |
grantPurge(software.amazon.awscdk.services.iam.IGrantable grantee)
Grant an IAM principal permissions to purge all messages from the queue.
|
software.amazon.awscdk.services.iam.Grant |
grantSendMessages(software.amazon.awscdk.services.iam.IGrantable grantee)
Grant access to send messages to a queue to the given identity.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metric(String metricName)
Return the given named metric for this Queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metric(String metricName,
software.amazon.awscdk.services.cloudwatch.MetricOptions props)
Return the given named metric for this Queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateAgeOfOldestMessage()
The approximate age of the oldest non-deleted message in the queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateAgeOfOldestMessage(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The approximate age of the oldest non-deleted message in the queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateNumberOfMessagesDelayed()
The number of messages in the queue that are delayed and not available for reading immediately.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateNumberOfMessagesDelayed(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The number of messages in the queue that are delayed and not available for reading immediately.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateNumberOfMessagesNotVisible()
The number of messages that are in flight.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateNumberOfMessagesNotVisible(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The number of messages that are in flight.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateNumberOfMessagesVisible()
The number of messages available for retrieval from the queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricApproximateNumberOfMessagesVisible(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The number of messages available for retrieval from the queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfEmptyReceives()
The number of ReceiveMessage API calls that did not return a message.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfEmptyReceives(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The number of ReceiveMessage API calls that did not return a message.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfMessagesDeleted()
The number of messages deleted from the queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfMessagesDeleted(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The number of messages deleted from the queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfMessagesReceived()
The number of messages returned by calls to the ReceiveMessage action.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfMessagesReceived(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The number of messages returned by calls to the ReceiveMessage action.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfMessagesSent()
The number of messages added to a queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricNumberOfMessagesSent(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The number of messages added to a queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricSentMessageSize()
The size of messages added to a queue.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricSentMessageSize(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
The size of messages added to a queue.
|
getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStackgetNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected QueueBase(software.amazon.jsii.JsiiObject.InitializationMode mode)
@Stability(value=Stable)
public QueueBase(software.amazon.awscdk.core.Construct scope,
String id,
@Nullable
software.amazon.awscdk.core.ResourceProps props)
@Stability(value=Stable)
public QueueBase(software.amazon.awscdk.core.Construct scope,
String id)
@Stability(value=Stable) public void addToResourcePolicy(software.amazon.awscdk.services.iam.PolicyStatement statement)
addToResourcePolicy in interface IQueue@Stability(value=Stable)
public software.amazon.awscdk.services.iam.Grant grant(software.amazon.awscdk.services.iam.IGrantable grantee,
String... actions)
@Stability(value=Stable) public software.amazon.awscdk.services.iam.Grant grantConsumeMessages(software.amazon.awscdk.services.iam.IGrantable grantee)
grantConsumeMessages in interface IQueuegrantee - Principal to grant consume rights to.@Stability(value=Stable) public software.amazon.awscdk.services.iam.Grant grantPurge(software.amazon.awscdk.services.iam.IGrantable grantee)
grantPurge in interface IQueuegrantee - Principal to grant send rights to.@Stability(value=Stable) public software.amazon.awscdk.services.iam.Grant grantSendMessages(software.amazon.awscdk.services.iam.IGrantable grantee)
grantSendMessages in interface IQueuegrantee - Principal to grant send rights to.@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metric(String metricName, @Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metric(String metricName)
@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateAgeOfOldestMessage(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricApproximateAgeOfOldestMessage in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateAgeOfOldestMessage()
metricApproximateAgeOfOldestMessage in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateNumberOfMessagesDelayed(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricApproximateNumberOfMessagesDelayed in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateNumberOfMessagesDelayed()
metricApproximateNumberOfMessagesDelayed in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateNumberOfMessagesNotVisible(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricApproximateNumberOfMessagesNotVisible in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateNumberOfMessagesNotVisible()
metricApproximateNumberOfMessagesNotVisible in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateNumberOfMessagesVisible(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricApproximateNumberOfMessagesVisible in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricApproximateNumberOfMessagesVisible()
metricApproximateNumberOfMessagesVisible in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfEmptyReceives(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricNumberOfEmptyReceives in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfEmptyReceives()
metricNumberOfEmptyReceives in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfMessagesDeleted(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricNumberOfMessagesDeleted in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfMessagesDeleted()
metricNumberOfMessagesDeleted in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfMessagesReceived(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricNumberOfMessagesReceived in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfMessagesReceived()
metricNumberOfMessagesReceived in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfMessagesSent(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricNumberOfMessagesSent in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricNumberOfMessagesSent()
metricNumberOfMessagesSent in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricSentMessageSize(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricSentMessageSize in interface IQueue@Stability(value=Stable) public software.amazon.awscdk.services.cloudwatch.Metric metricSentMessageSize()
metricSentMessageSize in interface IQueue@Stability(value=Stable) protected Boolean getAutoCreatePolicy()
@Stability(value=Stable) public String getQueueArn()
getQueueArn in interface IQueue@Stability(value=Stable) public String getQueueName()
getQueueName in interface IQueue@Stability(value=Stable) public String getQueueUrl()
getQueueUrl in interface IQueue@Stability(value=Stable) @Nullable public software.amazon.awscdk.services.kms.IKey getEncryptionMasterKey()
getEncryptionMasterKey in interface IQueueCopyright © 2019. All rights reserved.