Interface CfnBucket.AnalyticsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.AnalyticsConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnBucket
@Stability(Stable)
public static interface CfnBucket.AnalyticsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
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.*; AnalyticsConfigurationProperty analyticsConfigurationProperty = AnalyticsConfigurationProperty.builder() .id("id") .storageClassAnalysis(StorageClassAnalysisProperty.builder() .dataExport(DataExportProperty.builder() .destination(DestinationProperty.builder() .bucketArn("bucketArn") .format("format") // the properties below are optional .bucketAccountId("bucketAccountId") .prefix("prefix") .build()) .outputSchemaVersion("outputSchemaVersion") .build()) .build()) // the properties below are optional .prefix("prefix") .tagFilters(List.of(TagFilterProperty.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.AnalyticsConfigurationProperty
static final class
An implementation forCfnBucket.AnalyticsConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getId()
The ID that identifies the analytics configuration.default String
The prefix that an object must have to be included in the analytics results.Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.default Object
The tags to use when evaluating an analytics filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
The ID that identifies the analytics configuration. -
getStorageClassAnalysis
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes. -
getPrefix
The prefix that an object must have to be included in the analytics results. -
getTagFilters
The tags to use when evaluating an analytics filter.The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.
-
builder
-