IntelligentTieringConfiguration

class aws_cdk.aws_s3.IntelligentTieringConfiguration(*, name, archive_access_tier_time=None, deep_archive_access_tier_time=None, prefix=None, tags=None)

Bases: object

The intelligent tiering configuration.

Parameters:
  • name (str) – Configuration name.

  • archive_access_tier_time (Optional[Duration]) – 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

  • deep_archive_access_tier_time (Optional[Duration]) – 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

  • prefix (Optional[str]) – 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.

  • tags (Optional[Sequence[Union[Tag, Dict[str, Any]]]]) – You can limit the scope of this rule to the key value pairs added below. Default: No filtering will be performed on tags

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_s3 as s3
import aws_cdk.core as cdk

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"
    )]
)

Attributes

archive_access_tier_time

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

deep_archive_access_tier_time

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

name

Configuration name.

prefix

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.

tags

You can limit the scope of this rule to the key value pairs added below.

Default:

No filtering will be performed on tags