AWS::ImageBuilder::ImageRecipe InstanceBlockDeviceMapping
Defines block device mappings for the instance used to configure your image.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DeviceName" :
String
, "Ebs" :EbsInstanceBlockDeviceSpecification
, "NoDevice" :String
, "VirtualName" :String
}
YAML
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