Class CfnVolumeAssociation
Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation.
Inherited Members
Namespace: Amazon.CDK.AWS.WorkspacesInstances
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVolumeAssociation : CfnResource, IInspectable, IVolumeAssociationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnVolumeAssociation Inherits CfnResource Implements IInspectable, IVolumeAssociationRef, IConstruct, IDependable, IEnvironmentAware
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
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.WorkspacesInstances;
var cfnVolumeAssociation = new CfnVolumeAssociation(this, "MyCfnVolumeAssociation", new CfnVolumeAssociationProps {
Device = "device",
VolumeId = "volumeId",
WorkspaceInstanceId = "workspaceInstanceId",
// the properties below are optional
DisassociateMode = "disassociateMode"
});
Synopsis
Constructors
| CfnVolumeAssociation(Construct, string, ICfnVolumeAssociationProps) | Create a new |
Properties
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation. |
| Device | The device name for the volume attachment. |
| DisassociateMode | Mode to use when disassociating the volume. |
| VolumeAssociationRef | A reference to a VolumeAssociation resource. |
| VolumeId | ID of the volume to attach to the workspace instance. |
| WorkspaceInstanceId | ID of the workspace instance to associate with the volume. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| RenderProperties(IDictionary<string, object>) | Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation. |
Constructors
CfnVolumeAssociation(Construct, string, ICfnVolumeAssociationProps)
Create a new AWS::WorkspacesInstances::VolumeAssociation.
public CfnVolumeAssociation(Construct scope, string id, ICfnVolumeAssociationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnVolumeAssociationProps
Resource properties.
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
CfnProperties
Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
Device
The device name for the volume attachment.
public virtual string Device { get; set; }
Property Value
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
DisassociateMode
Mode to use when disassociating the volume.
public virtual string? DisassociateMode { get; set; }
Property Value
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
VolumeAssociationRef
A reference to a VolumeAssociation resource.
public virtual IVolumeAssociationReference VolumeAssociationRef { get; }
Property Value
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
VolumeId
ID of the volume to attach to the workspace instance.
public virtual string VolumeId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
WorkspaceInstanceId
ID of the workspace instance to associate with the volume.
public virtual string WorkspaceInstanceId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation
ExampleMetadata: fixture=_generated