auto_scaling_group
Gets an individual auto_scaling_group
resource
Overview
Name | auto_scaling_group |
Type | Resource |
Description | auto_scaling_group |
Id | awscc.autoscaling.auto_scaling_group |
Fields
Name | Datatype | Description |
---|---|---|
lifecycle_hook_specification_list | array | |
load_balancer_names | array | |
launch_configuration_name | string | |
service_linked_role_arn | string | |
target_group_arns | array | |
cooldown | string | |
notification_configurations | array | |
desired_capacity | string | |
health_check_grace_period | integer | |
default_instance_warmup | integer | |
new_instances_protected_from_scale_in | boolean | |
launch_template | object | |
mixed_instances_policy | object | |
vpc_zone_identifier | array | |
tags | array | |
context | string | |
capacity_rebalance | boolean | |
instance_id | string | |
availability_zones | array | |
notification_configuration | object | |
metrics_collection | array | |
instance_maintenance_policy | object | |
max_size | string | |
min_size | string | |
termination_policies | array | |
auto_scaling_group_name | string | |
desired_capacity_type | string | |
placement_group | string | |
health_check_type | string | |
max_instance_lifetime | integer | |
region | string | AWS 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