Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

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

Copy
{ "Destination" : String, "Id" : String, "Prefix" : String, "Status" : String }

YAML

Copy
Destination: String Id: String Prefix: String Status: String

Properties

Destination

Defines the destination where Amazon S3 stores replicated objects.

Required: Yes

Type: Amazon S3 Bucket ReplicationDestination

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

Status

Whether the rule is enabled. For valid values, see the Status element of the PUT Bucket replication action in the Amazon Simple Storage Service API Reference.

Required: Yes

Type: String

On this page: