View a markdown version of this page

MachineImageDetails - 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).

MachineImageDetails

Contains details about an Amazon Machine Image (AMI) that Amazon Inspector scanned directly.

Contents

machineImageId

The ID of the machine image, for example ami-0abcdef1234567890.

Type: String

Length Constraints: Minimum length of 1.

Pattern: ami-[0-9a-f]{8,17}

Required: Yes

architecture

The CPU architecture of the machine image, for example x86_64 or arm64.

Type: String

Valid Values: X86_64 | ARM64

Required: No

creationDate

The date and time that the machine image was created.

Type: Timestamp

Required: No

isPublic

Indicates whether the machine image is shared publicly.

Type: Boolean

Required: No

name

The name of the machine image.

Type: String

Length Constraints: Minimum length of 1.

Required: No

ownerAccountId

The ID of the account that owns the machine image.

Type: String

Length Constraints: Minimum length of 6. Maximum length of 36.

Pattern: (\d{12}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|[a-z][a-z0-9-]{4,28}[a-z0-9])

Required: No

platform

The operating system platform of the machine image.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

rootDeviceType

The root device type of the machine image, either ebs or instance-store.

Type: String

Length Constraints: Minimum length of 1.

Required: No

sourceResourceId

The ID of the Amazon EC2 instance that the machine image was created from, if available.

Type: String

Length Constraints: Minimum length of 1.

Pattern: i-[0-9a-f]{8,17}

Required: No

state

The state of the machine image, for example available, pending, or deregistered.

Type: String

Length Constraints: Minimum length of 1.

Required: No

virtualizationType

The virtualization type of the machine image, either hvm or paravirtual.

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

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