AWS::ImageBuilder::ImageRecipe InstanceBlockDeviceMapping - Amazon CloudFormation
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).

AWS::ImageBuilder::ImageRecipe InstanceBlockDeviceMapping

Defines block device mappings for the instance used to configure your image.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "DeviceName" : String, "Ebs" : EbsInstanceBlockDeviceSpecification, "NoDevice" : String, "VirtualName" : String }

Properties

DeviceName

The device to which these mappings apply.

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: Replacement

Ebs

Use to manage Amazon EBS-specific configuration for this mapping.

Required: No

Type: EbsInstanceBlockDeviceSpecification

Update requires: Replacement

NoDevice

Enter an empty string to remove a mapping from the parent image.

The following is an example of an empty string value in the NoDevice field.

NoDevice:""

Required: No

Type: String

Update requires: Replacement

VirtualName

Manages the instance ephemeral devices.

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: Replacement