Skip to content
v2.278.0

IntelligentTieringConfiguration Struct ​

The intelligent tiering configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_s3 as s3 } from 'aws-cdk-lib';
const intelligentTieringConfiguration: s3.IntelligentTieringConfiguration = {
  name: 'name',

  // the properties below are optional
  archiveAccessTierTime: cdk.Duration.minutes(30),
  deepArchiveAccessTierTime: cdk.Duration.minutes(30),
  prefix: 'prefix',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
from aws_cdk import aws_s3 as s3

intelligent_tiering_configuration = s3.IntelligentTieringConfiguration(
    name="name",

    # the properties below are optional
    archive_access_tier_time=cdk.Duration.minutes(30),
    deep_archive_access_tier_time=cdk.Duration.minutes(30),
    prefix="prefix",
    tags=[s3.Tag(
        key="key",
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.s3.*;

IntelligentTieringConfiguration intelligentTieringConfiguration = IntelligentTieringConfiguration.builder()
        .name("name")

        // the properties below are optional
        .archiveAccessTierTime(Duration.minutes(30))
        .deepArchiveAccessTierTime(Duration.minutes(30))
        .prefix("prefix")
        .tags(List.of(Tag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.S3;

var intelligentTieringConfiguration = new IntelligentTieringConfiguration {
    Name = "name",

    // the properties below are optional
    ArchiveAccessTierTime = Duration.Minutes(30),
    DeepArchiveAccessTierTime = Duration.Minutes(30),
    Prefix = "prefix",
    Tags = new [] { new Tag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

intelligentTieringConfiguration := &IntelligentTieringConfiguration{
	Name: jsii.String("name"),

	// the properties below are optional
	ArchiveAccessTierTime: cdk.Duration_Minutes(jsii.Number(30)),
	DeepArchiveAccessTierTime: cdk.Duration_*Minutes(jsii.Number(30)),
	Prefix: jsii.String("prefix"),
	Tags: []Tag{
		&Tag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

archiveAccessTierTimeoptionalDurationarchive_access_tier_timeoptionalDurationarchiveAccessTierTimeoptionalDurationArchiveAccessTierTimeoptionalDurationArchiveAccessTierTimeoptionalDuration #
When enabled, Intelligent-Tiering will automatically move objects that haven’t been accessed for a minimum of 90 days to the Archive Access tier.

Default: Objects will not move to Glacier

deepArchiveAccessTierTimeoptionalDurationdeep_archive_access_tier_timeoptionalDurationdeepArchiveAccessTierTimeoptionalDurationDeepArchiveAccessTierTimeoptionalDurationDeepArchiveAccessTierTimeoptionalDuration #
When enabled, Intelligent-Tiering will automatically move objects that haven’t been accessed for a minimum of 180 days to the Deep Archive Access tier.

Default: Objects will not move to Glacier Deep Access

namestringnamestrnameStringNamestringName*string required #
Configuration name.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string #
Add a filter to limit the scope of this configuration to a single prefix.

Default: this configuration will apply to all objects in the bucket.

tagsoptionalTag[]tagsoptionaltyping.List[Tag]tagsoptionalList<Tag>TagsoptionalTag[]Tagsoptional*[]Tag #
You can limit the scope of this rule to the key value pairs added below.

Default: No filtering will be performed on tags