Ec2Metadata - Inspector
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).

Ec2Metadata

Meta data details of an Amazon EC2 instance.

Contents

amiId

The ID of the Amazon Machine Image (AMI) used to launch the instance.

Type: String

Pattern: ^ami-([a-z0-9]{8}|[a-z0-9]{17}|\*)$

Required: No

platform

The platform of the instance.

Type: String

Valid Values: WINDOWS | LINUX | UNKNOWN | MACOS

Required: No

tags

The tags attached to the instance.

Type: String to string map

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Value Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

See Also

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