interface CfnVolumeAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WorkspacesInstances.CfnVolumeAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsworkspacesinstances#CfnVolumeAssociationProps |
Java | software.amazon.awscdk.services.workspacesinstances.CfnVolumeAssociationProps |
Python | aws_cdk.aws_workspacesinstances.CfnVolumeAssociationProps |
TypeScript | aws-cdk-lib » aws_workspacesinstances » CfnVolumeAssociationProps |
Properties for defining a CfnVolumeAssociation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const cfnVolumeAssociationProps: workspacesinstances.CfnVolumeAssociationProps = {
device: 'device',
volumeId: 'volumeId',
workspaceInstanceId: 'workspaceInstanceId',
// the properties below are optional
disassociateMode: 'disassociateMode',
};
Properties
| Name | Type | Description |
|---|---|---|
| device | string | The device name for the volume attachment. |
| volume | string | ID of the volume to attach to the workspace instance. |
| workspace | string | ID of the workspace instance to associate with the volume. |
| disassociate | string | Mode to use when disassociating the volume. |
device
Type:
string
The device name for the volume attachment.
volumeId
Type:
string
ID of the volume to attach to the workspace instance.
workspaceInstanceId
Type:
string
ID of the workspace instance to associate with the volume.
disassociateMode?
Type:
string
(optional)
Mode to use when disassociating the volume.

.NET
Go
Java
Python
TypeScript