AWSS3Destination
Objective-C
@interface AWSS3Destination
Swift
class AWSS3Destination
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).
Required parameters: [Bucket]
-
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 AWS account that owns the destination bucket. If this is not specified in 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 }
-
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the AWS 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 Simple Storage Service Developer Guide.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 the results.
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 }
-
A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3 Replication Time Control (S3 RTC). Must be specified together with a
ReplicationTime
block.Declaration
Objective-C
@property (nonatomic, strong) AWSS3Metrics *_Nullable metrics;
Swift
var metrics: AWSS3Metrics? { get set }
-
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.Declaration
Objective-C
@property (nonatomic, strong) AWSS3ReplicationTime *_Nullable replicationTime;
Swift
var replicationTime: AWSS3ReplicationTime? { get set }
-
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 Simple Storage Service API Reference.Declaration
Objective-C
@property (nonatomic) AWSS3StorageClass storageClass;
Swift
var storageClass: AWSS3StorageClass { get set }