Class FleetState
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class FleetState : ResourceArgs
Constructors
View SourceFleetState()
Declaration
public FleetState()
Properties
View SourceExcessCapacityTerminationPolicy
Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination.
Declaration
public Input<string> ExcessCapacityTerminationPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LaunchTemplateConfig
Nested argument containing EC2 Launch Template configurations. Defined below.
Declaration
public Input<FleetLaunchTemplateConfigGetArgs> LaunchTemplateConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<FleetLaunchTemplateConfigGetArgs> |
OnDemandOptions
Nested argument containing On-Demand configurations. Defined below.
Declaration
public Input<FleetOnDemandOptionsGetArgs> OnDemandOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<FleetOnDemandOptionsGetArgs> |
ReplaceUnhealthyInstances
Whether EC2 Fleet should replace unhealthy instances. Defaults to false.
Declaration
public Input<bool> ReplaceUnhealthyInstances { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SpotOptions
Nested argument containing Spot configurations. Defined below.
Declaration
public Input<FleetSpotOptionsGetArgs> SpotOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<FleetSpotOptionsGetArgs> |
Tags
Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
TargetCapacitySpecification
Nested argument containing target capacity configurations. Defined below.
Declaration
public Input<FleetTargetCapacitySpecificationGetArgs> TargetCapacitySpecification { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<FleetTargetCapacitySpecificationGetArgs> |
TerminateInstances
Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.
Declaration
public Input<bool> TerminateInstances { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
TerminateInstancesWithExpiration
Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.
Declaration
public Input<bool> TerminateInstancesWithExpiration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Type
The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request. Defaults to maintain.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |