Skip to main content

auto_scaling_group

Gets an individual auto_scaling_group resource

Overview

Nameauto_scaling_group
TypeResource
Descriptionauto_scaling_group
Idawscc.autoscaling.auto_scaling_group

Fields

NameDatatypeDescription
lifecycle_hook_specification_listarray
load_balancer_namesarray
launch_configuration_namestring
service_linked_role_arnstring
target_group_arnsarray
cooldownstring
notification_configurationsarray
desired_capacitystring
health_check_grace_periodinteger
default_instance_warmupinteger
new_instances_protected_from_scale_inboolean
launch_templateobject
mixed_instances_policyobject
vpc_zone_identifierarray
tagsarray
contextstring
capacity_rebalanceboolean
instance_idstring
availability_zonesarray
notification_configurationobject
metrics_collectionarray
instance_maintenance_policyobject
max_sizestring
min_sizestring
termination_policiesarray
auto_scaling_group_namestring
desired_capacity_typestring
placement_groupstring
health_check_typestring
max_instance_lifetimeinteger
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
lifecycle_hook_specification_list,
load_balancer_names,
launch_configuration_name,
service_linked_role_arn,
target_group_arns,
cooldown,
notification_configurations,
desired_capacity,
health_check_grace_period,
default_instance_warmup,
new_instances_protected_from_scale_in,
launch_template,
mixed_instances_policy,
vpc_zone_identifier,
tags,
context,
capacity_rebalance,
instance_id,
availability_zones,
notification_configuration,
metrics_collection,
instance_maintenance_policy,
max_size,
min_size,
termination_policies,
auto_scaling_group_name,
desired_capacity_type,
placement_group,
health_check_type,
max_instance_lifetime
FROM awscc.autoscaling.auto_scaling_group
WHERE data__Identifier = '<AutoScalingGroupName>';

Permissions

To operate on the auto_scaling_group resource, the following permissions are required:

Read

autoscaling:*,
managed-fleets:GetAutoScalingGroup

Update

autoscaling:*,
cloudwatch:PutMetricAlarm,
ec2:Describe*,
ec2:GetInstanceTypesFromInstanceRequirements,
ec2:RunInstances,
elasticloadbalancing:DescribeLoadBalancers,
elasticloadbalancing:DescribeTargetGroups,
iam:CreateServiceLinkedRole,
iam:PassRole,
managed-fleets:GetAutoScalingGroup,
managed-fleets:RegisterAutoScalingGroup,
managed-fleets:DeregisterAutoScalingGroup,
managed-fleets:UpdateAutoScalingGroup,
ssm:GetParameters

Delete

autoscaling:*,
managed-fleets:GetAutoScalingGroup,
managed-fleets:DeleteAutoScalingGroup