AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::OpsWorks::Volume

CfnVolume

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html.

Import

import { CfnVolume } from 'aws-cdk-lib/aws-opsworks';

Or use the module namespace:

import * as opsworks from 'aws-cdk-lib/aws-opsworks';
// opsworks.CfnVolume

Properties

Configuration passed to the constructor as CfnVolumeProps.

ec2VolumeIdRequired
string

The Amazon EC2 volume ID.

stackIdRequired
string

The stack ID.

mountPointOptional
string

The volume mount point. For example, "/mnt/disk1".

nameOptional
string

The volume name. Volume names are a maximum of 128 characters.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-opsworks
CFN TypeAWS::OpsWorks::Volume
Properties4

External Links