awscc_s3_storage_lens (Resource)

The AWS::S3::StorageLens resource is an Amazon S3 resource type that you can use to create Storage Lens configurations.

Schema

Required

Optional

Read-Only

Nested Schema for storage_lens_configuration

Required:

Optional:

Read-Only:

Nested Schema for storage_lens_configuration.account_level

Required:

Optional:

Nested Schema for storage_lens_configuration.account_level.bucket_level

Optional:

Nested Schema for storage_lens_configuration.account_level.bucket_level.activity_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.bucket_level.advanced_cost_optimization_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.bucket_level.advanced_data_protection_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.bucket_level.detailed_status_codes_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.bucket_level.prefix_level

Required:

Nested Schema for storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.selection_criteria

Optional:

Nested Schema for storage_lens_configuration.account_level.activity_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.advanced_cost_optimization_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.advanced_data_protection_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.detailed_status_codes_metrics

Optional:

Nested Schema for storage_lens_configuration.account_level.storage_lens_group_level

Optional:

Nested Schema for storage_lens_configuration.account_level.storage_lens_group_level.storage_lens_group_selection_criteria

Optional:

Nested Schema for storage_lens_configuration.aws_org

Required:

Nested Schema for storage_lens_configuration.data_export

Optional:

Nested Schema for storage_lens_configuration.data_export.cloudwatch_metrics

Required:

Nested Schema for storage_lens_configuration.data_export.s3_bucket_destination

Required:

Optional:

Nested Schema for storage_lens_configuration.data_export.s3_bucket_destination.encryption

Optional:

Nested Schema for storage_lens_configuration.data_export.s3_bucket_destination.prefix.ssekms

Required:

Nested Schema for storage_lens_configuration.exclude

Optional:

Nested Schema for storage_lens_configuration.include

Optional:

Nested Schema for tags

Required:

Import

Import is supported using the following syntax:

$ terraform import awscc_s3_storage_lens.example <resource ID>