Interface CfnVolumeAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVolumeAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:50.668Z")
@Stability(Stable)
public interface CfnVolumeAssociationProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.workspacesinstances.*;
CfnVolumeAssociationProps cfnVolumeAssociationProps = CfnVolumeAssociationProps.builder()
.device("device")
.volumeId("volumeId")
.workspaceInstanceId("workspaceInstanceId")
// the properties below are optional
.disassociateMode("disassociateMode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVolumeAssociationPropsstatic final classAn implementation forCfnVolumeAssociationProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDevice
The device name for the volume attachment.- See Also:
-
getVolumeId
ID of the volume to attach to the workspace instance.- See Also:
-
getWorkspaceInstanceId
ID of the workspace instance to associate with the volume.- See Also:
-
getDisassociateMode
Mode to use when disassociating the volume.- See Also:
-
builder
- Returns:
- a
CfnVolumeAssociationProps.BuilderofCfnVolumeAssociationProps
-