SpotInstanceRequestCapacityReservationTarget class sealed

At most one of capacity_reservation_id, capacity_reservation_resource_group_arn on the capacity_reservation_specification.capacity_reservation_target block of aws_spot_instance_request: the provider rejects more than one, so each variant sets one of them and a null choice sets none.

Pick one with a dot shorthand: .capacityReservationId(...).

Implementers

Constructors

SpotInstanceRequestCapacityReservationTarget.capacityReservationId(TfArg<String> capacityReservationId)
Sets capacity_reservation_id.
const
factory
SpotInstanceRequestCapacityReservationTarget.capacityReservationResourceGroupArn(TfArg<String> capacityReservationResourceGroupArn)
Sets capacity_reservation_resource_group_arn.
const
factory

Properties

blockKey → String
The Terraform argument this choice sets.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Map<String, Object?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited