interface CfnStorageLensProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.S3.CfnStorageLensProps | 
  Java | software.amazon.awscdk.services.s3.CfnStorageLensProps | 
  Python | aws_cdk.aws_s3.CfnStorageLensProps | 
  TypeScript  | @aws-cdk/aws-s3 » CfnStorageLensProps | 
Properties for defining a CfnStorageLens.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3 from '@aws-cdk/aws-s3';
declare const sses3: any;
const cfnStorageLensProps: s3.CfnStorageLensProps = {
  storageLensConfiguration: {
    accountLevel: {
      bucketLevel: {
        activityMetrics: {
          isEnabled: false,
        },
        advancedCostOptimizationMetrics: {
          isEnabled: false,
        },
        advancedDataProtectionMetrics: {
          isEnabled: false,
        },
        detailedStatusCodesMetrics: {
          isEnabled: false,
        },
        prefixLevel: {
          storageMetrics: {
            isEnabled: false,
            selectionCriteria: {
              delimiter: 'delimiter',
              maxDepth: 123,
              minStorageBytesPercentage: 123,
            },
          },
        },
      },
      // the properties below are optional
      activityMetrics: {
        isEnabled: false,
      },
      advancedCostOptimizationMetrics: {
        isEnabled: false,
      },
      advancedDataProtectionMetrics: {
        isEnabled: false,
      },
      detailedStatusCodesMetrics: {
        isEnabled: false,
      },
    },
    id: 'id',
    isEnabled: false,
    // the properties below are optional
    awsOrg: {
      arn: 'arn',
    },
    dataExport: {
      cloudWatchMetrics: {
        isEnabled: false,
      },
      s3BucketDestination: {
        accountId: 'accountId',
        arn: 'arn',
        format: 'format',
        outputSchemaVersion: 'outputSchemaVersion',
        // the properties below are optional
        encryption: {
          ssekms: {
            keyId: 'keyId',
          },
          sses3: sses3,
        },
        prefix: 'prefix',
      },
    },
    exclude: {
      buckets: ['buckets'],
      regions: ['regions'],
    },
    include: {
      buckets: ['buckets'],
      regions: ['regions'],
    },
    storageLensArn: 'storageLensArn',
  },
  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| storage | IResolvable | Storage | This resource contains the details Amazon S3 Storage Lens configuration. | 
| tags? | Cfn[] | A set of tags (key–value pairs) to associate with the Storage Lens configuration. | 
storageLensConfiguration
Type:
IResolvable | Storage
This resource contains the details Amazon S3 Storage Lens configuration.
tags?
Type:
Cfn[]
(optional)
A set of tags (key–value pairs) to associate with the Storage Lens configuration.

 .NET
 Java
 Python
 TypeScript