1. Packages
  2. AWS Classic
  3. API Docs
  4. s3control
  5. StorageLensConfiguration

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.s3control.StorageLensConfiguration

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides a resource to manage an S3 Storage Lens configuration.

    Example Usage

    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: target.arn,
                    format: "CSV",
                    outputSchemaVersion: "V_1",
                    encryption: {
                        sseS3s: [{}],
                    },
                },
            },
            exclude: {
                buckets: [
                    b1.arn,
                    b2.arn,
                ],
                regions: ["us-east-2"],
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    current = aws.get_caller_identity()
    example = aws.s3control.StorageLensConfiguration("example",
        config_id="example-1",
        storage_lens_configuration={
            "enabled": True,
            "accountLevel": {
                "activityMetrics": {
                    "enabled": True,
                },
                "bucketLevel": {
                    "activityMetrics": {
                        "enabled": True,
                    },
                },
            },
            "dataExport": {
                "cloudWatchMetrics": {
                    "enabled": True,
                },
                "s3BucketDestination": {
                    "accountId": current.account_id,
                    "arn": target["arn"],
                    "format": "CSV",
                    "outputSchemaVersion": "V_1",
                    "encryption": {
                        "sseS3s": [{}],
                    },
                },
            },
            "exclude": {
                "buckets": [
                    b1["arn"],
                    b2["arn"],
                ],
                "regions": ["us-east-2"],
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
    	"github.com/pulumi/pulumi-aws/sdk/v6/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(target.Arn),
    						Format:              pulumi.String("CSV"),
    						OutputSchemaVersion: pulumi.String("V_1"),
    						Encryption: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs{
    							SseS3s: s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Array{
    								nil,
    							},
    						},
    					},
    				},
    				Exclude: &s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs{
    					Buckets: pulumi.StringArray{
    						b1.Arn,
    						b2.Arn,
    					},
    					Regions: pulumi.StringArray{
    						pulumi.String("us-east-2"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 = target.Arn,
                        Format = "CSV",
                        OutputSchemaVersion = "V_1",
                        Encryption = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs
                        {
                            SseS3s = new[]
                            {
                                null,
                            },
                        },
                    },
                },
                Exclude = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs
                {
                    Buckets = new[]
                    {
                        b1.Arn,
                        b2.Arn,
                    },
                    Regions = new[]
                    {
                        "us-east-2",
                    },
                },
            },
        });
    
    });
    
    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.inputs.GetCallerIdentityArgs;
    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(target.arn())
                            .format("CSV")
                            .outputSchemaVersion("V_1")
                            .encryption(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs.builder()
                                .sseS3s()
                                .build())
                            .build())
                        .build())
                    .exclude(StorageLensConfigurationStorageLensConfigurationExcludeArgs.builder()
                        .buckets(                    
                            b1.arn(),
                            b2.arn())
                        .regions("us-east-2")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    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: ${target.arn}
                format: CSV
                outputSchemaVersion: V_1
                encryption:
                  sseS3s:
                    - {}
            exclude:
              buckets:
                - ${b1.arn}
                - ${b2.arn}
              regions:
                - us-east-2
    variables:
      current:
        fn::invoke:
          Function: aws:getCallerIdentity
          Arguments: {}
    

    Create StorageLensConfiguration Resource

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

    Constructor syntax

    new StorageLensConfiguration(name: string, args: StorageLensConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def StorageLensConfiguration(resource_name: str,
                                 args: StorageLensConfigurationArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def StorageLensConfiguration(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 config_id: Optional[str] = None,
                                 storage_lens_configuration: Optional[StorageLensConfigurationStorageLensConfigurationArgs] = None,
                                 account_id: Optional[str] = None,
                                 tags: Optional[Mapping[str, str]] = 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.
    
    

    Parameters

    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.

    Constructor example

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

    var storageLensConfigurationResource = new Aws.S3Control.StorageLensConfiguration("storageLensConfigurationResource", new()
    {
        ConfigId = "string",
        StorageLensConfigurationDetail = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationArgs
        {
            AccountLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs
            {
                BucketLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs
                {
                    ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs
                    {
                        Enabled = false,
                    },
                    AdvancedCostOptimizationMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs
                    {
                        Enabled = false,
                    },
                    AdvancedDataProtectionMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs
                    {
                        Enabled = false,
                    },
                    DetailedStatusCodeMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs
                    {
                        Enabled = false,
                    },
                    PrefixLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs
                    {
                        StorageMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs
                        {
                            Enabled = false,
                            SelectionCriteria = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs
                            {
                                Delimiter = "string",
                                MaxDepth = 0,
                                MinStorageBytesPercentage = 0,
                            },
                        },
                    },
                },
                ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs
                {
                    Enabled = false,
                },
                AdvancedCostOptimizationMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs
                {
                    Enabled = false,
                },
                AdvancedDataProtectionMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs
                {
                    Enabled = false,
                },
                DetailedStatusCodeMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs
                {
                    Enabled = false,
                },
            },
            Enabled = false,
            AwsOrg = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAwsOrgArgs
            {
                Arn = "string",
            },
            DataExport = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportArgs
            {
                CloudWatchMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs
                {
                    Enabled = false,
                },
                S3BucketDestination = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs
                {
                    AccountId = "string",
                    Arn = "string",
                    Format = "string",
                    OutputSchemaVersion = "string",
                    Encryption = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs
                    {
                        SseKms = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs
                        {
                            KeyId = "string",
                        },
                        SseS3s = new[]
                        {
                            null,
                        },
                    },
                    Prefix = "string",
                },
            },
            Exclude = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs
            {
                Buckets = new[]
                {
                    "string",
                },
                Regions = new[]
                {
                    "string",
                },
            },
            Include = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationIncludeArgs
            {
                Buckets = new[]
                {
                    "string",
                },
                Regions = new[]
                {
                    "string",
                },
            },
        },
        AccountId = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := s3control.NewStorageLensConfiguration(ctx, "storageLensConfigurationResource", &s3control.StorageLensConfigurationArgs{
    	ConfigId: pulumi.String("string"),
    	StorageLensConfiguration: &s3control.StorageLensConfigurationStorageLensConfigurationArgs{
    		AccountLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs{
    			BucketLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs{
    				ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs{
    					Enabled: pulumi.Bool(false),
    				},
    				AdvancedCostOptimizationMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs{
    					Enabled: pulumi.Bool(false),
    				},
    				AdvancedDataProtectionMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs{
    					Enabled: pulumi.Bool(false),
    				},
    				DetailedStatusCodeMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs{
    					Enabled: pulumi.Bool(false),
    				},
    				PrefixLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs{
    					StorageMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs{
    						Enabled: pulumi.Bool(false),
    						SelectionCriteria: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs{
    							Delimiter:                 pulumi.String("string"),
    							MaxDepth:                  pulumi.Int(0),
    							MinStorageBytesPercentage: pulumi.Float64(0),
    						},
    					},
    				},
    			},
    			ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs{
    				Enabled: pulumi.Bool(false),
    			},
    			AdvancedCostOptimizationMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs{
    				Enabled: pulumi.Bool(false),
    			},
    			AdvancedDataProtectionMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs{
    				Enabled: pulumi.Bool(false),
    			},
    			DetailedStatusCodeMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs{
    				Enabled: pulumi.Bool(false),
    			},
    		},
    		Enabled: pulumi.Bool(false),
    		AwsOrg: &s3control.StorageLensConfigurationStorageLensConfigurationAwsOrgArgs{
    			Arn: pulumi.String("string"),
    		},
    		DataExport: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportArgs{
    			CloudWatchMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs{
    				Enabled: pulumi.Bool(false),
    			},
    			S3BucketDestination: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs{
    				AccountId:           pulumi.String("string"),
    				Arn:                 pulumi.String("string"),
    				Format:              pulumi.String("string"),
    				OutputSchemaVersion: pulumi.String("string"),
    				Encryption: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs{
    					SseKms: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs{
    						KeyId: pulumi.String("string"),
    					},
    					SseS3s: s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Array{
    						nil,
    					},
    				},
    				Prefix: pulumi.String("string"),
    			},
    		},
    		Exclude: &s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs{
    			Buckets: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Regions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Include: &s3control.StorageLensConfigurationStorageLensConfigurationIncludeArgs{
    			Buckets: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Regions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	AccountId: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var storageLensConfigurationResource = new StorageLensConfiguration("storageLensConfigurationResource", StorageLensConfigurationArgs.builder()
        .configId("string")
        .storageLensConfiguration(StorageLensConfigurationStorageLensConfigurationArgs.builder()
            .accountLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelArgs.builder()
                .bucketLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs.builder()
                    .activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs.builder()
                        .enabled(false)
                        .build())
                    .advancedCostOptimizationMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs.builder()
                        .enabled(false)
                        .build())
                    .advancedDataProtectionMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs.builder()
                        .enabled(false)
                        .build())
                    .detailedStatusCodeMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs.builder()
                        .enabled(false)
                        .build())
                    .prefixLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs.builder()
                        .storageMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs.builder()
                            .enabled(false)
                            .selectionCriteria(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs.builder()
                                .delimiter("string")
                                .maxDepth(0)
                                .minStorageBytesPercentage(0)
                                .build())
                            .build())
                        .build())
                    .build())
                .activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs.builder()
                    .enabled(false)
                    .build())
                .advancedCostOptimizationMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs.builder()
                    .enabled(false)
                    .build())
                .advancedDataProtectionMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs.builder()
                    .enabled(false)
                    .build())
                .detailedStatusCodeMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs.builder()
                    .enabled(false)
                    .build())
                .build())
            .enabled(false)
            .awsOrg(StorageLensConfigurationStorageLensConfigurationAwsOrgArgs.builder()
                .arn("string")
                .build())
            .dataExport(StorageLensConfigurationStorageLensConfigurationDataExportArgs.builder()
                .cloudWatchMetrics(StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs.builder()
                    .enabled(false)
                    .build())
                .s3BucketDestination(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs.builder()
                    .accountId("string")
                    .arn("string")
                    .format("string")
                    .outputSchemaVersion("string")
                    .encryption(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs.builder()
                        .sseKms(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs.builder()
                            .keyId("string")
                            .build())
                        .sseS3s()
                        .build())
                    .prefix("string")
                    .build())
                .build())
            .exclude(StorageLensConfigurationStorageLensConfigurationExcludeArgs.builder()
                .buckets("string")
                .regions("string")
                .build())
            .include(StorageLensConfigurationStorageLensConfigurationIncludeArgs.builder()
                .buckets("string")
                .regions("string")
                .build())
            .build())
        .accountId("string")
        .tags(Map.of("string", "string"))
        .build());
    
    storage_lens_configuration_resource = aws.s3control.StorageLensConfiguration("storageLensConfigurationResource",
        config_id="string",
        storage_lens_configuration={
            "accountLevel": {
                "bucketLevel": {
                    "activityMetrics": {
                        "enabled": False,
                    },
                    "advancedCostOptimizationMetrics": {
                        "enabled": False,
                    },
                    "advancedDataProtectionMetrics": {
                        "enabled": False,
                    },
                    "detailedStatusCodeMetrics": {
                        "enabled": False,
                    },
                    "prefixLevel": {
                        "storageMetrics": {
                            "enabled": False,
                            "selectionCriteria": {
                                "delimiter": "string",
                                "maxDepth": 0,
                                "minStorageBytesPercentage": 0,
                            },
                        },
                    },
                },
                "activityMetrics": {
                    "enabled": False,
                },
                "advancedCostOptimizationMetrics": {
                    "enabled": False,
                },
                "advancedDataProtectionMetrics": {
                    "enabled": False,
                },
                "detailedStatusCodeMetrics": {
                    "enabled": False,
                },
            },
            "enabled": False,
            "awsOrg": {
                "arn": "string",
            },
            "dataExport": {
                "cloudWatchMetrics": {
                    "enabled": False,
                },
                "s3BucketDestination": {
                    "accountId": "string",
                    "arn": "string",
                    "format": "string",
                    "outputSchemaVersion": "string",
                    "encryption": {
                        "sseKms": {
                            "keyId": "string",
                        },
                        "sseS3s": [{}],
                    },
                    "prefix": "string",
                },
            },
            "exclude": {
                "buckets": ["string"],
                "regions": ["string"],
            },
            "include": {
                "buckets": ["string"],
                "regions": ["string"],
            },
        },
        account_id="string",
        tags={
            "string": "string",
        })
    
    const storageLensConfigurationResource = new aws.s3control.StorageLensConfiguration("storageLensConfigurationResource", {
        configId: "string",
        storageLensConfiguration: {
            accountLevel: {
                bucketLevel: {
                    activityMetrics: {
                        enabled: false,
                    },
                    advancedCostOptimizationMetrics: {
                        enabled: false,
                    },
                    advancedDataProtectionMetrics: {
                        enabled: false,
                    },
                    detailedStatusCodeMetrics: {
                        enabled: false,
                    },
                    prefixLevel: {
                        storageMetrics: {
                            enabled: false,
                            selectionCriteria: {
                                delimiter: "string",
                                maxDepth: 0,
                                minStorageBytesPercentage: 0,
                            },
                        },
                    },
                },
                activityMetrics: {
                    enabled: false,
                },
                advancedCostOptimizationMetrics: {
                    enabled: false,
                },
                advancedDataProtectionMetrics: {
                    enabled: false,
                },
                detailedStatusCodeMetrics: {
                    enabled: false,
                },
            },
            enabled: false,
            awsOrg: {
                arn: "string",
            },
            dataExport: {
                cloudWatchMetrics: {
                    enabled: false,
                },
                s3BucketDestination: {
                    accountId: "string",
                    arn: "string",
                    format: "string",
                    outputSchemaVersion: "string",
                    encryption: {
                        sseKms: {
                            keyId: "string",
                        },
                        sseS3s: [{}],
                    },
                    prefix: "string",
                },
            },
            exclude: {
                buckets: ["string"],
                regions: ["string"],
            },
            include: {
                buckets: ["string"],
                regions: ["string"],
            },
        },
        accountId: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:s3control:StorageLensConfiguration
    properties:
        accountId: string
        configId: string
        storageLensConfiguration:
            accountLevel:
                activityMetrics:
                    enabled: false
                advancedCostOptimizationMetrics:
                    enabled: false
                advancedDataProtectionMetrics:
                    enabled: false
                bucketLevel:
                    activityMetrics:
                        enabled: false
                    advancedCostOptimizationMetrics:
                        enabled: false
                    advancedDataProtectionMetrics:
                        enabled: false
                    detailedStatusCodeMetrics:
                        enabled: false
                    prefixLevel:
                        storageMetrics:
                            enabled: false
                            selectionCriteria:
                                delimiter: string
                                maxDepth: 0
                                minStorageBytesPercentage: 0
                detailedStatusCodeMetrics:
                    enabled: false
            awsOrg:
                arn: string
            dataExport:
                cloudWatchMetrics:
                    enabled: false
                s3BucketDestination:
                    accountId: string
                    arn: string
                    encryption:
                        sseKms:
                            keyId: string
                        sseS3s:
                            - {}
                    format: string
                    outputSchemaVersion: string
                    prefix: string
            enabled: false
            exclude:
                buckets:
                    - string
                regions:
                    - string
            include:
                buckets:
                    - string
                regions:
                    - string
        tags:
            string: string
    

    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 StorageLensConfigurationStorageLensConfiguration
    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 StorageLensConfigurationStorageLensConfiguration
    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 StorageLensConfigurationStorageLensConfiguration
    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
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    Arn string
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    arn String
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    arn string
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    arn str
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    arn String
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    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
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    ConfigId string
    The ID of the S3 Storage Lens configuration.
    StorageLensConfigurationDetail StorageLensConfigurationStorageLensConfiguration
    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.

    Deprecated: Please use tags instead.

    AccountId string
    The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
    Arn string
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    accountId String
    The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
    arn String
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    configId String
    The ID of the S3 Storage Lens configuration.
    storageLensConfiguration StorageLensConfigurationStorageLensConfiguration
    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.

    Deprecated: Please use tags instead.

    accountId string
    The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
    arn string
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    configId string
    The ID of the S3 Storage Lens configuration.
    storageLensConfiguration StorageLensConfigurationStorageLensConfiguration
    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.

    Deprecated: Please use tags instead.

    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
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    accountId String
    The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
    arn String
    Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
    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.

    Deprecated: Please use tags instead.

    Supporting Types

    StorageLensConfigurationStorageLensConfiguration, StorageLensConfigurationStorageLensConfigurationArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs

    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, StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationAwsOrgArgs

    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, StorageLensConfigurationStorageLensConfigurationDataExportArgs

    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, StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs

    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, StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs

    AccountId string
    The account ID of the owner of the S3 Storage Lens metrics export bucket.
    Arn string
    The Amazon Resource Name (ARN) of the bucket.
    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 account ID of the owner of the S3 Storage Lens metrics export bucket.
    Arn string
    The Amazon Resource Name (ARN) of the bucket.
    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 account ID of the owner of the S3 Storage Lens metrics export bucket.
    arn String
    The Amazon Resource Name (ARN) of the bucket.
    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 account ID of the owner of the S3 Storage Lens metrics export bucket.
    arn string
    The Amazon Resource Name (ARN) of the bucket.
    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 account ID of the owner of the S3 Storage Lens metrics export bucket.
    arn str
    The Amazon Resource Name (ARN) of the bucket.
    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 account ID of the owner of the S3 Storage Lens metrics export bucket.
    arn String
    The Amazon Resource Name (ARN) of the bucket.
    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, StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs

    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, StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs

    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, StorageLensConfigurationStorageLensConfigurationExcludeArgs

    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, StorageLensConfigurationStorageLensConfigurationIncludeArgs

    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

    Using pulumi import, import S3 Storage Lens configurations using the account_id and config_id, separated by a colon (:). For example:

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

    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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi