Class CfnVolume
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVolume : CfnResource, IInspectable
Syntax (vb)
Public Class CfnVolume
Inherits CfnResource
Implements IInspectable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html
CloudformationResource: AWS::OpsWorks::Volume
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 cfnVolume = new CfnVolume(this, "MyCfnVolume", new CfnVolumeProps {
Ec2VolumeId = "ec2VolumeId",
StackId = "stackId",
// the properties below are optional
MountPoint = "mountPoint",
Name = "name"
});
Synopsis
Constructors
CfnVolume(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVolume(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnVolume(Construct, String, ICfnVolumeProps) |
Properties
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Ec2VolumeId | The Amazon EC2 volume ID. |
MountPoint | The volume mount point. |
Name | The volume name. |
StackId | The stack ID. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVolume(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVolume(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVolume(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVolume(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnVolume(Construct, String, ICfnVolumeProps)
public CfnVolume(Construct scope, string id, ICfnVolumeProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnVolumeProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Ec2VolumeId
The Amazon EC2 volume ID.
public virtual string Ec2VolumeId { get; set; }
Property Value
System.String
MountPoint
The volume mount point.
public virtual string MountPoint { get; set; }
Property Value
System.String
Name
The volume name.
public virtual string Name { get; set; }
Property Value
System.String
StackId
The stack ID.
public virtual string StackId { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>