interface AccountLevelProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnStorageLens.AccountLevelProperty |
Java | software.amazon.awscdk.services.s3.CfnStorageLens.AccountLevelProperty |
Python | aws_cdk.aws_s3.CfnStorageLens.AccountLevelProperty |
TypeScript | @aws-cdk/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 * as s3 from '@aws-cdk/aws-s3';
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
Name | Type | Description |
---|---|---|
bucket | IResolvable | Bucket | This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. |
activity | IResolvable | Activity | This property contains the details of account-level activity metrics for S3 Storage Lens. |
advanced | IResolvable | Advanced | This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens. |
advanced | IResolvable | Advanced | This property contains the details of account-level advanced data protection metrics for S3 Storage Lens. |
detailed | IResolvable | Detailed | This property contains the details of account-level detailed status code metrics for S3 Storage Lens. |
bucketLevel
Type:
IResolvable
|
Bucket
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.
activityMetrics?
Type:
IResolvable
|
Activity
(optional)
This property contains the details of account-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics?
Type:
IResolvable
|
Advanced
(optional)
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics?
Type:
IResolvable
|
Advanced
(optional)
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics?
Type:
IResolvable
|
Detailed
(optional)
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.