Class: Aws::EC2::Types::InstanceTypeSpecificationRequest

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

Overview

The instance type specification for an AMI, which contains lists of supported and unsupported instance types that define which instance types are compatible with the AMI.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#supported_instance_typesArray<String>

The instance types that the AMI supports. You can specify instance type names or use wildcard patterns (for example, t3.*).

Constraints: Maximum 100 entries. Each entry must be 1-24 characters and match the pattern ^[A-Za-z0-9_.*-]+$. Consecutive wildcard characters (**) are not allowed. Entries must be unique within each list and across both lists; duplicate entries cause the request to fail.

Returns:

  • (Array<String>)


57101
57102
57103
57104
57105
57106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57101

class InstanceTypeSpecificationRequest < Struct.new(
  :supported_instance_types,
  :unsupported_instance_types)
  SENSITIVE = []
  include Aws::Structure
end

#unsupported_instance_typesArray<String>

The instance types that the AMI does not support. You can specify instance type names or use wildcard patterns (for example, t3.*).

Constraints: Maximum 100 entries. Each entry must be 1-24 characters and match the pattern ^[A-Za-z0-9_.*-]+$. Consecutive wildcard characters (**) are not allowed. Entries must be unique within each list and across both lists; duplicate entries cause the request to fail.

Returns:

  • (Array<String>)


57101
57102
57103
57104
57105
57106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57101

class InstanceTypeSpecificationRequest < Struct.new(
  :supported_instance_types,
  :unsupported_instance_types)
  SENSITIVE = []
  include Aws::Structure
end