@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.318Z") @Stability(value=Stable) public class CfnQueue extends CfnResource implements IInspectable
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.*;
Object redriveAllowPolicy;
Object redrivePolicy;
CfnQueue cfnQueue = CfnQueue.Builder.create(this, "MyCfnQueue")
.contentBasedDeduplication(false)
.deduplicationScope("deduplicationScope")
.delaySeconds(123)
.fifoQueue(false)
.fifoThroughputLimit("fifoThroughputLimit")
.kmsDataKeyReusePeriodSeconds(123)
.kmsMasterKeyId("kmsMasterKeyId")
.maximumMessageSize(123)
.messageRetentionPeriod(123)
.queueName("queueName")
.receiveMessageWaitTimeSeconds(123)
.redriveAllowPolicy(redriveAllowPolicy)
.redrivePolicy(redrivePolicy)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.visibilityTimeout(123)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnQueue.Builder
A fluent builder for
CfnQueue. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnQueue(software.constructs.Construct scope,
String id)
Create a new `AWS::SQS::Queue`.
|
|
CfnQueue(software.constructs.Construct scope,
String id,
CfnQueueProps props)
Create a new `AWS::SQS::Queue`.
|
protected |
CfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnQueue(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrQueueName() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getContentBasedDeduplication()
`AWS::SQS::Queue.ContentBasedDeduplication`.
|
String |
getDeduplicationScope()
`AWS::SQS::Queue.DeduplicationScope`.
|
Number |
getDelaySeconds()
`AWS::SQS::Queue.DelaySeconds`.
|
Object |
getFifoQueue()
`AWS::SQS::Queue.FifoQueue`.
|
String |
getFifoThroughputLimit()
`AWS::SQS::Queue.FifoThroughputLimit`.
|
Number |
getKmsDataKeyReusePeriodSeconds()
`AWS::SQS::Queue.KmsDataKeyReusePeriodSeconds`.
|
String |
getKmsMasterKeyId()
`AWS::SQS::Queue.KmsMasterKeyId`.
|
Number |
getMaximumMessageSize()
`AWS::SQS::Queue.MaximumMessageSize`.
|
Number |
getMessageRetentionPeriod()
`AWS::SQS::Queue.MessageRetentionPeriod`.
|
String |
getQueueName()
`AWS::SQS::Queue.QueueName`.
|
Number |
getReceiveMessageWaitTimeSeconds()
`AWS::SQS::Queue.ReceiveMessageWaitTimeSeconds`.
|
Object |
getRedriveAllowPolicy()
`AWS::SQS::Queue.RedriveAllowPolicy`.
|
Object |
getRedrivePolicy()
`AWS::SQS::Queue.RedrivePolicy`.
|
TagManager |
getTags()
`AWS::SQS::Queue.Tags`.
|
Number |
getVisibilityTimeout()
`AWS::SQS::Queue.VisibilityTimeout`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setContentBasedDeduplication(Boolean value)
`AWS::SQS::Queue.ContentBasedDeduplication`.
|
void |
setContentBasedDeduplication(IResolvable value)
`AWS::SQS::Queue.ContentBasedDeduplication`.
|
void |
setDeduplicationScope(String value)
`AWS::SQS::Queue.DeduplicationScope`.
|
void |
setDelaySeconds(Number value)
`AWS::SQS::Queue.DelaySeconds`.
|
void |
setFifoQueue(Boolean value)
`AWS::SQS::Queue.FifoQueue`.
|
void |
setFifoQueue(IResolvable value)
`AWS::SQS::Queue.FifoQueue`.
|
void |
setFifoThroughputLimit(String value)
`AWS::SQS::Queue.FifoThroughputLimit`.
|
void |
setKmsDataKeyReusePeriodSeconds(Number value)
`AWS::SQS::Queue.KmsDataKeyReusePeriodSeconds`.
|
void |
setKmsMasterKeyId(String value)
`AWS::SQS::Queue.KmsMasterKeyId`.
|
void |
setMaximumMessageSize(Number value)
`AWS::SQS::Queue.MaximumMessageSize`.
|
void |
setMessageRetentionPeriod(Number value)
`AWS::SQS::Queue.MessageRetentionPeriod`.
|
void |
setQueueName(String value)
`AWS::SQS::Queue.QueueName`.
|
void |
setReceiveMessageWaitTimeSeconds(Number value)
`AWS::SQS::Queue.ReceiveMessageWaitTimeSeconds`.
|
void |
setRedriveAllowPolicy(Object value)
`AWS::SQS::Queue.RedriveAllowPolicy`.
|
void |
setRedrivePolicy(Object value)
`AWS::SQS::Queue.RedrivePolicy`.
|
void |
setVisibilityTimeout(Number value)
`AWS::SQS::Queue.VisibilityTimeout`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnQueue(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnQueue(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnQueueProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnQueue(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrQueueName()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getContentBasedDeduplication()
@Stability(value=Stable)
public void setContentBasedDeduplication(@Nullable
Boolean value)
@Stability(value=Stable)
public void setContentBasedDeduplication(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getDeduplicationScope()
@Stability(value=Stable)
public void setDeduplicationScope(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getDelaySeconds()
@Stability(value=Stable)
public void setDelaySeconds(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getFifoQueue()
@Stability(value=Stable)
public void setFifoQueue(@Nullable
Boolean value)
@Stability(value=Stable)
public void setFifoQueue(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getFifoThroughputLimit()
@Stability(value=Stable)
public void setFifoThroughputLimit(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getKmsDataKeyReusePeriodSeconds()
@Stability(value=Stable)
public void setKmsDataKeyReusePeriodSeconds(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getKmsMasterKeyId()
@Stability(value=Stable)
public void setKmsMasterKeyId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getMaximumMessageSize()
@Stability(value=Stable)
public void setMaximumMessageSize(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Number getMessageRetentionPeriod()
@Stability(value=Stable)
public void setMessageRetentionPeriod(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getQueueName()
@Stability(value=Stable)
public void setQueueName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getReceiveMessageWaitTimeSeconds()
@Stability(value=Stable)
public void setReceiveMessageWaitTimeSeconds(@Nullable
Number value)
@Stability(value=Stable) @NotNull public Object getRedriveAllowPolicy()
@Stability(value=Stable)
public void setRedriveAllowPolicy(@NotNull
Object value)
@Stability(value=Stable) @NotNull public Object getRedrivePolicy()
@Stability(value=Stable)
public void setRedrivePolicy(@NotNull
Object value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Number getVisibilityTimeout()
@Stability(value=Stable)
public void setVisibilityTimeout(@Nullable
Number value)
Copyright © 2021. All rights reserved.