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)


5283
5284
5285
5286
5287
5288
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5283

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)


5283
5284
5285
5286
5287
5288
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5283

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