FleetArgs class

The set of arguments for Fleet. The set of arguments for Fleet.

Constructors

FleetArgs({Input<String?>? context, Input<String?>? excessCapacityTerminationPolicy, Input<List<FleetFleetInstanceSet>?>? fleetInstanceSets, Input<String?>? fleetState, Input<double?>? fulfilledCapacity, Input<double?>? fulfilledOnDemandCapacity, required Input<List<FleetLaunchTemplateConfig>> launchTemplateConfigs, Input<FleetOnDemandOptions?>? onDemandOptions, Input<String?>? region, Input<bool?>? replaceUnhealthyInstances, Input<FleetSpotOptions?>? spotOptions, Input<Map<String, String>?>? tags, required Input<FleetTargetCapacitySpecification> targetCapacitySpecification, Input<bool?>? terminateInstances, Input<bool?>? terminateInstancesWithExpiration, Input<String?>? type, Input<String?>? validFrom, Input<String?>? validUntil})
Creates a new FleetArgs. context Reserved. excessCapacityTerminationPolicy 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. Supported only for fleets of type maintain. fleetInstanceSets Information about the instances that were launched by the fleet. Available only when type is set to instant. fleetState The state of the EC2 Fleet. fulfilledCapacity The number of units fulfilled by this request compared to the set target capacity. fulfilledOnDemandCapacity The number of units fulfilled by this request compared to the set target On-Demand capacity. launchTemplateConfigs Nested argument containing EC2 Launch Template configurations. Defined below. onDemandOptions Nested argument containing On-Demand configurations. Defined below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. replaceUnhealthyInstances Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain. spotOptions Nested argument containing Spot configurations. Defined below. tags Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. targetCapacitySpecification Nested argument containing target capacity configurations. Defined below. terminateInstances Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false. terminateInstancesWithExpiration Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false. 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, instant. Defaults to maintain. validFrom The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. validUntil The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
const
FleetArgs.fromMap(Map<String, dynamic> map)
factory

Properties

context → Input<String?>?
Reserved.
final
excessCapacityTerminationPolicy → Input<String?>?
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. Supported only for fleets of type maintain.
final
fleetInstanceSets → Input<List<FleetFleetInstanceSet>?>?
Information about the instances that were launched by the fleet. Available only when type is set to instant.
final
fleetState → Input<String?>?
The state of the EC2 Fleet.
final
fulfilledCapacity → Input<double?>?
The number of units fulfilled by this request compared to the set target capacity.
final
fulfilledOnDemandCapacity → Input<double?>?
The number of units fulfilled by this request compared to the set target On-Demand capacity.
final
hashCode → int
The hash code for this object.
no setterinherited
launchTemplateConfigs → Input<List<FleetLaunchTemplateConfig>>
Nested argument containing EC2 Launch Template configurations. Defined below.
final
onDemandOptions → Input<FleetOnDemandOptions?>?
Nested argument containing On-Demand configurations. Defined below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
replaceUnhealthyInstances → Input<bool?>?
Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spotOptions → Input<FleetSpotOptions?>?
Nested argument containing Spot configurations. Defined below.
final
tags → Input<Map<String, String>?>?
Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
targetCapacitySpecification → Input<FleetTargetCapacitySpecification>
Nested argument containing target capacity configurations. Defined below.
final
terminateInstances → Input<bool?>?
Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.
final
terminateInstancesWithExpiration → Input<bool?>?
Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.
final
type → Input<String?>?
The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.
final
validFrom → Input<String?>?
The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
final
validUntil → Input<String?>?
The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
final

Methods

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

Operators

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