Class QueuePolicyArgs


  • public final class QueuePolicyArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • policy

        public com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​PolicyDocumentArgs>> policy()
        Returns:
        JSON policy for the SQS queue. For more information about building AWS IAM policy documents with Terraform, see the AWS IAM Policy Document Guide. Ensure that `Version = "2012-10-17"` is set in the policy or AWS may hang in creating the queue.
      • queueUrl

        public com.pulumi.core.Output<java.lang.String> queueUrl()
        Returns:
        URL of the SQS Queue to which to attach the policy.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.