Package com.pulumi.aws.sqs
Class QueuePolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.sqs.QueuePolicyArgs.Builder
-
- Enclosing class:
- QueuePolicyArgs
public static final class QueuePolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(QueuePolicyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueuePolicyArgsbuild()QueuePolicyArgs.Builderpolicy(PolicyDocumentArgs policy)QueuePolicyArgs.Builderpolicy(com.pulumi.core.Either<java.lang.String,PolicyDocumentArgs> policy)QueuePolicyArgs.Builderpolicy(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,PolicyDocumentArgs>> policy)QueuePolicyArgs.Builderpolicy(java.lang.String policy)QueuePolicyArgs.BuilderqueueUrl(com.pulumi.core.Output<java.lang.String> queueUrl)QueuePolicyArgs.BuilderqueueUrl(java.lang.String queueUrl)QueuePolicyArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)QueuePolicyArgs.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(QueuePolicyArgs defaults)
-
-
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
-
build
public QueuePolicyArgs build()
-
-