@Stability(value=Stable)
public static interface CfnEC2Fleet.SpotOptionsRequestProperty
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.*;
SpotOptionsRequestProperty spotOptionsRequestProperty = SpotOptionsRequestProperty.builder()
.allocationStrategy("allocationStrategy")
.instanceInterruptionBehavior("instanceInterruptionBehavior")
.instancePoolsToUseCount(123)
.maintenanceStrategies(MaintenanceStrategiesProperty.builder()
.capacityRebalance(CapacityRebalanceProperty.builder()
.replacementStrategy("replacementStrategy")
.terminationDelay(123)
.build())
.build())
.maxTotalPrice("maxTotalPrice")
.minTargetCapacity(123)
.singleAvailabilityZone(false)
.singleInstanceType(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEC2Fleet.SpotOptionsRequestProperty.Builder
A builder for
CfnEC2Fleet.SpotOptionsRequestProperty |
static class |
CfnEC2Fleet.SpotOptionsRequestProperty.Jsii$Proxy
An implementation for
CfnEC2Fleet.SpotOptionsRequestProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEC2Fleet.SpotOptionsRequestProperty.Builder |
builder() |
default String |
getAllocationStrategy()
`CfnEC2Fleet.SpotOptionsRequestProperty.AllocationStrategy`.
|
default String |
getInstanceInterruptionBehavior()
`CfnEC2Fleet.SpotOptionsRequestProperty.InstanceInterruptionBehavior`.
|
default Number |
getInstancePoolsToUseCount()
`CfnEC2Fleet.SpotOptionsRequestProperty.InstancePoolsToUseCount`.
|
default Object |
getMaintenanceStrategies()
`CfnEC2Fleet.SpotOptionsRequestProperty.MaintenanceStrategies`.
|
default String |
getMaxTotalPrice()
`CfnEC2Fleet.SpotOptionsRequestProperty.MaxTotalPrice`.
|
default Number |
getMinTargetCapacity()
`CfnEC2Fleet.SpotOptionsRequestProperty.MinTargetCapacity`.
|
default Object |
getSingleAvailabilityZone()
`CfnEC2Fleet.SpotOptionsRequestProperty.SingleAvailabilityZone`.
|
default Object |
getSingleInstanceType()
`CfnEC2Fleet.SpotOptionsRequestProperty.SingleInstanceType`.
|
@Stability(value=Stable) @Nullable default String getAllocationStrategy()
@Stability(value=Stable) @Nullable default String getInstanceInterruptionBehavior()
@Stability(value=Stable) @Nullable default Number getInstancePoolsToUseCount()
@Stability(value=Stable) @Nullable default Object getMaintenanceStrategies()
@Stability(value=Stable) @Nullable default String getMaxTotalPrice()
@Stability(value=Stable) @Nullable default Number getMinTargetCapacity()
@Stability(value=Stable) @Nullable default Object getSingleAvailabilityZone()
@Stability(value=Stable) @Nullable default Object getSingleInstanceType()
@Stability(value=Stable) static CfnEC2Fleet.SpotOptionsRequestProperty.Builder builder()
Copyright © 2021. All rights reserved.