stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.S3LifecycleRuleNoncurrentVersionTransition

Description

NoncurrentVersionTransition is a property of the Amazon S3 Lifecycle Rule property that describes when noncurrent objects transition to a specified storage class.

Synopsis

Documentation

data S3LifecycleRuleNoncurrentVersionTransition Source #

Full data type definition for S3LifecycleRuleNoncurrentVersionTransition. See s3LifecycleRuleNoncurrentVersionTransition for a more convenient constructor.

Instances

Show S3LifecycleRuleNoncurrentVersionTransition Source # 
Generic S3LifecycleRuleNoncurrentVersionTransition Source # 
ToJSON S3LifecycleRuleNoncurrentVersionTransition Source # 
FromJSON S3LifecycleRuleNoncurrentVersionTransition Source # 
type Rep S3LifecycleRuleNoncurrentVersionTransition Source # 
type Rep S3LifecycleRuleNoncurrentVersionTransition = D1 (MetaData "S3LifecycleRuleNoncurrentVersionTransition" "Stratosphere.ResourceProperties.S3LifecycleRuleNoncurrentVersionTransition" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "S3LifecycleRuleNoncurrentVersionTransition" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_s3LifecycleRuleNoncurrentVersionTransitionStorageClass") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_s3LifecycleRuleNoncurrentVersionTransitionTransitionInDays") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Integer')))))

slrnvtStorageClass :: Lens' S3LifecycleRuleNoncurrentVersionTransition (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.

slrnvtTransitionInDays :: Lens' S3LifecycleRuleNoncurrentVersionTransition (Val Integer') Source #

The number of days between the time that a new version of the object is uploaded to the bucket and when old versions of the object are transitioned to the specified storage class.