pub struct SpotFleetRequestArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> SpotFleetRequestArgsBuilder<S>
impl<S: State> SpotFleetRequestArgsBuilder<S>
sourcepub fn build_struct(self) -> SpotFleetRequestArgswhere
S: IsComplete,
pub fn build_struct(self) -> SpotFleetRequestArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn allocation_strategy(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetAllocationStrategy<S>>where
S::AllocationStrategy: IsUnset,
pub fn allocation_strategy(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetAllocationStrategy<S>>where
S::AllocationStrategy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates how to allocate the target capacity across
the Spot pools specified by the Spot fleet request. Valid values: lowestPrice
, diversified
, capacityOptimized
, capacityOptimizedPrioritized
, and priceCapacityOptimized
. The default is
lowestPrice
.
sourcepub fn maybe_allocation_strategy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetAllocationStrategy<S>>where
S::AllocationStrategy: IsUnset,
pub fn maybe_allocation_strategy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetAllocationStrategy<S>>where
S::AllocationStrategy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates how to allocate the target capacity across
the Spot pools specified by the Spot fleet request. Valid values: lowestPrice
, diversified
, capacityOptimized
, capacityOptimizedPrioritized
, and priceCapacityOptimized
. The default is
lowestPrice
.
sourcepub fn context(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetContext<S>>where
S::Context: IsUnset,
pub fn context(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetContext<S>>where
S::Context: IsUnset,
sourcepub fn maybe_context(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetContext<S>>where
S::Context: IsUnset,
pub fn maybe_context(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetContext<S>>where
S::Context: IsUnset,
sourcepub fn excess_capacity_termination_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetExcessCapacityTerminationPolicy<S>>where
S::ExcessCapacityTerminationPolicy: IsUnset,
pub fn excess_capacity_termination_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetExcessCapacityTerminationPolicy<S>>where
S::ExcessCapacityTerminationPolicy: IsUnset,
sourcepub fn maybe_excess_capacity_termination_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetExcessCapacityTerminationPolicy<S>>where
S::ExcessCapacityTerminationPolicy: IsUnset,
pub fn maybe_excess_capacity_termination_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetExcessCapacityTerminationPolicy<S>>where
S::ExcessCapacityTerminationPolicy: IsUnset,
sourcepub fn fleet_type(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetFleetType<S>>where
S::FleetType: IsUnset,
pub fn fleet_type(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetFleetType<S>>where
S::FleetType: IsUnset,
sourcepub fn maybe_fleet_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetFleetType<S>>where
S::FleetType: IsUnset,
pub fn maybe_fleet_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetFleetType<S>>where
S::FleetType: IsUnset,
sourcepub fn iam_fleet_role(
self,
value: impl Into<Output<String>>,
) -> SpotFleetRequestArgsBuilder<SetIamFleetRole<S>>where
S::IamFleetRole: IsUnset,
pub fn iam_fleet_role(
self,
value: impl Into<Output<String>>,
) -> SpotFleetRequestArgsBuilder<SetIamFleetRole<S>>where
S::IamFleetRole: IsUnset,
Required.
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.
sourcepub fn instance_interruption_behaviour(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetInstanceInterruptionBehaviour<S>>where
S::InstanceInterruptionBehaviour: IsUnset,
pub fn instance_interruption_behaviour(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetInstanceInterruptionBehaviour<S>>where
S::InstanceInterruptionBehaviour: IsUnset,
sourcepub fn maybe_instance_interruption_behaviour(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetInstanceInterruptionBehaviour<S>>where
S::InstanceInterruptionBehaviour: IsUnset,
pub fn maybe_instance_interruption_behaviour(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetInstanceInterruptionBehaviour<S>>where
S::InstanceInterruptionBehaviour: IsUnset,
sourcepub fn instance_pools_to_use_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> SpotFleetRequestArgsBuilder<SetInstancePoolsToUseCount<S>>where
S::InstancePoolsToUseCount: IsUnset,
pub fn instance_pools_to_use_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> SpotFleetRequestArgsBuilder<SetInstancePoolsToUseCount<S>>where
S::InstancePoolsToUseCount: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
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.
sourcepub fn maybe_instance_pools_to_use_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> SpotFleetRequestArgsBuilder<SetInstancePoolsToUseCount<S>>where
S::InstancePoolsToUseCount: IsUnset,
pub fn maybe_instance_pools_to_use_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> SpotFleetRequestArgsBuilder<SetInstancePoolsToUseCount<S>>where
S::InstancePoolsToUseCount: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
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.
sourcepub fn launch_specifications(
self,
value: impl Into<Output<Option<Vec<SpotFleetRequestLaunchSpecification>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchSpecifications<S>>where
S::LaunchSpecifications: IsUnset,
pub fn launch_specifications(
self,
value: impl Into<Output<Option<Vec<SpotFleetRequestLaunchSpecification>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchSpecifications<S>>where
S::LaunchSpecifications: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::SpotFleetRequestLaunchSpecification>>,
> as Default>::default()
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.
Note: This takes in similar but not
identical inputs as aws.ec2.Instance
. There are limitations on
what you can specify. See the list of officially supported inputs in the
reference documentation. Any normal aws.ec2.Instance
parameter that corresponds to those inputs may be used and it have
a additional parameter iam_instance_profile_arn
takes aws.iam.InstanceProfile
attribute arn
as input.
sourcepub fn maybe_launch_specifications(
self,
value: Option<impl Into<Output<Option<Vec<SpotFleetRequestLaunchSpecification>>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchSpecifications<S>>where
S::LaunchSpecifications: IsUnset,
pub fn maybe_launch_specifications(
self,
value: Option<impl Into<Output<Option<Vec<SpotFleetRequestLaunchSpecification>>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchSpecifications<S>>where
S::LaunchSpecifications: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::SpotFleetRequestLaunchSpecification>>,
> as Default>::default()
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.
Note: This takes in similar but not
identical inputs as aws.ec2.Instance
. There are limitations on
what you can specify. See the list of officially supported inputs in the
reference documentation. Any normal aws.ec2.Instance
parameter that corresponds to those inputs may be used and it have
a additional parameter iam_instance_profile_arn
takes aws.iam.InstanceProfile
attribute arn
as input.
sourcepub fn launch_template_configs(
self,
value: impl Into<Output<Option<Vec<SpotFleetRequestLaunchTemplateConfig>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchTemplateConfigs<S>>where
S::LaunchTemplateConfigs: IsUnset,
pub fn launch_template_configs(
self,
value: impl Into<Output<Option<Vec<SpotFleetRequestLaunchTemplateConfig>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchTemplateConfigs<S>>where
S::LaunchTemplateConfigs: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::SpotFleetRequestLaunchTemplateConfig>>,
> as Default>::default()
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.
sourcepub fn maybe_launch_template_configs(
self,
value: Option<impl Into<Output<Option<Vec<SpotFleetRequestLaunchTemplateConfig>>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchTemplateConfigs<S>>where
S::LaunchTemplateConfigs: IsUnset,
pub fn maybe_launch_template_configs(
self,
value: Option<impl Into<Output<Option<Vec<SpotFleetRequestLaunchTemplateConfig>>>>>,
) -> SpotFleetRequestArgsBuilder<SetLaunchTemplateConfigs<S>>where
S::LaunchTemplateConfigs: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::SpotFleetRequestLaunchTemplateConfig>>,
> as Default>::default()
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.
sourcepub fn load_balancers(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetLoadBalancers<S>>where
S::LoadBalancers: IsUnset,
pub fn load_balancers(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetLoadBalancers<S>>where
S::LoadBalancers: IsUnset,
sourcepub fn maybe_load_balancers(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> SpotFleetRequestArgsBuilder<SetLoadBalancers<S>>where
S::LoadBalancers: IsUnset,
pub fn maybe_load_balancers(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> SpotFleetRequestArgsBuilder<SetLoadBalancers<S>>where
S::LoadBalancers: IsUnset,
sourcepub fn on_demand_allocation_strategy(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandAllocationStrategy<S>>where
S::OnDemandAllocationStrategy: IsUnset,
pub fn on_demand_allocation_strategy(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandAllocationStrategy<S>>where
S::OnDemandAllocationStrategy: IsUnset,
sourcepub fn maybe_on_demand_allocation_strategy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandAllocationStrategy<S>>where
S::OnDemandAllocationStrategy: IsUnset,
pub fn maybe_on_demand_allocation_strategy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandAllocationStrategy<S>>where
S::OnDemandAllocationStrategy: IsUnset,
sourcepub fn on_demand_max_total_price(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandMaxTotalPrice<S>>where
S::OnDemandMaxTotalPrice: IsUnset,
pub fn on_demand_max_total_price(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandMaxTotalPrice<S>>where
S::OnDemandMaxTotalPrice: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The maximum amount per hour for On-Demand Instances that you’re willing to pay. When the maximum amount you’re willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
sourcepub fn maybe_on_demand_max_total_price(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandMaxTotalPrice<S>>where
S::OnDemandMaxTotalPrice: IsUnset,
pub fn maybe_on_demand_max_total_price(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandMaxTotalPrice<S>>where
S::OnDemandMaxTotalPrice: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The maximum amount per hour for On-Demand Instances that you’re willing to pay. When the maximum amount you’re willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
sourcepub fn on_demand_target_capacity(
self,
value: impl Into<Output<Option<i32>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandTargetCapacity<S>>where
S::OnDemandTargetCapacity: IsUnset,
pub fn on_demand_target_capacity(
self,
value: impl Into<Output<Option<i32>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandTargetCapacity<S>>where
S::OnDemandTargetCapacity: IsUnset,
sourcepub fn maybe_on_demand_target_capacity(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandTargetCapacity<S>>where
S::OnDemandTargetCapacity: IsUnset,
pub fn maybe_on_demand_target_capacity(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> SpotFleetRequestArgsBuilder<SetOnDemandTargetCapacity<S>>where
S::OnDemandTargetCapacity: IsUnset,
sourcepub fn replace_unhealthy_instances(
self,
value: impl Into<Output<Option<bool>>>,
) -> SpotFleetRequestArgsBuilder<SetReplaceUnhealthyInstances<S>>where
S::ReplaceUnhealthyInstances: IsUnset,
pub fn replace_unhealthy_instances(
self,
value: impl Into<Output<Option<bool>>>,
) -> SpotFleetRequestArgsBuilder<SetReplaceUnhealthyInstances<S>>where
S::ReplaceUnhealthyInstances: IsUnset,
sourcepub fn maybe_replace_unhealthy_instances(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SpotFleetRequestArgsBuilder<SetReplaceUnhealthyInstances<S>>where
S::ReplaceUnhealthyInstances: IsUnset,
pub fn maybe_replace_unhealthy_instances(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SpotFleetRequestArgsBuilder<SetReplaceUnhealthyInstances<S>>where
S::ReplaceUnhealthyInstances: IsUnset,
sourcepub fn spot_maintenance_strategies(
self,
value: impl Into<Output<Option<SpotFleetRequestSpotMaintenanceStrategies>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotMaintenanceStrategies<S>>where
S::SpotMaintenanceStrategies: IsUnset,
pub fn spot_maintenance_strategies(
self,
value: impl Into<Output<Option<SpotFleetRequestSpotMaintenanceStrategies>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotMaintenanceStrategies<S>>where
S::SpotMaintenanceStrategies: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::SpotFleetRequestSpotMaintenanceStrategies>,
> as Default>::default()
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
sourcepub fn maybe_spot_maintenance_strategies(
self,
value: Option<impl Into<Output<Option<SpotFleetRequestSpotMaintenanceStrategies>>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotMaintenanceStrategies<S>>where
S::SpotMaintenanceStrategies: IsUnset,
pub fn maybe_spot_maintenance_strategies(
self,
value: Option<impl Into<Output<Option<SpotFleetRequestSpotMaintenanceStrategies>>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotMaintenanceStrategies<S>>where
S::SpotMaintenanceStrategies: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::SpotFleetRequestSpotMaintenanceStrategies>,
> as Default>::default()
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
sourcepub fn spot_price(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
pub fn spot_price(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
sourcepub fn maybe_spot_price(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
pub fn maybe_spot_price(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A map of tags to assign to the resource. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A map of tags to assign to the resource. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
sourcepub fn target_capacity(
self,
value: impl Into<Output<i32>>,
) -> SpotFleetRequestArgsBuilder<SetTargetCapacity<S>>where
S::TargetCapacity: IsUnset,
pub fn target_capacity(
self,
value: impl Into<Output<i32>>,
) -> SpotFleetRequestArgsBuilder<SetTargetCapacity<S>>where
S::TargetCapacity: IsUnset,
Required.
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.
sourcepub fn target_capacity_unit_type(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetCapacityUnitType<S>>where
S::TargetCapacityUnitType: IsUnset,
pub fn target_capacity_unit_type(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetCapacityUnitType<S>>where
S::TargetCapacityUnitType: IsUnset,
sourcepub fn maybe_target_capacity_unit_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetCapacityUnitType<S>>where
S::TargetCapacityUnitType: IsUnset,
pub fn maybe_target_capacity_unit_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetCapacityUnitType<S>>where
S::TargetCapacityUnitType: IsUnset,
sourcepub fn target_group_arns(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetGroupArns<S>>where
S::TargetGroupArns: IsUnset,
pub fn target_group_arns(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetGroupArns<S>>where
S::TargetGroupArns: IsUnset,
sourcepub fn maybe_target_group_arns(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetGroupArns<S>>where
S::TargetGroupArns: IsUnset,
pub fn maybe_target_group_arns(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> SpotFleetRequestArgsBuilder<SetTargetGroupArns<S>>where
S::TargetGroupArns: IsUnset,
sourcepub fn terminate_instances_on_delete(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetTerminateInstancesOnDelete<S>>where
S::TerminateInstancesOnDelete: IsUnset,
pub fn terminate_instances_on_delete(
self,
value: impl Into<Output<Option<String>>>,
) -> SpotFleetRequestArgsBuilder<SetTerminateInstancesOnDelete<S>>where
S::TerminateInstancesOnDelete: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates whether running Spot
instances should be terminated when the resource is deleted (and the Spot fleet request cancelled).
If no value is specified, the value of the terminate_instances_with_expiration
argument is used.
sourcepub fn maybe_terminate_instances_on_delete(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetTerminateInstancesOnDelete<S>>where
S::TerminateInstancesOnDelete: IsUnset,
pub fn maybe_terminate_instances_on_delete(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SpotFleetRequestArgsBuilder<SetTerminateInstancesOnDelete<S>>where
S::TerminateInstancesOnDelete: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates whether running Spot
instances should be terminated when the resource is deleted (and the Spot fleet request cancelled).
If no value is specified, the value of the terminate_instances_with_expiration
argument is used.