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)


5305
5306
5307
5308
5309
5310
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5305

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)


5305
5306
5307
5308
5309
5310
# File 'lib/aws-sdk-imagebuilder/types.rb', line 5305

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