Table of Contents

Class ReplicationDestination

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

Destination configuration for a replication rule.

public class ReplicationDestination
Inheritance
ReplicationDestination
Inherited Members

Constructors

ReplicationDestination()

public ReplicationDestination()

Properties

AccessControlTranslation

Container for information regarding the access control for replicas.

Use only in a cross-account scenario, where source and destination bucket owners are not the same, when you want 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.

public AccessControlTranslation AccessControlTranslation { get; set; }

Property Value

AccessControlTranslation

AccountId

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 tell Amazon S3 to change replica ownership to the AWS account that owns the destination bucket by adding the

AccessControlTranslation
element, this is the account ID of the destination bucket owner.
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

Container that provides encryption-related information. You must specify this element if the

SourceSelectionCriteria
is specified.
public EncryptionConfiguration EncryptionConfiguration { get; set; }

Property Value

EncryptionConfiguration

Metrics

A container specifying replication metrics-related information, including whether emitting metrics and Amazon S3 events for replication are enabled. In addition, contains configurations related to specific metrics or events. Must be specified together with a

ReplicationTime
block.
public Metrics Metrics { get; set; }

Property Value

Metrics

ReplicationTime

A container specifying the time when all objects and operations on objects are replicated. Must be specified together with a

Metrics
block.
public ReplicationTime ReplicationTime { get; set; }

Property Value

ReplicationTime

StorageClass

The class of storage used to store the object.

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