interface DataExportProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.CfnStorageLens.DataExportProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnStorageLens_DataExportProperty |
![]() | software.amazon.awscdk.services.s3.CfnStorageLens.DataExportProperty |
![]() | aws_cdk.aws_s3.CfnStorageLens.DataExportProperty |
![]() | aws-cdk-lib » aws_s3 » CfnStorageLens » DataExportProperty |
This resource contains the details of the Amazon S3 Storage Lens metrics export.
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';
declare const sses3: any;
const dataExportProperty: s3.CfnStorageLens.DataExportProperty = {
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',
},
};
Properties
Name | Type | Description |
---|---|---|
cloud | IResolvable | Cloud | This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics. |
s3 | IResolvable | S3 | This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed. |
cloudWatchMetrics?
Type:
IResolvable
|
Cloud
(optional)
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
s3BucketDestination?
Type:
IResolvable
|
S3
(optional)
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.