Class: Aws::Imagebuilder::Types::LifecyclePolicyDetailExclusionRulesAmisLastLaunched

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

Overview

Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years.

Returns:

  • (String)


5371
5372
5373
5374
5375
5376
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5371

class LifecyclePolicyDetailExclusionRulesAmisLastLaunched < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#valueInteger

The integer number of units for the time period. For example ‘6` (months).

Returns:

  • (Integer)


5371
5372
5373
5374
5375
5376
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5371

class LifecyclePolicyDetailExclusionRulesAmisLastLaunched < Struct.new(
  :value,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end