Class SpotFleetRequestState
Inheritance
System.Object
SpotFleetRequestState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Aws.dll
Syntax
public sealed class SpotFleetRequestState : ResourceArgs
Constructors
View Source
SpotFleetRequestState()
Declaration
public SpotFleetRequestState()
Properties
View Source
AllocationStrategy
Indicates how to allocate the target capacity across
the Spot pools specified by the Spot fleet request. The default is
lowestPrice.
Declaration
public Input<string> AllocationStrategy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ClientToken
Declaration
public Input<string> ClientToken { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ExcessCapacityTerminationPolicy
Indicates whether running Spot
instances should be terminated if the target capacity of the Spot fleet
request is decreased below the current size of the Spot fleet.
Declaration
public Input<string> ExcessCapacityTerminationPolicy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
FleetType
The type of fleet request. Indicates whether the Spot Fleet only requests the target
capacity or also attempts to maintain it. Default is maintain.
Declaration
public Input<string> FleetType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IamFleetRole
Grants the Spot fleet permission to terminate
Spot instances on your behalf when you cancel its Spot fleet request using
CancelSpotFleetRequests or when the Spot fleet request expires, if you set
terminateInstancesWithExpiration.
Declaration
public Input<string> IamFleetRole { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceInterruptionBehaviour
Indicates whether a Spot
instance stops or terminates when it is interrupted. Default is
terminate.
Declaration
public Input<string> InstanceInterruptionBehaviour { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstancePoolsToUseCount
The number of Spot pools across which to allocate your target Spot capacity.
Valid only when allocation_strategy is set to lowestPrice. Spot Fleet selects
the cheapest Spot pools and evenly allocates your target Spot capacity across
the number of Spot pools that you specify.
Declaration
public Input<int> InstancePoolsToUseCount { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
LaunchSpecifications
Used to define the launch configuration of the
spot-fleet request. Can be specified multiple times to define different bids
across different markets and instance types. Conflicts with launch_template_config. At least one of launch_specification or launch_template_config is required.
Declaration
public InputList<SpotFleetRequestLaunchSpecificationGetArgs> LaunchSpecifications { get; set; }
Property Value
View Source
LaunchTemplateConfigs
Launch template configuration block. See Launch Template Configs below for more details. Conflicts with launch_specification. At least one of launch_specification or launch_template_config is required.
Declaration
public InputList<SpotFleetRequestLaunchTemplateConfigGetArgs> LaunchTemplateConfigs { get; set; }
Property Value
View Source
LoadBalancers
A list of elastic load balancer names to add to the Spot fleet.
Declaration
public InputList<string> LoadBalancers { get; set; }
Property Value
View Source
ReplaceUnhealthyInstances
Indicates whether Spot fleet should replace unhealthy instances. Default false.
Declaration
public Input<bool> ReplaceUnhealthyInstances { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
SpotPrice
The maximum spot bid for this override request.
Declaration
public Input<string> SpotPrice { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SpotRequestState
The state of the Spot fleet request.
Declaration
public Input<string> SpotRequestState { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
TargetCapacity
The number of units to request. You can choose to set the
target capacity in terms of instances or a performance characteristic that is
important to your application workload, such as vCPUs, memory, or I/O.
Declaration
public Input<int> TargetCapacity { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
TargetGroupArns
A list of aws.alb.TargetGroup ARNs, for use with Application Load Balancing.
Declaration
public InputList<string> TargetGroupArns { get; set; }
Property Value
View Source
TerminateInstancesWithExpiration
Indicates whether running Spot
instances should be terminated when the Spot fleet request expires.
Declaration
public Input<bool> TerminateInstancesWithExpiration { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ValidFrom
The start date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
Declaration
public Input<string> ValidFrom { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ValidUntil
The end date and time of the request, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request. Defaults to 24 hours.
Declaration
public Input<string> ValidUntil { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
WaitForFulfillment
If set, this provider will
wait for the Spot Request to be fulfilled, and will throw an error if the
timeout of 10m is reached.
Declaration
public Input<bool> WaitForFulfillment { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|