[][src]Struct rusoto_s3::ReplicationRule

pub struct ReplicationRule {
    pub delete_marker_replication: Option<DeleteMarkerReplication>,
    pub destination: Destination,
    pub filter: Option<ReplicationRuleFilter>,
    pub id: Option<String>,
    pub priority: Option<i64>,
    pub source_selection_criteria: Option<SourceSelectionCriteria>,
    pub status: String,
}

A container for information about a specific replication rule.

Fields

delete_marker_replication: Option<DeleteMarkerReplication>destination: Destination

A container for information about the replication destination.

filter: Option<ReplicationRuleFilter>id: Option<String>

A unique identifier for the rule. The maximum value is 255 characters.

priority: Option<i64>

The priority associated with the rule. If you specify multiple rules in a replication configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or more rules identify the same object based on a specified filter, the rule with higher priority takes precedence. For example:

  • Same object quality prefix based filter criteria If prefixes you specified in multiple rules overlap

  • Same object qualify tag based filter criteria specified in multiple rules

For more information, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.

source_selection_criteria: Option<SourceSelectionCriteria>

A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using an AWS KMS-Managed Key (SSE-KMS).

If you want Amazon S3 to replicate objects created with server-side encryption using AWS KMS-Managed Keys.

status: String

If status isn't enabled, the rule is ignored.

Trait Implementations

impl Default for ReplicationRule[src]

impl PartialEq<ReplicationRule> for ReplicationRule[src]

impl Clone for ReplicationRule[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ReplicationRule[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self