aws-cdk-lib.aws_s3.CfnBucket.TieringProperty

interface TieringProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnBucket.TieringProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_TieringProperty
Javasoftware.amazon.awscdk.services.s3.CfnBucket.TieringProperty
Pythonaws_cdk.aws_s3.CfnBucket.TieringProperty
TypeScript aws-cdk-lib » aws_s3 » CfnBucket » TieringProperty

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const tieringProperty: s3.CfnBucket.TieringProperty = {
  accessTier: 'accessTier',
  days: 123,
};

Properties

NameTypeDescription
accessTierstringS3 Intelligent-Tiering access tier.
daysnumberThe number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.

accessTier

Type: string

S3 Intelligent-Tiering access tier.

See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.


days

Type: number

The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.

The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).