Skip to content

Latest commit

 

History

History
1682 lines (1024 loc) · 78 KB

autoscaling_group.md

File metadata and controls

1682 lines (1024 loc) · 78 KB
permalink
/autoscaling_group/

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.

Index

Fields

fn new

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 the availability_zones field on the resulting resource block. When null, the availability_zones field will be omitted from the resulting object.
  • capacity_rebalance (bool): Set the capacity_rebalance field on the resulting resource block. When null, the capacity_rebalance field will be omitted from the resulting object.
  • context (string): Set the context field on the resulting resource block. When null, the context field will be omitted from the resulting object.
  • default_cooldown (number): Set the default_cooldown field on the resulting resource block. When null, the default_cooldown field will be omitted from the resulting object.
  • default_instance_warmup (number): Set the default_instance_warmup field on the resulting resource block. When null, the default_instance_warmup field will be omitted from the resulting object.
  • desired_capacity (number): Set the desired_capacity field on the resulting resource block. When null, the desired_capacity field will be omitted from the resulting object.
  • desired_capacity_type (string): Set the desired_capacity_type field on the resulting resource block. When null, the desired_capacity_type field will be omitted from the resulting object.
  • enabled_metrics (list): Set the enabled_metrics field on the resulting resource block. When null, the enabled_metrics field will be omitted from the resulting object.
  • force_delete (bool): Set the force_delete field on the resulting resource block. When null, the force_delete field will be omitted from the resulting object.
  • force_delete_warm_pool (bool): Set the force_delete_warm_pool field on the resulting resource block. When null, the force_delete_warm_pool field will be omitted from the resulting object.
  • health_check_grace_period (number): Set the health_check_grace_period field on the resulting resource block. When null, the health_check_grace_period field will be omitted from the resulting object.
  • health_check_type (string): Set the health_check_type field on the resulting resource block. When null, the health_check_type field will be omitted from the resulting object.
  • ignore_failed_scaling_activities (bool): Set the ignore_failed_scaling_activities field on the resulting resource block. When null, the ignore_failed_scaling_activities field will be omitted from the resulting object.
  • launch_configuration (string): Set the launch_configuration field on the resulting resource block. When null, the launch_configuration field will be omitted from the resulting object.
  • load_balancers (list): Set the load_balancers field on the resulting resource block. When null, the load_balancers field will be omitted from the resulting object.
  • max_instance_lifetime (number): Set the max_instance_lifetime field on the resulting resource block. When null, the max_instance_lifetime field will be omitted from the resulting object.
  • max_size (number): Set the max_size field on the resulting resource block.
  • metrics_granularity (string): Set the metrics_granularity field on the resulting resource block. When null, the metrics_granularity field will be omitted from the resulting object.
  • min_elb_capacity (number): Set the min_elb_capacity field on the resulting resource block. When null, the min_elb_capacity field will be omitted from the resulting object.
  • min_size (number): Set the min_size field on the resulting resource block.
  • name (string): Set the name field on the resulting resource block. When null, the name field will be omitted from the resulting object.
  • name_prefix (string): Set the name_prefix field on the resulting resource block. When null, the name_prefix field will be omitted from the resulting object.
  • placement_group (string): Set the placement_group field on the resulting resource block. When null, the placement_group field will be omitted from the resulting object.
  • protect_from_scale_in (bool): Set the protect_from_scale_in field on the resulting resource block. When null, the protect_from_scale_in field will be omitted from the resulting object.
  • service_linked_role_arn (string): Set the service_linked_role_arn field on the resulting resource block. When null, the service_linked_role_arn field will be omitted from the resulting object.
  • suspended_processes (list): Set the suspended_processes field on the resulting resource block. When null, the suspended_processes field will be omitted from the resulting object.
  • target_group_arns (list): Set the target_group_arns field on the resulting resource block. When null, the target_group_arns field will be omitted from the resulting object.
  • termination_policies (list): Set the termination_policies field on the resulting resource block. When null, the termination_policies field will be omitted from the resulting object.
  • vpc_zone_identifier (list): Set the vpc_zone_identifier field on the resulting resource block. When null, the vpc_zone_identifier field will be omitted from the resulting object.
  • wait_for_capacity_timeout (string): Set the wait_for_capacity_timeout field on the resulting resource block. When null, the wait_for_capacity_timeout field will be omitted from the resulting object.
  • wait_for_elb_capacity (number): Set the wait_for_elb_capacity field on the resulting resource block. When null, the wait_for_elb_capacity field will be omitted from the resulting object.
  • initial_lifecycle_hook (list[obj]): Set the initial_lifecycle_hook field on the resulting resource block. When null, the initial_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 the instance_refresh field on the resulting resource block. When null, the instance_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 the launch_template field on the resulting resource block. When null, the launch_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 the mixed_instances_policy field on the resulting resource block. When null, the mixed_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 the tag field on the resulting resource block. When null, the tag 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 the timeouts field on the resulting resource block. When null, the timeouts 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 the traffic_source field on the resulting resource block. When null, the traffic_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 the warm_pool field on the resulting resource block. When null, the warm_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.

fn newAttrs

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 the availability_zones field on the resulting object. When null, the availability_zones field will be omitted from the resulting object.
  • capacity_rebalance (bool): Set the capacity_rebalance field on the resulting object. When null, the capacity_rebalance field will be omitted from the resulting object.
  • context (string): Set the context field on the resulting object. When null, the context field will be omitted from the resulting object.
  • default_cooldown (number): Set the default_cooldown field on the resulting object. When null, the default_cooldown field will be omitted from the resulting object.
  • default_instance_warmup (number): Set the default_instance_warmup field on the resulting object. When null, the default_instance_warmup field will be omitted from the resulting object.
  • desired_capacity (number): Set the desired_capacity field on the resulting object. When null, the desired_capacity field will be omitted from the resulting object.
  • desired_capacity_type (string): Set the desired_capacity_type field on the resulting object. When null, the desired_capacity_type field will be omitted from the resulting object.
  • enabled_metrics (list): Set the enabled_metrics field on the resulting object. When null, the enabled_metrics field will be omitted from the resulting object.
  • force_delete (bool): Set the force_delete field on the resulting object. When null, the force_delete field will be omitted from the resulting object.
  • force_delete_warm_pool (bool): Set the force_delete_warm_pool field on the resulting object. When null, the force_delete_warm_pool field will be omitted from the resulting object.
  • health_check_grace_period (number): Set the health_check_grace_period field on the resulting object. When null, the health_check_grace_period field will be omitted from the resulting object.
  • health_check_type (string): Set the health_check_type field on the resulting object. When null, the health_check_type field will be omitted from the resulting object.
  • ignore_failed_scaling_activities (bool): Set the ignore_failed_scaling_activities field on the resulting object. When null, the ignore_failed_scaling_activities field will be omitted from the resulting object.
  • launch_configuration (string): Set the launch_configuration field on the resulting object. When null, the launch_configuration field will be omitted from the resulting object.
  • load_balancers (list): Set the load_balancers field on the resulting object. When null, the load_balancers field will be omitted from the resulting object.
  • max_instance_lifetime (number): Set the max_instance_lifetime field on the resulting object. When null, the max_instance_lifetime field will be omitted from the resulting object.
  • max_size (number): Set the max_size field on the resulting object.
  • metrics_granularity (string): Set the metrics_granularity field on the resulting object. When null, the metrics_granularity field will be omitted from the resulting object.
  • min_elb_capacity (number): Set the min_elb_capacity field on the resulting object. When null, the min_elb_capacity field will be omitted from the resulting object.
  • min_size (number): Set the min_size field on the resulting object.
  • name (string): Set the name field on the resulting object. When null, the name field will be omitted from the resulting object.
  • name_prefix (string): Set the name_prefix field on the resulting object. When null, the name_prefix field will be omitted from the resulting object.
  • placement_group (string): Set the placement_group field on the resulting object. When null, the placement_group field will be omitted from the resulting object.
  • protect_from_scale_in (bool): Set the protect_from_scale_in field on the resulting object. When null, the protect_from_scale_in field will be omitted from the resulting object.
  • service_linked_role_arn (string): Set the service_linked_role_arn field on the resulting object. When null, the service_linked_role_arn field will be omitted from the resulting object.
  • suspended_processes (list): Set the suspended_processes field on the resulting object. When null, the suspended_processes field will be omitted from the resulting object.
  • target_group_arns (list): Set the target_group_arns field on the resulting object. When null, the target_group_arns field will be omitted from the resulting object.
  • termination_policies (list): Set the termination_policies field on the resulting object. When null, the termination_policies field will be omitted from the resulting object.
  • vpc_zone_identifier (list): Set the vpc_zone_identifier field on the resulting object. When null, the vpc_zone_identifier field will be omitted from the resulting object.
  • wait_for_capacity_timeout (string): Set the wait_for_capacity_timeout field on the resulting object. When null, the wait_for_capacity_timeout field will be omitted from the resulting object.
  • wait_for_elb_capacity (number): Set the wait_for_elb_capacity field on the resulting object. When null, the wait_for_elb_capacity field will be omitted from the resulting object.
  • initial_lifecycle_hook (list[obj]): Set the initial_lifecycle_hook field on the resulting object. When null, the initial_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 the instance_refresh field on the resulting object. When null, the instance_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 the launch_template field on the resulting object. When null, the launch_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 the mixed_instances_policy field on the resulting object. When null, the mixed_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 the tag field on the resulting object. When null, the tag 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 the timeouts field on the resulting object. When null, the timeouts 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 the traffic_source field on the resulting object. When null, the traffic_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 the warm_pool field on the resulting object. When null, the warm_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.

fn withAvailabilityZones

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 the availability_zones field.

fn withCapacityRebalance

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 the capacity_rebalance field.

fn withContext

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 the context field.

fn withDefaultCooldown

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 the default_cooldown field.

fn withDefaultInstanceWarmup

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 the default_instance_warmup field.

fn withDesiredCapacity

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 the desired_capacity field.

fn withDesiredCapacityType

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 the desired_capacity_type field.

fn withEnabledMetrics

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 the enabled_metrics field.

fn withForceDelete

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 the force_delete field.

fn withForceDeleteWarmPool

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 the force_delete_warm_pool field.

fn withHealthCheckGracePeriod

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 the health_check_grace_period field.

fn withHealthCheckType

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 the health_check_type field.

fn withIgnoreFailedScalingActivities

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 the ignore_failed_scaling_activities field.

fn withInitialLifecycleHook

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 the initial_lifecycle_hook field.

fn withInitialLifecycleHookMixin

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 the initial_lifecycle_hook field.

fn withInstanceRefresh

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 the instance_refresh field.

fn withInstanceRefreshMixin

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 the instance_refresh field.

fn withLaunchConfiguration

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 the launch_configuration field.

fn withLaunchTemplate

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 the launch_template field.

fn withLaunchTemplateMixin

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 the launch_template field.

fn withLoadBalancers

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 the load_balancers field.

fn withMaxInstanceLifetime

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 the max_instance_lifetime field.

fn withMaxSize

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 the max_size field.

fn withMetricsGranularity

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 the metrics_granularity field.

fn withMinElbCapacity

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 the min_elb_capacity field.

fn withMinSize

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 the min_size field.

fn withMixedInstancesPolicy

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 the mixed_instances_policy field.

fn withMixedInstancesPolicyMixin

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 the mixed_instances_policy field.

fn withName

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 the name field.

fn withNamePrefix

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 the name_prefix field.

fn withPlacementGroup

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 the placement_group field.

fn withProtectFromScaleIn

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 the protect_from_scale_in field.

fn withServiceLinkedRoleArn

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 the service_linked_role_arn field.

fn withSuspendedProcesses

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 the suspended_processes field.

fn withTag

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 the tag field.

fn withTagMixin

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 the tag field.

fn withTargetGroupArns

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 the target_group_arns field.

fn withTerminationPolicies

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 the termination_policies field.

fn withTimeouts

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 the timeouts field.

fn withTimeoutsMixin

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 the timeouts field.

fn withTrafficSource

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 the traffic_source field.

fn withTrafficSourceMixin

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 the traffic_source field.

fn withVpcZoneIdentifier

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 the vpc_zone_identifier field.

fn withWaitForCapacityTimeout

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 the wait_for_capacity_timeout field.

fn withWaitForElbCapacity

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 the wait_for_elb_capacity field.

fn withWarmPool

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 the warm_pool field.

fn withWarmPoolMixin

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 the warm_pool field.

obj initial_lifecycle_hook

fn initial_lifecycle_hook.new

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 the default_result field on the resulting object. When null, the default_result field will be omitted from the resulting object.
  • heartbeat_timeout (number): Set the heartbeat_timeout field on the resulting object. When null, the heartbeat_timeout field will be omitted from the resulting object.
  • lifecycle_transition (string): Set the lifecycle_transition field on the resulting object.
  • name (string): Set the name field on the resulting object.
  • notification_metadata (string): Set the notification_metadata field on the resulting object. When null, the notification_metadata field will be omitted from the resulting object.
  • notification_target_arn (string): Set the notification_target_arn field on the resulting object. When null, the notification_target_arn field will be omitted from the resulting object.
  • role_arn (string): Set the role_arn field on the resulting object. When null, the role_arn field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the initial_lifecycle_hook sub block.

obj instance_refresh

fn instance_refresh.new

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 the strategy field on the resulting object.
  • triggers (list): Set the triggers field on the resulting object. When null, the triggers field will be omitted from the resulting object.
  • preferences (list[obj]): Set the preferences field on the resulting object. When null, the preferences 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.

obj instance_refresh.preferences

fn instance_refresh.preferences.new

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 the auto_rollback field on the resulting object. When null, the auto_rollback field will be omitted from the resulting object.
  • checkpoint_delay (string): Set the checkpoint_delay field on the resulting object. When null, the checkpoint_delay field will be omitted from the resulting object.
  • checkpoint_percentages (list): Set the checkpoint_percentages field on the resulting object. When null, the checkpoint_percentages field will be omitted from the resulting object.
  • instance_warmup (string): Set the instance_warmup field on the resulting object. When null, the instance_warmup field will be omitted from the resulting object.
  • min_healthy_percentage (number): Set the min_healthy_percentage field on the resulting object. When null, the min_healthy_percentage field will be omitted from the resulting object.
  • scale_in_protected_instances (string): Set the scale_in_protected_instances field on the resulting object. When null, the scale_in_protected_instances field will be omitted from the resulting object.
  • skip_matching (bool): Set the skip_matching field on the resulting object. When null, the skip_matching field will be omitted from the resulting object.
  • standby_instances (string): Set the standby_instances field on the resulting object. When null, the standby_instances field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the preferences sub block.

obj launch_template

fn launch_template.new

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 the name field on the resulting object. When null, the name field will be omitted from the resulting object.
  • version (string): Set the version field on the resulting object. When null, the version field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the launch_template sub block.

obj mixed_instances_policy

fn mixed_instances_policy.new

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 the instances_distribution field on the resulting object. When null, the instances_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 the launch_template field on the resulting object. When null, the launch_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.

obj mixed_instances_policy.instances_distribution

fn mixed_instances_policy.instances_distribution.new

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 the on_demand_allocation_strategy field on the resulting object. When null, the on_demand_allocation_strategy field will be omitted from the resulting object.
  • on_demand_base_capacity (number): Set the on_demand_base_capacity field on the resulting object. When null, the on_demand_base_capacity field will be omitted from the resulting object.
  • on_demand_percentage_above_base_capacity (number): Set the on_demand_percentage_above_base_capacity field on the resulting object. When null, the on_demand_percentage_above_base_capacity field will be omitted from the resulting object.
  • spot_allocation_strategy (string): Set the spot_allocation_strategy field on the resulting object. When null, the spot_allocation_strategy field will be omitted from the resulting object.
  • spot_instance_pools (number): Set the spot_instance_pools field on the resulting object. When null, the spot_instance_pools field will be omitted from the resulting object.
  • spot_max_price (string): Set the spot_max_price field on the resulting object. When null, the spot_max_price field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the instances_distribution sub block.

obj mixed_instances_policy.launch_template

fn mixed_instances_policy.launch_template.new

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:

Returns:

  • An attribute object that represents the launch_template sub block.

obj mixed_instances_policy.launch_template.launch_template_specification

fn mixed_instances_policy.launch_template.launch_template_specification.new

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 the launch_template_id field on the resulting object. When null, the launch_template_id field will be omitted from the resulting object.
  • launch_template_name (string): Set the launch_template_name field on the resulting object. When null, the launch_template_name field will be omitted from the resulting object.
  • version (string): Set the version field on the resulting object. When null, the version field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the launch_template_specification sub block.

obj mixed_instances_policy.launch_template.override

fn mixed_instances_policy.launch_template.override.new

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 the instance_type field on the resulting object. When null, the instance_type field will be omitted from the resulting object.
  • weighted_capacity (string): Set the weighted_capacity field on the resulting object. When null, the weighted_capacity field will be omitted from the resulting object.
  • instance_requirements (list[obj]): Set the instance_requirements field on the resulting object. When null, the instance_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 the launch_template_specification field on the resulting object. When null, the launch_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.

obj mixed_instances_policy.launch_template.override.instance_requirements

fn mixed_instances_policy.launch_template.override.instance_requirements.new

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 the accelerator_manufacturers field on the resulting object. When null, the accelerator_manufacturers field will be omitted from the resulting object.
  • accelerator_names (list): Set the accelerator_names field on the resulting object. When null, the accelerator_names field will be omitted from the resulting object.
  • accelerator_types (list): Set the accelerator_types field on the resulting object. When null, the accelerator_types field will be omitted from the resulting object.
  • allowed_instance_types (list): Set the allowed_instance_types field on the resulting object. When null, the allowed_instance_types field will be omitted from the resulting object.
  • bare_metal (string): Set the bare_metal field on the resulting object. When null, the bare_metal field will be omitted from the resulting object.
  • burstable_performance (string): Set the burstable_performance field on the resulting object. When null, the burstable_performance field will be omitted from the resulting object.
  • cpu_manufacturers (list): Set the cpu_manufacturers field on the resulting object. When null, the cpu_manufacturers field will be omitted from the resulting object.
  • excluded_instance_types (list): Set the excluded_instance_types field on the resulting object. When null, the excluded_instance_types field will be omitted from the resulting object.
  • instance_generations (list): Set the instance_generations field on the resulting object. When null, the instance_generations field will be omitted from the resulting object.
  • local_storage (string): Set the local_storage field on the resulting object. When null, the local_storage field will be omitted from the resulting object.
  • local_storage_types (list): Set the local_storage_types field on the resulting object. When null, the local_storage_types field will be omitted from the resulting object.
  • on_demand_max_price_percentage_over_lowest_price (number): Set the on_demand_max_price_percentage_over_lowest_price field on the resulting object. When null, the on_demand_max_price_percentage_over_lowest_price field will be omitted from the resulting object.
  • require_hibernate_support (bool): Set the require_hibernate_support field on the resulting object. When null, the require_hibernate_support field will be omitted from the resulting object.
  • spot_max_price_percentage_over_lowest_price (number): Set the spot_max_price_percentage_over_lowest_price field on the resulting object. When null, the spot_max_price_percentage_over_lowest_price field will be omitted from the resulting object.
  • accelerator_count (list[obj]): Set the accelerator_count field on the resulting object. When null, the accelerator_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 the accelerator_total_memory_mib field on the resulting object. When null, the accelerator_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 the baseline_ebs_bandwidth_mbps field on the resulting object. When null, the baseline_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 the memory_gib_per_vcpu field on the resulting object. When null, the memory_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 the memory_mib field on the resulting object. When null, the 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.memory_mib.new constructor.
  • network_bandwidth_gbps (list[obj]): Set the network_bandwidth_gbps field on the resulting object. When null, the network_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 the network_interface_count field on the resulting object. When null, the network_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 the total_local_storage_gb field on the resulting object. When null, the total_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 the vcpu_count field on the resulting object. When null, the vcpu_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.

obj mixed_instances_policy.launch_template.override.instance_requirements.accelerator_count

fn mixed_instances_policy.launch_template.override.instance_requirements.accelerator_count.new

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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min 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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min 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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the baseline_ebs_bandwidth_mbps sub block.

obj mixed_instances_policy.launch_template.override.instance_requirements.memory_gib_per_vcpu

fn mixed_instances_policy.launch_template.override.instance_requirements.memory_gib_per_vcpu.new

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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the memory_gib_per_vcpu sub block.

obj mixed_instances_policy.launch_template.override.instance_requirements.memory_mib

fn mixed_instances_policy.launch_template.override.instance_requirements.memory_mib.new

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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the memory_mib sub block.

obj mixed_instances_policy.launch_template.override.instance_requirements.network_bandwidth_gbps

fn mixed_instances_policy.launch_template.override.instance_requirements.network_bandwidth_gbps.new

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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the network_bandwidth_gbps sub block.

obj mixed_instances_policy.launch_template.override.instance_requirements.network_interface_count

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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the network_interface_count sub block.

obj mixed_instances_policy.launch_template.override.instance_requirements.total_local_storage_gb

fn mixed_instances_policy.launch_template.override.instance_requirements.total_local_storage_gb.new

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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the total_local_storage_gb sub block.

obj mixed_instances_policy.launch_template.override.instance_requirements.vcpu_count

fn mixed_instances_policy.launch_template.override.instance_requirements.vcpu_count.new

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 the max field on the resulting object. When null, the max field will be omitted from the resulting object.
  • min (number): Set the min field on the resulting object. When null, the min field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the vcpu_count sub block.

obj mixed_instances_policy.launch_template.override.launch_template_specification

fn mixed_instances_policy.launch_template.override.launch_template_specification.new

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 the launch_template_id field on the resulting object. When null, the launch_template_id field will be omitted from the resulting object.
  • launch_template_name (string): Set the launch_template_name field on the resulting object. When null, the launch_template_name field will be omitted from the resulting object.
  • version (string): Set the version field on the resulting object. When null, the version field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the launch_template_specification sub block.

obj tag

fn tag.new

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 the key field on the resulting object.
  • propagate_at_launch (bool): Set the propagate_at_launch field on the resulting object.
  • value (string): Set the value field on the resulting object.

Returns:

  • An attribute object that represents the tag sub block.

obj timeouts

fn timeouts.new

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 the delete field on the resulting object. When null, the delete field will be omitted from the resulting object.
  • update (string): Set the update field on the resulting object. When null, the update field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the timeouts sub block.

obj traffic_source

fn traffic_source.new

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 the identifier field on the resulting object.
  • type (string): Set the type field on the resulting object. When null, the type field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the traffic_source sub block.

obj warm_pool

fn warm_pool.new

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 the max_group_prepared_capacity field on the resulting object. When null, the max_group_prepared_capacity field will be omitted from the resulting object.
  • min_size (number): Set the min_size field on the resulting object. When null, the min_size field will be omitted from the resulting object.
  • pool_state (string): Set the pool_state field on the resulting object. When null, the pool_state field will be omitted from the resulting object.
  • instance_reuse_policy (list[obj]): Set the instance_reuse_policy field on the resulting object. When null, the instance_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.

obj warm_pool.instance_reuse_policy

fn warm_pool.instance_reuse_policy.new

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 the reuse_on_scale_in field on the resulting object. When null, the reuse_on_scale_in field will be omitted from the resulting object.

Returns:

  • An attribute object that represents the instance_reuse_policy sub block.