AWS::StorageGateway::VolumeCreates a cached iSCSI volume on a Storage Gateway. A cached volume stores data in Amazon S3 and retains a copy of frequently accessed data subsets locally.
9 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
GatewayARN | string | RequiredCreate-only |
NetworkInterfaceId | string | RequiredCreate-only |
TargetName | string | RequiredCreate-only |
VolumeSizeInBytes | number | RequiredCreate-only |
KMSEncrypted | boolean | Create-onlyWrite-only |
KMSKey | string | Create-only |
SnapshotId | string | Create-onlyWrite-only |
SourceVolumeARN | string | Create-onlyWrite-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedDate | string | The date the volume was created. |
TargetARN | string | The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name. |
VolumeARN | string | The Amazon Resource Name (ARN) of the storage volume. |
VolumeAttachmentStatus | string | Indicates whether the storage volume is attached to or detached from the gateway. |
VolumeId | string | The unique identifier of the volume, extracted from the ARN. |
VolumeStatus | string | The status of the storage volume. |
VolumeType | string | The type of the volume (CACHED iSCSI). |
VolumeUsedInBytes | number | The size of the data stored on the volume in bytes. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::StorageGateway::Volume
Resources:
MyResource:
Type: AWS::StorageGateway::Volume
Properties:
GatewayARN: "arn:aws:service:region:account:resource"
TargetName: "my-targetname"
NetworkInterfaceId: "my-networkinterfaceid"
VolumeSizeInBytes: 1
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
storagegateway:CreateCachediSCSIVolumestoragegateway:DescribeCachediSCSIVolumesstoragegateway:AddTagsToResourcekms:DescribeKeykms:CreateGrantkms:GenerateDataKeyWithoutPlaintextstoragegateway:DescribeCachediSCSIVolumesstoragegateway:ListTagsForResourcestoragegateway:DescribeCachediSCSIVolumesstoragegateway:AddTagsToResourcestoragegateway:RemoveTagsFromResourcestoragegateway:ListTagsForResourcestoragegateway:DeleteVolumestoragegateway:DescribeCachediSCSIVolumesstoragegateway:ListTagsForResourcestoragegateway:ListVolumesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterVolumeARNThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
GatewayARNTargetNameNetworkInterfaceIdVolumeSizeInBytesSnapshotIdSourceVolumeARNKMSEncryptedKMSKey