Struct aws_sdk_s3::types::ReplicationConfiguration
source · #[non_exhaustive]pub struct ReplicationConfiguration {
pub role: String,
pub rules: Vec<ReplicationRule>,
}
Expand description
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role: String
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.
rules: Vec<ReplicationRule>
A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
Implementations§
source§impl ReplicationConfiguration
impl ReplicationConfiguration
sourcepub fn role(&self) -> &str
pub fn role(&self) -> &str
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.
sourcepub fn rules(&self) -> &[ReplicationRule]
pub fn rules(&self) -> &[ReplicationRule]
A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
source§impl ReplicationConfiguration
impl ReplicationConfiguration
sourcepub fn builder() -> ReplicationConfigurationBuilder
pub fn builder() -> ReplicationConfigurationBuilder
Creates a new builder-style object to manufacture ReplicationConfiguration
.
Trait Implementations§
source§impl Clone for ReplicationConfiguration
impl Clone for ReplicationConfiguration
source§fn clone(&self) -> ReplicationConfiguration
fn clone(&self) -> ReplicationConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationConfiguration
impl Debug for ReplicationConfiguration
source§impl PartialEq for ReplicationConfiguration
impl PartialEq for ReplicationConfiguration
impl StructuralPartialEq for ReplicationConfiguration
Auto Trait Implementations§
impl Freeze for ReplicationConfiguration
impl RefUnwindSafe for ReplicationConfiguration
impl Send for ReplicationConfiguration
impl Sync for ReplicationConfiguration
impl Unpin for ReplicationConfiguration
impl UnwindSafe for ReplicationConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)