aws-cdk-lib.aws_s3.CfnBucket.IntelligentTieringConfigurationProperty

interface IntelligentTieringConfigurationProperty

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

Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.

For information about the S3 Intelligent-Tiering storage class, see Storage class for automatically optimizing frequently and infrequently accessed objects .

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 intelligentTieringConfigurationProperty: s3.CfnBucket.IntelligentTieringConfigurationProperty = {
  id: 'id',
  status: 'status',
  tierings: [{
    accessTier: 'accessTier',
    days: 123,
  }],

  // the properties below are optional
  prefix: 'prefix',
  tagFilters: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
idstringThe ID used to identify the S3 Intelligent-Tiering configuration.
statusstringSpecifies the status of the configuration.
tieringsIResolvable | IResolvable | TieringProperty[]Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration.
prefix?stringAn object key name prefix that identifies the subset of objects to which the rule applies.
tagFilters?IResolvable | IResolvable | TagFilterProperty[]A container for a key-value pair.

id

Type: string

The ID used to identify the S3 Intelligent-Tiering configuration.


status

Type: string

Specifies the status of the configuration.


tierings

Type: IResolvable | IResolvable | TieringProperty[]

Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration.

At least one tier must be defined in the list. At most, you can specify two tiers in the list, one for each available AccessTier: ARCHIVE_ACCESS and DEEP_ARCHIVE_ACCESS .

You only need Intelligent Tiering Configuration enabled on a bucket if you want to automatically move objects stored in the Intelligent-Tiering storage class to Archive Access or Deep Archive Access tiers.


prefix?

Type: string (optional)

An object key name prefix that identifies the subset of objects to which the rule applies.


tagFilters?

Type: IResolvable | IResolvable | TagFilterProperty[] (optional)

A container for a key-value pair.