pub struct BucketReplicationConfigArgs {
pub bucket: Output<String>,
pub role: Output<String>,
pub rules: Output<Vec<BucketReplicationConfigRule>>,
pub token: Output<Option<String>>,
}
Fields§
§bucket: Output<String>
Name of the source S3 bucket you want Amazon S3 to monitor.
role: Output<String>
ARN of the IAM role for Amazon S3 to assume when replicating the objects.
rules: Output<Vec<BucketReplicationConfigRule>>
List of configuration blocks describing the rules managing the replication. See below.
token: Output<Option<String>>
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.
Implementations§
source§impl BucketReplicationConfigArgs
impl BucketReplicationConfigArgs
sourcepub fn builder() -> BucketReplicationConfigArgsBuilder
pub fn builder() -> BucketReplicationConfigArgsBuilder
Create an instance of BucketReplicationConfigArgs
using the builder syntax
Trait Implementations§
source§impl Clone for BucketReplicationConfigArgs
impl Clone for BucketReplicationConfigArgs
source§fn clone(&self) -> BucketReplicationConfigArgs
fn clone(&self) -> BucketReplicationConfigArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BucketReplicationConfigArgs
impl RefUnwindSafe for BucketReplicationConfigArgs
impl Send for BucketReplicationConfigArgs
impl Sync for BucketReplicationConfigArgs
impl Unpin for BucketReplicationConfigArgs
impl UnwindSafe for BucketReplicationConfigArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)