public static interface CfnBucket.IntelligentTieringConfigurationProperty
For information about the S3 Intelligent-Tiering storage class, see Storage class for automatically optimizing frequently and infrequently accessed objects .
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.*; IntelligentTieringConfigurationProperty intelligentTieringConfigurationProperty = IntelligentTieringConfigurationProperty.builder() .id("id") .status("status") .tierings(List.of(TieringProperty.builder() .accessTier("accessTier") .days(123) .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.IntelligentTieringConfigurationProperty.Builder
A builder for
CfnBucket.IntelligentTieringConfigurationProperty |
static class |
CfnBucket.IntelligentTieringConfigurationProperty.Jsii$Proxy
An implementation for
CfnBucket.IntelligentTieringConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBucket.IntelligentTieringConfigurationProperty.Builder |
builder() |
java.lang.String |
getId()
The ID used to identify the S3 Intelligent-Tiering configuration.
|
default java.lang.String |
getPrefix()
An object key name prefix that identifies the subset of objects to which the rule applies.
|
java.lang.String |
getStatus()
Specifies the status of the configuration.
|
default java.lang.Object |
getTagFilters()
A container for a key-value pair.
|
java.lang.Object |
getTierings()
Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration.
|
java.lang.String getId()
java.lang.String getStatus()
java.lang.Object getTierings()
At least one tier must be defined in the list. At most, you can specify two tiers in the list, one for each available AccessTier: ARCHIVE_ACCESS
and DEEP_ARCHIVE_ACCESS
.
You only need Intelligent Tiering Configuration enabled on a bucket if you want to automatically move objects stored in the Intelligent-Tiering storage class to Archive Access or Deep Archive Access tiers.
default java.lang.String getPrefix()
default java.lang.Object getTagFilters()
static CfnBucket.IntelligentTieringConfigurationProperty.Builder builder()