com.pulumi.aws.s3.BucketReplicationConfigArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.s3;
import com.pulumi.aws.s3.inputs.BucketReplicationConfigRuleArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class BucketReplicationConfigArgs extends com.pulumi.resources.ResourceArgs {
public static final BucketReplicationConfigArgs Empty = new BucketReplicationConfigArgs();
/**
* Name of the source S3 bucket you want Amazon S3 to monitor.
*
*/
@Import(name="bucket", required=true)
private Output bucket;
/**
* @return Name of the source S3 bucket you want Amazon S3 to monitor.
*
*/
public Output bucket() {
return this.bucket;
}
/**
* ARN of the IAM role for Amazon S3 to assume when replicating the objects.
*
*/
@Import(name="role", required=true)
private Output role;
/**
* @return ARN of the IAM role for Amazon S3 to assume when replicating the objects.
*
*/
public Output role() {
return this.role;
}
/**
* List of configuration blocks describing the rules managing the replication. See below.
*
*/
@Import(name="rules", required=true)
private Output> rules;
/**
* @return List of configuration blocks describing the rules managing the replication. See below.
*
*/
public Output> rules() {
return this.rules;
}
/**
* Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
* For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
*
*/
@Import(name="token")
private @Nullable Output token;
/**
* @return Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
* For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy