permalink |
---|
/sqs_queue/ |
sqs_queue
represents the aws_sqs_queue
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withContentBasedDeduplication()
fn withDeduplicationScope()
fn withDelaySeconds()
fn withFifoQueue()
fn withFifoThroughputLimit()
fn withKmsDataKeyReusePeriodSeconds()
fn withKmsMasterKeyId()
fn withMaxMessageSize()
fn withMessageRetentionSeconds()
fn withName()
fn withNamePrefix()
fn withPolicy()
fn withReceiveWaitTimeSeconds()
fn withRedriveAllowPolicy()
fn withRedrivePolicy()
fn withSqsManagedSseEnabled()
fn withTags()
fn withTagsAll()
fn withVisibilityTimeoutSeconds()
new()
aws.sqs_queue.new
injects a new aws_sqs_queue
Terraform resource
block into the root module document.
Additionally, this inserts a private function into the _ref
attribute that generates references to attributes of the
resource. For example, if you added a new instance to the root using:
# arguments omitted for brevity
aws.sqs_queue.new('some_id')
You can get the reference to the id
field of the created aws.sqs_queue
using the reference:
$._ref.aws_sqs_queue.some_id.get('id')
This is the same as directly entering "${ aws_sqs_queue.some_id.id }"
as the value.
NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use super
, self
,
or $
to refer to the root object. Instead, make an explicit outer object using local
.
Args:
resourceLabel
(string
): The name label of the block.content_based_deduplication
(bool
): Set thecontent_based_deduplication
field on the resulting resource block. Whennull
, thecontent_based_deduplication
field will be omitted from the resulting object.deduplication_scope
(string
): Set thededuplication_scope
field on the resulting resource block. Whennull
, thededuplication_scope
field will be omitted from the resulting object.delay_seconds
(number
): Set thedelay_seconds
field on the resulting resource block. Whennull
, thedelay_seconds
field will be omitted from the resulting object.fifo_queue
(bool
): Set thefifo_queue
field on the resulting resource block. Whennull
, thefifo_queue
field will be omitted from the resulting object.fifo_throughput_limit
(string
): Set thefifo_throughput_limit
field on the resulting resource block. Whennull
, thefifo_throughput_limit
field will be omitted from the resulting object.kms_data_key_reuse_period_seconds
(number
): Set thekms_data_key_reuse_period_seconds
field on the resulting resource block. Whennull
, thekms_data_key_reuse_period_seconds
field will be omitted from the resulting object.kms_master_key_id
(string
): Set thekms_master_key_id
field on the resulting resource block. Whennull
, thekms_master_key_id
field will be omitted from the resulting object.max_message_size
(number
): Set themax_message_size
field on the resulting resource block. Whennull
, themax_message_size
field will be omitted from the resulting object.message_retention_seconds
(number
): Set themessage_retention_seconds
field on the resulting resource block. Whennull
, themessage_retention_seconds
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting resource block. Whennull
, thename
field will be omitted from the resulting object.name_prefix
(string
): Set thename_prefix
field on the resulting resource block. Whennull
, thename_prefix
field will be omitted from the resulting object.policy
(string
): Set thepolicy
field on the resulting resource block. Whennull
, thepolicy
field will be omitted from the resulting object.receive_wait_time_seconds
(number
): Set thereceive_wait_time_seconds
field on the resulting resource block. Whennull
, thereceive_wait_time_seconds
field will be omitted from the resulting object.redrive_allow_policy
(string
): Set theredrive_allow_policy
field on the resulting resource block. Whennull
, theredrive_allow_policy
field will be omitted from the resulting object.redrive_policy
(string
): Set theredrive_policy
field on the resulting resource block. Whennull
, theredrive_policy
field will be omitted from the resulting object.sqs_managed_sse_enabled
(bool
): Set thesqs_managed_sse_enabled
field on the resulting resource block. Whennull
, thesqs_managed_sse_enabled
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting resource block. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting resource block. Whennull
, thetags_all
field will be omitted from the resulting object.visibility_timeout_seconds
(number
): Set thevisibility_timeout_seconds
field on the resulting resource block. Whennull
, thevisibility_timeout_seconds
field will be omitted from the resulting object.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.sqs_queue.newAttrs
constructs a new object with attributes and blocks configured for the sqs_queue
Terraform resource.
Unlike aws.sqs_queue.new, this function will not inject the resource
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withResource function to build a complete block.
This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to injecting into a complete block.
Args:
content_based_deduplication
(bool
): Set thecontent_based_deduplication
field on the resulting object. Whennull
, thecontent_based_deduplication
field will be omitted from the resulting object.deduplication_scope
(string
): Set thededuplication_scope
field on the resulting object. Whennull
, thededuplication_scope
field will be omitted from the resulting object.delay_seconds
(number
): Set thedelay_seconds
field on the resulting object. Whennull
, thedelay_seconds
field will be omitted from the resulting object.fifo_queue
(bool
): Set thefifo_queue
field on the resulting object. Whennull
, thefifo_queue
field will be omitted from the resulting object.fifo_throughput_limit
(string
): Set thefifo_throughput_limit
field on the resulting object. Whennull
, thefifo_throughput_limit
field will be omitted from the resulting object.kms_data_key_reuse_period_seconds
(number
): Set thekms_data_key_reuse_period_seconds
field on the resulting object. Whennull
, thekms_data_key_reuse_period_seconds
field will be omitted from the resulting object.kms_master_key_id
(string
): Set thekms_master_key_id
field on the resulting object. Whennull
, thekms_master_key_id
field will be omitted from the resulting object.max_message_size
(number
): Set themax_message_size
field on the resulting object. Whennull
, themax_message_size
field will be omitted from the resulting object.message_retention_seconds
(number
): Set themessage_retention_seconds
field on the resulting object. Whennull
, themessage_retention_seconds
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting object. Whennull
, thename
field will be omitted from the resulting object.name_prefix
(string
): Set thename_prefix
field on the resulting object. Whennull
, thename_prefix
field will be omitted from the resulting object.policy
(string
): Set thepolicy
field on the resulting object. Whennull
, thepolicy
field will be omitted from the resulting object.receive_wait_time_seconds
(number
): Set thereceive_wait_time_seconds
field on the resulting object. Whennull
, thereceive_wait_time_seconds
field will be omitted from the resulting object.redrive_allow_policy
(string
): Set theredrive_allow_policy
field on the resulting object. Whennull
, theredrive_allow_policy
field will be omitted from the resulting object.redrive_policy
(string
): Set theredrive_policy
field on the resulting object. Whennull
, theredrive_policy
field will be omitted from the resulting object.sqs_managed_sse_enabled
(bool
): Set thesqs_managed_sse_enabled
field on the resulting object. Whennull
, thesqs_managed_sse_enabled
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting object. Whennull
, thetags_all
field will be omitted from the resulting object.visibility_timeout_seconds
(number
): Set thevisibility_timeout_seconds
field on the resulting object. Whennull
, thevisibility_timeout_seconds
field will be omitted from the resulting object.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
sqs_queue
resource into the root Terraform configuration.
withContentBasedDeduplication()
aws.bool.withContentBasedDeduplication
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the content_based_deduplication field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thecontent_based_deduplication
field.
withDeduplicationScope()
aws.string.withDeduplicationScope
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the deduplication_scope field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thededuplication_scope
field.
withDelaySeconds()
aws.number.withDelaySeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the delay_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thedelay_seconds
field.
withFifoQueue()
aws.bool.withFifoQueue
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the fifo_queue field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thefifo_queue
field.
withFifoThroughputLimit()
aws.string.withFifoThroughputLimit
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the fifo_throughput_limit field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thefifo_throughput_limit
field.
withKmsDataKeyReusePeriodSeconds()
aws.number.withKmsDataKeyReusePeriodSeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the kms_data_key_reuse_period_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thekms_data_key_reuse_period_seconds
field.
withKmsMasterKeyId()
aws.string.withKmsMasterKeyId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the kms_master_key_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thekms_master_key_id
field.
withMaxMessageSize()
aws.number.withMaxMessageSize
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the max_message_size field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for themax_message_size
field.
withMessageRetentionSeconds()
aws.number.withMessageRetentionSeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the message_retention_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for themessage_retention_seconds
field.
withName()
aws.string.withName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thename
field.
withNamePrefix()
aws.string.withNamePrefix
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the name_prefix field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thename_prefix
field.
withPolicy()
aws.string.withPolicy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the policy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thepolicy
field.
withReceiveWaitTimeSeconds()
aws.number.withReceiveWaitTimeSeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the receive_wait_time_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thereceive_wait_time_seconds
field.
withRedriveAllowPolicy()
aws.string.withRedriveAllowPolicy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the redrive_allow_policy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theredrive_allow_policy
field.
withRedrivePolicy()
aws.string.withRedrivePolicy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the redrive_policy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theredrive_policy
field.
withSqsManagedSseEnabled()
aws.bool.withSqsManagedSseEnabled
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the sqs_managed_sse_enabled field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thesqs_managed_sse_enabled
field.
withTags()
aws.obj.withTags
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags
field.
withTagsAll()
aws.obj.withTagsAll
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags_all field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags_all
field.
withVisibilityTimeoutSeconds()
aws.number.withVisibilityTimeoutSeconds
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the visibility_timeout_seconds field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thevisibility_timeout_seconds
field.