AWS::EC2::Instance Volume - AWS CloudFormation (original) (raw)
Specifies a volume to attach to an instance.
Volume
is an embedded property of the AWS::EC2::Instance resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Device" : String,
"VolumeId" : String
}
YAML
Device: String
VolumeId: String
Properties
Device
The device name (for example, /dev/sdh
or xvdh
).
Required: Yes
Type: String
Update requires: No interruption
VolumeId
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
Required: Yes
Type: String
Update requires: No interruption
Tag
AWS::EC2::InstanceConnectEndpoint
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.