public static interface CfnBucket.AnalyticsConfigurationProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBucket.AnalyticsConfigurationProperty.Builder
A builder for
CfnBucket.AnalyticsConfigurationProperty |
static class |
CfnBucket.AnalyticsConfigurationProperty.Jsii$Proxy
An implementation for
CfnBucket.AnalyticsConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBucket.AnalyticsConfigurationProperty.Builder |
builder() |
java.lang.String |
getId()
The ID that identifies the analytics configuration.
|
default java.lang.String |
getPrefix()
The prefix that an object must have to be included in the analytics results.
|
java.lang.Object |
getStorageClassAnalysis()
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
|
default java.lang.Object |
getTagFilters()
The tags to use when evaluating an analytics filter.
|
java.lang.String getId()
java.lang.Object getStorageClassAnalysis()
default java.lang.String getPrefix()
default java.lang.Object getTagFilters()
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.
static CfnBucket.AnalyticsConfigurationProperty.Builder builder()