AWSS3Destination Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSS3Model.h
AWSS3Model.m

Overview

A container for information about the replication destination.

Required parameters: [Bucket]

  accessControlTranslation

A container for information about access control for replicas.

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

@property (nonatomic, strong) AWSS3AccessControlTranslation *accessControlTranslation

Declared In

AWSS3Model.h

  account

The 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 change replica ownership to the AWS account that owns the destination bucket by adding the AccessControlTranslation element, this is the account ID of the owner of the destination bucket.

@property (nonatomic, strong) NSString *account

Declared In

AWSS3Model.h

  bucket

The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.

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

@property (nonatomic, strong) NSString *bucket

Declared In

AWSS3Model.h

  encryptionConfiguration

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

@property (nonatomic, strong) AWSS3EncryptionConfiguration *encryptionConfiguration

Declared In

AWSS3Model.h

  storageClass

The class of storage used to store the object. By default Amazon S3 uses storage class of the source object when creating a replica.

@property (nonatomic, assign) AWSS3StorageClass storageClass

Declared In

AWSS3Model.h