Class: Aws::S3::Types::Transition

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see

Transitioning Objects Using Amazon S3 Lifecycle][1

in the *Amazon S3

User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dateTime

Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

Returns:

  • (Time)


17608
17609
17610
17611
17612
17613
17614
# File 'lib/aws-sdk-s3/types.rb', line 17608

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  SENSITIVE = []
  include Aws::Structure
end

#daysInteger

Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

Returns:

  • (Integer)


17608
17609
17610
17611
17612
17613
17614
# File 'lib/aws-sdk-s3/types.rb', line 17608

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  SENSITIVE = []
  include Aws::Structure
end

#storage_classString

The storage class to which you want the object to transition.

Returns:

  • (String)


17608
17609
17610
17611
17612
17613
17614
# File 'lib/aws-sdk-s3/types.rb', line 17608

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  SENSITIVE = []
  include Aws::Structure
end