AWS::EC2::VolumeSpecifies an Amazon Elastic Block Store (Amazon EBS) volume. You can create an empty volume, a volume from a snapshot, or a volume copy from an existing source volume. + When you use CFNlong to update an Amazon EBS volume that modifies Iops, Size, or VolumeType, there is a cooldown period before another operation can occur. This can cause your stack to report being in UPDATE_IN_PROGRESS or UPDATE_ROLLBACK_IN_PROGRESS for long periods of time. Some common scenarios when...
15 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AutoEnableIO | boolean | |
AvailabilityZone | string | |
AvailabilityZoneId | string | |
Encrypted | boolean | |
Iops | integer | |
KmsKeyId | string | |
MultiAttachEnabled | boolean | |
OutpostArn | string | |
Size | integer | |
SnapshotId | string | |
SourceVolumeId | string | |
Tags | Array<Tag> | |
Throughput | integer | |
VolumeInitializationRate | integer | |
VolumeType | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
VolumeId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::Volume
Resources:
MyResource:
Type: AWS::EC2::Volume
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateVolumeec2:CopyVolumesec2:DescribeVolumesec2:DescribeVolumeAttributeec2:ModifyVolumeAttributeec2:CreateTagskms:GenerateDataKeyWithoutPlaintextkms:CreateGrantec2:DescribeVolumesec2:DescribeVolumeAttributeec2:DescribeTagsec2:ModifyVolumeec2:ModifyVolumeAttributeec2:DescribeVolumeAttributeec2:DescribeVolumesModificationsec2:DescribeVolumesec2:CreateTagsec2:DeleteTagsec2:DeleteVolumeec2:CreateSnapshotec2:DescribeSnapshotsec2:DeleteTagsec2:DescribeVolumesec2:DescribeVolumesec2:DescribeTagsec2:DescribeVolumeAttributeEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicVolumeId