1. Packages
  2. AWS
  3. API Docs
  4. s3
  5. BucketIntelligentTieringConfiguration
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.s3.BucketIntelligentTieringConfiguration

Explore with Pulumi AI

Provides an S3 Intelligent-Tiering configuration resource.

This resource cannot be used with S3 directory buckets.

Example Usage

Add intelligent tiering configuration for entire S3 bucket

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.s3.BucketV2("example", {bucket: "example"});
const example_entire_bucket = new aws.s3.BucketIntelligentTieringConfiguration("example-entire-bucket", {
    bucket: example.id,
    name: "EntireBucket",
    tierings: [
        {
            accessTier: "DEEP_ARCHIVE_ACCESS",
            days: 180,
        },
        {
            accessTier: "ARCHIVE_ACCESS",
            days: 125,
        },
    ],
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.s3.BucketV2("example", bucket="example")
example_entire_bucket = aws.s3.BucketIntelligentTieringConfiguration("example-entire-bucket",
    bucket=example.id,
    name="EntireBucket",
    tierings=[
        {
            "access_tier": "DEEP_ARCHIVE_ACCESS",
            "days": 180,
        },
        {
            "access_tier": "ARCHIVE_ACCESS",
            "days": 125,
        },
    ])
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{
			Bucket: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketIntelligentTieringConfiguration(ctx, "example-entire-bucket", &s3.BucketIntelligentTieringConfigurationArgs{
			Bucket: example.ID(),
			Name:   pulumi.String("EntireBucket"),
			Tierings: s3.BucketIntelligentTieringConfigurationTieringArray{
				&s3.BucketIntelligentTieringConfigurationTieringArgs{
					AccessTier: pulumi.String("DEEP_ARCHIVE_ACCESS"),
					Days:       pulumi.Int(180),
				},
				&s3.BucketIntelligentTieringConfigurationTieringArgs{
					AccessTier: pulumi.String("ARCHIVE_ACCESS"),
					Days:       pulumi.Int(125),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.S3.BucketV2("example", new()
    {
        Bucket = "example",
    });

    var example_entire_bucket = new Aws.S3.BucketIntelligentTieringConfiguration("example-entire-bucket", new()
    {
        Bucket = example.Id,
        Name = "EntireBucket",
        Tierings = new[]
        {
            new Aws.S3.Inputs.BucketIntelligentTieringConfigurationTieringArgs
            {
                AccessTier = "DEEP_ARCHIVE_ACCESS",
                Days = 180,
            },
            new Aws.S3.Inputs.BucketIntelligentTieringConfigurationTieringArgs
            {
                AccessTier = "ARCHIVE_ACCESS",
                Days = 125,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.BucketV2;
import com.pulumi.aws.s3.BucketV2Args;
import com.pulumi.aws.s3.BucketIntelligentTieringConfiguration;
import com.pulumi.aws.s3.BucketIntelligentTieringConfigurationArgs;
import com.pulumi.aws.s3.inputs.BucketIntelligentTieringConfigurationTieringArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new BucketV2("example", BucketV2Args.builder()
            .bucket("example")
            .build());

        var example_entire_bucket = new BucketIntelligentTieringConfiguration("example-entire-bucket", BucketIntelligentTieringConfigurationArgs.builder()
            .bucket(example.id())
            .name("EntireBucket")
            .tierings(            
                BucketIntelligentTieringConfigurationTieringArgs.builder()
                    .accessTier("DEEP_ARCHIVE_ACCESS")
                    .days(180)
                    .build(),
                BucketIntelligentTieringConfigurationTieringArgs.builder()
                    .accessTier("ARCHIVE_ACCESS")
                    .days(125)
                    .build())
            .build());

    }
}
Copy
resources:
  example-entire-bucket:
    type: aws:s3:BucketIntelligentTieringConfiguration
    properties:
      bucket: ${example.id}
      name: EntireBucket
      tierings:
        - accessTier: DEEP_ARCHIVE_ACCESS
          days: 180
        - accessTier: ARCHIVE_ACCESS
          days: 125
  example:
    type: aws:s3:BucketV2
    properties:
      bucket: example
Copy

Add intelligent tiering configuration with S3 object filter

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.s3.BucketV2("example", {bucket: "example"});
const example_filtered = new aws.s3.BucketIntelligentTieringConfiguration("example-filtered", {
    bucket: example.id,
    name: "ImportantBlueDocuments",
    status: "Disabled",
    filter: {
        prefix: "documents/",
        tags: {
            priority: "high",
            "class": "blue",
        },
    },
    tierings: [{
        accessTier: "ARCHIVE_ACCESS",
        days: 125,
    }],
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.s3.BucketV2("example", bucket="example")
example_filtered = aws.s3.BucketIntelligentTieringConfiguration("example-filtered",
    bucket=example.id,
    name="ImportantBlueDocuments",
    status="Disabled",
    filter={
        "prefix": "documents/",
        "tags": {
            "priority": "high",
            "class": "blue",
        },
    },
    tierings=[{
        "access_tier": "ARCHIVE_ACCESS",
        "days": 125,
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{
			Bucket: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketIntelligentTieringConfiguration(ctx, "example-filtered", &s3.BucketIntelligentTieringConfigurationArgs{
			Bucket: example.ID(),
			Name:   pulumi.String("ImportantBlueDocuments"),
			Status: pulumi.String("Disabled"),
			Filter: &s3.BucketIntelligentTieringConfigurationFilterArgs{
				Prefix: pulumi.String("documents/"),
				Tags: pulumi.StringMap{
					"priority": pulumi.String("high"),
					"class":    pulumi.String("blue"),
				},
			},
			Tierings: s3.BucketIntelligentTieringConfigurationTieringArray{
				&s3.BucketIntelligentTieringConfigurationTieringArgs{
					AccessTier: pulumi.String("ARCHIVE_ACCESS"),
					Days:       pulumi.Int(125),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.S3.BucketV2("example", new()
    {
        Bucket = "example",
    });

    var example_filtered = new Aws.S3.BucketIntelligentTieringConfiguration("example-filtered", new()
    {
        Bucket = example.Id,
        Name = "ImportantBlueDocuments",
        Status = "Disabled",
        Filter = new Aws.S3.Inputs.BucketIntelligentTieringConfigurationFilterArgs
        {
            Prefix = "documents/",
            Tags = 
            {
                { "priority", "high" },
                { "class", "blue" },
            },
        },
        Tierings = new[]
        {
            new Aws.S3.Inputs.BucketIntelligentTieringConfigurationTieringArgs
            {
                AccessTier = "ARCHIVE_ACCESS",
                Days = 125,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.BucketV2;
import com.pulumi.aws.s3.BucketV2Args;
import com.pulumi.aws.s3.BucketIntelligentTieringConfiguration;
import com.pulumi.aws.s3.BucketIntelligentTieringConfigurationArgs;
import com.pulumi.aws.s3.inputs.BucketIntelligentTieringConfigurationFilterArgs;
import com.pulumi.aws.s3.inputs.BucketIntelligentTieringConfigurationTieringArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new BucketV2("example", BucketV2Args.builder()
            .bucket("example")
            .build());

        var example_filtered = new BucketIntelligentTieringConfiguration("example-filtered", BucketIntelligentTieringConfigurationArgs.builder()
            .bucket(example.id())
            .name("ImportantBlueDocuments")
            .status("Disabled")
            .filter(BucketIntelligentTieringConfigurationFilterArgs.builder()
                .prefix("documents/")
                .tags(Map.ofEntries(
                    Map.entry("priority", "high"),
                    Map.entry("class", "blue")
                ))
                .build())
            .tierings(BucketIntelligentTieringConfigurationTieringArgs.builder()
                .accessTier("ARCHIVE_ACCESS")
                .days(125)
                .build())
            .build());

    }
}
Copy
resources:
  example-filtered:
    type: aws:s3:BucketIntelligentTieringConfiguration
    properties:
      bucket: ${example.id}
      name: ImportantBlueDocuments
      status: Disabled
      filter:
        prefix: documents/
        tags:
          priority: high
          class: blue
      tierings:
        - accessTier: ARCHIVE_ACCESS
          days: 125
  example:
    type: aws:s3:BucketV2
    properties:
      bucket: example
Copy

Create BucketIntelligentTieringConfiguration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new BucketIntelligentTieringConfiguration(name: string, args: BucketIntelligentTieringConfigurationArgs, opts?: CustomResourceOptions);
@overload
def BucketIntelligentTieringConfiguration(resource_name: str,
                                          args: BucketIntelligentTieringConfigurationArgs,
                                          opts: Optional[ResourceOptions] = None)

@overload
def BucketIntelligentTieringConfiguration(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          bucket: Optional[str] = None,
                                          tierings: Optional[Sequence[BucketIntelligentTieringConfigurationTieringArgs]] = None,
                                          filter: Optional[BucketIntelligentTieringConfigurationFilterArgs] = None,
                                          name: Optional[str] = None,
                                          status: Optional[str] = None)
func NewBucketIntelligentTieringConfiguration(ctx *Context, name string, args BucketIntelligentTieringConfigurationArgs, opts ...ResourceOption) (*BucketIntelligentTieringConfiguration, error)
public BucketIntelligentTieringConfiguration(string name, BucketIntelligentTieringConfigurationArgs args, CustomResourceOptions? opts = null)
public BucketIntelligentTieringConfiguration(String name, BucketIntelligentTieringConfigurationArgs args)
public BucketIntelligentTieringConfiguration(String name, BucketIntelligentTieringConfigurationArgs args, CustomResourceOptions options)
type: aws:s3:BucketIntelligentTieringConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BucketIntelligentTieringConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BucketIntelligentTieringConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BucketIntelligentTieringConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BucketIntelligentTieringConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BucketIntelligentTieringConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var bucketIntelligentTieringConfigurationResource = new Aws.S3.BucketIntelligentTieringConfiguration("bucketIntelligentTieringConfigurationResource", new()
{
    Bucket = "string",
    Tierings = new[]
    {
        new Aws.S3.Inputs.BucketIntelligentTieringConfigurationTieringArgs
        {
            AccessTier = "string",
            Days = 0,
        },
    },
    Filter = new Aws.S3.Inputs.BucketIntelligentTieringConfigurationFilterArgs
    {
        Prefix = "string",
        Tags = 
        {
            { "string", "string" },
        },
    },
    Name = "string",
    Status = "string",
});
Copy
example, err := s3.NewBucketIntelligentTieringConfiguration(ctx, "bucketIntelligentTieringConfigurationResource", &s3.BucketIntelligentTieringConfigurationArgs{
	Bucket: pulumi.String("string"),
	Tierings: s3.BucketIntelligentTieringConfigurationTieringArray{
		&s3.BucketIntelligentTieringConfigurationTieringArgs{
			AccessTier: pulumi.String("string"),
			Days:       pulumi.Int(0),
		},
	},
	Filter: &s3.BucketIntelligentTieringConfigurationFilterArgs{
		Prefix: pulumi.String("string"),
		Tags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	Name:   pulumi.String("string"),
	Status: pulumi.String("string"),
})
Copy
var bucketIntelligentTieringConfigurationResource = new BucketIntelligentTieringConfiguration("bucketIntelligentTieringConfigurationResource", BucketIntelligentTieringConfigurationArgs.builder()
    .bucket("string")
    .tierings(BucketIntelligentTieringConfigurationTieringArgs.builder()
        .accessTier("string")
        .days(0)
        .build())
    .filter(BucketIntelligentTieringConfigurationFilterArgs.builder()
        .prefix("string")
        .tags(Map.of("string", "string"))
        .build())
    .name("string")
    .status("string")
    .build());
Copy
bucket_intelligent_tiering_configuration_resource = aws.s3.BucketIntelligentTieringConfiguration("bucketIntelligentTieringConfigurationResource",
    bucket="string",
    tierings=[{
        "access_tier": "string",
        "days": 0,
    }],
    filter={
        "prefix": "string",
        "tags": {
            "string": "string",
        },
    },
    name="string",
    status="string")
Copy
const bucketIntelligentTieringConfigurationResource = new aws.s3.BucketIntelligentTieringConfiguration("bucketIntelligentTieringConfigurationResource", {
    bucket: "string",
    tierings: [{
        accessTier: "string",
        days: 0,
    }],
    filter: {
        prefix: "string",
        tags: {
            string: "string",
        },
    },
    name: "string",
    status: "string",
});
Copy
type: aws:s3:BucketIntelligentTieringConfiguration
properties:
    bucket: string
    filter:
        prefix: string
        tags:
            string: string
    name: string
    status: string
    tierings:
        - accessTier: string
          days: 0
Copy

BucketIntelligentTieringConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The BucketIntelligentTieringConfiguration resource accepts the following input properties:

Bucket
This property is required.
Changes to this property will trigger replacement.
string
Name of the bucket this intelligent tiering configuration is associated with.
Tierings This property is required. List<BucketIntelligentTieringConfigurationTiering>
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
Filter BucketIntelligentTieringConfigurationFilter
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
Name Changes to this property will trigger replacement. string
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
Status string
Specifies the status of the configuration. Valid values: Enabled, Disabled.
Bucket
This property is required.
Changes to this property will trigger replacement.
string
Name of the bucket this intelligent tiering configuration is associated with.
Tierings This property is required. []BucketIntelligentTieringConfigurationTieringArgs
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
Filter BucketIntelligentTieringConfigurationFilterArgs
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
Name Changes to this property will trigger replacement. string
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
Status string
Specifies the status of the configuration. Valid values: Enabled, Disabled.
bucket
This property is required.
Changes to this property will trigger replacement.
String
Name of the bucket this intelligent tiering configuration is associated with.
tierings This property is required. List<BucketIntelligentTieringConfigurationTiering>
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
filter BucketIntelligentTieringConfigurationFilter
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. String
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status String
Specifies the status of the configuration. Valid values: Enabled, Disabled.
bucket
This property is required.
Changes to this property will trigger replacement.
string
Name of the bucket this intelligent tiering configuration is associated with.
tierings This property is required. BucketIntelligentTieringConfigurationTiering[]
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
filter BucketIntelligentTieringConfigurationFilter
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. string
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status string
Specifies the status of the configuration. Valid values: Enabled, Disabled.
bucket
This property is required.
Changes to this property will trigger replacement.
str
Name of the bucket this intelligent tiering configuration is associated with.
tierings This property is required. Sequence[BucketIntelligentTieringConfigurationTieringArgs]
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
filter BucketIntelligentTieringConfigurationFilterArgs
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. str
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status str
Specifies the status of the configuration. Valid values: Enabled, Disabled.
bucket
This property is required.
Changes to this property will trigger replacement.
String
Name of the bucket this intelligent tiering configuration is associated with.
tierings This property is required. List<Property Map>
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
filter Property Map
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. String
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status String
Specifies the status of the configuration. Valid values: Enabled, Disabled.

Outputs

All input properties are implicitly available as output properties. Additionally, the BucketIntelligentTieringConfiguration resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing BucketIntelligentTieringConfiguration Resource

Get an existing BucketIntelligentTieringConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BucketIntelligentTieringConfigurationState, opts?: CustomResourceOptions): BucketIntelligentTieringConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bucket: Optional[str] = None,
        filter: Optional[BucketIntelligentTieringConfigurationFilterArgs] = None,
        name: Optional[str] = None,
        status: Optional[str] = None,
        tierings: Optional[Sequence[BucketIntelligentTieringConfigurationTieringArgs]] = None) -> BucketIntelligentTieringConfiguration
func GetBucketIntelligentTieringConfiguration(ctx *Context, name string, id IDInput, state *BucketIntelligentTieringConfigurationState, opts ...ResourceOption) (*BucketIntelligentTieringConfiguration, error)
public static BucketIntelligentTieringConfiguration Get(string name, Input<string> id, BucketIntelligentTieringConfigurationState? state, CustomResourceOptions? opts = null)
public static BucketIntelligentTieringConfiguration get(String name, Output<String> id, BucketIntelligentTieringConfigurationState state, CustomResourceOptions options)
resources:  _:    type: aws:s3:BucketIntelligentTieringConfiguration    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Bucket Changes to this property will trigger replacement. string
Name of the bucket this intelligent tiering configuration is associated with.
Filter BucketIntelligentTieringConfigurationFilter
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
Name Changes to this property will trigger replacement. string
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
Status string
Specifies the status of the configuration. Valid values: Enabled, Disabled.
Tierings List<BucketIntelligentTieringConfigurationTiering>
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
Bucket Changes to this property will trigger replacement. string
Name of the bucket this intelligent tiering configuration is associated with.
Filter BucketIntelligentTieringConfigurationFilterArgs
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
Name Changes to this property will trigger replacement. string
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
Status string
Specifies the status of the configuration. Valid values: Enabled, Disabled.
Tierings []BucketIntelligentTieringConfigurationTieringArgs
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
bucket Changes to this property will trigger replacement. String
Name of the bucket this intelligent tiering configuration is associated with.
filter BucketIntelligentTieringConfigurationFilter
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. String
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status String
Specifies the status of the configuration. Valid values: Enabled, Disabled.
tierings List<BucketIntelligentTieringConfigurationTiering>
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
bucket Changes to this property will trigger replacement. string
Name of the bucket this intelligent tiering configuration is associated with.
filter BucketIntelligentTieringConfigurationFilter
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. string
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status string
Specifies the status of the configuration. Valid values: Enabled, Disabled.
tierings BucketIntelligentTieringConfigurationTiering[]
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
bucket Changes to this property will trigger replacement. str
Name of the bucket this intelligent tiering configuration is associated with.
filter BucketIntelligentTieringConfigurationFilterArgs
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. str
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status str
Specifies the status of the configuration. Valid values: Enabled, Disabled.
tierings Sequence[BucketIntelligentTieringConfigurationTieringArgs]
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).
bucket Changes to this property will trigger replacement. String
Name of the bucket this intelligent tiering configuration is associated with.
filter Property Map
Bucket filter. The configuration only includes objects that meet the filter's criteria (documented below).
name Changes to this property will trigger replacement. String
Unique name used to identify the S3 Intelligent-Tiering configuration for the bucket.
status String
Specifies the status of the configuration. Valid values: Enabled, Disabled.
tierings List<Property Map>
S3 Intelligent-Tiering storage class tiers of the configuration (documented below).

Supporting Types

BucketIntelligentTieringConfigurationFilter
, BucketIntelligentTieringConfigurationFilterArgs

Prefix string
Object key name prefix that identifies the subset of objects to which the configuration applies.
Tags Dictionary<string, string>
All of these tags must exist in the object's tag set in order for the configuration to apply.
Prefix string
Object key name prefix that identifies the subset of objects to which the configuration applies.
Tags map[string]string
All of these tags must exist in the object's tag set in order for the configuration to apply.
prefix String
Object key name prefix that identifies the subset of objects to which the configuration applies.
tags Map<String,String>
All of these tags must exist in the object's tag set in order for the configuration to apply.
prefix string
Object key name prefix that identifies the subset of objects to which the configuration applies.
tags {[key: string]: string}
All of these tags must exist in the object's tag set in order for the configuration to apply.
prefix str
Object key name prefix that identifies the subset of objects to which the configuration applies.
tags Mapping[str, str]
All of these tags must exist in the object's tag set in order for the configuration to apply.
prefix String
Object key name prefix that identifies the subset of objects to which the configuration applies.
tags Map<String>
All of these tags must exist in the object's tag set in order for the configuration to apply.

BucketIntelligentTieringConfigurationTiering
, BucketIntelligentTieringConfigurationTieringArgs

AccessTier This property is required. string
S3 Intelligent-Tiering access tier. Valid values: ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS.
Days This property is required. int
Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
AccessTier This property is required. string
S3 Intelligent-Tiering access tier. Valid values: ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS.
Days This property is required. int
Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
accessTier This property is required. String
S3 Intelligent-Tiering access tier. Valid values: ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS.
days This property is required. Integer
Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
accessTier This property is required. string
S3 Intelligent-Tiering access tier. Valid values: ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS.
days This property is required. number
Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
access_tier This property is required. str
S3 Intelligent-Tiering access tier. Valid values: ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS.
days This property is required. int
Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
accessTier This property is required. String
S3 Intelligent-Tiering access tier. Valid values: ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS.
days This property is required. Number
Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.

Import

Using pulumi import, import S3 bucket intelligent tiering configurations using bucket:name. For example:

$ pulumi import aws:s3/bucketIntelligentTieringConfiguration:BucketIntelligentTieringConfiguration my-bucket-entire-bucket my-bucket:EntireBucket
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.