class Aws::S3Control::Types::StorageLensConfiguration

A container for the Amazon S3 Storage Lens configuration.

@note When making an API call, you may pass StorageLensConfiguration

data as a hash:

    {
      id: "ConfigId", # required
      account_level: { # required
        activity_metrics: {
          is_enabled: false,
        },
        bucket_level: { # required
          activity_metrics: {
            is_enabled: false,
          },
          prefix_level: {
            storage_metrics: { # required
              is_enabled: false,
              selection_criteria: {
                delimiter: "StorageLensPrefixLevelDelimiter",
                max_depth: 1,
                min_storage_bytes_percentage: 1.0,
              },
            },
          },
        },
      },
      include: {
        buckets: ["S3BucketArnString"],
        regions: ["S3AWSRegion"],
      },
      exclude: {
        buckets: ["S3BucketArnString"],
        regions: ["S3AWSRegion"],
      },
      data_export: {
        s3_bucket_destination: { # required
          format: "CSV", # required, accepts CSV, Parquet
          output_schema_version: "V_1", # required, accepts V_1
          account_id: "AccountId", # required
          arn: "S3BucketArnString", # required
          prefix: "Prefix",
          encryption: {
            sses3: {
            },
            ssekms: {
              key_id: "SSEKMSKeyId", # required
            },
          },
        },
      },
      is_enabled: false, # required
      aws_org: {
        arn: "AwsOrgArn", # required
      },
      storage_lens_arn: "StorageLensArn",
    }

@!attribute [rw] id

A container for the Amazon S3 Storage Lens configuration ID.
@return [String]

@!attribute [rw] account_level

A container for all the account-level configurations of your S3
Storage Lens configuration.
@return [Types::AccountLevel]

@!attribute [rw] include

A container for what is included in this configuration. This
container can only be valid if there is no `Exclude` container
submitted, and it's not empty.
@return [Types::Include]

@!attribute [rw] exclude

A container for what is excluded in this configuration. This
container can only be valid if there is no `Include` container
submitted, and it's not empty.
@return [Types::Exclude]

@!attribute [rw] data_export

A container to specify the properties of your S3 Storage Lens
metrics export including, the destination, schema and format.
@return [Types::StorageLensDataExport]

@!attribute [rw] is_enabled

A container for whether the S3 Storage Lens configuration is
enabled.
@return [Boolean]

@!attribute [rw] aws_org

A container for the Amazon Web Services organization for this S3
Storage Lens configuration.
@return [Types::StorageLensAwsOrg]

@!attribute [rw] storage_lens_arn

The Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
This property is read-only and follows the following format: `
arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
`
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensConfiguration AWS API Documentation

Constants

SENSITIVE