@Stability(value=Stable)
public static interface CfnLaunchTemplate.SpotOptionsProperty
extends software.amazon.jsii.JsiiSerializable
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchTemplate.SpotOptionsProperty.Builder
A builder for
CfnLaunchTemplate.SpotOptionsProperty |
static class |
CfnLaunchTemplate.SpotOptionsProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.SpotOptionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchTemplate.SpotOptionsProperty.Builder |
builder() |
default Number |
getBlockDurationMinutes()
`CfnLaunchTemplate.SpotOptionsProperty.BlockDurationMinutes`.
|
default String |
getInstanceInterruptionBehavior()
`CfnLaunchTemplate.SpotOptionsProperty.InstanceInterruptionBehavior`.
|
default String |
getMaxPrice()
`CfnLaunchTemplate.SpotOptionsProperty.MaxPrice`.
|
default String |
getSpotInstanceType()
`CfnLaunchTemplate.SpotOptionsProperty.SpotInstanceType`.
|
default String |
getValidUntil()
`CfnLaunchTemplate.SpotOptionsProperty.ValidUntil`.
|
@Stability(value=Stable) @Nullable default Number getBlockDurationMinutes()
@Stability(value=Stable) @Nullable default String getInstanceInterruptionBehavior()
@Stability(value=Stable) @Nullable default String getMaxPrice()
@Stability(value=Stable) @Nullable default String getSpotInstanceType()
@Stability(value=Stable) @Nullable default String getValidUntil()
@Stability(value=Stable) static CfnLaunchTemplate.SpotOptionsProperty.Builder builder()
Copyright © 2021. All rights reserved.