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

Description

 
Synopsis

Documentation

data AwsS3BucketBucketLifecycleConfigurationRulesDetails Source #

Configuration for a lifecycle rule.

See: newAwsS3BucketBucketLifecycleConfigurationRulesDetails smart constructor.

Constructors

AwsS3BucketBucketLifecycleConfigurationRulesDetails' 

Fields

Instances

Instances details
Eq AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

Read AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

Show AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

Generic AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

NFData AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

Hashable AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

ToJSON AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

FromJSON AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

type Rep AwsS3BucketBucketLifecycleConfigurationRulesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails

type Rep AwsS3BucketBucketLifecycleConfigurationRulesDetails = D1 ('MetaData "AwsS3BucketBucketLifecycleConfigurationRulesDetails" "Amazonka.SecurityHub.Types.AwsS3BucketBucketLifecycleConfigurationRulesDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsS3BucketBucketLifecycleConfigurationRulesDetails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "transitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails]))) :*: (S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "noncurrentVersionTransitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails])) :*: S1 ('MetaSel ('Just "noncurrentVersionExpirationInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails)))) :*: (S1 ('MetaSel ('Just "expirationInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "abortIncompleteMultipartUpload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails)) :*: S1 ('MetaSel ('Just "expiredObjectDeleteMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

newAwsS3BucketBucketLifecycleConfigurationRulesDetails :: AwsS3BucketBucketLifecycleConfigurationRulesDetails Source #

Create a value of AwsS3BucketBucketLifecycleConfigurationRulesDetails 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:status:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_status - The current status of the rule. Indicates whether the rule is currently being applied.

$sel:transitions:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_transitions - Transition rules that indicate when objects transition to a specified storage class.

$sel:prefix:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_prefix - A prefix that identifies one or more objects that the rule applies to.

$sel:noncurrentVersionTransitions:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionTransitions - Transition rules that describe when noncurrent objects transition to a specified storage class.

$sel:noncurrentVersionExpirationInDays:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionExpirationInDays - The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

$sel:expirationDate:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationDate - The date when objects are moved or deleted.

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:id:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_id - The unique identifier of the rule.

$sel:filter':AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_filter - Identifies the objects that a rule applies to.

$sel:expirationInDays:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationInDays - The length in days of the lifetime for objects that are subject to the rule.

$sel:abortIncompleteMultipartUpload:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_abortIncompleteMultipartUpload - How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload.

$sel:expiredObjectDeleteMarker:AwsS3BucketBucketLifecycleConfigurationRulesDetails', awsS3BucketBucketLifecycleConfigurationRulesDetails_expiredObjectDeleteMarker - Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to true, the delete marker is expired. If set to false, the policy takes no action.

If you provide ExpiredObjectDeleteMarker, you cannot provide ExpirationInDays or ExpirationDate.

awsS3BucketBucketLifecycleConfigurationRulesDetails_status :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text) Source #

The current status of the rule. Indicates whether the rule is currently being applied.

awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionExpirationInDays :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Int) Source #

The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationDate :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text) Source #

The date when objects are moved or deleted.

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.

awsS3BucketBucketLifecycleConfigurationRulesDetails_abortIncompleteMultipartUpload :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails) Source #

How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload.

awsS3BucketBucketLifecycleConfigurationRulesDetails_expiredObjectDeleteMarker :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Bool) Source #

Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to true, the delete marker is expired. If set to false, the policy takes no action.

If you provide ExpiredObjectDeleteMarker, you cannot provide ExpirationInDays or ExpirationDate.