pub struct BucketReplicationConfigArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketReplicationConfigArgsBuilder<S>
impl<S: State> BucketReplicationConfigArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketReplicationConfigArgswhere
S: IsComplete,
pub fn build_struct(self) -> BucketReplicationConfigArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketReplicationConfigArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketReplicationConfigArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the source S3 bucket you want Amazon S3 to monitor.
sourcepub fn role(
self,
value: impl Into<Output<String>>,
) -> BucketReplicationConfigArgsBuilder<SetRole<S>>where
S::Role: IsUnset,
pub fn role(
self,
value: impl Into<Output<String>>,
) -> BucketReplicationConfigArgsBuilder<SetRole<S>>where
S::Role: IsUnset,
Required.
ARN of the IAM role for Amazon S3 to assume when replicating the objects.
sourcepub fn rules(
self,
value: impl Into<Output<Vec<BucketReplicationConfigRule>>>,
) -> BucketReplicationConfigArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
pub fn rules(
self,
value: impl Into<Output<Vec<BucketReplicationConfigRule>>>,
) -> BucketReplicationConfigArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
Required.
List of configuration blocks describing the rules managing the replication. See below.
sourcepub fn token(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketReplicationConfigArgsBuilder<SetToken<S>>where
S::Token: IsUnset,
pub fn token(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketReplicationConfigArgsBuilder<SetToken<S>>where
S::Token: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_token(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketReplicationConfigArgsBuilder<SetToken<S>>where
S::Token: IsUnset,
pub fn maybe_token(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketReplicationConfigArgsBuilder<SetToken<S>>where
S::Token: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.