Class CfnVolumeProps
Properties for defining a CfnVolume
.
Inheritance
System.Object
CfnVolumeProps
Implements
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVolumeProps : Object, ICfnVolumeProps
Syntax (vb)
Public Class CfnVolumeProps
Inherits Object
Implements ICfnVolumeProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpsWorks;
var cfnVolumeProps = new CfnVolumeProps {
Ec2VolumeId = "ec2VolumeId",
StackId = "stackId",
// the properties below are optional
MountPoint = "mountPoint",
Name = "name"
};
Synopsis
Constructors
CfnVolumeProps() |
Properties
Ec2VolumeId | The Amazon EC2 volume ID. |
MountPoint | The volume mount point. |
Name | The volume name. |
StackId | The stack ID. |
Constructors
CfnVolumeProps()
public CfnVolumeProps()
Properties
Ec2VolumeId
The Amazon EC2 volume ID.
public string Ec2VolumeId { get; set; }
Property Value
System.String
Remarks
MountPoint
The volume mount point.
public string MountPoint { get; set; }
Property Value
System.String
Remarks
For example, "/mnt/disk1".
Name
The volume name.
public string Name { get; set; }
Property Value
System.String
Remarks
Volume names are a maximum of 128 characters.
StackId
The stack ID.
public string StackId { get; set; }
Property Value
System.String