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())
.storageLensTableDestination(StorageLensTableDestinationProperty.builder()
.isEnabled(false)
// the properties below are optional
.encryption(EncryptionProperty.builder()
.ssekms(SSEKMSProperty.builder()
.keyId("keyId")
.build())
.sses3(sses3)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStorageLens.DataExportPropertystatic final classAn implementation forCfnStorageLens.DataExportProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThis property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.default ObjectThis property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.default ObjectS3 Tables destination settings for the Amazon S3 Storage Lens metrics export.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:
-
getStorageLensTableDestination
S3 Tables destination settings for the Amazon S3 Storage Lens metrics export.Returns union: either
IResolvableorCfnStorageLens.StorageLensTableDestinationProperty- See Also:
-
builder
-