permalink |
---|
/opsworks_ecs_cluster_layer/ |
opsworks_ecs_cluster_layer
represents the aws_opsworks_ecs_cluster_layer
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withAutoAssignElasticIps()
fn withAutoAssignPublicIps()
fn withAutoHealing()
fn withCloudwatchConfiguration()
fn withCloudwatchConfigurationMixin()
fn withCustomConfigureRecipes()
fn withCustomDeployRecipes()
fn withCustomInstanceProfileArn()
fn withCustomJson()
fn withCustomSecurityGroupIds()
fn withCustomSetupRecipes()
fn withCustomShutdownRecipes()
fn withCustomUndeployRecipes()
fn withDrainElbOnShutdown()
fn withEbsVolume()
fn withEbsVolumeMixin()
fn withEcsClusterArn()
fn withElasticLoadBalancer()
fn withInstallUpdatesOnBoot()
fn withInstanceShutdownTimeout()
fn withLoadBasedAutoScaling()
fn withLoadBasedAutoScalingMixin()
fn withName()
fn withStackId()
fn withSystemPackages()
fn withTags()
fn withTagsAll()
fn withUseEbsOptimizedInstances()
obj cloudwatch_configuration
obj ebs_volume
obj load_based_auto_scaling
new()
aws.opsworks_ecs_cluster_layer.new
injects a new aws_opsworks_ecs_cluster_layer
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.opsworks_ecs_cluster_layer.new('some_id')
You can get the reference to the id
field of the created aws.opsworks_ecs_cluster_layer
using the reference:
$._ref.aws_opsworks_ecs_cluster_layer.some_id.get('id')
This is the same as directly entering "${ aws_opsworks_ecs_cluster_layer.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.auto_assign_elastic_ips
(bool
): Set theauto_assign_elastic_ips
field on the resulting resource block. Whennull
, theauto_assign_elastic_ips
field will be omitted from the resulting object.auto_assign_public_ips
(bool
): Set theauto_assign_public_ips
field on the resulting resource block. Whennull
, theauto_assign_public_ips
field will be omitted from the resulting object.auto_healing
(bool
): Set theauto_healing
field on the resulting resource block. Whennull
, theauto_healing
field will be omitted from the resulting object.custom_configure_recipes
(list
): Set thecustom_configure_recipes
field on the resulting resource block. Whennull
, thecustom_configure_recipes
field will be omitted from the resulting object.custom_deploy_recipes
(list
): Set thecustom_deploy_recipes
field on the resulting resource block. Whennull
, thecustom_deploy_recipes
field will be omitted from the resulting object.custom_instance_profile_arn
(string
): Set thecustom_instance_profile_arn
field on the resulting resource block. Whennull
, thecustom_instance_profile_arn
field will be omitted from the resulting object.custom_json
(string
): Set thecustom_json
field on the resulting resource block. Whennull
, thecustom_json
field will be omitted from the resulting object.custom_security_group_ids
(list
): Set thecustom_security_group_ids
field on the resulting resource block. Whennull
, thecustom_security_group_ids
field will be omitted from the resulting object.custom_setup_recipes
(list
): Set thecustom_setup_recipes
field on the resulting resource block. Whennull
, thecustom_setup_recipes
field will be omitted from the resulting object.custom_shutdown_recipes
(list
): Set thecustom_shutdown_recipes
field on the resulting resource block. Whennull
, thecustom_shutdown_recipes
field will be omitted from the resulting object.custom_undeploy_recipes
(list
): Set thecustom_undeploy_recipes
field on the resulting resource block. Whennull
, thecustom_undeploy_recipes
field will be omitted from the resulting object.drain_elb_on_shutdown
(bool
): Set thedrain_elb_on_shutdown
field on the resulting resource block. Whennull
, thedrain_elb_on_shutdown
field will be omitted from the resulting object.ecs_cluster_arn
(string
): Set theecs_cluster_arn
field on the resulting resource block.elastic_load_balancer
(string
): Set theelastic_load_balancer
field on the resulting resource block. Whennull
, theelastic_load_balancer
field will be omitted from the resulting object.install_updates_on_boot
(bool
): Set theinstall_updates_on_boot
field on the resulting resource block. Whennull
, theinstall_updates_on_boot
field will be omitted from the resulting object.instance_shutdown_timeout
(number
): Set theinstance_shutdown_timeout
field on the resulting resource block. Whennull
, theinstance_shutdown_timeout
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting resource block. Whennull
, thename
field will be omitted from the resulting object.stack_id
(string
): Set thestack_id
field on the resulting resource block.system_packages
(list
): Set thesystem_packages
field on the resulting resource block. Whennull
, thesystem_packages
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting resource block. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting resource block. Whennull
, thetags_all
field will be omitted from the resulting object.use_ebs_optimized_instances
(bool
): Set theuse_ebs_optimized_instances
field on the resulting resource block. Whennull
, theuse_ebs_optimized_instances
field will be omitted from the resulting object.cloudwatch_configuration
(list[obj]
): Set thecloudwatch_configuration
field on the resulting resource block. Whennull
, thecloudwatch_configuration
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.cloudwatch_configuration.new constructor.ebs_volume
(list[obj]
): Set theebs_volume
field on the resulting resource block. Whennull
, theebs_volume
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.ebs_volume.new constructor.load_based_auto_scaling
(list[obj]
): Set theload_based_auto_scaling
field on the resulting resource block. Whennull
, theload_based_auto_scaling
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.load_based_auto_scaling.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.opsworks_ecs_cluster_layer.newAttrs
constructs a new object with attributes and blocks configured for the opsworks_ecs_cluster_layer
Terraform resource.
Unlike aws.opsworks_ecs_cluster_layer.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:
auto_assign_elastic_ips
(bool
): Set theauto_assign_elastic_ips
field on the resulting object. Whennull
, theauto_assign_elastic_ips
field will be omitted from the resulting object.auto_assign_public_ips
(bool
): Set theauto_assign_public_ips
field on the resulting object. Whennull
, theauto_assign_public_ips
field will be omitted from the resulting object.auto_healing
(bool
): Set theauto_healing
field on the resulting object. Whennull
, theauto_healing
field will be omitted from the resulting object.custom_configure_recipes
(list
): Set thecustom_configure_recipes
field on the resulting object. Whennull
, thecustom_configure_recipes
field will be omitted from the resulting object.custom_deploy_recipes
(list
): Set thecustom_deploy_recipes
field on the resulting object. Whennull
, thecustom_deploy_recipes
field will be omitted from the resulting object.custom_instance_profile_arn
(string
): Set thecustom_instance_profile_arn
field on the resulting object. Whennull
, thecustom_instance_profile_arn
field will be omitted from the resulting object.custom_json
(string
): Set thecustom_json
field on the resulting object. Whennull
, thecustom_json
field will be omitted from the resulting object.custom_security_group_ids
(list
): Set thecustom_security_group_ids
field on the resulting object. Whennull
, thecustom_security_group_ids
field will be omitted from the resulting object.custom_setup_recipes
(list
): Set thecustom_setup_recipes
field on the resulting object. Whennull
, thecustom_setup_recipes
field will be omitted from the resulting object.custom_shutdown_recipes
(list
): Set thecustom_shutdown_recipes
field on the resulting object. Whennull
, thecustom_shutdown_recipes
field will be omitted from the resulting object.custom_undeploy_recipes
(list
): Set thecustom_undeploy_recipes
field on the resulting object. Whennull
, thecustom_undeploy_recipes
field will be omitted from the resulting object.drain_elb_on_shutdown
(bool
): Set thedrain_elb_on_shutdown
field on the resulting object. Whennull
, thedrain_elb_on_shutdown
field will be omitted from the resulting object.ecs_cluster_arn
(string
): Set theecs_cluster_arn
field on the resulting object.elastic_load_balancer
(string
): Set theelastic_load_balancer
field on the resulting object. Whennull
, theelastic_load_balancer
field will be omitted from the resulting object.install_updates_on_boot
(bool
): Set theinstall_updates_on_boot
field on the resulting object. Whennull
, theinstall_updates_on_boot
field will be omitted from the resulting object.instance_shutdown_timeout
(number
): Set theinstance_shutdown_timeout
field on the resulting object. Whennull
, theinstance_shutdown_timeout
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting object. Whennull
, thename
field will be omitted from the resulting object.stack_id
(string
): Set thestack_id
field on the resulting object.system_packages
(list
): Set thesystem_packages
field on the resulting object. Whennull
, thesystem_packages
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
field will be omitted from the resulting object.tags_all
(obj
): Set thetags_all
field on the resulting object. Whennull
, thetags_all
field will be omitted from the resulting object.use_ebs_optimized_instances
(bool
): Set theuse_ebs_optimized_instances
field on the resulting object. Whennull
, theuse_ebs_optimized_instances
field will be omitted from the resulting object.cloudwatch_configuration
(list[obj]
): Set thecloudwatch_configuration
field on the resulting object. Whennull
, thecloudwatch_configuration
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.cloudwatch_configuration.new constructor.ebs_volume
(list[obj]
): Set theebs_volume
field on the resulting object. Whennull
, theebs_volume
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.ebs_volume.new constructor.load_based_auto_scaling
(list[obj]
): Set theload_based_auto_scaling
field on the resulting object. Whennull
, theload_based_auto_scaling
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.load_based_auto_scaling.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
opsworks_ecs_cluster_layer
resource into the root Terraform configuration.
withAutoAssignElasticIps()
aws.bool.withAutoAssignElasticIps
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the auto_assign_elastic_ips field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theauto_assign_elastic_ips
field.
withAutoAssignPublicIps()
aws.bool.withAutoAssignPublicIps
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the auto_assign_public_ips field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theauto_assign_public_ips
field.
withAutoHealing()
aws.bool.withAutoHealing
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the auto_healing field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theauto_healing
field.
withCloudwatchConfiguration()
aws.list[obj].withCloudwatchConfiguration
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cloudwatch_configuration 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].withCloudwatchConfigurationMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecloudwatch_configuration
field.
withCloudwatchConfigurationMixin()
aws.list[obj].withCloudwatchConfigurationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cloudwatch_configuration 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].withCloudwatchConfiguration
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecloudwatch_configuration
field.
withCustomConfigureRecipes()
aws.list.withCustomConfigureRecipes
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the custom_configure_recipes field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thecustom_configure_recipes
field.
withCustomDeployRecipes()
aws.list.withCustomDeployRecipes
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the custom_deploy_recipes field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thecustom_deploy_recipes
field.
withCustomInstanceProfileArn()
aws.string.withCustomInstanceProfileArn
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the custom_instance_profile_arn field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thecustom_instance_profile_arn
field.
withCustomJson()
aws.string.withCustomJson
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the custom_json field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thecustom_json
field.
withCustomSecurityGroupIds()
aws.list.withCustomSecurityGroupIds
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the custom_security_group_ids field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thecustom_security_group_ids
field.
withCustomSetupRecipes()
aws.list.withCustomSetupRecipes
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the custom_setup_recipes field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thecustom_setup_recipes
field.
withCustomShutdownRecipes()
aws.list.withCustomShutdownRecipes
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the custom_shutdown_recipes field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thecustom_shutdown_recipes
field.
withCustomUndeployRecipes()
aws.list.withCustomUndeployRecipes
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the custom_undeploy_recipes field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thecustom_undeploy_recipes
field.
withDrainElbOnShutdown()
aws.bool.withDrainElbOnShutdown
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the drain_elb_on_shutdown field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thedrain_elb_on_shutdown
field.
withEbsVolume()
aws.list[obj].withEbsVolume
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the ebs_volume 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].withEbsVolumeMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theebs_volume
field.
withEbsVolumeMixin()
aws.list[obj].withEbsVolumeMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the ebs_volume 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].withEbsVolume
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theebs_volume
field.
withEcsClusterArn()
aws.string.withEcsClusterArn
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the ecs_cluster_arn field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theecs_cluster_arn
field.
withElasticLoadBalancer()
aws.string.withElasticLoadBalancer
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the elastic_load_balancer field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theelastic_load_balancer
field.
withInstallUpdatesOnBoot()
aws.bool.withInstallUpdatesOnBoot
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the install_updates_on_boot field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theinstall_updates_on_boot
field.
withInstanceShutdownTimeout()
aws.number.withInstanceShutdownTimeout
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the instance_shutdown_timeout field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for theinstance_shutdown_timeout
field.
withLoadBasedAutoScaling()
aws.list[obj].withLoadBasedAutoScaling
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the load_based_auto_scaling 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].withLoadBasedAutoScalingMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theload_based_auto_scaling
field.
withLoadBasedAutoScalingMixin()
aws.list[obj].withLoadBasedAutoScalingMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the load_based_auto_scaling 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].withLoadBasedAutoScaling
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theload_based_auto_scaling
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.
withStackId()
aws.string.withStackId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the stack_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thestack_id
field.
withSystemPackages()
aws.list.withSystemPackages
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the system_packages field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for thesystem_packages
field.
withTags()
aws.obj.withTags
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags
field.
withTagsAll()
aws.obj.withTagsAll
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the tags_all field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetags_all
field.
withUseEbsOptimizedInstances()
aws.bool.withUseEbsOptimizedInstances
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the use_ebs_optimized_instances field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theuse_ebs_optimized_instances
field.
new()
aws.opsworks_ecs_cluster_layer.cloudwatch_configuration.new
constructs a new object with attributes and blocks configured for the cloudwatch_configuration
Terraform sub block.
Args:
enabled
(bool
): Set theenabled
field on the resulting object. Whennull
, theenabled
field will be omitted from the resulting object.log_streams
(list[obj]
): Set thelog_streams
field on the resulting object. Whennull
, thelog_streams
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.cloudwatch_configuration.log_streams.new constructor.
Returns:
- An attribute object that represents the
cloudwatch_configuration
sub block.
new()
aws.opsworks_ecs_cluster_layer.cloudwatch_configuration.log_streams.new
constructs a new object with attributes and blocks configured for the log_streams
Terraform sub block.
Args:
batch_count
(number
): Set thebatch_count
field on the resulting object. Whennull
, thebatch_count
field will be omitted from the resulting object.batch_size
(number
): Set thebatch_size
field on the resulting object. Whennull
, thebatch_size
field will be omitted from the resulting object.buffer_duration
(number
): Set thebuffer_duration
field on the resulting object. Whennull
, thebuffer_duration
field will be omitted from the resulting object.datetime_format
(string
): Set thedatetime_format
field on the resulting object. Whennull
, thedatetime_format
field will be omitted from the resulting object.encoding
(string
): Set theencoding
field on the resulting object. Whennull
, theencoding
field will be omitted from the resulting object.file
(string
): Set thefile
field on the resulting object.file_fingerprint_lines
(string
): Set thefile_fingerprint_lines
field on the resulting object. Whennull
, thefile_fingerprint_lines
field will be omitted from the resulting object.initial_position
(string
): Set theinitial_position
field on the resulting object. Whennull
, theinitial_position
field will be omitted from the resulting object.log_group_name
(string
): Set thelog_group_name
field on the resulting object.multiline_start_pattern
(string
): Set themultiline_start_pattern
field on the resulting object. Whennull
, themultiline_start_pattern
field will be omitted from the resulting object.time_zone
(string
): Set thetime_zone
field on the resulting object. Whennull
, thetime_zone
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
log_streams
sub block.
new()
aws.opsworks_ecs_cluster_layer.ebs_volume.new
constructs a new object with attributes and blocks configured for the ebs_volume
Terraform sub block.
Args:
encrypted
(bool
): Set theencrypted
field on the resulting object. Whennull
, theencrypted
field will be omitted from the resulting object.iops
(number
): Set theiops
field on the resulting object. Whennull
, theiops
field will be omitted from the resulting object.mount_point
(string
): Set themount_point
field on the resulting object.number_of_disks
(number
): Set thenumber_of_disks
field on the resulting object.raid_level
(string
): Set theraid_level
field on the resulting object. Whennull
, theraid_level
field will be omitted from the resulting object.size
(number
): Set thesize
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
ebs_volume
sub block.
new()
aws.opsworks_ecs_cluster_layer.load_based_auto_scaling.new
constructs a new object with attributes and blocks configured for the load_based_auto_scaling
Terraform sub block.
Args:
enable
(bool
): Set theenable
field on the resulting object. Whennull
, theenable
field will be omitted from the resulting object.downscaling
(list[obj]
): Set thedownscaling
field on the resulting object. Whennull
, thedownscaling
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.load_based_auto_scaling.downscaling.new constructor.upscaling
(list[obj]
): Set theupscaling
field on the resulting object. Whennull
, theupscaling
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.opsworks_ecs_cluster_layer.load_based_auto_scaling.upscaling.new constructor.
Returns:
- An attribute object that represents the
load_based_auto_scaling
sub block.
new()
aws.opsworks_ecs_cluster_layer.load_based_auto_scaling.downscaling.new
constructs a new object with attributes and blocks configured for the downscaling
Terraform sub block.
Args:
alarms
(list
): Set thealarms
field on the resulting object. Whennull
, thealarms
field will be omitted from the resulting object.cpu_threshold
(number
): Set thecpu_threshold
field on the resulting object. Whennull
, thecpu_threshold
field will be omitted from the resulting object.ignore_metrics_time
(number
): Set theignore_metrics_time
field on the resulting object. Whennull
, theignore_metrics_time
field will be omitted from the resulting object.instance_count
(number
): Set theinstance_count
field on the resulting object. Whennull
, theinstance_count
field will be omitted from the resulting object.load_threshold
(number
): Set theload_threshold
field on the resulting object. Whennull
, theload_threshold
field will be omitted from the resulting object.memory_threshold
(number
): Set thememory_threshold
field on the resulting object. Whennull
, thememory_threshold
field will be omitted from the resulting object.thresholds_wait_time
(number
): Set thethresholds_wait_time
field on the resulting object. Whennull
, thethresholds_wait_time
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
downscaling
sub block.
new()
aws.opsworks_ecs_cluster_layer.load_based_auto_scaling.upscaling.new
constructs a new object with attributes and blocks configured for the upscaling
Terraform sub block.
Args:
alarms
(list
): Set thealarms
field on the resulting object. Whennull
, thealarms
field will be omitted from the resulting object.cpu_threshold
(number
): Set thecpu_threshold
field on the resulting object. Whennull
, thecpu_threshold
field will be omitted from the resulting object.ignore_metrics_time
(number
): Set theignore_metrics_time
field on the resulting object. Whennull
, theignore_metrics_time
field will be omitted from the resulting object.instance_count
(number
): Set theinstance_count
field on the resulting object. Whennull
, theinstance_count
field will be omitted from the resulting object.load_threshold
(number
): Set theload_threshold
field on the resulting object. Whennull
, theload_threshold
field will be omitted from the resulting object.memory_threshold
(number
): Set thememory_threshold
field on the resulting object. Whennull
, thememory_threshold
field will be omitted from the resulting object.thresholds_wait_time
(number
): Set thethresholds_wait_time
field on the resulting object. Whennull
, thethresholds_wait_time
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
upscaling
sub block.