@Stability(value=Stable)
public static interface CfnBucket.IntelligentTieringConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getId()
The ID used to identify the S3 Intelligent-Tiering configuration.
|
default String |
getPrefix()
An object key name prefix that identifies the subset of objects to which the rule applies.
|
String |
getStatus()
Specifies the status of the configuration.
|
default Object |
getTagFilters()
A container for a key-value pair.
|
Object |
getTierings()
Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration.
|
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) @NotNull String getStatus()
@Stability(value=Stable) @NotNull 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.
@Stability(value=Stable) @Nullable default String getPrefix()
@Stability(value=Stable) @Nullable default Object getTagFilters()
@Stability(value=Stable) static CfnBucket.IntelligentTieringConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.