AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.ReplicationDestination

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class ReplicationDestination

The ReplicationDestination type exposes the following members

Constructors

NameDescription
Public Method ReplicationDestination()

Properties

NameTypeDescription
Public Property AccessControlTranslation Amazon.S3.Model.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 Property AccountId System.String

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 Property BucketArn System.String

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 Property EncryptionConfiguration Amazon.S3.Model.EncryptionConfiguration

Gets and sets the property EncryptionConfiguration.

A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element.

Public Property Metrics Amazon.S3.Model.Metrics

Gets and sets the property Metrics.

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

Public Property ReplicationTime Amazon.S3.Model.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 Property StorageClass Amazon.S3.S3StorageClass

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.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method IsSetAccessControlTranslation()

Check to see if AccessControlTranslation property is set

Public Method IsSetAccountId()

Check to see if AccountId property is set

Public Method IsSetEncryptionConfiguration()

Check to see if EncryptionConfiguration property is set

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5