Class: Aws::SecurityHub::Types::AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails data as a hash:

{
  date: "NonEmptyString",
  days: 1,
  storage_class: "NonEmptyString",
}

A rule for when objects transition to specific storage classes.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dateString

A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


14652
14653
14654
14655
14656
14657
14658
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14652

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

#daysInteger

The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

Returns:

  • (Integer)


14652
14653
14654
14655
14656
14657
14658
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14652

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

#storage_classString

The storage class to transition the object to.

Returns:

  • (String)


14652
14653
14654
14655
14656
14657
14658
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14652

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