Amazon S3 Bucket ReplicationRule
The ReplicationRule property type specifies which Amazon Simple Storage Service (Amazon S3) objects to
replicate and where to store them.
The Rules subproperty of the Amazon S3 Bucket ReplicationConfiguration property contains a list of ReplicationRule property types.
Syntax
JSON
{ "Destination" : ReplicationDestination, "Id" :String, "Prefix" :String, "SourceSelectionCriteria" : SourceSelectionCriteria, "Status" :String}
YAML
Destination: ReplicationDestination Id:StringPrefix:StringSourceSelectionCriteria: SourceSelectionCriteria Status:String
Properties
Destination-
Defines the destination where Amazon S3 stores replicated objects.
Required: Yes
Id-
A unique identifier for the rule. If you don't specify a value, AWS CloudFormation generates a random ID.
Required: No
Type: String
Prefix-
An object prefix. This rule applies to all Amazon S3 objects with this prefix. To specify all objects in an S3 bucket, specify an empty string.
Required: Yes
Type: String
SourceSelectionCriteria-
Specifies additional filters in identifying source objects that you want to replicate.
Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using an AWS KMS-managed key. That is, you can choose to enable or disable replication of these objects.
Required: No
Status-
Whether the rule is enabled. For valid values, see the
Statuselement of the PUT Bucket replication action in the Amazon Simple Storage Service API Reference.Required: Yes
Type: String
