pulumi_wasm_providers_aws_mini::ec2::fleet

Struct FleetResult

source
pub struct FleetResult {
Show 19 fields pub arn: Output<String>, pub context: Output<Option<String>>, pub excess_capacity_termination_policy: Output<Option<String>>, pub fleet_instance_sets: Output<Vec<FleetFleetInstanceSet>>, pub fleet_state: Output<String>, pub fulfilled_capacity: Output<f64>, pub fulfilled_on_demand_capacity: Output<f64>, pub launch_template_configs: Output<Vec<FleetLaunchTemplateConfig>>, pub on_demand_options: Output<Option<FleetOnDemandOptions>>, pub replace_unhealthy_instances: Output<Option<bool>>, pub spot_options: Output<Option<FleetSpotOptions>>, pub tags: Output<Option<HashMap<String, String>>>, pub tags_all: Output<HashMap<String, String>>, pub target_capacity_specification: Output<FleetTargetCapacitySpecification>, pub terminate_instances: Output<Option<bool>>, pub terminate_instances_with_expiration: Output<Option<bool>>, pub type_: Output<Option<String>>, pub valid_from: Output<Option<String>>, pub valid_until: Output<Option<String>>,
}

Fields§

§arn: Output<String>

The ARN of the fleet

§context: Output<Option<String>>

Reserved.

§excess_capacity_termination_policy: Output<Option<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.

§fleet_instance_sets: Output<Vec<FleetFleetInstanceSet>>

Information about the instances that were launched by the fleet. Available only when type is set to instant.

§fleet_state: Output<String>

The state of the EC2 Fleet.

§fulfilled_capacity: Output<f64>

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

§fulfilled_on_demand_capacity: Output<f64>

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

§launch_template_configs: Output<Vec<FleetLaunchTemplateConfig>>

Nested argument containing EC2 Launch Template configurations. Defined below.

§on_demand_options: Output<Option<FleetOnDemandOptions>>

Nested argument containing On-Demand configurations. Defined below.

§replace_unhealthy_instances: Output<Option<bool>>

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

§spot_options: Output<Option<FleetSpotOptions>>

Nested argument containing Spot configurations. Defined below.

§tags: Output<Option<HashMap<String, String>>>

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

§tags_all: Output<HashMap<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

§target_capacity_specification: Output<FleetTargetCapacitySpecification>

Nested argument containing target capacity configurations. Defined below.

§terminate_instances: Output<Option<bool>>

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

§terminate_instances_with_expiration: Output<Option<bool>>

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

§type_: Output<Option<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.

§valid_from: Output<Option<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.

§valid_until: Output<Option<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.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.