interface CfnVolumeProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.OpsWorks.CfnVolumeProps |
![]() | software.amazon.awscdk.services.opsworks.CfnVolumeProps |
![]() | aws_cdk.aws_opsworks.CfnVolumeProps |
![]() | @aws-cdk/aws-opsworks » CfnVolumeProps |
Properties for defining a CfnVolume
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as opsworks from '@aws-cdk/aws-opsworks';
const cfnVolumeProps: opsworks.CfnVolumeProps = {
ec2VolumeId: 'ec2VolumeId',
stackId: 'stackId',
// the properties below are optional
mountPoint: 'mountPoint',
name: 'name',
};
Properties
Name | Type | Description |
---|---|---|
ec2 | string | The Amazon EC2 volume ID. |
stack | string | The stack ID. |
mount | string | The volume mount point. |
name? | string | The volume name. |
ec2VolumeId
Type:
string
The Amazon EC2 volume ID.
stackId
Type:
string
The stack ID.
mountPoint?
Type:
string
(optional)
The volume mount point.
For example, "/mnt/disk1".
name?
Type:
string
(optional)
The volume name.
Volume names are a maximum of 128 characters.