Ec2Metadata - Inspector

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 AWS SDKs, see the following: