Struct aws_sdk_s3control::types::Destination
source · #[non_exhaustive]pub struct Destination {
pub account: Option<String>,
pub bucket: String,
pub replication_time: Option<ReplicationTime>,
pub access_control_translation: Option<AccessControlTranslation>,
pub encryption_configuration: Option<EncryptionConfiguration>,
pub metrics: Option<Metrics>,
pub storage_class: Option<ReplicationStorageClass>,
}
Expand description
Specifies information about the replication destination bucket and its settings for an S3 on Outposts replication configuration.
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.account: Option<String>
The destination bucket owner's account ID.
bucket: String
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
replication_time: Option<ReplicationTime>
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics
block.
This is not supported by Amazon S3 on Outposts buckets.
access_control_translation: Option<AccessControlTranslation>
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
This is not supported by Amazon S3 on Outposts buckets.
encryption_configuration: Option<EncryptionConfiguration>
A container that provides information about encryption. If SourceSelectionCriteria
is specified, you must specify this element.
This is not supported by Amazon S3 on Outposts buckets.
metrics: Option<Metrics>
A container that specifies replication metrics-related settings.
storage_class: Option<ReplicationStorageClass>
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create the object replicas.
Values other than OUTPOSTS
are not supported by Amazon S3 on Outposts.
Implementations§
source§impl Destination
impl Destination
sourcepub fn bucket(&self) -> &str
pub fn bucket(&self) -> &str
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
sourcepub fn replication_time(&self) -> Option<&ReplicationTime>
pub fn replication_time(&self) -> Option<&ReplicationTime>
A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics
block.
This is not supported by Amazon S3 on Outposts buckets.
sourcepub fn access_control_translation(&self) -> Option<&AccessControlTranslation>
pub fn access_control_translation(&self) -> Option<&AccessControlTranslation>
Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
This is not supported by Amazon S3 on Outposts buckets.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
A container that provides information about encryption. If SourceSelectionCriteria
is specified, you must specify this element.
This is not supported by Amazon S3 on Outposts buckets.
sourcepub fn metrics(&self) -> Option<&Metrics>
pub fn metrics(&self) -> Option<&Metrics>
A container that specifies replication metrics-related settings.
sourcepub fn storage_class(&self) -> Option<&ReplicationStorageClass>
pub fn storage_class(&self) -> Option<&ReplicationStorageClass>
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS
storage class. S3 on Outposts uses the OUTPOSTS
storage class to create the object replicas.
Values other than OUTPOSTS
are not supported by Amazon S3 on Outposts.
source§impl Destination
impl Destination
sourcepub fn builder() -> DestinationBuilder
pub fn builder() -> DestinationBuilder
Creates a new builder-style object to manufacture Destination
.
Trait Implementations§
source§impl Clone for Destination
impl Clone for Destination
source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Destination
impl Debug for Destination
source§impl PartialEq for Destination
impl PartialEq for Destination
source§fn eq(&self, other: &Destination) -> bool
fn eq(&self, other: &Destination) -> bool
self
and other
values to be equal, and is used
by ==
.