interface CfnStorageLensMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnStorageLensMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnStorageLensMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnStorageLensMixinProps |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnStorageLensMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnStorageLensMixinProps |
Properties for CfnStorageLensPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
declare const sses3: any;
const cfnStorageLensMixinProps: s3_mixins.CfnStorageLensMixinProps = {
storageLensConfiguration: {
accountLevel: {
activityMetrics: {
isEnabled: false,
},
advancedCostOptimizationMetrics: {
isEnabled: false,
},
advancedDataProtectionMetrics: {
isEnabled: false,
},
advancedPerformanceMetrics: {
isEnabled: false,
},
bucketLevel: {
activityMetrics: {
isEnabled: false,
},
advancedCostOptimizationMetrics: {
isEnabled: false,
},
advancedDataProtectionMetrics: {
isEnabled: false,
},
advancedPerformanceMetrics: {
isEnabled: false,
},
detailedStatusCodesMetrics: {
isEnabled: false,
},
prefixLevel: {
storageMetrics: {
isEnabled: false,
selectionCriteria: {
delimiter: 'delimiter',
maxDepth: 123,
minStorageBytesPercentage: 123,
},
},
},
},
detailedStatusCodesMetrics: {
isEnabled: false,
},
storageLensGroupLevel: {
storageLensGroupSelectionCriteria: {
exclude: ['exclude'],
include: ['include'],
},
},
},
awsOrg: {
arn: 'arn',
},
dataExport: {
cloudWatchMetrics: {
isEnabled: false,
},
s3BucketDestination: {
accountId: 'accountId',
arn: 'arn',
encryption: {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
},
format: 'format',
outputSchemaVersion: 'outputSchemaVersion',
prefix: 'prefix',
},
storageLensTableDestination: {
encryption: {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
},
isEnabled: false,
},
},
exclude: {
buckets: ['buckets'],
regions: ['regions'],
},
expandedPrefixesDataExport: {
s3BucketDestination: {
accountId: 'accountId',
arn: 'arn',
encryption: {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
},
format: 'format',
outputSchemaVersion: 'outputSchemaVersion',
prefix: 'prefix',
},
storageLensTableDestination: {
encryption: {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
},
isEnabled: false,
},
},
id: 'id',
include: {
buckets: ['buckets'],
regions: ['regions'],
},
isEnabled: false,
prefixDelimiter: 'prefixDelimiter',
storageLensArn: 'storageLensArn',
},
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
(optional)
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
Go
Java
Python
TypeScript