InstanceRequirementsWithMetadataRequest - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

InstanceRequirementsWithMetadataRequest

The architecture type, virtualization type, and other attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

If you specify InstanceRequirementsWithMetadataRequest, you can't specify InstanceTypes.

Contents

ArchitectureTypes

The architecture type.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 3 items.

Valid Values: i386 | x86_64 | arm64 | x86_64_mac | arm64_mac

Required: No

InstanceRequirements

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

Type: InstanceRequirementsRequest object

Required: No

VirtualizationTypes

The virtualization type.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 2 items.

Valid Values: hvm | paravirtual

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: