libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

Description

 
Synopsis

Documentation

data AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source #

A rule for when objects transition to specific storage classes.

See: newAwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails smart constructor.

Constructors

AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails' 

Fields

  • days :: Maybe Int

    The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

  • date :: Maybe Text

    A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.

    Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

  • storageClass :: Maybe Text

    The storage class to transition the object to.

Instances

Instances details
Eq AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

Read AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

Show AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

Generic AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

NFData AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

Hashable AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

ToJSON AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

FromJSON AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

type Rep AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

type Rep AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails = D1 ('MetaData "AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails" "Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "days") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails :: AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails Source #

Create a value of AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:days:AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails', awsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails_days - The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

$sel:date:AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails', awsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails_date - A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

$sel:storageClass:AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails', awsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails_storageClass - The storage class to transition the object to.

awsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails_days :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails (Maybe Int) Source #

The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

awsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails_date :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails (Maybe Text) Source #

A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.