Interface CfnLaunchTemplate.SpotOptionsProperty

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

@Stability(Stable) public static interface CfnLaunchTemplate.SpotOptionsProperty extends software.amazon.jsii.JsiiSerializable
Specifies options for Spot Instances.

SpotOptions is a property of AWS::EC2::LaunchTemplate InstanceMarketOptions .

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.*;
 SpotOptionsProperty spotOptionsProperty = SpotOptionsProperty.builder()
         .blockDurationMinutes(123)
         .instanceInterruptionBehavior("instanceInterruptionBehavior")
         .maxPrice("maxPrice")
         .spotInstanceType("spotInstanceType")
         .validUntil("validUntil")
         .build();
 

See Also: