Struct aws_sdk_s3::model::Destination [−][src]
#[non_exhaustive]pub struct Destination {
pub bucket: Option<String>,
pub account: Option<String>,
pub storage_class: Option<StorageClass>,
pub access_control_translation: Option<AccessControlTranslation>,
pub encryption_configuration: Option<EncryptionConfiguration>,
pub replication_time: Option<ReplicationTime>,
pub metrics: Option<Metrics>,
}
Expand description
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).
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.bucket: Option<String>
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
account: Option<String>
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to
change replica ownership to the Amazon Web Services account that owns the destination bucket by specifying
the AccessControlTranslation
property, this is the account ID of the
destination bucket owner. For more information, see Replication Additional
Configuration: Changing the Replica Owner in the Amazon S3 User Guide.
storage_class: Option<StorageClass>
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass
element of the PUT Bucket
replication action in the Amazon S3 API Reference.
access_control_translation: Option<AccessControlTranslation>
Specify this only in a cross-account scenario (where 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 is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
encryption_configuration: Option<EncryptionConfiguration>
A container that provides information about encryption. If
SourceSelectionCriteria
is specified, you must specify this element.
replication_time: Option<ReplicationTime>
A container specifying S3 Replication Time Control (S3 RTC), 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.
metrics: Option<Metrics>
A container specifying replication metrics-related settings enabling replication metrics and events.
Implementations
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to
change replica ownership to the Amazon Web Services account that owns the destination bucket by specifying
the AccessControlTranslation
property, this is the account ID of the
destination bucket owner. For more information, see Replication Additional
Configuration: Changing the Replica Owner in the Amazon S3 User Guide.
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the StorageClass
element of the PUT Bucket
replication action in the Amazon S3 API Reference.
Specify this only in a cross-account scenario (where 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 is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
A container that provides information about encryption. If
SourceSelectionCriteria
is specified, you must specify this element.
A container specifying S3 Replication Time Control (S3 RTC), 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.
Creates a new builder-style object to manufacture Destination
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnwindSafe for Destination
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more