Show / Hide Table of Contents

Class CfnVolumeAssociation

Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnVolumeAssociation
Implements
IInspectable
IVolumeAssociationRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

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 AWS::WorkspacesInstances::VolumeAssociation.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation

ExampleMetadata: fixture=_generated

CfnProperties

Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation

ExampleMetadata: fixture=_generated

Device

The device name for the volume attachment.

public virtual string Device { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation

ExampleMetadata: fixture=_generated

DisassociateMode

Mode to use when disassociating the volume.

public virtual string? DisassociateMode { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation

ExampleMetadata: fixture=_generated

VolumeAssociationRef

A reference to a VolumeAssociation resource.

public virtual IVolumeAssociationReference VolumeAssociationRef { get; }
Property Value

IVolumeAssociationReference

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

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

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html

CloudformationResource: AWS::WorkspacesInstances::VolumeAssociation

ExampleMetadata: fixture=_generated

Implements

IInspectable
IVolumeAssociationRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX