NAME

Paws::S3::ReplicationRule

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::S3::ReplicationRule object:

$service_obj->Method(Att1 => { DeleteMarkerReplication => $value, ..., Status => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::S3::ReplicationRule object:

$result = $service_obj->Method(...);
$result->Att1->DeleteMarkerReplication

DESCRIPTION

Specifies which Amazon S3 objects to replicate and where to store the replicas.

ATTRIBUTES

DeleteMarkerReplication => Paws::S3::DeleteMarkerReplication

REQUIRED Destination => Paws::S3::Destination

A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).

ExistingObjectReplication => Paws::S3::ExistingObjectReplication

Filter => Paws::S3::ReplicationRuleFilter

ID => Str

A unique identifier for the rule. The maximum value is 255 characters.

Prefix => Str

An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string.

Priority => Int

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.

SourceSelectionCriteria => Paws::S3::SourceSelectionCriteria

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

REQUIRED Status => Str

Specifies whether the rule is enabled.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::S3

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues