interface CfnVolumeAssociationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_workspacesinstances.CfnVolumeAssociationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsworkspacesinstances#CfnVolumeAssociationProps |
![]() | software.amazon.awscdk.services.workspacesinstances.CfnVolumeAssociationProps |
![]() | aws_cdk.aws_workspacesinstances.CfnVolumeAssociationProps |
![]() | 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.