stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.S3LifecycleRuleTransition

Description

Describes when an object transitions to a specified storage class for the Amazon S3 Lifecycle Rule property.

Synopsis

Documentation

data S3LifecycleRuleTransition Source #

Full data type definition for S3LifecycleRuleTransition. See s3LifecycleRuleTransition for a more convenient constructor.

Instances

Show S3LifecycleRuleTransition Source # 
Generic S3LifecycleRuleTransition Source # 
ToJSON S3LifecycleRuleTransition Source # 
FromJSON S3LifecycleRuleTransition Source # 
type Rep S3LifecycleRuleTransition Source # 
type Rep S3LifecycleRuleTransition = D1 (MetaData "S3LifecycleRuleTransition" "Stratosphere.ResourceProperties.S3LifecycleRuleTransition" "stratosphere-0.2.2-Fnop5S0NvsvBmp7LUeJWuv" False) (C1 (MetaCons "S3LifecycleRuleTransition" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_s3LifecycleRuleTransitionStorageClass") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) ((:*:) (S1 (MetaSel (Just Symbol "_s3LifecycleRuleTransitionTransitionDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_s3LifecycleRuleTransitionTransitionInDays") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))))))

s3LifecycleRuleTransition Source #

Constructor for S3LifecycleRuleTransition containing required fields as arguments.

slrtStorageClass :: Lens' S3LifecycleRuleTransition (Val Text) Source #

The storage class to which you want the object to transition, such as GLACIER. For valid values, see the StorageClass request element of the PUT Bucket lifecycle action in the Amazon Simple Storage Service API Reference.

slrtTransitionDate :: Lens' S3LifecycleRuleTransition (Maybe (Val Text)) Source #

Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

slrtTransitionInDays :: Lens' S3LifecycleRuleTransition (Maybe (Val Integer')) Source #

Indicates the number of days after creation when objects are transitioned to the specified storage class.