interface CfnVolumeProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.OpsWorks.CfnVolumeProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnVolumeProps |
![]() | software.amazon.awscdk.services.opsworks.CfnVolumeProps |
![]() | aws_cdk.aws_opsworks.CfnVolumeProps |
![]() | aws-cdk-lib » aws_opsworks » CfnVolumeProps |
Properties for defining a CfnVolume
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
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.