Destination class

Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).

Constructors

Destination({required String bucket, AccessControlTranslation? accessControlTranslation, String? account, EncryptionConfiguration? encryptionConfiguration, Metrics? metrics, ReplicationTime? replicationTime, StorageClass? storageClass})
Destination.fromXml(XmlElement elem)
factory

Properties

accessControlTranslation 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 AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.
final
account String?
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the AWS 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 Simple Storage Service Developer Guide.
final
bucket String
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
final
encryptionConfiguration EncryptionConfiguration?
A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element.
final
hashCode int
The hash code for this object.
no setterinherited
metrics Metrics?
A container specifying replication metrics-related settings enabling replication metrics and events.
final
replicationTime 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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageClass 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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXml(String elemName, {List<XmlAttribute>? attributes}) → XmlElement

Operators

operator ==(Object other) bool
The equality operator.
inherited