AI CloudAdvisor (Beta)

My Presets

You must be logged in to save or view your saved configuration templates

Security Controls

Service Control PoliciesConfig RulesCloudWatch Alarms and Event RulesCloudFormation Guard RulesLogging & Monitoring ConfigurationsBackups & DRAuto Remediation RulesConformance PacksBilling and Cost ManagementS3 Bucket PoliciesSecurity Groups & NACLsIAM PoliciesVPC Endpoint Policies

AWS Services

Guided Walkthroughs

Configuration Packages

Reference Guides

Other

AI CloudAdvisor (Beta)

Configuration Stack
0

My Presets

Security Controls

AWS Services

Guided Walkthroughs

Configuration Packages

Reference Guides

Other

Config Rules

S3 Lifecycle Policy Check

A Config rule that checks if a lifecycle rule is configured for an Amazon Simple Storage Service (Amazon S3) bucket. The rule is NON_COMPLIANT if there is no active lifecycle configuration rules or the configuration does not match with the parameter values.

This config rule supports the following parameters:

  • targetTransitionDays
    • Required: No
    • Type: int
    • Description:Number of days after object creation when objects are transitioned to a specified storage class (for example, 30 days).
  • targetExpirationDays
    • Required: No
    • Type: int
    • Description:Number of days after object creation when objects are deleted (for example, 395 days).
  • targetTransitionStorageClass
    • Required: No
    • Type: String
    • Description:Destination storage class type (for example, Amazon S3 Standard-Infrequent Access (S3 Standard-IA). For more information, see https: //docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html.
  • targetPrefix
    • Required: No
    • Type: String
    • Description:Amazon S3 Object prefix to identify one or more objects.
  • bucketNames
    • Required: No
    • Type: CSV
    • Description:Comma-separated list of Amazon S3 bucket names that have lifecycle policy enabled.
Try out the new configuration builder powered by AI!
More customization options
Use natural language
Import your own templates

ConfigRule
AWS::Config::ConfigRule


Scope

ComplianceResourceTypes

Source *
CustomPolicyDetails
SourceDetails

CloudFormation Template

Upgrade to Premium for More Features
Sign up

Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
Configuration Packages
Pre-built packages for common configuration
Common SCPs
CloudFormation Guard Rules
Auto Remediation Rules
IAM Monitoring & Compliance
All Packages
Automated Assessments
  • 350+ security checks
  • Well-architected reviews
  • Detailed compliance reports
  • Remediation templates
  • Email summaries
  • Learn more