Interface CfnBucket.IntelligentTieringConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.IntelligentTieringConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnBucket
@Stability(Stable)
public static interface CfnBucket.IntelligentTieringConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.IntelligentTieringConfigurationProperty
static final class
An implementation forCfnBucket.IntelligentTieringConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getId()
The ID used to identify the S3 Intelligent-Tiering configuration.default String
An object key name prefix that identifies the subset of objects to which the rule applies.Specifies the status of the configuration.default Object
A container for a key-value pair.Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
The ID used to identify the S3 Intelligent-Tiering configuration. -
getStatus
Specifies the status of the configuration. -
getTierings
Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration.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
andDEEP_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.
-
getPrefix
An object key name prefix that identifies the subset of objects to which the rule applies. -
getTagFilters
A container for a key-value pair. -
builder
-