stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.S3ReplicationConfigurationRule

Description

Rules is a property of the Amazon S3 ReplicationConfiguration property that specifies which Amazon Simple Storage Service (Amazon S3) objects to replicate and where to store them.

Synopsis

Documentation

data S3ReplicationConfigurationRule Source #

Full data type definition for S3ReplicationConfigurationRule. See s3ReplicationConfigurationRule for a more convenient constructor.

Instances

Show S3ReplicationConfigurationRule Source # 
Generic S3ReplicationConfigurationRule Source # 
ToJSON S3ReplicationConfigurationRule Source # 
FromJSON S3ReplicationConfigurationRule Source # 
type Rep S3ReplicationConfigurationRule Source # 
type Rep S3ReplicationConfigurationRule = D1 (MetaData "S3ReplicationConfigurationRule" "Stratosphere.ResourceProperties.S3ReplicationConfigurationRule" "stratosphere-0.2.2-Fnop5S0NvsvBmp7LUeJWuv" False) (C1 (MetaCons "S3ReplicationConfigurationRule" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_s3ReplicationConfigurationRuleDestination") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 S3ReplicationConfigurationRulesDestination)) (S1 (MetaSel (Just Symbol "_s3ReplicationConfigurationRuleId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_s3ReplicationConfigurationRulePrefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_s3ReplicationConfigurationRuleStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))))))

srcrDestination :: Lens' S3ReplicationConfigurationRule S3ReplicationConfigurationRulesDestination Source #

Defines the destination where Amazon S3 stores replicated objects.

srcrId :: Lens' S3ReplicationConfigurationRule (Maybe (Val Text)) Source #

A unique identifier for the rule. If you don't specify a value, AWS CloudFormation generates a random ID.

srcrPrefix :: Lens' S3ReplicationConfigurationRule (Val Text) Source #

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.

srcrStatus :: Lens' S3ReplicationConfigurationRule (Val Text) Source #

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.