This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
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}
YAML
DeviceName:StringEbs:EbsInstanceBlockDeviceSpecificationNoDevice:StringVirtualName:String
Properties
DeviceName-
The device to which these mappings apply.
Required: No
Type: String
Minimum:
1Maximum:
1024Update 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
NoDevicefield.NoDevice:""Required: No
Type: String
Update requires: Replacement
VirtualName-
Manages the instance ephemeral devices.
Required: No
Type: String
Minimum:
1Maximum:
1024Update requires: Replacement