Interface CfnJobDefinition.VolumesHostProperty

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

@Stability(Stable) public static interface CfnJobDefinition.VolumesHostProperty extends software.amazon.jsii.JsiiSerializable
Determine whether your data volume persists on the host container instance and where it's stored.

If this parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running.

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.batch.*;
 VolumesHostProperty volumesHostProperty = VolumesHostProperty.builder()
         .sourcePath("sourcePath")
         .build();
 

See Also: