Package com.pulumi.aws.ec2.outputs
Class InstanceInstanceMarketOptions
- java.lang.Object
-
- com.pulumi.aws.ec2.outputs.InstanceInstanceMarketOptions
-
public final class InstanceInstanceMarketOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstanceInstanceMarketOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceInstanceMarketOptions.Builderbuilder()static InstanceInstanceMarketOptions.Builderbuilder(InstanceInstanceMarketOptions defaults)java.util.Optional<java.lang.String>marketType()java.util.Optional<InstanceInstanceMarketOptionsSpotOptions>spotOptions()
-
-
-
Method Detail
-
marketType
public java.util.Optional<java.lang.String> marketType()
- Returns:
- Type of market for the instance. Valid values are `spot`, `capacity-block`, and `interruptible-capacity-reservation`. Use `interruptible-capacity-reservation` to launch instances into [interruptible Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-consumer-procedures.html). Defaults to `spot`. Required if `spotOptions` is specified.
-
spotOptions
public java.util.Optional<InstanceInstanceMarketOptionsSpotOptions> spotOptions()
- Returns:
- Block to configure the options for Spot Instances. See Spot Options below for details on attributes.
-
builder
public static InstanceInstanceMarketOptions.Builder builder()
-
builder
public static InstanceInstanceMarketOptions.Builder builder(InstanceInstanceMarketOptions defaults)
-
-