[][src]Struct rusoto_s3::Destination

pub struct Destination {
    pub access_control_translation: Option<AccessControlTranslation>,
    pub account: Option<String>,
    pub bucket: String,
    pub encryption_configuration: Option<EncryptionConfiguration>,
    pub storage_class: Option<String>,
}

A container for information about the replication destination.

Fields

access_control_translation: Option<AccessControlTranslation>

A container for information about access control for replicas.

Use this element only in a cross-account scenario where source and destination bucket owners are not the same to change replica ownership to the AWS account that owns the destination bucket. If you don't add this element to the replication configuration, the replicas are owned by same AWS account that owns the source object.

account: Option<String>

The account ID of the destination bucket. Currently, Amazon S3 verifies this value only if Access Control Translation is enabled.

In a cross-account scenario, if you change replica ownership to the AWS account that owns the destination bucket by adding the AccessControlTranslation element, this is the account ID of the owner of the destination bucket.

bucket: String

The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.

If there are multiple rules in your replication configuration, all rules must specify the same bucket as the destination. A replication configuration can replicate objects to only one destination bucket.

encryption_configuration: Option<EncryptionConfiguration>

A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element.

storage_class: Option<String>

The class of storage used to store the object. By default Amazon S3 uses storage class of the source object when creating a replica.

Trait Implementations

impl Default for Destination[src]

impl PartialEq<Destination> for Destination[src]

impl Clone for Destination[src]

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

Performs copy-assignment from source. Read more

impl Debug for Destination[src]

Auto Trait Implementations

impl Send for Destination

impl Sync for Destination

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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> 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self