AWSS3Destination

Objective-C

@interface AWSS3Destination

Swift

class AWSS3Destination

A container for information about the replication destination.

Required parameters: [Bucket]

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3AccessControlTranslation *_Nullable accessControlTranslation;

    Swift

    var accessControlTranslation: AWSS3AccessControlTranslation? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable account;

    Swift

    var account: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable bucket;

    Swift

    var bucket: String? { get set }
  • A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3EncryptionConfiguration *_Nullable encryptionConfiguration;

    Swift

    var encryptionConfiguration: AWSS3EncryptionConfiguration? { get set }
  • The class of storage used to store the object. By default Amazon S3 uses storage class of the source object when creating a replica.

    Declaration

    Objective-C

    @property (nonatomic) AWSS3StorageClass storageClass;

    Swift

    var storageClass: AWSS3StorageClass { get set }