aws-cdk-lib.aws_s3.CfnStorageLens.AccountLevelProperty

interface AccountLevelProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnStorageLens.AccountLevelProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnStorageLens_AccountLevelProperty
Javasoftware.amazon.awscdk.services.s3.CfnStorageLens.AccountLevelProperty
Pythonaws_cdk.aws_s3.CfnStorageLens.AccountLevelProperty
TypeScript aws-cdk-lib » aws_s3 » CfnStorageLens » AccountLevelProperty

This resource contains the details of the account-level metrics for Amazon S3 Storage Lens.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const accountLevelProperty: s3.CfnStorageLens.AccountLevelProperty = {
  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,
  },
};

Properties

NameTypeDescription
bucketLevelIResolvable | BucketLevelPropertyThis property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.
activityMetrics?IResolvable | ActivityMetricsPropertyThis property contains the details of account-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics?IResolvable | AdvancedCostOptimizationMetricsPropertyThis property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics?IResolvable | AdvancedDataProtectionMetricsPropertyThis property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics?IResolvable | DetailedStatusCodesMetricsPropertyThis property contains the details of account-level detailed status code metrics for S3 Storage Lens.

bucketLevel

Type: IResolvable | BucketLevelProperty

This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.


activityMetrics?

Type: IResolvable | ActivityMetricsProperty (optional)

This property contains the details of account-level activity metrics for S3 Storage Lens.


advancedCostOptimizationMetrics?

Type: IResolvable | AdvancedCostOptimizationMetricsProperty (optional)

This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.


advancedDataProtectionMetrics?

Type: IResolvable | AdvancedDataProtectionMetricsProperty (optional)

This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.


detailedStatusCodesMetrics?

Type: IResolvable | DetailedStatusCodesMetricsProperty (optional)

This property contains the details of account-level detailed status code metrics for S3 Storage Lens.