permalink |
---|
/spot_instance_request/ |
spot_instance_request
represents the aws_spot_instance_request
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withAmi()
fn withAssociatePublicIpAddress()
fn withAvailabilityZone()
fn withBlockDurationMinutes()
fn withCapacityReservationSpecification()
fn withCapacityReservationSpecificationMixin()
fn withCpuCoreCount()
fn withCpuOptions()
fn withCpuOptionsMixin()
fn withCpuThreadsPerCore()
fn withCreditSpecification()
fn withCreditSpecificationMixin()
fn withDisableApiStop()
fn withDisableApiTermination()
fn withEbsBlockDevice()
fn withEbsBlockDeviceMixin()
fn withEbsOptimized()
fn withEnclaveOptions()
fn withEnclaveOptionsMixin()
fn withEphemeralBlockDevice()
fn withEphemeralBlockDeviceMixin()
fn withGetPasswordData()
fn withHibernation()
fn withHostId()
fn withHostResourceGroupArn()
fn withIamInstanceProfile()
fn withInstanceInitiatedShutdownBehavior()
fn withInstanceInterruptionBehavior()
fn withInstanceType()
fn withIpv6AddressCount()
fn withIpv6Addresses()
fn withKeyName()
fn withLaunchGroup()
fn withLaunchTemplate()
fn withLaunchTemplateMixin()
fn withMaintenanceOptions()
fn withMaintenanceOptionsMixin()
fn withMetadataOptions()
fn withMetadataOptionsMixin()
fn withMonitoring()
fn withNetworkInterface()
fn withNetworkInterfaceMixin()
fn withPlacementGroup()
fn withPlacementPartitionNumber()
fn withPrivateDnsNameOptions()
fn withPrivateDnsNameOptionsMixin()
fn withPrivateIp()
fn withRootBlockDevice()
fn withRootBlockDeviceMixin()
fn withSecondaryPrivateIps()
fn withSecurityGroups()
fn withSourceDestCheck()
fn withSpotPrice()
fn withSpotType()
fn withSubnetId()
fn withTags()
fn withTagsAll()
fn withTenancy()
fn withTimeouts()
fn withTimeoutsMixin()
fn withUserData()
fn withUserDataBase64()
fn withUserDataReplaceOnChange()
fn withValidFrom()
fn withValidUntil()
fn withVolumeTags()
fn withVpcSecurityGroupIds()
fn withWaitForFulfillment()
obj capacity_reservation_specification
obj cpu_options
obj credit_specification
obj ebs_block_device
obj enclave_options
obj ephemeral_block_device
obj launch_template
obj maintenance_options
obj metadata_options
obj network_interface
obj private_dns_name_options
obj root_block_device
obj timeouts
new()
aws.spot_instance_request.new
injects a new aws_spot_instance_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_instance_request.new('some_id')
You can get the reference to the id
field of the created aws.spot_instance_request
using the reference:
$._ref.aws_spot_instance_request.some_id.get('id')
This is the same as directly entering "${ aws_spot_instance_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.ami
(string
): Set theami
field on the resulting resource block. Whennull
, theami
field will be omitted from the resulting object.associate_public_ip_address
(bool
): Set theassociate_public_ip_address
field on the resulting resource block. Whennull
, theassociate_public_ip_address
field will be omitted from the resulting object.availability_zone
(string
): Set theavailability_zone
field on the resulting resource block. Whennull
, theavailability_zone
field will be omitted from the resulting object.block_duration_minutes
(number
): Set theblock_duration_minutes
field on the resulting resource block. Whennull
, theblock_duration_minutes
field will be omitted from the resulting object.cpu_core_count
(number
): Set thecpu_core_count
field on the resulting resource block. Whennull
, thecpu_core_count
field will be omitted from the resulting object.cpu_threads_per_core
(number
): Set thecpu_threads_per_core
field on the resulting resource block. Whennull
, thecpu_threads_per_core
field will be omitted from the resulting object.disable_api_stop
(bool
): Set thedisable_api_stop
field on the resulting resource block. Whennull
, thedisable_api_stop
field will be omitted from the resulting object.disable_api_termination
(bool
): Set thedisable_api_termination
field on the resulting resource block. Whennull
, thedisable_api_termination
field will be omitted from the resulting object.ebs_optimized
(bool
): Set theebs_optimized
field on the resulting resource block. Whennull
, theebs_optimized
field will be omitted from the resulting object.get_password_data
(bool
): Set theget_password_data
field on the resulting resource block. Whennull
, theget_password_data
field will be omitted from the resulting object.hibernation
(bool
): Set thehibernation
field on the resulting resource block. Whennull
, thehibernation
field will be omitted from the resulting object.host_id
(string
): Set thehost_id
field on the resulting resource block. Whennull
, thehost_id
field will be omitted from the resulting object.host_resource_group_arn
(string
): Set thehost_resource_group_arn
field on the resulting resource block. Whennull
, thehost_resource_group_arn
field will be omitted from the resulting object.iam_instance_profile
(string
): Set theiam_instance_profile
field on the resulting resource block. Whennull
, theiam_instance_profile
field will be omitted from the resulting object.instance_initiated_shutdown_behavior
(string
): Set theinstance_initiated_shutdown_behavior
field on the resulting resource block. Whennull
, theinstance_initiated_shutdown_behavior
field will be omitted from the resulting object.instance_interruption_behavior
(string
): Set theinstance_interruption_behavior
field on the resulting resource block. Whennull
, theinstance_interruption_behavior
field will be omitted from the resulting object.instance_type
(string
): Set theinstance_type
field on the resulting resource block. Whennull
, theinstance_type
field will be omitted from the resulting object.ipv6_address_count
(number
): Set theipv6_address_count
field on the resulting resource block. Whennull
, theipv6_address_count
field will be omitted from the resulting object.ipv6_addresses
(list
): Set theipv6_addresses
field on the resulting resource block. Whennull
, theipv6_addresses
field will be omitted from the resulting object.key_name
(string
): Set thekey_name
field on the resulting resource block. Whennull
, thekey_name
field will be omitted from the resulting object.launch_group
(string
): Set thelaunch_group
field on the resulting resource block. Whennull
, thelaunch_group
field will be omitted from the resulting object.monitoring
(bool
): Set themonitoring
field on the resulting resource block. Whennull
, themonitoring
field will be omitted from the resulting object.placement_group
(string
): Set theplacement_group
field on the resulting resource block. Whennull
, theplacement_group
field will be omitted from the resulting object.placement_partition_number
(number
): Set theplacement_partition_number
field on the resulting resource block. Whennull
, theplacement_partition_number
field will be omitted from the resulting object.private_ip
(string
): Set theprivate_ip
field on the resulting resource block. Whennull
, theprivate_ip
field will be omitted from the resulting object.secondary_private_ips
(list
): Set thesecondary_private_ips
field on the resulting resource block. Whennull
, thesecondary_private_ips
field will be omitted from the resulting object.security_groups
(list
): Set thesecurity_groups
field on the resulting resource block. Whennull
, thesecurity_groups
field will be omitted from the resulting object.source_dest_check
(bool
): Set thesource_dest_check
field on the resulting resource block. Whennull
, thesource_dest_check
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.spot_type
(string
): Set thespot_type
field on the resulting resource block. Whennull
, thespot_type
field will be omitted from the resulting object.subnet_id
(string
): Set thesubnet_id
field on the resulting resource block. Whennull
, thesubnet_id
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.tenancy
(string
): Set thetenancy
field on the resulting resource block. Whennull
, thetenancy
field will be omitted from the resulting object.user_data
(string
): Set theuser_data
field on the resulting resource block. Whennull
, theuser_data
field will be omitted from the resulting object.user_data_base64
(string
): Set theuser_data_base64
field on the resulting resource block. Whennull
, theuser_data_base64
field will be omitted from the resulting object.user_data_replace_on_change
(bool
): Set theuser_data_replace_on_change
field on the resulting resource block. Whennull
, theuser_data_replace_on_change
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.volume_tags
(obj
): Set thevolume_tags
field on the resulting resource block. Whennull
, thevolume_tags
field will be omitted from the resulting object.vpc_security_group_ids
(list
): Set thevpc_security_group_ids
field on the resulting resource block. Whennull
, thevpc_security_group_ids
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.capacity_reservation_specification
(list[obj]
): Set thecapacity_reservation_specification
field on the resulting resource block. Whennull
, thecapacity_reservation_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_instance_request.capacity_reservation_specification.new constructor.cpu_options
(list[obj]
): Set thecpu_options
field on the resulting resource block. Whennull
, thecpu_options
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_instance_request.cpu_options.new constructor.credit_specification
(list[obj]
): Set thecredit_specification
field on the resulting resource block. Whennull
, thecredit_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_instance_request.credit_specification.new constructor.ebs_block_device
(list[obj]
): Set theebs_block_device
field on the resulting resource block. 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_instance_request.ebs_block_device.new constructor.enclave_options
(list[obj]
): Set theenclave_options
field on the resulting resource block. Whennull
, theenclave_options
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_instance_request.enclave_options.new constructor.ephemeral_block_device
(list[obj]
): Set theephemeral_block_device
field on the resulting resource block. 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_instance_request.ephemeral_block_device.new constructor.launch_template
(list[obj]
): Set thelaunch_template
field on the resulting resource block. Whennull
, thelaunch_template
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_instance_request.launch_template.new constructor.maintenance_options
(list[obj]
): Set themaintenance_options
field on the resulting resource block. Whennull
, themaintenance_options
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_instance_request.maintenance_options.new constructor.metadata_options
(list[obj]
): Set themetadata_options
field on the resulting resource block. Whennull
, themetadata_options
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_instance_request.metadata_options.new constructor.network_interface
(list[obj]
): Set thenetwork_interface
field on the resulting resource block. Whennull
, thenetwork_interface
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_instance_request.network_interface.new constructor.private_dns_name_options
(list[obj]
): Set theprivate_dns_name_options
field on the resulting resource block. Whennull
, theprivate_dns_name_options
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_instance_request.private_dns_name_options.new constructor.root_block_device
(list[obj]
): Set theroot_block_device
field on the resulting resource block. 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_instance_request.root_block_device.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_instance_request.timeouts.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.spot_instance_request.newAttrs
constructs a new object with attributes and blocks configured for the spot_instance_request
Terraform resource.
Unlike aws.spot_instance_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:
ami
(string
): Set theami
field on the resulting object. Whennull
, theami
field will be omitted from 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.block_duration_minutes
(number
): Set theblock_duration_minutes
field on the resulting object. Whennull
, theblock_duration_minutes
field will be omitted from the resulting object.cpu_core_count
(number
): Set thecpu_core_count
field on the resulting object. Whennull
, thecpu_core_count
field will be omitted from the resulting object.cpu_threads_per_core
(number
): Set thecpu_threads_per_core
field on the resulting object. Whennull
, thecpu_threads_per_core
field will be omitted from the resulting object.disable_api_stop
(bool
): Set thedisable_api_stop
field on the resulting object. Whennull
, thedisable_api_stop
field will be omitted from the resulting object.disable_api_termination
(bool
): Set thedisable_api_termination
field on the resulting object. Whennull
, thedisable_api_termination
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.get_password_data
(bool
): Set theget_password_data
field on the resulting object. Whennull
, theget_password_data
field will be omitted from the resulting object.hibernation
(bool
): Set thehibernation
field on the resulting object. Whennull
, thehibernation
field will be omitted from the resulting object.host_id
(string
): Set thehost_id
field on the resulting object. Whennull
, thehost_id
field will be omitted from the resulting object.host_resource_group_arn
(string
): Set thehost_resource_group_arn
field on the resulting object. Whennull
, thehost_resource_group_arn
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.instance_initiated_shutdown_behavior
(string
): Set theinstance_initiated_shutdown_behavior
field on the resulting object. Whennull
, theinstance_initiated_shutdown_behavior
field will be omitted from the resulting object.instance_interruption_behavior
(string
): Set theinstance_interruption_behavior
field on the resulting object. Whennull
, theinstance_interruption_behavior
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.ipv6_address_count
(number
): Set theipv6_address_count
field on the resulting object. Whennull
, theipv6_address_count
field will be omitted from the resulting object.ipv6_addresses
(list
): Set theipv6_addresses
field on the resulting object. Whennull
, theipv6_addresses
field will be omitted from 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.launch_group
(string
): Set thelaunch_group
field on the resulting object. Whennull
, thelaunch_group
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_partition_number
(number
): Set theplacement_partition_number
field on the resulting object. Whennull
, theplacement_partition_number
field will be omitted from the resulting object.private_ip
(string
): Set theprivate_ip
field on the resulting object. Whennull
, theprivate_ip
field will be omitted from the resulting object.secondary_private_ips
(list
): Set thesecondary_private_ips
field on the resulting object. Whennull
, thesecondary_private_ips
field will be omitted from the resulting object.security_groups
(list
): Set thesecurity_groups
field on the resulting object. Whennull
, thesecurity_groups
field will be omitted from the resulting object.source_dest_check
(bool
): Set thesource_dest_check
field on the resulting object. Whennull
, thesource_dest_check
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.spot_type
(string
): Set thespot_type
field on the resulting object. Whennull
, thespot_type
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.tags_all
(obj
): Set thetags_all
field on the resulting object. Whennull
, thetags_all
field will be omitted from the resulting object.tenancy
(string
): Set thetenancy
field on the resulting object. Whennull
, thetenancy
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.user_data_base64
(string
): Set theuser_data_base64
field on the resulting object. Whennull
, theuser_data_base64
field will be omitted from the resulting object.user_data_replace_on_change
(bool
): Set theuser_data_replace_on_change
field on the resulting object. Whennull
, theuser_data_replace_on_change
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.volume_tags
(obj
): Set thevolume_tags
field on the resulting object. Whennull
, thevolume_tags
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.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.capacity_reservation_specification
(list[obj]
): Set thecapacity_reservation_specification
field on the resulting object. Whennull
, thecapacity_reservation_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_instance_request.capacity_reservation_specification.new constructor.cpu_options
(list[obj]
): Set thecpu_options
field on the resulting object. Whennull
, thecpu_options
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_instance_request.cpu_options.new constructor.credit_specification
(list[obj]
): Set thecredit_specification
field on the resulting object. Whennull
, thecredit_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_instance_request.credit_specification.new constructor.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_instance_request.ebs_block_device.new constructor.enclave_options
(list[obj]
): Set theenclave_options
field on the resulting object. Whennull
, theenclave_options
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_instance_request.enclave_options.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_instance_request.ephemeral_block_device.new constructor.launch_template
(list[obj]
): Set thelaunch_template
field on the resulting object. Whennull
, thelaunch_template
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_instance_request.launch_template.new constructor.maintenance_options
(list[obj]
): Set themaintenance_options
field on the resulting object. Whennull
, themaintenance_options
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_instance_request.maintenance_options.new constructor.metadata_options
(list[obj]
): Set themetadata_options
field on the resulting object. Whennull
, themetadata_options
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_instance_request.metadata_options.new constructor.network_interface
(list[obj]
): Set thenetwork_interface
field on the resulting object. Whennull
, thenetwork_interface
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_instance_request.network_interface.new constructor.private_dns_name_options
(list[obj]
): Set theprivate_dns_name_options
field on the resulting object. Whennull
, theprivate_dns_name_options
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_instance_request.private_dns_name_options.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_instance_request.root_block_device.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_instance_request.timeouts.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
spot_instance_request
resource into the root Terraform configuration.
withAmi()
aws.string.withAmi
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the ami field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theami
field.
withAssociatePublicIpAddress()
aws.bool.withAssociatePublicIpAddress
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the associate_public_ip_address field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theassociate_public_ip_address
field.
withAvailabilityZone()
aws.string.withAvailabilityZone
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the availability_zone field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theavailability_zone
field.
withBlockDurationMinutes()
aws.number.withBlockDurationMinutes
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the block_duration_minutes field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for theblock_duration_minutes
field.
withCapacityReservationSpecification()
aws.list[obj].withCapacityReservationSpecification
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the capacity_reservation_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].withCapacityReservationSpecificationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecapacity_reservation_specification
field.
withCapacityReservationSpecificationMixin()
aws.list[obj].withCapacityReservationSpecificationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the capacity_reservation_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].withCapacityReservationSpecification
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecapacity_reservation_specification
field.
withCpuCoreCount()
aws.number.withCpuCoreCount
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the cpu_core_count field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thecpu_core_count
field.
withCpuOptions()
aws.list[obj].withCpuOptions
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cpu_options 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].withCpuOptionsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecpu_options
field.
withCpuOptionsMixin()
aws.list[obj].withCpuOptionsMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cpu_options 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].withCpuOptions
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecpu_options
field.
withCpuThreadsPerCore()
aws.number.withCpuThreadsPerCore
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the cpu_threads_per_core field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thecpu_threads_per_core
field.
withCreditSpecification()
aws.list[obj].withCreditSpecification
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the credit_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].withCreditSpecificationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecredit_specification
field.
withCreditSpecificationMixin()
aws.list[obj].withCreditSpecificationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the credit_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].withCreditSpecification
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecredit_specification
field.
withDisableApiStop()
aws.bool.withDisableApiStop
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the disable_api_stop field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thedisable_api_stop
field.
withDisableApiTermination()
aws.bool.withDisableApiTermination
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the disable_api_termination field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thedisable_api_termination
field.
withEbsBlockDevice()
aws.list[obj].withEbsBlockDevice
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the ebs_block_device 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].withEbsBlockDeviceMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theebs_block_device
field.
withEbsBlockDeviceMixin()
aws.list[obj].withEbsBlockDeviceMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the ebs_block_device 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].withEbsBlockDevice
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theebs_block_device
field.
withEbsOptimized()
aws.bool.withEbsOptimized
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the ebs_optimized field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theebs_optimized
field.
withEnclaveOptions()
aws.list[obj].withEnclaveOptions
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the enclave_options 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].withEnclaveOptionsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theenclave_options
field.
withEnclaveOptionsMixin()
aws.list[obj].withEnclaveOptionsMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the enclave_options 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].withEnclaveOptions
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theenclave_options
field.
withEphemeralBlockDevice()
aws.list[obj].withEphemeralBlockDevice
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the ephemeral_block_device 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].withEphemeralBlockDeviceMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theephemeral_block_device
field.
withEphemeralBlockDeviceMixin()
aws.list[obj].withEphemeralBlockDeviceMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the ephemeral_block_device 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].withEphemeralBlockDevice
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theephemeral_block_device
field.
withGetPasswordData()
aws.bool.withGetPasswordData
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the get_password_data field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theget_password_data
field.
withHibernation()
aws.bool.withHibernation
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the hibernation field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thehibernation
field.
withHostId()
aws.string.withHostId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the host_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thehost_id
field.
withHostResourceGroupArn()
aws.string.withHostResourceGroupArn
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the host_resource_group_arn field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thehost_resource_group_arn
field.
withIamInstanceProfile()
aws.string.withIamInstanceProfile
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the iam_instance_profile field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theiam_instance_profile
field.
withInstanceInitiatedShutdownBehavior()
aws.string.withInstanceInitiatedShutdownBehavior
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the instance_initiated_shutdown_behavior field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theinstance_initiated_shutdown_behavior
field.
withInstanceInterruptionBehavior()
aws.string.withInstanceInterruptionBehavior
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the instance_interruption_behavior field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theinstance_interruption_behavior
field.
withInstanceType()
aws.string.withInstanceType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the instance_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theinstance_type
field.
withIpv6AddressCount()
aws.number.withIpv6AddressCount
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the ipv6_address_count field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for theipv6_address_count
field.
withIpv6Addresses()
aws.list.withIpv6Addresses
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the ipv6_addresses field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theipv6_addresses
field.
withKeyName()
aws.string.withKeyName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the key_name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thekey_name
field.
withLaunchGroup()
aws.string.withLaunchGroup
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the launch_group field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thelaunch_group
field.
withLaunchTemplate()
aws.list[obj].withLaunchTemplate
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the launch_template 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].withLaunchTemplateMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelaunch_template
field.
withLaunchTemplateMixin()
aws.list[obj].withLaunchTemplateMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the launch_template 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].withLaunchTemplate
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelaunch_template
field.
withMaintenanceOptions()
aws.list[obj].withMaintenanceOptions
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the maintenance_options 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].withMaintenanceOptionsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for themaintenance_options
field.
withMaintenanceOptionsMixin()
aws.list[obj].withMaintenanceOptionsMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the maintenance_options 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].withMaintenanceOptions
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for themaintenance_options
field.
withMetadataOptions()
aws.list[obj].withMetadataOptions
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the metadata_options 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].withMetadataOptionsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for themetadata_options
field.
withMetadataOptionsMixin()
aws.list[obj].withMetadataOptionsMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the metadata_options 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].withMetadataOptions
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for themetadata_options
field.
withMonitoring()
aws.bool.withMonitoring
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the monitoring field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for themonitoring
field.
withNetworkInterface()
aws.list[obj].withNetworkInterface
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the network_interface 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].withNetworkInterfaceMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thenetwork_interface
field.
withNetworkInterfaceMixin()
aws.list[obj].withNetworkInterfaceMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the network_interface 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].withNetworkInterface
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thenetwork_interface
field.
withPlacementGroup()
aws.string.withPlacementGroup
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the placement_group field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theplacement_group
field.
withPlacementPartitionNumber()
aws.number.withPlacementPartitionNumber
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the placement_partition_number field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for theplacement_partition_number
field.
withPrivateDnsNameOptions()
aws.list[obj].withPrivateDnsNameOptions
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the private_dns_name_options 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].withPrivateDnsNameOptionsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theprivate_dns_name_options
field.
withPrivateDnsNameOptionsMixin()
aws.list[obj].withPrivateDnsNameOptionsMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the private_dns_name_options 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].withPrivateDnsNameOptions
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theprivate_dns_name_options
field.
withPrivateIp()
aws.string.withPrivateIp
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the private_ip field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theprivate_ip
field.
withRootBlockDevice()
aws.list[obj].withRootBlockDevice
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the root_block_device 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].withRootBlockDeviceMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theroot_block_device
field.
withRootBlockDeviceMixin()
aws.list[obj].withRootBlockDeviceMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the root_block_device 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].withRootBlockDevice
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theroot_block_device
field.
withSecondaryPrivateIps()
aws.list.withSecondaryPrivateIps
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the secondary_private_ips field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thesecondary_private_ips
field.
withSecurityGroups()
aws.list.withSecurityGroups
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the security_groups field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thesecurity_groups
field.
withSourceDestCheck()
aws.bool.withSourceDestCheck
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the source_dest_check field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thesource_dest_check
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.
withSpotType()
aws.string.withSpotType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the spot_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thespot_type
field.
withSubnetId()
aws.string.withSubnetId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the subnet_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thesubnet_id
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.
withTenancy()
aws.string.withTenancy
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the tenancy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thetenancy
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.
withUserData()
aws.string.withUserData
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the user_data field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theuser_data
field.
withUserDataBase64()
aws.string.withUserDataBase64
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the user_data_base64 field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theuser_data_base64
field.
withUserDataReplaceOnChange()
aws.bool.withUserDataReplaceOnChange
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the user_data_replace_on_change field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theuser_data_replace_on_change
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.
withVolumeTags()
aws.obj.withVolumeTags
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the volume_tags field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thevolume_tags
field.
withVpcSecurityGroupIds()
aws.list.withVpcSecurityGroupIds
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the vpc_security_group_ids field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thevpc_security_group_ids
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_instance_request.capacity_reservation_specification.new
constructs a new object with attributes and blocks configured for the capacity_reservation_specification
Terraform sub block.
Args:
capacity_reservation_preference
(string
): Set thecapacity_reservation_preference
field on the resulting object. Whennull
, thecapacity_reservation_preference
field will be omitted from the resulting object.capacity_reservation_target
(list[obj]
): Set thecapacity_reservation_target
field on the resulting object. Whennull
, thecapacity_reservation_target
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_instance_request.capacity_reservation_specification.capacity_reservation_target.new constructor.
Returns:
- An attribute object that represents the
capacity_reservation_specification
sub block.
new()
aws.spot_instance_request.capacity_reservation_specification.capacity_reservation_target.new
constructs a new object with attributes and blocks configured for the capacity_reservation_target
Terraform sub block.
Args:
capacity_reservation_id
(string
): Set thecapacity_reservation_id
field on the resulting object. Whennull
, thecapacity_reservation_id
field will be omitted from the resulting object.capacity_reservation_resource_group_arn
(string
): Set thecapacity_reservation_resource_group_arn
field on the resulting object. Whennull
, thecapacity_reservation_resource_group_arn
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
capacity_reservation_target
sub block.
new()
aws.spot_instance_request.cpu_options.new
constructs a new object with attributes and blocks configured for the cpu_options
Terraform sub block.
Args:
amd_sev_snp
(string
): Set theamd_sev_snp
field on the resulting object. Whennull
, theamd_sev_snp
field will be omitted from the resulting object.core_count
(number
): Set thecore_count
field on the resulting object. Whennull
, thecore_count
field will be omitted from the resulting object.threads_per_core
(number
): Set thethreads_per_core
field on the resulting object. Whennull
, thethreads_per_core
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
cpu_options
sub block.
new()
aws.spot_instance_request.credit_specification.new
constructs a new object with attributes and blocks configured for the credit_specification
Terraform sub block.
Args:
cpu_credits
(string
): Set thecpu_credits
field on the resulting object. Whennull
, thecpu_credits
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
credit_specification
sub block.
new()
aws.spot_instance_request.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.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
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_instance_request.enclave_options.new
constructs a new object with attributes and blocks configured for the enclave_options
Terraform sub block.
Args:
enabled
(bool
): Set theenabled
field on the resulting object. Whennull
, theenabled
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
enclave_options
sub block.
new()
aws.spot_instance_request.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.no_device
(bool
): Set theno_device
field on the resulting object. Whennull
, theno_device
field will be omitted from the resulting object.virtual_name
(string
): Set thevirtual_name
field on the resulting object. Whennull
, thevirtual_name
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
ephemeral_block_device
sub block.
new()
aws.spot_instance_request.launch_template.new
constructs a new object with attributes and blocks configured for the launch_template
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
sub block.
new()
aws.spot_instance_request.maintenance_options.new
constructs a new object with attributes and blocks configured for the maintenance_options
Terraform sub block.
Args:
auto_recovery
(string
): Set theauto_recovery
field on the resulting object. Whennull
, theauto_recovery
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
maintenance_options
sub block.
new()
aws.spot_instance_request.metadata_options.new
constructs a new object with attributes and blocks configured for the metadata_options
Terraform sub block.
Args:
http_endpoint
(string
): Set thehttp_endpoint
field on the resulting object. Whennull
, thehttp_endpoint
field will be omitted from the resulting object.http_protocol_ipv6
(string
): Set thehttp_protocol_ipv6
field on the resulting object. Whennull
, thehttp_protocol_ipv6
field will be omitted from the resulting object.http_put_response_hop_limit
(number
): Set thehttp_put_response_hop_limit
field on the resulting object. Whennull
, thehttp_put_response_hop_limit
field will be omitted from the resulting object.http_tokens
(string
): Set thehttp_tokens
field on the resulting object. Whennull
, thehttp_tokens
field will be omitted from the resulting object.instance_metadata_tags
(string
): Set theinstance_metadata_tags
field on the resulting object. Whennull
, theinstance_metadata_tags
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
metadata_options
sub block.
new()
aws.spot_instance_request.network_interface.new
constructs a new object with attributes and blocks configured for the network_interface
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_index
(number
): Set thedevice_index
field on the resulting object.network_card_index
(number
): Set thenetwork_card_index
field on the resulting object. Whennull
, thenetwork_card_index
field will be omitted from the resulting object.network_interface_id
(string
): Set thenetwork_interface_id
field on the resulting object.
Returns:
- An attribute object that represents the
network_interface
sub block.
new()
aws.spot_instance_request.private_dns_name_options.new
constructs a new object with attributes and blocks configured for the private_dns_name_options
Terraform sub block.
Args:
enable_resource_name_dns_a_record
(bool
): Set theenable_resource_name_dns_a_record
field on the resulting object. Whennull
, theenable_resource_name_dns_a_record
field will be omitted from the resulting object.enable_resource_name_dns_aaaa_record
(bool
): Set theenable_resource_name_dns_aaaa_record
field on the resulting object. Whennull
, theenable_resource_name_dns_aaaa_record
field will be omitted from the resulting object.hostname_type
(string
): Set thehostname_type
field on the resulting object. Whennull
, thehostname_type
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
private_dns_name_options
sub block.
new()
aws.spot_instance_request.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.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
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_instance_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.
Returns:
- An attribute object that represents the
timeouts
sub block.