aws-cdk-lib.aws_opsworks.CfnVolumeProps

interface CfnVolumeProps

LanguageType name
.NETAmazon.CDK.AWS.OpsWorks.CfnVolumeProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnVolumeProps
Javasoftware.amazon.awscdk.services.opsworks.CfnVolumeProps
Pythonaws_cdk.aws_opsworks.CfnVolumeProps
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
ec2VolumeIdstringThe Amazon EC2 volume ID.
stackIdstringThe stack ID.
mountPoint?stringThe volume mount point.
name?stringThe 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.