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();
 
  • Method Details

    • getId

      @Stability(Stable) @NotNull String getId()
      The ID used to identify the S3 Intelligent-Tiering configuration.
    • getStatus

      @Stability(Stable) @NotNull String getStatus()
      Specifies the status of the configuration.
    • getTierings

      @Stability(Stable) @NotNull Object 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 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.

    • getPrefix

      @Stability(Stable) @Nullable default String getPrefix()
      An object key name prefix that identifies the subset of objects to which the rule applies.
    • getTagFilters

      @Stability(Stable) @Nullable default Object getTagFilters()
      A container for a key-value pair.
    • builder

      @Stability(Stable) static CfnBucket.IntelligentTieringConfigurationProperty.Builder builder()
      Returns:
      a CfnBucket.IntelligentTieringConfigurationProperty.Builder of CfnBucket.IntelligentTieringConfigurationProperty