AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes an EC2 Fleet.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.FleetData

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class FleetData

The FleetData type exposes the following members

Constructors

NameDescription
Public Method FleetData()

Properties

NameTypeDescription
Public Property ActivityStatus Amazon.EC2.FleetActivityStatus

Gets and sets the property ActivityStatus.

The progress of the EC2 Fleet. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the EC2 Fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the EC2 Fleet is decreased, the status is pending_termination while instances are terminating.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Constraints: Maximum 64 ASCII characters

Public Property CreateTime System.DateTime

Gets and sets the property CreateTime.

The creation date and time of the EC2 Fleet.

Public Property ExcessCapacityTerminationPolicy Amazon.EC2.FleetExcessCapacityTerminationPolicy

Gets and sets the property ExcessCapacityTerminationPolicy.

Indicates whether running instances should be terminated if the target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Public Property FleetId System.String

Gets and sets the property FleetId.

The ID of the EC2 Fleet.

Public Property FleetState Amazon.EC2.FleetStateCode

Gets and sets the property FleetState.

The state of the EC2 Fleet.

Public Property FulfilledCapacity System.Double

Gets and sets the property FulfilledCapacity.

The number of units fulfilled by this request compared to the set target capacity.

Public Property FulfilledOnDemandCapacity System.Double

Gets and sets the property FulfilledOnDemandCapacity.

The number of units fulfilled by this request compared to the set target On-Demand capacity.

Public Property LaunchTemplateConfigs System.Collections.Generic.List<Amazon.EC2.Model.FleetLaunchTemplateConfig>

Gets and sets the property LaunchTemplateConfigs.

The launch template and overrides.

Public Property OnDemandOptions Amazon.EC2.Model.OnDemandOptions

Gets and sets the property OnDemandOptions.

The allocation strategy of On-Demand Instances in an EC2 Fleet.

Public Property ReplaceUnhealthyInstances System.Boolean

Gets and sets the property ReplaceUnhealthyInstances.

Indicates whether EC2 Fleet should replace unhealthy instances.

Public Property SpotOptions Amazon.EC2.Model.SpotOptions

Gets and sets the property SpotOptions.

The configuration of Spot Instances in an EC2 Fleet.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags for an EC2 Fleet resource.

Public Property TargetCapacitySpecification Amazon.EC2.Model.TargetCapacitySpecification

Gets and sets the property TargetCapacitySpecification.

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. If the request type is maintain, you can specify a target capacity of 0 and add capacity later.

Public Property TerminateInstancesWithExpiration System.Boolean

Gets and sets the property TerminateInstancesWithExpiration.

Indicates whether running instances should be terminated when the EC2 Fleet expires.

Public Property Type Amazon.EC2.FleetType

Gets and sets the property Type.

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. If you request a certain target capacity, EC2 Fleet only places the required requests; it does not attempt to replenish instances if capacity is diminished, and does not submit requests in alternative capacity pools if capacity is unavailable. To maintain a certain target capacity, EC2 Fleet places the required requests to meet this target capacity. It also automatically replenishes any interrupted Spot Instances. Default: maintain.

Public Property ValidFrom System.DateTime

Gets and sets the property 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.

Public Property ValidUntil System.DateTime

Gets and sets the property ValidUntil.

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new instance requests are placed or able to fulfill the request. The default end date is 7 days from the current date.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms