Class CfnStorageLensPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:04.781Z")
@Stability(Stable)
public class CfnStorageLensPropsMixin
extends Mixin
implements software.constructs.IMixin
The AWS::S3::StorageLens resource creates an Amazon S3 Storage Lens configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.s3.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
Object sses3;
CfnStorageLensPropsMixin cfnStorageLensPropsMixin = CfnStorageLensPropsMixin.Builder.create(CfnStorageLensMixinProps.builder()
.storageLensConfiguration(StorageLensConfigurationProperty.builder()
.accountLevel(AccountLevelProperty.builder()
.activityMetrics(ActivityMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedCostOptimizationMetrics(AdvancedCostOptimizationMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedDataProtectionMetrics(AdvancedDataProtectionMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedPerformanceMetrics(AdvancedPerformanceMetricsProperty.builder()
.isEnabled(false)
.build())
.bucketLevel(BucketLevelProperty.builder()
.activityMetrics(ActivityMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedCostOptimizationMetrics(AdvancedCostOptimizationMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedDataProtectionMetrics(AdvancedDataProtectionMetricsProperty.builder()
.isEnabled(false)
.build())
.advancedPerformanceMetrics(AdvancedPerformanceMetricsProperty.builder()
.isEnabled(false)
.build())
.detailedStatusCodesMetrics(DetailedStatusCodesMetricsProperty.builder()
.isEnabled(false)
.build())
.prefixLevel(PrefixLevelProperty.builder()
.storageMetrics(PrefixLevelStorageMetricsProperty.builder()
.isEnabled(false)
.selectionCriteria(SelectionCriteriaProperty.builder()
.delimiter("delimiter")
.maxDepth(123)
.minStorageBytesPercentage(123)
.build())
.build())
.build())
.build())
.detailedStatusCodesMetrics(DetailedStatusCodesMetricsProperty.builder()
.isEnabled(false)
.build())
.storageLensGroupLevel(StorageLensGroupLevelProperty.builder()
.storageLensGroupSelectionCriteria(StorageLensGroupSelectionCriteriaProperty.builder()
.exclude(List.of("exclude"))
.include(List.of("include"))
.build())
.build())
.build())
.awsOrg(AwsOrgProperty.builder()
.arn("arn")
.build())
.dataExport(DataExportProperty.builder()
.cloudWatchMetrics(CloudWatchMetricsProperty.builder()
.isEnabled(false)
.build())
.s3BucketDestination(S3BucketDestinationProperty.builder()
.accountId("accountId")
.arn("arn")
.encryption(EncryptionProperty.builder()
.ssekms(SSEKMSProperty.builder()
.keyId("keyId")
.build())
.sses3(sses3)
.build())
.format("format")
.outputSchemaVersion("outputSchemaVersion")
.prefix("prefix")
.build())
.storageLensTableDestination(StorageLensTableDestinationProperty.builder()
.encryption(EncryptionProperty.builder()
.ssekms(SSEKMSProperty.builder()
.keyId("keyId")
.build())
.sses3(sses3)
.build())
.isEnabled(false)
.build())
.build())
.exclude(BucketsAndRegionsProperty.builder()
.buckets(List.of("buckets"))
.regions(List.of("regions"))
.build())
.expandedPrefixesDataExport(StorageLensExpandedPrefixesDataExportProperty.builder()
.s3BucketDestination(S3BucketDestinationProperty.builder()
.accountId("accountId")
.arn("arn")
.encryption(EncryptionProperty.builder()
.ssekms(SSEKMSProperty.builder()
.keyId("keyId")
.build())
.sses3(sses3)
.build())
.format("format")
.outputSchemaVersion("outputSchemaVersion")
.prefix("prefix")
.build())
.storageLensTableDestination(StorageLensTableDestinationProperty.builder()
.encryption(EncryptionProperty.builder()
.ssekms(SSEKMSProperty.builder()
.keyId("keyId")
.build())
.sses3(sses3)
.build())
.isEnabled(false)
.build())
.build())
.id("id")
.include(BucketsAndRegionsProperty.builder()
.buckets(List.of("buckets"))
.regions(List.of("regions"))
.build())
.isEnabled(false)
.prefixDelimiter("prefixDelimiter")
.storageLensArn("storageLensArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThis resource contains the details of the account-level metrics for Amazon S3 Storage Lens.static interfaceThis resource enables Amazon S3 Storage Lens activity metrics.static interfaceThis resource enables Amazon S3 Storage Lens advanced cost optimization metrics.static interfaceThis resource enables Amazon S3 Storage Lens advanced data protection metrics.static interfaceA property for S3 Storage Lens advanced performance metrics.static interfaceThis resource contains the details of the AWS Organization for Amazon S3 Storage Lens.static interfaceA property for the bucket-level storage metrics for Amazon S3 Storage Lens.static interfaceThis resource contains the details of the buckets and Regions for the Amazon S3 Storage Lens configuration.static final classA fluent builder forCfnStorageLensPropsMixin.static interfaceThis resource enables the Amazon CloudWatch publishing option for Amazon S3 Storage Lens metrics.static interfaceThis resource contains the details of the Amazon S3 Storage Lens metrics export.static interfaceThis resource enables Amazon S3 Storage Lens detailed status code metrics.static interfaceThis resource contains the type of server-side encryption used to encrypt an Amazon S3 Storage Lens metrics export.static interfaceThis resource contains the details of the prefix-level of the Amazon S3 Storage Lens.static interfaceThis resource contains the details of the prefix-level storage metrics for Amazon S3 Storage Lens.static interfaceThis resource contains the details of the bucket where the Amazon S3 Storage Lens metrics export will be placed.static interfaceThis resource contains the details of the Amazon S3 Storage Lens selection criteria.static interfaceSpecifies the use of server-side encryption using an AWS Key Management Service key (SSE-KMS) to encrypt the delivered S3 Storage Lens metrics export file.static interfaceThis is the property of the Amazon S3 Storage Lens configuration.static interfaceThis resource specifies the properties of your S3 Storage Lens Expanded Prefixes metrics export.static interfaceThis resource determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.static interfaceThis resource indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation.static interfaceThis resource configures your S3 Storage Lens reports to export to read-only S3 table buckets.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::S3::StorageLens.CfnStorageLensPropsMixin(CfnStorageLensMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::S3::StorageLens.protectedCfnStorageLensPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnStorageLensPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnStorageLensMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnStorageLensPropsMixin
protected CfnStorageLensPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStorageLensPropsMixin
protected CfnStorageLensPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStorageLensPropsMixin
@Stability(Stable) public CfnStorageLensPropsMixin(@NotNull CfnStorageLensMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::S3::StorageLens.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnStorageLensPropsMixin
Create a mixin to apply properties toAWS::S3::StorageLens.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-