Interface CfnInstance.VolumeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInstance.VolumeProperty.Jsii$Proxy
Enclosing class:
CfnInstance

@Stability(Stable) public static interface CfnInstance.VolumeProperty extends software.amazon.jsii.JsiiSerializable
Specifies a volume to attach to an instance.

Volume is an embedded property of the AWS::EC2::Instance resource.

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.ec2.*;
 VolumeProperty volumeProperty = VolumeProperty.builder()
         .device("device")
         .volumeId("volumeId")
         .build();
 

See Also: