permalink |
---|
/autoscaling_group/ |
autoscaling_group
represents the aws_autoscaling_group
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withAvailabilityZones()
fn withCapacityRebalance()
fn withContext()
fn withDefaultCooldown()
fn withDefaultInstanceWarmup()
fn withDesiredCapacity()
fn withDesiredCapacityType()
fn withEnabledMetrics()
fn withForceDelete()
fn withForceDeleteWarmPool()
fn withHealthCheckGracePeriod()
fn withHealthCheckType()
fn withIgnoreFailedScalingActivities()
fn withInitialLifecycleHook()
fn withInitialLifecycleHookMixin()
fn withInstanceRefresh()
fn withInstanceRefreshMixin()
fn withLaunchConfiguration()
fn withLaunchTemplate()
fn withLaunchTemplateMixin()
fn withLoadBalancers()
fn withMaxInstanceLifetime()
fn withMaxSize()
fn withMetricsGranularity()
fn withMinElbCapacity()
fn withMinSize()
fn withMixedInstancesPolicy()
fn withMixedInstancesPolicyMixin()
fn withName()
fn withNamePrefix()
fn withPlacementGroup()
fn withProtectFromScaleIn()
fn withServiceLinkedRoleArn()
fn withSuspendedProcesses()
fn withTag()
fn withTagMixin()
fn withTargetGroupArns()
fn withTerminationPolicies()
fn withTimeouts()
fn withTimeoutsMixin()
fn withTrafficSource()
fn withTrafficSourceMixin()
fn withVpcZoneIdentifier()
fn withWaitForCapacityTimeout()
fn withWaitForElbCapacity()
fn withWarmPool()
fn withWarmPoolMixin()
obj initial_lifecycle_hook
obj instance_refresh
obj launch_template
obj mixed_instances_policy
fn new()
obj mixed_instances_policy.instances_distribution
obj mixed_instances_policy.launch_template
fn new()
obj mixed_instances_policy.launch_template.launch_template_specification
obj mixed_instances_policy.launch_template.override
fn new()
obj mixed_instances_policy.launch_template.override.instance_requirements
fn new()
obj mixed_instances_policy.launch_template.override.instance_requirements.accelerator_count
obj mixed_instances_policy.launch_template.override.instance_requirements.accelerator_total_memory_mib
obj mixed_instances_policy.launch_template.override.instance_requirements.baseline_ebs_bandwidth_mbps
obj mixed_instances_policy.launch_template.override.instance_requirements.memory_gib_per_vcpu
obj mixed_instances_policy.launch_template.override.instance_requirements.memory_mib
obj mixed_instances_policy.launch_template.override.instance_requirements.network_bandwidth_gbps
obj mixed_instances_policy.launch_template.override.instance_requirements.network_interface_count
obj mixed_instances_policy.launch_template.override.instance_requirements.total_local_storage_gb
obj mixed_instances_policy.launch_template.override.instance_requirements.vcpu_count
obj mixed_instances_policy.launch_template.override.launch_template_specification
obj tag
obj timeouts
obj traffic_source
obj warm_pool
new()
aws.autoscaling_group.new
injects a new aws_autoscaling_group
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.autoscaling_group.new('some_id')
You can get the reference to the id
field of the created aws.autoscaling_group
using the reference:
$._ref.aws_autoscaling_group.some_id.get('id')
This is the same as directly entering "${ aws_autoscaling_group.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.availability_zones
(list
): Set theavailability_zones
field on the resulting resource block. Whennull
, theavailability_zones
field will be omitted from the resulting object.capacity_rebalance
(bool
): Set thecapacity_rebalance
field on the resulting resource block. Whennull
, thecapacity_rebalance
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.default_cooldown
(number
): Set thedefault_cooldown
field on the resulting resource block. Whennull
, thedefault_cooldown
field will be omitted from the resulting object.default_instance_warmup
(number
): Set thedefault_instance_warmup
field on the resulting resource block. Whennull
, thedefault_instance_warmup
field will be omitted from the resulting object.desired_capacity
(number
): Set thedesired_capacity
field on the resulting resource block. Whennull
, thedesired_capacity
field will be omitted from the resulting object.desired_capacity_type
(string
): Set thedesired_capacity_type
field on the resulting resource block. Whennull
, thedesired_capacity_type
field will be omitted from the resulting object.enabled_metrics
(list
): Set theenabled_metrics
field on the resulting resource block. Whennull
, theenabled_metrics
field will be omitted from the resulting object.force_delete
(bool
): Set theforce_delete
field on the resulting resource block. Whennull
, theforce_delete
field will be omitted from the resulting object.force_delete_warm_pool
(bool
): Set theforce_delete_warm_pool
field on the resulting resource block. Whennull
, theforce_delete_warm_pool
field will be omitted from the resulting object.health_check_grace_period
(number
): Set thehealth_check_grace_period
field on the resulting resource block. Whennull
, thehealth_check_grace_period
field will be omitted from the resulting object.health_check_type
(string
): Set thehealth_check_type
field on the resulting resource block. Whennull
, thehealth_check_type
field will be omitted from the resulting object.ignore_failed_scaling_activities
(bool
): Set theignore_failed_scaling_activities
field on the resulting resource block. Whennull
, theignore_failed_scaling_activities
field will be omitted from the resulting object.launch_configuration
(string
): Set thelaunch_configuration
field on the resulting resource block. Whennull
, thelaunch_configuration
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.max_instance_lifetime
(number
): Set themax_instance_lifetime
field on the resulting resource block. Whennull
, themax_instance_lifetime
field will be omitted from the resulting object.max_size
(number
): Set themax_size
field on the resulting resource block.metrics_granularity
(string
): Set themetrics_granularity
field on the resulting resource block. Whennull
, themetrics_granularity
field will be omitted from the resulting object.min_elb_capacity
(number
): Set themin_elb_capacity
field on the resulting resource block. Whennull
, themin_elb_capacity
field will be omitted from the resulting object.min_size
(number
): Set themin_size
field on the resulting resource block.name
(string
): Set thename
field on the resulting resource block. Whennull
, thename
field will be omitted from the resulting object.name_prefix
(string
): Set thename_prefix
field on the resulting resource block. Whennull
, thename_prefix
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.protect_from_scale_in
(bool
): Set theprotect_from_scale_in
field on the resulting resource block. Whennull
, theprotect_from_scale_in
field will be omitted from the resulting object.service_linked_role_arn
(string
): Set theservice_linked_role_arn
field on the resulting resource block. Whennull
, theservice_linked_role_arn
field will be omitted from the resulting object.suspended_processes
(list
): Set thesuspended_processes
field on the resulting resource block. Whennull
, thesuspended_processes
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.termination_policies
(list
): Set thetermination_policies
field on the resulting resource block. Whennull
, thetermination_policies
field will be omitted from the resulting object.vpc_zone_identifier
(list
): Set thevpc_zone_identifier
field on the resulting resource block. Whennull
, thevpc_zone_identifier
field will be omitted from the resulting object.wait_for_capacity_timeout
(string
): Set thewait_for_capacity_timeout
field on the resulting resource block. Whennull
, thewait_for_capacity_timeout
field will be omitted from the resulting object.wait_for_elb_capacity
(number
): Set thewait_for_elb_capacity
field on the resulting resource block. Whennull
, thewait_for_elb_capacity
field will be omitted from the resulting object.initial_lifecycle_hook
(list[obj]
): Set theinitial_lifecycle_hook
field on the resulting resource block. Whennull
, theinitial_lifecycle_hook
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.initial_lifecycle_hook.new constructor.instance_refresh
(list[obj]
): Set theinstance_refresh
field on the resulting resource block. Whennull
, theinstance_refresh
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.instance_refresh.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.autoscaling_group.launch_template.new constructor.mixed_instances_policy
(list[obj]
): Set themixed_instances_policy
field on the resulting resource block. Whennull
, themixed_instances_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.mixed_instances_policy.new constructor.tag
(list[obj]
): Set thetag
field on the resulting resource block. Whennull
, thetag
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.tag.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.autoscaling_group.timeouts.new constructor.traffic_source
(list[obj]
): Set thetraffic_source
field on the resulting resource block. Whennull
, thetraffic_source
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.traffic_source.new constructor.warm_pool
(list[obj]
): Set thewarm_pool
field on the resulting resource block. Whennull
, thewarm_pool
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.warm_pool.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.autoscaling_group.newAttrs
constructs a new object with attributes and blocks configured for the autoscaling_group
Terraform resource.
Unlike aws.autoscaling_group.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:
availability_zones
(list
): Set theavailability_zones
field on the resulting object. Whennull
, theavailability_zones
field will be omitted from the resulting object.capacity_rebalance
(bool
): Set thecapacity_rebalance
field on the resulting object. Whennull
, thecapacity_rebalance
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.default_cooldown
(number
): Set thedefault_cooldown
field on the resulting object. Whennull
, thedefault_cooldown
field will be omitted from the resulting object.default_instance_warmup
(number
): Set thedefault_instance_warmup
field on the resulting object. Whennull
, thedefault_instance_warmup
field will be omitted from the resulting object.desired_capacity
(number
): Set thedesired_capacity
field on the resulting object. Whennull
, thedesired_capacity
field will be omitted from the resulting object.desired_capacity_type
(string
): Set thedesired_capacity_type
field on the resulting object. Whennull
, thedesired_capacity_type
field will be omitted from the resulting object.enabled_metrics
(list
): Set theenabled_metrics
field on the resulting object. Whennull
, theenabled_metrics
field will be omitted from the resulting object.force_delete
(bool
): Set theforce_delete
field on the resulting object. Whennull
, theforce_delete
field will be omitted from the resulting object.force_delete_warm_pool
(bool
): Set theforce_delete_warm_pool
field on the resulting object. Whennull
, theforce_delete_warm_pool
field will be omitted from the resulting object.health_check_grace_period
(number
): Set thehealth_check_grace_period
field on the resulting object. Whennull
, thehealth_check_grace_period
field will be omitted from the resulting object.health_check_type
(string
): Set thehealth_check_type
field on the resulting object. Whennull
, thehealth_check_type
field will be omitted from the resulting object.ignore_failed_scaling_activities
(bool
): Set theignore_failed_scaling_activities
field on the resulting object. Whennull
, theignore_failed_scaling_activities
field will be omitted from the resulting object.launch_configuration
(string
): Set thelaunch_configuration
field on the resulting object. Whennull
, thelaunch_configuration
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.max_instance_lifetime
(number
): Set themax_instance_lifetime
field on the resulting object. Whennull
, themax_instance_lifetime
field will be omitted from the resulting object.max_size
(number
): Set themax_size
field on the resulting object.metrics_granularity
(string
): Set themetrics_granularity
field on the resulting object. Whennull
, themetrics_granularity
field will be omitted from the resulting object.min_elb_capacity
(number
): Set themin_elb_capacity
field on the resulting object. Whennull
, themin_elb_capacity
field will be omitted from the resulting object.min_size
(number
): Set themin_size
field on the resulting object.name
(string
): Set thename
field on the resulting object. Whennull
, thename
field will be omitted from the resulting object.name_prefix
(string
): Set thename_prefix
field on the resulting object. Whennull
, thename_prefix
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.protect_from_scale_in
(bool
): Set theprotect_from_scale_in
field on the resulting object. Whennull
, theprotect_from_scale_in
field will be omitted from the resulting object.service_linked_role_arn
(string
): Set theservice_linked_role_arn
field on the resulting object. Whennull
, theservice_linked_role_arn
field will be omitted from the resulting object.suspended_processes
(list
): Set thesuspended_processes
field on the resulting object. Whennull
, thesuspended_processes
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.termination_policies
(list
): Set thetermination_policies
field on the resulting object. Whennull
, thetermination_policies
field will be omitted from the resulting object.vpc_zone_identifier
(list
): Set thevpc_zone_identifier
field on the resulting object. Whennull
, thevpc_zone_identifier
field will be omitted from the resulting object.wait_for_capacity_timeout
(string
): Set thewait_for_capacity_timeout
field on the resulting object. Whennull
, thewait_for_capacity_timeout
field will be omitted from the resulting object.wait_for_elb_capacity
(number
): Set thewait_for_elb_capacity
field on the resulting object. Whennull
, thewait_for_elb_capacity
field will be omitted from the resulting object.initial_lifecycle_hook
(list[obj]
): Set theinitial_lifecycle_hook
field on the resulting object. Whennull
, theinitial_lifecycle_hook
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.initial_lifecycle_hook.new constructor.instance_refresh
(list[obj]
): Set theinstance_refresh
field on the resulting object. Whennull
, theinstance_refresh
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.instance_refresh.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.autoscaling_group.launch_template.new constructor.mixed_instances_policy
(list[obj]
): Set themixed_instances_policy
field on the resulting object. Whennull
, themixed_instances_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.mixed_instances_policy.new constructor.tag
(list[obj]
): Set thetag
field on the resulting object. Whennull
, thetag
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.tag.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.autoscaling_group.timeouts.new constructor.traffic_source
(list[obj]
): Set thetraffic_source
field on the resulting object. Whennull
, thetraffic_source
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.traffic_source.new constructor.warm_pool
(list[obj]
): Set thewarm_pool
field on the resulting object. Whennull
, thewarm_pool
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.warm_pool.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
autoscaling_group
resource into the root Terraform configuration.
withAvailabilityZones()
aws.list.withAvailabilityZones
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the availability_zones field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theavailability_zones
field.
withCapacityRebalance()
aws.bool.withCapacityRebalance
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the capacity_rebalance field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thecapacity_rebalance
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.
withDefaultCooldown()
aws.number.withDefaultCooldown
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the default_cooldown field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thedefault_cooldown
field.
withDefaultInstanceWarmup()
aws.number.withDefaultInstanceWarmup
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the default_instance_warmup field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thedefault_instance_warmup
field.
withDesiredCapacity()
aws.number.withDesiredCapacity
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the desired_capacity field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thedesired_capacity
field.
withDesiredCapacityType()
aws.string.withDesiredCapacityType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the desired_capacity_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thedesired_capacity_type
field.
withEnabledMetrics()
aws.list.withEnabledMetrics
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the enabled_metrics field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for theenabled_metrics
field.
withForceDelete()
aws.bool.withForceDelete
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the force_delete field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theforce_delete
field.
withForceDeleteWarmPool()
aws.bool.withForceDeleteWarmPool
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the force_delete_warm_pool field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theforce_delete_warm_pool
field.
withHealthCheckGracePeriod()
aws.number.withHealthCheckGracePeriod
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the health_check_grace_period field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thehealth_check_grace_period
field.
withHealthCheckType()
aws.string.withHealthCheckType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the health_check_type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thehealth_check_type
field.
withIgnoreFailedScalingActivities()
aws.bool.withIgnoreFailedScalingActivities
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the ignore_failed_scaling_activities field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theignore_failed_scaling_activities
field.
withInitialLifecycleHook()
aws.list[obj].withInitialLifecycleHook
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the initial_lifecycle_hook 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].withInitialLifecycleHookMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theinitial_lifecycle_hook
field.
withInitialLifecycleHookMixin()
aws.list[obj].withInitialLifecycleHookMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the initial_lifecycle_hook 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].withInitialLifecycleHook
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theinitial_lifecycle_hook
field.
withInstanceRefresh()
aws.list[obj].withInstanceRefresh
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the instance_refresh 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].withInstanceRefreshMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theinstance_refresh
field.
withInstanceRefreshMixin()
aws.list[obj].withInstanceRefreshMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the instance_refresh 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].withInstanceRefresh
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theinstance_refresh
field.
withLaunchConfiguration()
aws.string.withLaunchConfiguration
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the launch_configuration field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thelaunch_configuration
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.
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.
withMaxInstanceLifetime()
aws.number.withMaxInstanceLifetime
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the max_instance_lifetime field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for themax_instance_lifetime
field.
withMaxSize()
aws.number.withMaxSize
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the max_size field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for themax_size
field.
withMetricsGranularity()
aws.string.withMetricsGranularity
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the metrics_granularity field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for themetrics_granularity
field.
withMinElbCapacity()
aws.number.withMinElbCapacity
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the min_elb_capacity field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for themin_elb_capacity
field.
withMinSize()
aws.number.withMinSize
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the min_size field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for themin_size
field.
withMixedInstancesPolicy()
aws.list[obj].withMixedInstancesPolicy
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the mixed_instances_policy 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].withMixedInstancesPolicyMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for themixed_instances_policy
field.
withMixedInstancesPolicyMixin()
aws.list[obj].withMixedInstancesPolicyMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the mixed_instances_policy 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].withMixedInstancesPolicy
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for themixed_instances_policy
field.
withName()
aws.string.withName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thename
field.
withNamePrefix()
aws.string.withNamePrefix
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the name_prefix field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thename_prefix
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.
withProtectFromScaleIn()
aws.bool.withProtectFromScaleIn
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the protect_from_scale_in field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theprotect_from_scale_in
field.
withServiceLinkedRoleArn()
aws.string.withServiceLinkedRoleArn
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the service_linked_role_arn field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theservice_linked_role_arn
field.
withSuspendedProcesses()
aws.list.withSuspendedProcesses
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the suspended_processes field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thesuspended_processes
field.
withTag()
aws.list[obj].withTag
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the tag 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].withTagMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetag
field.
withTagMixin()
aws.list[obj].withTagMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the tag 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].withTag
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetag
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.
withTerminationPolicies()
aws.list.withTerminationPolicies
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the termination_policies field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thetermination_policies
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.
withTrafficSource()
aws.list[obj].withTrafficSource
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the traffic_source 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].withTrafficSourceMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetraffic_source
field.
withTrafficSourceMixin()
aws.list[obj].withTrafficSourceMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the traffic_source 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].withTrafficSource
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetraffic_source
field.
withVpcZoneIdentifier()
aws.list.withVpcZoneIdentifier
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the vpc_zone_identifier field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thevpc_zone_identifier
field.
withWaitForCapacityTimeout()
aws.string.withWaitForCapacityTimeout
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the wait_for_capacity_timeout field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thewait_for_capacity_timeout
field.
withWaitForElbCapacity()
aws.number.withWaitForElbCapacity
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the wait_for_elb_capacity field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thewait_for_elb_capacity
field.
withWarmPool()
aws.list[obj].withWarmPool
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the warm_pool 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].withWarmPoolMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thewarm_pool
field.
withWarmPoolMixin()
aws.list[obj].withWarmPoolMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the warm_pool 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].withWarmPool
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thewarm_pool
field.
new()
aws.autoscaling_group.initial_lifecycle_hook.new
constructs a new object with attributes and blocks configured for the initial_lifecycle_hook
Terraform sub block.
Args:
default_result
(string
): Set thedefault_result
field on the resulting object. Whennull
, thedefault_result
field will be omitted from the resulting object.heartbeat_timeout
(number
): Set theheartbeat_timeout
field on the resulting object. Whennull
, theheartbeat_timeout
field will be omitted from the resulting object.lifecycle_transition
(string
): Set thelifecycle_transition
field on the resulting object.name
(string
): Set thename
field on the resulting object.notification_metadata
(string
): Set thenotification_metadata
field on the resulting object. Whennull
, thenotification_metadata
field will be omitted from the resulting object.notification_target_arn
(string
): Set thenotification_target_arn
field on the resulting object. Whennull
, thenotification_target_arn
field will be omitted from the resulting object.role_arn
(string
): Set therole_arn
field on the resulting object. Whennull
, therole_arn
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
initial_lifecycle_hook
sub block.
new()
aws.autoscaling_group.instance_refresh.new
constructs a new object with attributes and blocks configured for the instance_refresh
Terraform sub block.
Args:
strategy
(string
): Set thestrategy
field on the resulting object.triggers
(list
): Set thetriggers
field on the resulting object. Whennull
, thetriggers
field will be omitted from the resulting object.preferences
(list[obj]
): Set thepreferences
field on the resulting object. Whennull
, thepreferences
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.instance_refresh.preferences.new constructor.
Returns:
- An attribute object that represents the
instance_refresh
sub block.
new()
aws.autoscaling_group.instance_refresh.preferences.new
constructs a new object with attributes and blocks configured for the preferences
Terraform sub block.
Args:
auto_rollback
(bool
): Set theauto_rollback
field on the resulting object. Whennull
, theauto_rollback
field will be omitted from the resulting object.checkpoint_delay
(string
): Set thecheckpoint_delay
field on the resulting object. Whennull
, thecheckpoint_delay
field will be omitted from the resulting object.checkpoint_percentages
(list
): Set thecheckpoint_percentages
field on the resulting object. Whennull
, thecheckpoint_percentages
field will be omitted from the resulting object.instance_warmup
(string
): Set theinstance_warmup
field on the resulting object. Whennull
, theinstance_warmup
field will be omitted from the resulting object.min_healthy_percentage
(number
): Set themin_healthy_percentage
field on the resulting object. Whennull
, themin_healthy_percentage
field will be omitted from the resulting object.scale_in_protected_instances
(string
): Set thescale_in_protected_instances
field on the resulting object. Whennull
, thescale_in_protected_instances
field will be omitted from the resulting object.skip_matching
(bool
): Set theskip_matching
field on the resulting object. Whennull
, theskip_matching
field will be omitted from the resulting object.standby_instances
(string
): Set thestandby_instances
field on the resulting object. Whennull
, thestandby_instances
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
preferences
sub block.
new()
aws.autoscaling_group.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.autoscaling_group.mixed_instances_policy.new
constructs a new object with attributes and blocks configured for the mixed_instances_policy
Terraform sub block.
Args:
instances_distribution
(list[obj]
): Set theinstances_distribution
field on the resulting object. Whennull
, theinstances_distribution
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.mixed_instances_policy.instances_distribution.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.autoscaling_group.mixed_instances_policy.launch_template.new constructor.
Returns:
- An attribute object that represents the
mixed_instances_policy
sub block.
new()
aws.autoscaling_group.mixed_instances_policy.instances_distribution.new
constructs a new object with attributes and blocks configured for the instances_distribution
Terraform sub block.
Args:
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_base_capacity
(number
): Set theon_demand_base_capacity
field on the resulting object. Whennull
, theon_demand_base_capacity
field will be omitted from the resulting object.on_demand_percentage_above_base_capacity
(number
): Set theon_demand_percentage_above_base_capacity
field on the resulting object. Whennull
, theon_demand_percentage_above_base_capacity
field will be omitted from the resulting object.spot_allocation_strategy
(string
): Set thespot_allocation_strategy
field on the resulting object. Whennull
, thespot_allocation_strategy
field will be omitted from the resulting object.spot_instance_pools
(number
): Set thespot_instance_pools
field on the resulting object. Whennull
, thespot_instance_pools
field will be omitted from the resulting object.spot_max_price
(string
): Set thespot_max_price
field on the resulting object. Whennull
, thespot_max_price
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
instances_distribution
sub block.
new()
aws.autoscaling_group.mixed_instances_policy.launch_template.new
constructs a new object with attributes and blocks configured for the launch_template
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.autoscaling_group.mixed_instances_policy.launch_template.launch_template_specification.new constructor.override
(list[obj]
): Set theoverride
field on the resulting object. Whennull
, theoverride
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.mixed_instances_policy.launch_template.override.new constructor.
Returns:
- An attribute object that represents the
launch_template
sub block.
new()
aws.autoscaling_group.mixed_instances_policy.launch_template.launch_template_specification.new
constructs a new object with attributes and blocks configured for the launch_template_specification
Terraform sub block.
Args:
launch_template_id
(string
): Set thelaunch_template_id
field on the resulting object. Whennull
, thelaunch_template_id
field will be omitted from the resulting object.launch_template_name
(string
): Set thelaunch_template_name
field on the resulting object. Whennull
, thelaunch_template_name
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.autoscaling_group.mixed_instances_policy.launch_template.override.new
constructs a new object with attributes and blocks configured for the override
Terraform sub block.
Args:
instance_type
(string
): Set theinstance_type
field on the resulting object. Whennull
, theinstance_type
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.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.autoscaling_group.mixed_instances_policy.launch_template.override.instance_requirements.new constructor.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.autoscaling_group.mixed_instances_policy.launch_template.override.launch_template_specification.new constructor.
Returns:
- An attribute object that represents the
override
sub block.
new()
aws.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.instance_requirements.vcpu_count.new constructor.
Returns:
- An attribute object that represents the
instance_requirements
sub block.
new()
aws.autoscaling_group.mixed_instances_policy.launch_template.override.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.
obj mixed_instances_policy.launch_template.override.instance_requirements.accelerator_total_memory_mib
fn mixed_instances_policy.launch_template.override.instance_requirements.accelerator_total_memory_mib.new
new()
aws.autoscaling_group.mixed_instances_policy.launch_template.override.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.
obj mixed_instances_policy.launch_template.override.instance_requirements.baseline_ebs_bandwidth_mbps
fn mixed_instances_policy.launch_template.override.instance_requirements.baseline_ebs_bandwidth_mbps.new
new()
aws.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.
fn mixed_instances_policy.launch_template.override.instance_requirements.network_interface_count.new
new()
aws.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.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.autoscaling_group.mixed_instances_policy.launch_template.override.launch_template_specification.new
constructs a new object with attributes and blocks configured for the launch_template_specification
Terraform sub block.
Args:
launch_template_id
(string
): Set thelaunch_template_id
field on the resulting object. Whennull
, thelaunch_template_id
field will be omitted from the resulting object.launch_template_name
(string
): Set thelaunch_template_name
field on the resulting object. Whennull
, thelaunch_template_name
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.autoscaling_group.tag.new
constructs a new object with attributes and blocks configured for the tag
Terraform sub block.
Args:
key
(string
): Set thekey
field on the resulting object.propagate_at_launch
(bool
): Set thepropagate_at_launch
field on the resulting object.value
(string
): Set thevalue
field on the resulting object.
Returns:
- An attribute object that represents the
tag
sub block.
new()
aws.autoscaling_group.timeouts.new
constructs a new object with attributes and blocks configured for the timeouts
Terraform sub block.
Args:
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.
new()
aws.autoscaling_group.traffic_source.new
constructs a new object with attributes and blocks configured for the traffic_source
Terraform sub block.
Args:
identifier
(string
): Set theidentifier
field on the resulting object.type
(string
): Set thetype
field on the resulting object. Whennull
, thetype
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
traffic_source
sub block.
new()
aws.autoscaling_group.warm_pool.new
constructs a new object with attributes and blocks configured for the warm_pool
Terraform sub block.
Args:
max_group_prepared_capacity
(number
): Set themax_group_prepared_capacity
field on the resulting object. Whennull
, themax_group_prepared_capacity
field will be omitted from the resulting object.min_size
(number
): Set themin_size
field on the resulting object. Whennull
, themin_size
field will be omitted from the resulting object.pool_state
(string
): Set thepool_state
field on the resulting object. Whennull
, thepool_state
field will be omitted from the resulting object.instance_reuse_policy
(list[obj]
): Set theinstance_reuse_policy
field on the resulting object. Whennull
, theinstance_reuse_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.autoscaling_group.warm_pool.instance_reuse_policy.new constructor.
Returns:
- An attribute object that represents the
warm_pool
sub block.
new()
aws.autoscaling_group.warm_pool.instance_reuse_policy.new
constructs a new object with attributes and blocks configured for the instance_reuse_policy
Terraform sub block.
Args:
reuse_on_scale_in
(bool
): Set thereuse_on_scale_in
field on the resulting object. Whennull
, thereuse_on_scale_in
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
instance_reuse_policy
sub block.