InstanceConfiguration - EC2 Image Builder
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).

InstanceConfiguration

Defines a custom base AMI and block device mapping configurations of an instance used for building and testing container images.

Contents

blockDeviceMappings

Defines the block devices to attach for building an instance from this Image Builder AMI.

Type: Array of InstanceBlockDeviceMapping objects

Required: No

image

The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.

Type: String

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

Required: No

See Also

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