aws logo
AWS Classic v5.41.0, May 15 23

aws.s3control.StorageLensConfiguration

Explore with Pulumi AI

Provides a resource to manage an S3 Storage Lens configuration.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var current = Aws.GetCallerIdentity.Invoke();

    var example = new Aws.S3Control.StorageLensConfiguration("example", new()
    {
        ConfigId = "example-1",
        StorageLensConfigurationDetail = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationArgs
        {
            Enabled = true,
            AccountLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs
            {
                ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs
                {
                    Enabled = true,
                },
                BucketLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs
                {
                    ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs
                    {
                        Enabled = true,
                    },
                },
            },
            DataExport = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportArgs
            {
                CloudWatchMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs
                {
                    Enabled = true,
                },
                S3BucketDestination = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs
                {
                    AccountId = current.Apply(getCallerIdentityResult => getCallerIdentityResult.AccountId),
                    Arn = aws_s3_bucket.Target.Arn,
                    Format = "CSV",
                    OutputSchemaVersion = "V_1",
                    Encryption = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs
                    {
                        SseS3s = new[]
                        {
                            null,
                        },
                    },
                },
            },
            Exclude = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs
            {
                Buckets = new[]
                {
                    aws_s3_bucket.B1.Arn,
                    aws_s3_bucket.B2.Arn,
                },
                Regions = new[]
                {
                    "us-east-2",
                },
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws"
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/s3control"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = s3control.NewStorageLensConfiguration(ctx, "example", &s3control.StorageLensConfigurationArgs{
			ConfigId: pulumi.String("example-1"),
			StorageLensConfiguration: &s3control.StorageLensConfigurationStorageLensConfigurationArgs{
				Enabled: pulumi.Bool(true),
				AccountLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs{
					ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs{
						Enabled: pulumi.Bool(true),
					},
					BucketLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs{
						ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs{
							Enabled: pulumi.Bool(true),
						},
					},
				},
				DataExport: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportArgs{
					CloudWatchMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs{
						Enabled: pulumi.Bool(true),
					},
					S3BucketDestination: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs{
						AccountId:           *pulumi.String(current.AccountId),
						Arn:                 pulumi.Any(aws_s3_bucket.Target.Arn),
						Format:              pulumi.String("CSV"),
						OutputSchemaVersion: pulumi.String("V_1"),
						Encryption: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs{
							SseS3s: s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Array{
								nil,
							},
						},
					},
				},
				Exclude: &s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs{
					Buckets: pulumi.StringArray{
						aws_s3_bucket.B1.Arn,
						aws_s3_bucket.B2.Arn,
					},
					Regions: pulumi.StringArray{
						pulumi.String("us-east-2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.AwsFunctions;
import com.pulumi.aws.s3control.StorageLensConfiguration;
import com.pulumi.aws.s3control.StorageLensConfigurationArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs;
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) {
        final var current = AwsFunctions.getCallerIdentity();

        var example = new StorageLensConfiguration("example", StorageLensConfigurationArgs.builder()        
            .configId("example-1")
            .storageLensConfiguration(StorageLensConfigurationStorageLensConfigurationArgs.builder()
                .enabled(true)
                .accountLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelArgs.builder()
                    .activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs.builder()
                        .enabled(true)
                        .build())
                    .bucketLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs.builder()
                        .activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs.builder()
                            .enabled(true)
                            .build())
                        .build())
                    .build())
                .dataExport(StorageLensConfigurationStorageLensConfigurationDataExportArgs.builder()
                    .cloudWatchMetrics(StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs.builder()
                        .enabled(true)
                        .build())
                    .s3BucketDestination(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs.builder()
                        .accountId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
                        .arn(aws_s3_bucket.target().arn())
                        .format("CSV")
                        .outputSchemaVersion("V_1")
                        .encryption(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs.builder()
                            .sseS3s()
                            .build())
                        .build())
                    .build())
                .exclude(StorageLensConfigurationStorageLensConfigurationExcludeArgs.builder()
                    .buckets(                    
                        aws_s3_bucket.b1().arn(),
                        aws_s3_bucket.b2().arn())
                    .regions("us-east-2")
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

current = aws.get_caller_identity()
example = aws.s3control.StorageLensConfiguration("example",
    config_id="example-1",
    storage_lens_configuration=aws.s3control.StorageLensConfigurationStorageLensConfigurationArgs(
        enabled=True,
        account_level=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs(
            activity_metrics=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs(
                enabled=True,
            ),
            bucket_level=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs(
                activity_metrics=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs(
                    enabled=True,
                ),
            ),
        ),
        data_export=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportArgs(
            cloud_watch_metrics=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs(
                enabled=True,
            ),
            s3_bucket_destination=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs(
                account_id=current.account_id,
                arn=aws_s3_bucket["target"]["arn"],
                format="CSV",
                output_schema_version="V_1",
                encryption=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs(
                    sse_s3s=[aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Args()],
                ),
            ),
        ),
        exclude=aws.s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs(
            buckets=[
                aws_s3_bucket["b1"]["arn"],
                aws_s3_bucket["b2"]["arn"],
            ],
            regions=["us-east-2"],
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const current = aws.getCallerIdentity({});
const example = new aws.s3control.StorageLensConfiguration("example", {
    configId: "example-1",
    storageLensConfiguration: {
        enabled: true,
        accountLevel: {
            activityMetrics: {
                enabled: true,
            },
            bucketLevel: {
                activityMetrics: {
                    enabled: true,
                },
            },
        },
        dataExport: {
            cloudWatchMetrics: {
                enabled: true,
            },
            s3BucketDestination: {
                accountId: current.then(current => current.accountId),
                arn: aws_s3_bucket.target.arn,
                format: "CSV",
                outputSchemaVersion: "V_1",
                encryption: {
                    sseS3s: [{}],
                },
            },
        },
        exclude: {
            buckets: [
                aws_s3_bucket.b1.arn,
                aws_s3_bucket.b2.arn,
            ],
            regions: ["us-east-2"],
        },
    },
});
resources:
  example:
    type: aws:s3control:StorageLensConfiguration
    properties:
      configId: example-1
      storageLensConfiguration:
        enabled: true
        accountLevel:
          activityMetrics:
            enabled: true
          bucketLevel:
            activityMetrics:
              enabled: true
        dataExport:
          cloudWatchMetrics:
            enabled: true
          s3BucketDestination:
            accountId: ${current.accountId}
            arn: ${aws_s3_bucket.target.arn}
            format: CSV
            outputSchemaVersion: V_1
            encryption:
              sseS3s:
                - {}
        exclude:
          buckets:
            - ${aws_s3_bucket.b1.arn}
            - ${aws_s3_bucket.b2.arn}
          regions:
            - us-east-2
variables:
  current:
    fn::invoke:
      Function: aws:getCallerIdentity
      Arguments: {}

Create StorageLensConfiguration Resource

new StorageLensConfiguration(name: string, args: StorageLensConfigurationArgs, opts?: CustomResourceOptions);
@overload
def StorageLensConfiguration(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             account_id: Optional[str] = None,
                             config_id: Optional[str] = None,
                             storage_lens_configuration: Optional[StorageLensConfigurationStorageLensConfigurationArgs] = None,
                             tags: Optional[Mapping[str, str]] = None)
@overload
def StorageLensConfiguration(resource_name: str,
                             args: StorageLensConfigurationArgs,
                             opts: Optional[ResourceOptions] = None)
func NewStorageLensConfiguration(ctx *Context, name string, args StorageLensConfigurationArgs, opts ...ResourceOption) (*StorageLensConfiguration, error)
public StorageLensConfiguration(string name, StorageLensConfigurationArgs args, CustomResourceOptions? opts = null)
public StorageLensConfiguration(String name, StorageLensConfigurationArgs args)
public StorageLensConfiguration(String name, StorageLensConfigurationArgs args, CustomResourceOptions options)
type: aws:s3control:StorageLensConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

StorageLensConfiguration Resource Properties

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

Inputs

The StorageLensConfiguration resource accepts the following input properties:

ConfigId string

The ID of the S3 Storage Lens configuration.

StorageLensConfigurationDetail StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

AccountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

Tags Dictionary<string, string>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

ConfigId string

The ID of the S3 Storage Lens configuration.

StorageLensConfiguration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

AccountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

Tags map[string]string

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

configId String

The ID of the S3 Storage Lens configuration.

storageLensConfiguration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

accountId String

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

tags Map<String,String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

configId string

The ID of the S3 Storage Lens configuration.

storageLensConfiguration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

accountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

tags {[key: string]: string}

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

config_id str

The ID of the S3 Storage Lens configuration.

storage_lens_configuration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

account_id str

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

tags Mapping[str, str]

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

configId String

The ID of the S3 Storage Lens configuration.

storageLensConfiguration Property Map

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

accountId String

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

tags Map<String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

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

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Look up Existing StorageLensConfiguration Resource

Get an existing StorageLensConfiguration 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?: StorageLensConfigurationState, opts?: CustomResourceOptions): StorageLensConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        arn: Optional[str] = None,
        config_id: Optional[str] = None,
        storage_lens_configuration: Optional[StorageLensConfigurationStorageLensConfigurationArgs] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> StorageLensConfiguration
func GetStorageLensConfiguration(ctx *Context, name string, id IDInput, state *StorageLensConfigurationState, opts ...ResourceOption) (*StorageLensConfiguration, error)
public static StorageLensConfiguration Get(string name, Input<string> id, StorageLensConfigurationState? state, CustomResourceOptions? opts = null)
public static StorageLensConfiguration get(String name, Output<String> id, StorageLensConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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:
AccountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

ConfigId string

The ID of the S3 Storage Lens configuration.

StorageLensConfigurationDetail StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

Tags Dictionary<string, string>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

AccountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

ConfigId string

The ID of the S3 Storage Lens configuration.

StorageLensConfiguration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

Tags map[string]string

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

accountId String

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

configId String

The ID of the S3 Storage Lens configuration.

storageLensConfiguration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

tags Map<String,String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

accountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

configId string

The ID of the S3 Storage Lens configuration.

storageLensConfiguration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

tags {[key: string]: string}

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

account_id str

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn str

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

config_id str

The ID of the S3 Storage Lens configuration.

storage_lens_configuration StorageLensConfigurationStorageLensConfigurationArgs

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

tags Mapping[str, str]

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

accountId String

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

configId String

The ID of the S3 Storage Lens configuration.

storageLensConfiguration Property Map

The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.

tags Map<String>

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Supporting Types

StorageLensConfigurationStorageLensConfiguration

AccountLevel StorageLensConfigurationStorageLensConfigurationAccountLevel

The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.

Enabled bool

Whether the S3 Storage Lens configuration is enabled.

AwsOrg StorageLensConfigurationStorageLensConfigurationAwsOrg

The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.

DataExport StorageLensConfigurationStorageLensConfigurationDataExport

Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.

Exclude StorageLensConfigurationStorageLensConfigurationExclude

What is excluded in this configuration. Conflicts with include. See Exclude below for more details.

Include StorageLensConfigurationStorageLensConfigurationInclude

What is included in this configuration. Conflicts with exclude. See Include below for more details.

AccountLevel StorageLensConfigurationStorageLensConfigurationAccountLevel

The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.

Enabled bool

Whether the S3 Storage Lens configuration is enabled.

AwsOrg StorageLensConfigurationStorageLensConfigurationAwsOrg

The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.

DataExport StorageLensConfigurationStorageLensConfigurationDataExport

Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.

Exclude StorageLensConfigurationStorageLensConfigurationExclude

What is excluded in this configuration. Conflicts with include. See Exclude below for more details.

Include StorageLensConfigurationStorageLensConfigurationInclude

What is included in this configuration. Conflicts with exclude. See Include below for more details.

accountLevel StorageLensConfigurationStorageLensConfigurationAccountLevel

The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.

enabled Boolean

Whether the S3 Storage Lens configuration is enabled.

awsOrg StorageLensConfigurationStorageLensConfigurationAwsOrg

The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.

dataExport StorageLensConfigurationStorageLensConfigurationDataExport

Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.

exclude StorageLensConfigurationStorageLensConfigurationExclude

What is excluded in this configuration. Conflicts with include. See Exclude below for more details.

include StorageLensConfigurationStorageLensConfigurationInclude

What is included in this configuration. Conflicts with exclude. See Include below for more details.

accountLevel StorageLensConfigurationStorageLensConfigurationAccountLevel

The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.

enabled boolean

Whether the S3 Storage Lens configuration is enabled.

awsOrg StorageLensConfigurationStorageLensConfigurationAwsOrg

The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.

dataExport StorageLensConfigurationStorageLensConfigurationDataExport

Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.

exclude StorageLensConfigurationStorageLensConfigurationExclude

What is excluded in this configuration. Conflicts with include. See Exclude below for more details.

include StorageLensConfigurationStorageLensConfigurationInclude

What is included in this configuration. Conflicts with exclude. See Include below for more details.

account_level StorageLensConfigurationStorageLensConfigurationAccountLevel

The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.

enabled bool

Whether the S3 Storage Lens configuration is enabled.

aws_org StorageLensConfigurationStorageLensConfigurationAwsOrg

The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.

data_export StorageLensConfigurationStorageLensConfigurationDataExport

Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.

exclude StorageLensConfigurationStorageLensConfigurationExclude

What is excluded in this configuration. Conflicts with include. See Exclude below for more details.

include StorageLensConfigurationStorageLensConfigurationInclude

What is included in this configuration. Conflicts with exclude. See Include below for more details.

accountLevel Property Map

The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.

enabled Boolean

Whether the S3 Storage Lens configuration is enabled.

awsOrg Property Map

The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.

dataExport Property Map

Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.

exclude Property Map

What is excluded in this configuration. Conflicts with include. See Exclude below for more details.

include Property Map

What is included in this configuration. Conflicts with exclude. See Include below for more details.

StorageLensConfigurationStorageLensConfigurationAccountLevel

BucketLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevel

S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.

ActivityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics below for more details.

AdvancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.

AdvancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.

DetailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.

BucketLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevel

S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.

ActivityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics below for more details.

AdvancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.

AdvancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.

DetailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.

bucketLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevel

S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.

activityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics below for more details.

advancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.

advancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.

detailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.

bucketLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevel

S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.

activityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics below for more details.

advancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.

advancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.

detailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.

bucket_level StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevel

S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.

activity_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics below for more details.

advanced_cost_optimization_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.

advanced_data_protection_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.

detailed_status_code_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.

bucketLevel Property Map

S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.

activityMetrics Property Map

S3 Storage Lens activity metrics. See Activity Metrics below for more details.

advancedCostOptimizationMetrics Property Map

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.

advancedDataProtectionMetrics Property Map

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.

detailedStatusCodeMetrics Property Map

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.

StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetrics

Enabled bool

Whether the activity metrics are enabled.

Enabled bool

Whether the activity metrics are enabled.

enabled Boolean

Whether the activity metrics are enabled.

enabled boolean

Whether the activity metrics are enabled.

enabled bool

Whether the activity metrics are enabled.

enabled Boolean

Whether the activity metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetrics

Enabled bool

Whether advanced cost-optimization metrics are enabled.

Enabled bool

Whether advanced cost-optimization metrics are enabled.

enabled Boolean

Whether advanced cost-optimization metrics are enabled.

enabled boolean

Whether advanced cost-optimization metrics are enabled.

enabled bool

Whether advanced cost-optimization metrics are enabled.

enabled Boolean

Whether advanced cost-optimization metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetrics

Enabled bool

Whether advanced data-protection metrics are enabled.

Enabled bool

Whether advanced data-protection metrics are enabled.

enabled Boolean

Whether advanced data-protection metrics are enabled.

enabled boolean

Whether advanced data-protection metrics are enabled.

enabled bool

Whether advanced data-protection metrics are enabled.

enabled Boolean

Whether advanced data-protection metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevel

ActivityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics above for more details.

AdvancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.

AdvancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.

DetailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.

PrefixLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevel

Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.

ActivityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics above for more details.

AdvancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.

AdvancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.

DetailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.

PrefixLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevel

Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.

activityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics above for more details.

advancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.

advancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.

detailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.

prefixLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevel

Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.

activityMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics above for more details.

advancedCostOptimizationMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.

advancedDataProtectionMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.

detailedStatusCodeMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.

prefixLevel StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevel

Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.

activity_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetrics

S3 Storage Lens activity metrics. See Activity Metrics above for more details.

advanced_cost_optimization_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetrics

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.

advanced_data_protection_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetrics

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.

detailed_status_code_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetrics

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.

prefix_level StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevel

Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.

activityMetrics Property Map

S3 Storage Lens activity metrics. See Activity Metrics above for more details.

advancedCostOptimizationMetrics Property Map

Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.

advancedDataProtectionMetrics Property Map

Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.

detailedStatusCodeMetrics Property Map

Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.

prefixLevel Property Map

Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetrics

Enabled bool

Whether the activity metrics are enabled.

Enabled bool

Whether the activity metrics are enabled.

enabled Boolean

Whether the activity metrics are enabled.

enabled boolean

Whether the activity metrics are enabled.

enabled bool

Whether the activity metrics are enabled.

enabled Boolean

Whether the activity metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetrics

Enabled bool

Whether advanced cost-optimization metrics are enabled.

Enabled bool

Whether advanced cost-optimization metrics are enabled.

enabled Boolean

Whether advanced cost-optimization metrics are enabled.

enabled boolean

Whether advanced cost-optimization metrics are enabled.

enabled bool

Whether advanced cost-optimization metrics are enabled.

enabled Boolean

Whether advanced cost-optimization metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetrics

Enabled bool

Whether advanced data-protection metrics are enabled.

Enabled bool

Whether advanced data-protection metrics are enabled.

enabled Boolean

Whether advanced data-protection metrics are enabled.

enabled boolean

Whether advanced data-protection metrics are enabled.

enabled bool

Whether advanced data-protection metrics are enabled.

enabled Boolean

Whether advanced data-protection metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetrics

Enabled bool

Whether detailed status code metrics are enabled.

Enabled bool

Whether detailed status code metrics are enabled.

enabled Boolean

Whether detailed status code metrics are enabled.

enabled boolean

Whether detailed status code metrics are enabled.

enabled bool

Whether detailed status code metrics are enabled.

enabled Boolean

Whether detailed status code metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevel

StorageMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetrics

Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.

StorageMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetrics

Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.

storageMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetrics

Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.

storageMetrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetrics

Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.

storage_metrics StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetrics

Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.

storageMetrics Property Map

Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetrics

Enabled bool

Whether prefix-level storage metrics are enabled.

SelectionCriteria StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria

Selection criteria. See Selection Criteria below for more details.

Enabled bool

Whether prefix-level storage metrics are enabled.

SelectionCriteria StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria

Selection criteria. See Selection Criteria below for more details.

enabled Boolean

Whether prefix-level storage metrics are enabled.

selectionCriteria StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria

Selection criteria. See Selection Criteria below for more details.

enabled boolean

Whether prefix-level storage metrics are enabled.

selectionCriteria StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria

Selection criteria. See Selection Criteria below for more details.

enabled bool

Whether prefix-level storage metrics are enabled.

selection_criteria StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria

Selection criteria. See Selection Criteria below for more details.

enabled Boolean

Whether prefix-level storage metrics are enabled.

selectionCriteria Property Map

Selection criteria. See Selection Criteria below for more details.

StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria

Delimiter string

The delimiter of the selection criteria being used.

MaxDepth int

The max depth of the selection criteria.

MinStorageBytesPercentage double

The minimum number of storage bytes percentage whose metrics will be selected.

Delimiter string

The delimiter of the selection criteria being used.

MaxDepth int

The max depth of the selection criteria.

MinStorageBytesPercentage float64

The minimum number of storage bytes percentage whose metrics will be selected.

delimiter String

The delimiter of the selection criteria being used.

maxDepth Integer

The max depth of the selection criteria.

minStorageBytesPercentage Double

The minimum number of storage bytes percentage whose metrics will be selected.

delimiter string

The delimiter of the selection criteria being used.

maxDepth number

The max depth of the selection criteria.

minStorageBytesPercentage number

The minimum number of storage bytes percentage whose metrics will be selected.

delimiter str

The delimiter of the selection criteria being used.

max_depth int

The max depth of the selection criteria.

min_storage_bytes_percentage float

The minimum number of storage bytes percentage whose metrics will be selected.

delimiter String

The delimiter of the selection criteria being used.

maxDepth Number

The max depth of the selection criteria.

minStorageBytesPercentage Number

The minimum number of storage bytes percentage whose metrics will be selected.

StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetrics

Enabled bool

Whether detailed status code metrics are enabled.

Enabled bool

Whether detailed status code metrics are enabled.

enabled Boolean

Whether detailed status code metrics are enabled.

enabled boolean

Whether detailed status code metrics are enabled.

enabled bool

Whether detailed status code metrics are enabled.

enabled Boolean

Whether detailed status code metrics are enabled.

StorageLensConfigurationStorageLensConfigurationAwsOrg

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

arn str

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

StorageLensConfigurationStorageLensConfigurationDataExport

CloudWatchMetrics StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetrics

Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.

S3BucketDestination StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestination

The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.

CloudWatchMetrics StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetrics

Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.

S3BucketDestination StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestination

The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.

cloudWatchMetrics StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetrics

Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.

s3BucketDestination StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestination

The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.

cloudWatchMetrics StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetrics

Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.

s3BucketDestination StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestination

The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.

cloud_watch_metrics StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetrics

Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.

s3_bucket_destination StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestination

The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.

cloudWatchMetrics Property Map

Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.

s3BucketDestination Property Map

The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.

StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetrics

Enabled bool

Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.

Enabled bool

Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.

enabled Boolean

Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.

enabled boolean

Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.

enabled bool

Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.

enabled Boolean

Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.

StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestination

AccountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

Format string

The export format. Valid values: CSV, Parquet.

OutputSchemaVersion string

The schema version of the export file. Valid values: V_1.

Encryption StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryption

Encryption of the metrics exports in this bucket. See Encryption below for more details.

Prefix string

The prefix of the destination bucket where the metrics export will be delivered.

AccountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

Arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

Format string

The export format. Valid values: CSV, Parquet.

OutputSchemaVersion string

The schema version of the export file. Valid values: V_1.

Encryption StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryption

Encryption of the metrics exports in this bucket. See Encryption below for more details.

Prefix string

The prefix of the destination bucket where the metrics export will be delivered.

accountId String

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

format String

The export format. Valid values: CSV, Parquet.

outputSchemaVersion String

The schema version of the export file. Valid values: V_1.

encryption StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryption

Encryption of the metrics exports in this bucket. See Encryption below for more details.

prefix String

The prefix of the destination bucket where the metrics export will be delivered.

accountId string

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn string

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

format string

The export format. Valid values: CSV, Parquet.

outputSchemaVersion string

The schema version of the export file. Valid values: V_1.

encryption StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryption

Encryption of the metrics exports in this bucket. See Encryption below for more details.

prefix string

The prefix of the destination bucket where the metrics export will be delivered.

account_id str

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn str

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

format str

The export format. Valid values: CSV, Parquet.

output_schema_version str

The schema version of the export file. Valid values: V_1.

encryption StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryption

Encryption of the metrics exports in this bucket. See Encryption below for more details.

prefix str

The prefix of the destination bucket where the metrics export will be delivered.

accountId String

The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.

arn String

The Amazon Resource Name (ARN) of the Amazon Web Services organization.

format String

The export format. Valid values: CSV, Parquet.

outputSchemaVersion String

The schema version of the export file. Valid values: V_1.

encryption Property Map

Encryption of the metrics exports in this bucket. See Encryption below for more details.

prefix String

The prefix of the destination bucket where the metrics export will be delivered.

StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryption

sseKms Property Map

SSE-KMS encryption. See SSE KMS below for more details.

sseS3s List<Property Map>

SSE-S3 encryption. An empty configuration block {} should be used.

StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKms

KeyId string

KMS key ARN.

KeyId string

KMS key ARN.

keyId String

KMS key ARN.

keyId string

KMS key ARN.

key_id str

KMS key ARN.

keyId String

KMS key ARN.

StorageLensConfigurationStorageLensConfigurationExclude

Buckets List<string>

List of S3 bucket ARNs.

Regions List<string>

List of AWS Regions.

Buckets []string

List of S3 bucket ARNs.

Regions []string

List of AWS Regions.

buckets List<String>

List of S3 bucket ARNs.

regions List<String>

List of AWS Regions.

buckets string[]

List of S3 bucket ARNs.

regions string[]

List of AWS Regions.

buckets Sequence[str]

List of S3 bucket ARNs.

regions Sequence[str]

List of AWS Regions.

buckets List<String>

List of S3 bucket ARNs.

regions List<String>

List of AWS Regions.

StorageLensConfigurationStorageLensConfigurationInclude

Buckets List<string>

List of S3 bucket ARNs.

Regions List<string>

List of AWS Regions.

Buckets []string

List of S3 bucket ARNs.

Regions []string

List of AWS Regions.

buckets List<String>

List of S3 bucket ARNs.

regions List<String>

List of AWS Regions.

buckets string[]

List of S3 bucket ARNs.

regions string[]

List of AWS Regions.

buckets Sequence[str]

List of S3 bucket ARNs.

regions Sequence[str]

List of AWS Regions.

buckets List<String>

List of S3 bucket ARNs.

regions List<String>

List of AWS Regions.

Import

S3 Storage Lens configurations can be imported using the account_id and config_id, separated by a colon (:), e.g.

 $ pulumi import aws:s3control/storageLensConfiguration:StorageLensConfiguration example 123456789012:example-1

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.