Interface CfnStorageLens.DataExportProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStorageLens.DataExportProperty.Jsii$Proxy
- Enclosing class:
CfnStorageLens
@Stability(Stable)
public static interface CfnStorageLens.DataExportProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.s3.*;
Object sses3;
DataExportProperty dataExportProperty = DataExportProperty.builder()
.cloudWatchMetrics(CloudWatchMetricsProperty.builder()
.isEnabled(false)
.build())
.s3BucketDestination(S3BucketDestinationProperty.builder()
.accountId("accountId")
.arn("arn")
.format("format")
.outputSchemaVersion("outputSchemaVersion")
// the properties below are optional
.encryption(EncryptionProperty.builder()
.ssekms(SSEKMSProperty.builder()
.keyId("keyId")
.build())
.sses3(sses3)
.build())
.prefix("prefix")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStorageLens.DataExportPropertystatic final classAn implementation forCfnStorageLens.DataExportProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchMetrics
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.Returns union: either
IResolvableorCfnStorageLens.CloudWatchMetricsProperty- See Also:
-
getS3BucketDestination
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.Returns union: either
IResolvableorCfnStorageLens.S3BucketDestinationProperty- See Also:
-
builder
-