Class: Aws::EC2::Types::ResourceTypeOption

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

Overview

The options that affect the scope of the response.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#option_nameString

The name of the option.

  • For ec2:Instance:

    Specify state-name - The current state of the EC2 instance.

  • For ec2:LaunchTemplate:

    Specify version-depth - The number of launch template versions to check, starting from the most recent version.

Returns:

  • (String)


66737
66738
66739
66740
66741
66742
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66737

class ResourceTypeOption < Struct.new(
  :option_name,
  :option_values)
  SENSITIVE = []
  include Aws::Structure
end

#option_valuesArray<String>

A value for the specified option.

  • For state-name:

    • Valid values: pending | running | shutting-down | terminated | stopping | stopped

    • Default: All states

  • For version-depth:

    • Valid values: Integers between 1 and 10000

    • Default: 10

Returns:

  • (Array<String>)


66737
66738
66739
66740
66741
66742
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 66737

class ResourceTypeOption < Struct.new(
  :option_name,
  :option_values)
  SENSITIVE = []
  include Aws::Structure
end