CfnVolumeAssociationMixinProps

class aws_cdk.mixins_preview.aws_workspacesinstances.mixins.CfnVolumeAssociationMixinProps(*, device=None, disassociate_mode=None, volume_id=None, workspace_instance_id=None)

Bases: object

Properties for CfnVolumeAssociationPropsMixin.

Parameters:
  • device (Optional[str]) – The device name for the volume attachment.

  • disassociate_mode (Optional[str]) – Mode to use when disassociating the volume.

  • volume_id (Optional[str]) – ID of the volume to attach to the workspace instance.

  • workspace_instance_id (Optional[str]) – ID of the workspace instance to associate with the volume.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_workspacesinstances import mixins as workspacesinstances_mixins

cfn_volume_association_mixin_props = workspacesinstances_mixins.CfnVolumeAssociationMixinProps(
    device="device",
    disassociate_mode="disassociateMode",
    volume_id="volumeId",
    workspace_instance_id="workspaceInstanceId"
)

Attributes

device

The device name for the volume attachment.

See:

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

disassociate_mode

Mode to use when disassociating the volume.

See:

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

volume_id

ID of the volume to attach to the workspace instance.

See:

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

workspace_instance_id

ID of the workspace instance to associate with the volume.

See:

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