Table of Contents

Class ReplicationDestination

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

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

public class ReplicationDestination
Inheritance
ReplicationDestination
Inherited Members

Constructors

ReplicationDestination()

public ReplicationDestination()

Properties

AccessControlTranslation

Gets and sets the property 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.

public AccessControlTranslation AccessControlTranslation { get; set; }

Property Value

AccessControlTranslation

AccountId

Gets and sets the property AccountId.

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.
public string AccountId { get; set; }

Property Value

string

BucketArn

Amazon resource name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.

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

public string BucketArn { get; set; }

Property Value

string

EncryptionConfiguration

Gets and sets the property EncryptionConfiguration.

A container that provides information about encryption. If

SourceSelectionCriteria
is specified, you must specify this element.
public EncryptionConfiguration EncryptionConfiguration { get; set; }

Property Value

EncryptionConfiguration

Metrics

Gets and sets the property Metrics.

A container specifying replication metrics-related settings enabling replication metrics and events.

public Metrics Metrics { get; set; }

Property Value

Metrics

ReplicationTime

Gets and sets the property 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.
public ReplicationTime ReplicationTime { get; set; }

Property Value

ReplicationTime

StorageClass

Gets and sets the property 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.
public S3StorageClass StorageClass { get; set; }

Property Value

S3StorageClass

Methods

IsSetAccessControlTranslation()

public bool IsSetAccessControlTranslation()

Returns

bool

IsSetAccountId()

public bool IsSetAccountId()

Returns

bool

IsSetEncryptionConfiguration()

public bool IsSetEncryptionConfiguration()

Returns

bool