aws.sqs-queue-policy resource¶
Description¶
QueuePolicy manages the policy attached to an SQS queue. The queue URL is the policy's identity; a queue holds one policy keyed by its URL, so the queue cannot change without replacing the policy, while the policy document is reconciled in place. The document is sent to SQS verbatim: unobin compares inputs as written, so the policy never needs canonicalizing to avoid a phantom diff against the form SQS echoes back.
Source: internal/service/sqs/queue_policy_rsrc.go:26
Example usage:
imports: {
aws: 'github.com/cloudboss/unobin-library-aws'
}
resources: {
example: aws.sqs-queue-policy {
# Set input fields here.
}
}
Inputs¶
queue-url
string
policy
string
Input Constraints¶
This kind declares no extra input constraints.
Outputs¶
This kind has no outputs.