permalink |
---|
/spot_fleet_request/ |
spot_fleet_request
represents the aws_spot_fleet_request
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withAllocationStrategy()
fn withContext()
fn withExcessCapacityTerminationPolicy()
fn withFleetType()
fn withIamFleetRole()
fn withInstanceInterruptionBehaviour()
fn withInstancePoolsToUseCount()
fn withLaunchSpecification()
fn withLaunchSpecificationMixin()
fn withLaunchTemplateConfig()
fn withLaunchTemplateConfigMixin()
fn withLoadBalancers()
fn withOnDemandAllocationStrategy()
fn withOnDemandMaxTotalPrice()
fn withOnDemandTargetCapacity()
fn withReplaceUnhealthyInstances()
fn withSpotMaintenanceStrategies()
fn withSpotMaintenanceStrategiesMixin()
fn withSpotPrice()
fn withTags()
fn withTagsAll()
fn withTargetCapacity()
fn withTargetCapacityUnitType()
fn withTargetGroupArns()
fn withTerminateInstancesOnDelete()
fn withTerminateInstancesWithExpiration()
fn withTimeouts()
fn withTimeoutsMixin()
fn withValidFrom()
fn withValidUntil()
fn withWaitForFulfillment()
obj launch_specification
obj launch_template_config
fn new()
obj launch_template_config.launch_template_specification
obj launch_template_config.overrides
fn new()
obj launch_template_config.overrides.instance_requirements
fn new()
obj launch_template_config.overrides.instance_requirements.accelerator_count
obj launch_template_config.overrides.instance_requirements.accelerator_total_memory_mib
obj launch_template_config.overrides.instance_requirements.baseline_ebs_bandwidth_mbps
obj launch_template_config.overrides.instance_requirements.memory_gib_per_vcpu
obj launch_template_config.overrides.instance_requirements.memory_mib
obj launch_template_config.overrides.instance_requirements.network_bandwidth_gbps
obj launch_template_config.overrides.instance_requirements.network_interface_count
obj launch_template_config.overrides.instance_requirements.total_local_storage_gb
obj launch_template_config.overrides.instance_requirements.vcpu_count
obj spot_maintenance_strategies
obj timeouts
new()
aws.spot_fleet_request.new
injects a new aws_spot_fleet_request
Terraform resource
block into the root module document.
Additionally, this inserts a private function into the _ref
attribute that generates references to attributes of the
resource. For example, if you added a new instance to the root using:
# arguments omitted for brevity
aws.spot_fleet_request.new('some_id')
You can get the reference to the id
field of the created aws.spot_fleet_request
using the reference:
$._ref.aws_spot_fleet_request.some_id.get('id')
This is the same as directly entering "${ aws_spot_fleet_request.some_id.id }"
as the value.
NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use super
, self
,
or $
to refer to the root object. Instead, make an explicit outer object using local
.
Args:
resourceLabel
(string
): The name label of the block.allocation_strategy
(string
): Set theallocation_strategy
field on the resulting resource block. Whennull
, theallocation_strategy
field will be omitted from the resulting object.context
(string
): Set thecontext
field on the resulting resource block. Whennull
, thecontext
field will be omitted from the resulting object.excess_capacity_termination_policy
(string
): Set theexcess_capacity_termination_policy
field on the resulting resource block. Whennull
, theexcess_capacity_termination_policy
field will be omitted from the resulting object.fleet_type
(string
): Set thefleet_type
field on the resulting resource block. Whennull
, thefleet_type
field will be omitted from the resulting object.iam_fleet_role
(string
): Set theiam_fleet_role
field on the resulting resource block.instance_interruption_behaviour
(string
): Set theinstance_interruption_behaviour
field on the resulting resource block. Whennull
, theinstance_interruption_behaviour
field will be omitted from the resulting object.instance_pools_to_use_count
(number
): Set theinstance_pools_to_use_count
field on the resulting resource block. Whennull
, theinstance_pools_to_use_count
field will be omitted from the resulting object.load_balancers
(list
): Set theload_balancers
field on the resulting resource block. Whennull
, theload_balancers
field will be omitted from the resulting object.on_demand_allocation_strategy
(string
): Set theon_demand_allocation_strategy
field on the resulting resource block. Whennull
, theon_demand_allocation_strategy
field will be omitted from the resulting object.on_demand_max_total_price
(string
): Set theon_demand_max_total_price
field on the resulting resource block. Whennull
, theon_demand_max_total_price
field will be omitted from the resulting object.on_demand_target_capacity
(number
): Set theon_demand_target_capacity
field on the resulting resource block. Whennull
, theon_demand_target_capacity
field will be omitted from the resulting object.replace_unhealthy_instances
(bool
): Set thereplace_unhealthy_instances
field on the resulting resource block. Whennull
, thereplace_unhealthy_instances
field will be omitted from the resulting object.spot_price
(string
): Set thespot_price
field on the resulting resource block. Whennull
, thespot_price
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting resource block. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting resource block. Whennull
, thetags_all
field will be omitted from the resulting object.target_capacity
(number
): Set thetarget_capacity
field on the resulting resource block.target_capacity_unit_type
(string
): Set thetarget_capacity_unit_type
field on the resulting resource block. Whennull
, thetarget_capacity_unit_type
field will be omitted from the resulting object.target_group_arns
(list
): Set thetarget_group_arns
field on the resulting resource block. Whennull
, thetarget_group_arns
field will be omitted from the resulting object.terminate_instances_on_delete
(string
): Set theterminate_instances_on_delete
field on the resulting resource block. Whennull
, theterminate_instances_on_delete
field will be omitted from the resulting object.terminate_instances_with_expiration
(bool
): Set theterminate_instances_with_expiration
field on the resulting resource block. Whennull
, theterminate_instances_with_expiration
field will be omitted from the resulting object.valid_from
(string
): Set thevalid_from
field on the resulting resource block. Whennull
, thevalid_from
field will be omitted from the resulting object.valid_until
(string
): Set thevalid_until
field on the resulting resource block. Whennull
, thevalid_until
field will be omitted from the resulting object.wait_for_fulfillment
(bool
): Set thewait_for_fulfillment
field on the resulting resource block. Whennull
, thewait_for_fulfillment
field will be omitted from the resulting object.launch_specification
(list[obj]
): Set thelaunch_specification
field on the resulting resource block. Whennull
, thelaunch_specification
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_specification.new constructor.launch_template_config
(list[obj]
): Set thelaunch_template_config
field on the resulting resource block. Whennull
, thelaunch_template_config
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.new constructor.spot_maintenance_strategies
(list[obj]
): Set thespot_maintenance_strategies
field on the resulting resource block. Whennull
, thespot_maintenance_strategies
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.spot_maintenance_strategies.new constructor.timeouts
(obj
): Set thetimeouts
field on the resulting resource block. Whennull
, thetimeouts
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.timeouts.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.spot_fleet_request.newAttrs
constructs a new object with attributes and blocks configured for the spot_fleet_request
Terraform resource.
Unlike aws.spot_fleet_request.new, this function will not inject the resource
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withResource function to build a complete block.
This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to injecting into a complete block.
Args:
allocation_strategy
(string
): Set theallocation_strategy
field on the resulting object. Whennull
, theallocation_strategy
field will be omitted from the resulting object.context
(string
): Set thecontext
field on the resulting object. Whennull
, thecontext
field will be omitted from the resulting object.excess_capacity_termination_policy
(string
): Set theexcess_capacity_termination_policy
field on the resulting object. Whennull
, theexcess_capacity_termination_policy
field will be omitted from the resulting object.fleet_type
(string
): Set thefleet_type
field on the resulting object. Whennull
, thefleet_type
field will be omitted from the resulting object.iam_fleet_role
(string
): Set theiam_fleet_role
field on the resulting object.instance_interruption_behaviour
(string
): Set theinstance_interruption_behaviour
field on the resulting object. Whennull
, theinstance_interruption_behaviour
field will be omitted from the resulting object.instance_pools_to_use_count
(number
): Set theinstance_pools_to_use_count
field on the resulting object. Whennull
, theinstance_pools_to_use_count
field will be omitted from the resulting object.load_balancers
(list
): Set theload_balancers
field on the resulting object. Whennull
, theload_balancers
field will be omitted from the resulting object.on_demand_allocation_strategy
(string
): Set theon_demand_allocation_strategy
field on the resulting object. Whennull
, theon_demand_allocation_strategy
field will be omitted from the resulting object.on_demand_max_total_price
(string
): Set theon_demand_max_total_price
field on the resulting object. Whennull
, theon_demand_max_total_price
field will be omitted from the resulting object.on_demand_target_capacity
(number
): Set theon_demand_target_capacity
field on the resulting object. Whennull
, theon_demand_target_capacity
field will be omitted from the resulting object.replace_unhealthy_instances
(bool
): Set thereplace_unhealthy_instances
field on the resulting object. Whennull
, thereplace_unhealthy_instances
field will be omitted from the resulting object.spot_price
(string
): Set thespot_price
field on the resulting object. Whennull
, thespot_price
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting object. Whennull
, thetags_all
field will be omitted from the resulting object.target_capacity
(number
): Set thetarget_capacity
field on the resulting object.target_capacity_unit_type
(string
): Set thetarget_capacity_unit_type
field on the resulting object. Whennull
, thetarget_capacity_unit_type
field will be omitted from the resulting object.target_group_arns
(list
): Set thetarget_group_arns
field on the resulting object. Whennull
, thetarget_group_arns
field will be omitted from the resulting object.terminate_instances_on_delete
(string
): Set theterminate_instances_on_delete
field on the resulting object. Whennull
, theterminate_instances_on_delete
field will be omitted from the resulting object.terminate_instances_with_expiration
(bool
): Set theterminate_instances_with_expiration
field on the resulting object. Whennull
, theterminate_instances_with_expiration
field will be omitted from the resulting object.valid_from
(string
): Set thevalid_from
field on the resulting object. Whennull
, thevalid_from
field will be omitted from the resulting object.valid_until
(string
): Set thevalid_until
field on the resulting object. Whennull
, thevalid_until
field will be omitted from the resulting object.wait_for_fulfillment
(bool
): Set thewait_for_fulfillment
field on the resulting object. Whennull
, thewait_for_fulfillment
field will be omitted from the resulting object.launch_specification
(list[obj]
): Set thelaunch_specification
field on the resulting object. Whennull
, thelaunch_specification
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_specification.new constructor.launch_template_config
(list[obj]
): Set thelaunch_template_config
field on the resulting object. Whennull
, thelaunch_template_config
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.new constructor.spot_maintenance_strategies
(list[obj]
): Set thespot_maintenance_strategies
field on the resulting object. Whennull
, thespot_maintenance_strategies
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.spot_maintenance_strategies.new constructor.timeouts
(obj
): Set thetimeouts
field on the resulting object. Whennull
, thetimeouts
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.timeouts.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
spot_fleet_request
resource into the root Terraform configuration.
withAllocationStrategy()
aws.string.withAllocationStrategy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the allocation_strategy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theallocation_strategy
field.
withContext()
aws.string.withContext
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the context field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thecontext
field.
withExcessCapacityTerminationPolicy()
aws.string.withExcessCapacityTerminationPolicy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the excess_capacity_termination_policy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theexcess_capacity_termination_policy
field.
withFleetType()
aws.string.withFleetType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the fleet_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thefleet_type
field.
withIamFleetRole()
aws.string.withIamFleetRole
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the iam_fleet_role field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theiam_fleet_role
field.
withInstanceInterruptionBehaviour()
aws.string.withInstanceInterruptionBehaviour
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the instance_interruption_behaviour field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theinstance_interruption_behaviour
field.
withInstancePoolsToUseCount()
aws.number.withInstancePoolsToUseCount
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the instance_pools_to_use_count field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for theinstance_pools_to_use_count
field.
withLaunchSpecification()
aws.list[obj].withLaunchSpecification
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the launch_specification field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withLaunchSpecificationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelaunch_specification
field.
withLaunchSpecificationMixin()
aws.list[obj].withLaunchSpecificationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the launch_specification field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withLaunchSpecification
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelaunch_specification
field.
withLaunchTemplateConfig()
aws.list[obj].withLaunchTemplateConfig
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the launch_template_config field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withLaunchTemplateConfigMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelaunch_template_config
field.
withLaunchTemplateConfigMixin()
aws.list[obj].withLaunchTemplateConfigMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the launch_template_config field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withLaunchTemplateConfig
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelaunch_template_config
field.
withLoadBalancers()
aws.list.withLoadBalancers
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the load_balancers field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theload_balancers
field.
withOnDemandAllocationStrategy()
aws.string.withOnDemandAllocationStrategy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the on_demand_allocation_strategy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theon_demand_allocation_strategy
field.
withOnDemandMaxTotalPrice()
aws.string.withOnDemandMaxTotalPrice
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the on_demand_max_total_price field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theon_demand_max_total_price
field.
withOnDemandTargetCapacity()
aws.number.withOnDemandTargetCapacity
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the on_demand_target_capacity field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for theon_demand_target_capacity
field.
withReplaceUnhealthyInstances()
aws.bool.withReplaceUnhealthyInstances
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the replace_unhealthy_instances field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thereplace_unhealthy_instances
field.
withSpotMaintenanceStrategies()
aws.list[obj].withSpotMaintenanceStrategies
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the spot_maintenance_strategies field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withSpotMaintenanceStrategiesMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thespot_maintenance_strategies
field.
withSpotMaintenanceStrategiesMixin()
aws.list[obj].withSpotMaintenanceStrategiesMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the spot_maintenance_strategies field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withSpotMaintenanceStrategies
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thespot_maintenance_strategies
field.
withSpotPrice()
aws.string.withSpotPrice
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the spot_price field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thespot_price
field.
withTags()
aws.obj.withTags
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags
field.
withTagsAll()
aws.obj.withTagsAll
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags_all field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags_all
field.
withTargetCapacity()
aws.number.withTargetCapacity
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the target_capacity field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thetarget_capacity
field.
withTargetCapacityUnitType()
aws.string.withTargetCapacityUnitType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the target_capacity_unit_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thetarget_capacity_unit_type
field.
withTargetGroupArns()
aws.list.withTargetGroupArns
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the target_group_arns field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thetarget_group_arns
field.
withTerminateInstancesOnDelete()
aws.string.withTerminateInstancesOnDelete
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the terminate_instances_on_delete field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theterminate_instances_on_delete
field.
withTerminateInstancesWithExpiration()
aws.bool.withTerminateInstancesWithExpiration
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the terminate_instances_with_expiration field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theterminate_instances_with_expiration
field.
withTimeouts()
aws.obj.withTimeouts
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the timeouts field.
This function will replace the map with the passed in value
. If you wish to instead merge the
passed in value to the existing map, use the aws.obj.withTimeoutsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetimeouts
field.
withTimeoutsMixin()
aws.obj.withTimeoutsMixin
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the timeouts field.
This function will merge the passed in value to the existing map. If you wish
to instead replace the entire map with the passed in value
, use the aws.obj.withTimeouts
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetimeouts
field.
withValidFrom()
aws.string.withValidFrom
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the valid_from field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thevalid_from
field.
withValidUntil()
aws.string.withValidUntil
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the valid_until field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thevalid_until
field.
withWaitForFulfillment()
aws.bool.withWaitForFulfillment
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the wait_for_fulfillment field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thewait_for_fulfillment
field.
new()
aws.spot_fleet_request.launch_specification.new
constructs a new object with attributes and blocks configured for the launch_specification
Terraform sub block.
Args:
ami
(string
): Set theami
field on the resulting object.associate_public_ip_address
(bool
): Set theassociate_public_ip_address
field on the resulting object. Whennull
, theassociate_public_ip_address
field will be omitted from the resulting object.availability_zone
(string
): Set theavailability_zone
field on the resulting object. Whennull
, theavailability_zone
field will be omitted from the resulting object.ebs_optimized
(bool
): Set theebs_optimized
field on the resulting object. Whennull
, theebs_optimized
field will be omitted from the resulting object.iam_instance_profile
(string
): Set theiam_instance_profile
field on the resulting object. Whennull
, theiam_instance_profile
field will be omitted from the resulting object.iam_instance_profile_arn
(string
): Set theiam_instance_profile_arn
field on the resulting object. Whennull
, theiam_instance_profile_arn
field will be omitted from the resulting object.instance_type
(string
): Set theinstance_type
field on the resulting object.key_name
(string
): Set thekey_name
field on the resulting object. Whennull
, thekey_name
field will be omitted from the resulting object.monitoring
(bool
): Set themonitoring
field on the resulting object. Whennull
, themonitoring
field will be omitted from the resulting object.placement_group
(string
): Set theplacement_group
field on the resulting object. Whennull
, theplacement_group
field will be omitted from the resulting object.placement_tenancy
(string
): Set theplacement_tenancy
field on the resulting object. Whennull
, theplacement_tenancy
field will be omitted from the resulting object.spot_price
(string
): Set thespot_price
field on the resulting object. Whennull
, thespot_price
field will be omitted from the resulting object.subnet_id
(string
): Set thesubnet_id
field on the resulting object. Whennull
, thesubnet_id
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
field will be omitted from the resulting object.user_data
(string
): Set theuser_data
field on the resulting object. Whennull
, theuser_data
field will be omitted from the resulting object.vpc_security_group_ids
(list
): Set thevpc_security_group_ids
field on the resulting object. Whennull
, thevpc_security_group_ids
field will be omitted from the resulting object.weighted_capacity
(string
): Set theweighted_capacity
field on the resulting object. Whennull
, theweighted_capacity
field will be omitted from the resulting object.ebs_block_device
(list[obj]
): Set theebs_block_device
field on the resulting object. Whennull
, theebs_block_device
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_specification.ebs_block_device.new constructor.ephemeral_block_device
(list[obj]
): Set theephemeral_block_device
field on the resulting object. Whennull
, theephemeral_block_device
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_specification.ephemeral_block_device.new constructor.root_block_device
(list[obj]
): Set theroot_block_device
field on the resulting object. Whennull
, theroot_block_device
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_specification.root_block_device.new constructor.
Returns:
- An attribute object that represents the
launch_specification
sub block.
new()
aws.spot_fleet_request.launch_specification.ebs_block_device.new
constructs a new object with attributes and blocks configured for the ebs_block_device
Terraform sub block.
Args:
delete_on_termination
(bool
): Set thedelete_on_termination
field on the resulting object. Whennull
, thedelete_on_termination
field will be omitted from the resulting object.device_name
(string
): Set thedevice_name
field on the resulting object.encrypted
(bool
): Set theencrypted
field on the resulting object. Whennull
, theencrypted
field will be omitted from the resulting object.iops
(number
): Set theiops
field on the resulting object. Whennull
, theiops
field will be omitted from the resulting object.kms_key_id
(string
): Set thekms_key_id
field on the resulting object. Whennull
, thekms_key_id
field will be omitted from the resulting object.snapshot_id
(string
): Set thesnapshot_id
field on the resulting object. Whennull
, thesnapshot_id
field will be omitted from the resulting object.throughput
(number
): Set thethroughput
field on the resulting object. Whennull
, thethroughput
field will be omitted from the resulting object.volume_size
(number
): Set thevolume_size
field on the resulting object. Whennull
, thevolume_size
field will be omitted from the resulting object.volume_type
(string
): Set thevolume_type
field on the resulting object. Whennull
, thevolume_type
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
ebs_block_device
sub block.
new()
aws.spot_fleet_request.launch_specification.ephemeral_block_device.new
constructs a new object with attributes and blocks configured for the ephemeral_block_device
Terraform sub block.
Args:
device_name
(string
): Set thedevice_name
field on the resulting object.virtual_name
(string
): Set thevirtual_name
field on the resulting object.
Returns:
- An attribute object that represents the
ephemeral_block_device
sub block.
new()
aws.spot_fleet_request.launch_specification.root_block_device.new
constructs a new object with attributes and blocks configured for the root_block_device
Terraform sub block.
Args:
delete_on_termination
(bool
): Set thedelete_on_termination
field on the resulting object. Whennull
, thedelete_on_termination
field will be omitted from the resulting object.encrypted
(bool
): Set theencrypted
field on the resulting object. Whennull
, theencrypted
field will be omitted from the resulting object.iops
(number
): Set theiops
field on the resulting object. Whennull
, theiops
field will be omitted from the resulting object.kms_key_id
(string
): Set thekms_key_id
field on the resulting object. Whennull
, thekms_key_id
field will be omitted from the resulting object.throughput
(number
): Set thethroughput
field on the resulting object. Whennull
, thethroughput
field will be omitted from the resulting object.volume_size
(number
): Set thevolume_size
field on the resulting object. Whennull
, thevolume_size
field will be omitted from the resulting object.volume_type
(string
): Set thevolume_type
field on the resulting object. Whennull
, thevolume_type
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
root_block_device
sub block.
new()
aws.spot_fleet_request.launch_template_config.new
constructs a new object with attributes and blocks configured for the launch_template_config
Terraform sub block.
Args:
launch_template_specification
(list[obj]
): Set thelaunch_template_specification
field on the resulting object. Whennull
, thelaunch_template_specification
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.launch_template_specification.new constructor.overrides
(list[obj]
): Set theoverrides
field on the resulting object. Whennull
, theoverrides
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.new constructor.
Returns:
- An attribute object that represents the
launch_template_config
sub block.
new()
aws.spot_fleet_request.launch_template_config.launch_template_specification.new
constructs a new object with attributes and blocks configured for the launch_template_specification
Terraform sub block.
Args:
name
(string
): Set thename
field on the resulting object. Whennull
, thename
field will be omitted from the resulting object.version
(string
): Set theversion
field on the resulting object. Whennull
, theversion
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
launch_template_specification
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.new
constructs a new object with attributes and blocks configured for the overrides
Terraform sub block.
Args:
availability_zone
(string
): Set theavailability_zone
field on the resulting object. Whennull
, theavailability_zone
field will be omitted from the resulting object.instance_type
(string
): Set theinstance_type
field on the resulting object. Whennull
, theinstance_type
field will be omitted from the resulting object.priority
(number
): Set thepriority
field on the resulting object. Whennull
, thepriority
field will be omitted from the resulting object.spot_price
(string
): Set thespot_price
field on the resulting object. Whennull
, thespot_price
field will be omitted from the resulting object.subnet_id
(string
): Set thesubnet_id
field on the resulting object. Whennull
, thesubnet_id
field will be omitted from the resulting object.weighted_capacity
(number
): Set theweighted_capacity
field on the resulting object. Whennull
, theweighted_capacity
field will be omitted from the resulting object.instance_requirements
(list[obj]
): Set theinstance_requirements
field on the resulting object. Whennull
, theinstance_requirements
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.new constructor.
Returns:
- An attribute object that represents the
overrides
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.new
constructs a new object with attributes and blocks configured for the instance_requirements
Terraform sub block.
Args:
accelerator_manufacturers
(list
): Set theaccelerator_manufacturers
field on the resulting object. Whennull
, theaccelerator_manufacturers
field will be omitted from the resulting object.accelerator_names
(list
): Set theaccelerator_names
field on the resulting object. Whennull
, theaccelerator_names
field will be omitted from the resulting object.accelerator_types
(list
): Set theaccelerator_types
field on the resulting object. Whennull
, theaccelerator_types
field will be omitted from the resulting object.allowed_instance_types
(list
): Set theallowed_instance_types
field on the resulting object. Whennull
, theallowed_instance_types
field will be omitted from the resulting object.bare_metal
(string
): Set thebare_metal
field on the resulting object. Whennull
, thebare_metal
field will be omitted from the resulting object.burstable_performance
(string
): Set theburstable_performance
field on the resulting object. Whennull
, theburstable_performance
field will be omitted from the resulting object.cpu_manufacturers
(list
): Set thecpu_manufacturers
field on the resulting object. Whennull
, thecpu_manufacturers
field will be omitted from the resulting object.excluded_instance_types
(list
): Set theexcluded_instance_types
field on the resulting object. Whennull
, theexcluded_instance_types
field will be omitted from the resulting object.instance_generations
(list
): Set theinstance_generations
field on the resulting object. Whennull
, theinstance_generations
field will be omitted from the resulting object.local_storage
(string
): Set thelocal_storage
field on the resulting object. Whennull
, thelocal_storage
field will be omitted from the resulting object.local_storage_types
(list
): Set thelocal_storage_types
field on the resulting object. Whennull
, thelocal_storage_types
field will be omitted from the resulting object.on_demand_max_price_percentage_over_lowest_price
(number
): Set theon_demand_max_price_percentage_over_lowest_price
field on the resulting object. Whennull
, theon_demand_max_price_percentage_over_lowest_price
field will be omitted from the resulting object.require_hibernate_support
(bool
): Set therequire_hibernate_support
field on the resulting object. Whennull
, therequire_hibernate_support
field will be omitted from the resulting object.spot_max_price_percentage_over_lowest_price
(number
): Set thespot_max_price_percentage_over_lowest_price
field on the resulting object. Whennull
, thespot_max_price_percentage_over_lowest_price
field will be omitted from the resulting object.accelerator_count
(list[obj]
): Set theaccelerator_count
field on the resulting object. Whennull
, theaccelerator_count
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.accelerator_count.new constructor.accelerator_total_memory_mib
(list[obj]
): Set theaccelerator_total_memory_mib
field on the resulting object. Whennull
, theaccelerator_total_memory_mib
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.accelerator_total_memory_mib.new constructor.baseline_ebs_bandwidth_mbps
(list[obj]
): Set thebaseline_ebs_bandwidth_mbps
field on the resulting object. Whennull
, thebaseline_ebs_bandwidth_mbps
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.baseline_ebs_bandwidth_mbps.new constructor.memory_gib_per_vcpu
(list[obj]
): Set thememory_gib_per_vcpu
field on the resulting object. Whennull
, thememory_gib_per_vcpu
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.memory_gib_per_vcpu.new constructor.memory_mib
(list[obj]
): Set thememory_mib
field on the resulting object. Whennull
, thememory_mib
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.memory_mib.new constructor.network_bandwidth_gbps
(list[obj]
): Set thenetwork_bandwidth_gbps
field on the resulting object. Whennull
, thenetwork_bandwidth_gbps
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.network_bandwidth_gbps.new constructor.network_interface_count
(list[obj]
): Set thenetwork_interface_count
field on the resulting object. Whennull
, thenetwork_interface_count
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.network_interface_count.new constructor.total_local_storage_gb
(list[obj]
): Set thetotal_local_storage_gb
field on the resulting object. Whennull
, thetotal_local_storage_gb
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.total_local_storage_gb.new constructor.vcpu_count
(list[obj]
): Set thevcpu_count
field on the resulting object. Whennull
, thevcpu_count
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.vcpu_count.new constructor.
Returns:
- An attribute object that represents the
instance_requirements
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.accelerator_count.new
constructs a new object with attributes and blocks configured for the accelerator_count
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
accelerator_count
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.accelerator_total_memory_mib.new
constructs a new object with attributes and blocks configured for the accelerator_total_memory_mib
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
accelerator_total_memory_mib
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.baseline_ebs_bandwidth_mbps.new
constructs a new object with attributes and blocks configured for the baseline_ebs_bandwidth_mbps
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
baseline_ebs_bandwidth_mbps
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.memory_gib_per_vcpu.new
constructs a new object with attributes and blocks configured for the memory_gib_per_vcpu
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
memory_gib_per_vcpu
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.memory_mib.new
constructs a new object with attributes and blocks configured for the memory_mib
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
memory_mib
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.network_bandwidth_gbps.new
constructs a new object with attributes and blocks configured for the network_bandwidth_gbps
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
network_bandwidth_gbps
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.network_interface_count.new
constructs a new object with attributes and blocks configured for the network_interface_count
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
network_interface_count
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.total_local_storage_gb.new
constructs a new object with attributes and blocks configured for the total_local_storage_gb
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
total_local_storage_gb
sub block.
new()
aws.spot_fleet_request.launch_template_config.overrides.instance_requirements.vcpu_count.new
constructs a new object with attributes and blocks configured for the vcpu_count
Terraform sub block.
Args:
max
(number
): Set themax
field on the resulting object. Whennull
, themax
field will be omitted from the resulting object.min
(number
): Set themin
field on the resulting object. Whennull
, themin
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
vcpu_count
sub block.
new()
aws.spot_fleet_request.spot_maintenance_strategies.new
constructs a new object with attributes and blocks configured for the spot_maintenance_strategies
Terraform sub block.
Args:
capacity_rebalance
(list[obj]
): Set thecapacity_rebalance
field on the resulting object. Whennull
, thecapacity_rebalance
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.spot_fleet_request.spot_maintenance_strategies.capacity_rebalance.new constructor.
Returns:
- An attribute object that represents the
spot_maintenance_strategies
sub block.
new()
aws.spot_fleet_request.spot_maintenance_strategies.capacity_rebalance.new
constructs a new object with attributes and blocks configured for the capacity_rebalance
Terraform sub block.
Args:
replacement_strategy
(string
): Set thereplacement_strategy
field on the resulting object. Whennull
, thereplacement_strategy
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
capacity_rebalance
sub block.
new()
aws.spot_fleet_request.timeouts.new
constructs a new object with attributes and blocks configured for the timeouts
Terraform sub block.
Args:
create
(string
): Set thecreate
field on the resulting object. Whennull
, thecreate
field will be omitted from the resulting object.delete
(string
): Set thedelete
field on the resulting object. Whennull
, thedelete
field will be omitted from the resulting object.update
(string
): Set theupdate
field on the resulting object. Whennull
, theupdate
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
timeouts
sub block.