Interface CfnLaunchTemplate.InstanceMarketOptionsProperty

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

@Stability(Stable) public static interface CfnLaunchTemplate.InstanceMarketOptionsProperty extends software.amazon.jsii.JsiiSerializable
Specifies the market (purchasing) option for an instance.

InstanceMarketOptions is a property of the AWS::EC2::LaunchTemplate LaunchTemplateData .

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