Class QueuePolicyArgs.Builder

  • Enclosing class:
    QueuePolicyArgs

    public static final class QueuePolicyArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • policy

        public QueuePolicyArgs.Builder policy​(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​PolicyDocumentArgs>> policy)
        Parameters:
        policy - 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.
        Returns:
        builder
      • policy

        public QueuePolicyArgs.Builder policy​(com.pulumi.core.Either<java.lang.String,​PolicyDocumentArgs> policy)
        Parameters:
        policy - 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.
        Returns:
        builder
      • policy

        public QueuePolicyArgs.Builder policy​(java.lang.String policy)
        Parameters:
        policy - 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.
        Returns:
        builder
      • policy

        public QueuePolicyArgs.Builder policy​(PolicyDocumentArgs policy)
        Parameters:
        policy - 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.
        Returns:
        builder
      • queueUrl

        public QueuePolicyArgs.Builder queueUrl​(com.pulumi.core.Output<java.lang.String> queueUrl)
        Parameters:
        queueUrl - URL of the SQS Queue to which to attach the policy.
        Returns:
        builder
      • queueUrl

        public QueuePolicyArgs.Builder queueUrl​(java.lang.String queueUrl)
        Parameters:
        queueUrl - URL of the SQS Queue to which to attach the policy.
        Returns:
        builder
      • region

        public QueuePolicyArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - 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.
        Returns:
        builder
      • region

        public QueuePolicyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - 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.
        Returns:
        builder