ReplicationRule
public struct ReplicationRule : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Undocumented
Declaration
Swift
public let deleteMarkerReplication: DeleteMarkerReplication?
-
A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).
Declaration
Swift
public let destination: Destination
-
Undocumented
Declaration
Swift
public let existingObjectReplication: ExistingObjectReplication?
-
Undocumented
Declaration
Swift
public let filter: ReplicationRuleFilter?
-
A unique identifier for the rule. The maximum value is 255 characters.
Declaration
Swift
public let id: String?
-
The priority associated with the rule. If you specify multiple rules in a replication configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or more rules identify the same object based on a specified filter, the rule with higher priority takes precedence. For example: Same object quality prefix-based filter criteria if prefixes you specified in multiple rules overlap Same object qualify tag-based filter criteria specified in multiple rules For more information, see Replication in the Amazon Simple Storage Service Developer Guide.
Declaration
Swift
public let priority: Int?
-
A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using a customer master key (CMK) stored in AWS Key Management Service (SSE-KMS).
Declaration
Swift
public let sourceSelectionCriteria: SourceSelectionCriteria?
-
Specifies whether the rule is enabled.
Declaration
Swift
public let status: ReplicationRuleStatus
-
init(deleteMarkerReplication:destination:existingObjectReplication:filter:id:priority:sourceSelectionCriteria:status:)
Undocumented
Declaration
Swift
public init(deleteMarkerReplication: DeleteMarkerReplication? = nil, destination: Destination, existingObjectReplication: ExistingObjectReplication? = nil, filter: ReplicationRuleFilter? = nil, id: String? = nil, priority: Int? = nil, sourceSelectionCriteria: SourceSelectionCriteria? = nil, status: ReplicationRuleStatus)
-
Declaration
Swift
public func validate(name: String) throws