Package-level declarations

Types

Link copied to clipboard
class Queue : KotlinCustomResource

Amazon SQS (Simple Queue Service) is a fully managed message queuing service that enables decoupling and scaling of microservices, distributed systems, and serverless applications. This resource allows you to create, configure, and manage an SQS queue, which acts as a reliable message buffer between producers and consumers. With support for standard and FIFO queues, SQS ensures secure, scalable, and asynchronous message processing. Use this resource to define queue attributes, configure access policies, and integrate seamlessly with AWS services like Lambda, SNS, and EC2. !> AWS will hang indefinitely, leading to a timeout while waiting error, when creating or updating an aws.sqs.Queue with an associated aws.sqs.QueuePolicy if Version = "2012-10-17" is not explicitly set in the policy.

Link copied to clipboard
data class QueueArgs(val contentBasedDeduplication: Output<Boolean>? = null, val deduplicationScope: Output<String>? = null, val delaySeconds: Output<Int>? = null, val fifoQueue: Output<Boolean>? = null, val fifoThroughputLimit: Output<String>? = null, val kmsDataKeyReusePeriodSeconds: Output<Int>? = null, val kmsMasterKeyId: Output<String>? = null, val maxMessageSize: Output<Int>? = null, val messageRetentionSeconds: Output<Int>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val policy: Output<String>? = null, val receiveWaitTimeSeconds: Output<Int>? = null, val redriveAllowPolicy: Output<String>? = null, val redrivePolicy: Output<String>? = null, val sqsManagedSseEnabled: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val visibilityTimeoutSeconds: Output<Int>? = null) : ConvertibleToJava<QueueArgs>

Amazon SQS (Simple Queue Service) is a fully managed message queuing service that enables decoupling and scaling of microservices, distributed systems, and serverless applications. This resource allows you to create, configure, and manage an SQS queue, which acts as a reliable message buffer between producers and consumers. With support for standard and FIFO queues, SQS ensures secure, scalable, and asynchronous message processing. Use this resource to define queue attributes, configure access policies, and integrate seamlessly with AWS services like Lambda, SNS, and EC2. !> AWS will hang indefinitely, leading to a timeout while waiting error, when creating or updating an aws.sqs.Queue with an associated aws.sqs.QueuePolicy if Version = "2012-10-17" is not explicitly set in the policy.

Link copied to clipboard

Builder for QueueArgs.

Link copied to clipboard
object QueueMapper : ResourceMapper<Queue>
Link copied to clipboard
class QueuePolicy : KotlinCustomResource

Allows you to set a policy of an SQS Queue while referencing the ARN of the queue within the policy. !> AWS will hang indefinitely when creating or updating an aws.sqs.Queue with an associated policy if Version = "2012-10-17" is not explicitly set in the policy. See below for an example of how to avoid this issue.

Link copied to clipboard
data class QueuePolicyArgs(val policy: Output<String>? = null, val queueUrl: Output<String>? = null) : ConvertibleToJava<QueuePolicyArgs>

Allows you to set a policy of an SQS Queue while referencing the ARN of the queue within the policy. !> AWS will hang indefinitely when creating or updating an aws.sqs.Queue with an associated policy if Version = "2012-10-17" is not explicitly set in the policy. See below for an example of how to avoid this issue.

Link copied to clipboard
Link copied to clipboard
object QueuePolicyMapper : ResourceMapper<QueuePolicy>
Link copied to clipboard
Link copied to clipboard

Builder for Queue.

Link copied to clipboard
class RedriveAllowPolicy : KotlinCustomResource

Provides a SQS Queue Redrive Allow Policy resource.

Link copied to clipboard
data class RedriveAllowPolicyArgs(val queueUrl: Output<String>? = null, val redriveAllowPolicy: Output<String>? = null) : ConvertibleToJava<RedriveAllowPolicyArgs>

Provides a SQS Queue Redrive Allow Policy resource.

Link copied to clipboard
Link copied to clipboard
class RedrivePolicy : KotlinCustomResource

Allows you to set a redrive policy of an SQS Queue while referencing ARN of the dead letter queue inside the redrive policy. This is useful when you want to set a dedicated dead letter queue for a standard or FIFO queue, but need the dead letter queue to exist before setting the redrive policy.

Link copied to clipboard
data class RedrivePolicyArgs(val queueUrl: Output<String>? = null, val redrivePolicy: Output<String>? = null) : ConvertibleToJava<RedrivePolicyArgs>

Allows you to set a redrive policy of an SQS Queue while referencing ARN of the dead letter queue inside the redrive policy. This is useful when you want to set a dedicated dead letter queue for a standard or FIFO queue, but need the dead letter queue to exist before setting the redrive policy.

Link copied to clipboard
Link copied to clipboard
object RedrivePolicyMapper : ResourceMapper<RedrivePolicy>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun queue(name: String): Queue
suspend fun queue(name: String, block: suspend QueueResourceBuilder.() -> Unit): Queue
Link copied to clipboard
suspend fun queuePolicy(name: String, block: suspend QueuePolicyResourceBuilder.() -> Unit): QueuePolicy
Link copied to clipboard