Class BucketLifecycleConfigurationV2RuleTransitionArgs


  • public final class BucketLifecycleConfigurationV2RuleTransitionArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • date

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> date()
        Returns:
        Date objects are transitioned to the specified storage class. The date value must be in [RFC3339 full-date format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) e.g. `2023-08-22`.
      • days

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> days()
        Returns:
        Number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. If both `days` and `date` are not specified, defaults to `0`. Valid values depend on `storage_class`, see [Transition objects using Amazon S3 Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html) for more details.
      • storageClass

        public com.pulumi.core.Output<java.lang.String> storageClass()
        Returns:
        Class of storage used to store the object. Valid Values: `GLACIER`, `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `DEEP_ARCHIVE`, `GLACIER_IR`.