naftiko: 1.0.0-alpha2 info: label: Auto Scaling description: Amazon EC2 Auto Scaling

Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.

For more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.

tags: - Amazon - Ec2 - Auto - Scaling - API created: '2026-05-06' modified: '2026-05-06' capability: consumes: - type: http namespace: amazon-ec2-auto-scaling baseUri: http://autoscaling.us-east-1.amazonaws.com description: Auto Scaling HTTP API. authentication: type: apikey in: header name: Authorization value: '{{AMAZON_EC2_AUTO_SCALING_TOKEN}}' resources: - name: action-attachinstances path: /#Action=AttachInstances operations: - name: get-attachinstances method: GET description: Amazon EC2 Auto Scaling GET_ Attach Instances inputParameters: - name: InstanceIds in: query type: array description: The IDs of the instances. You can specify up to 20 instances. - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-attachinstances method: POST description: Amazon EC2 Auto Scaling POST_ Attach Instances inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-attachloadbalancertargetgroups path: /#Action=AttachLoadBalancerTargetGroups operations: - name: get-attachloadbalancertargetgroups method: GET description: Amazon EC2 Auto Scaling GET_ Attach Load Balancer Target Groups inputParameters: - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: TargetGroupARNs in: query type: array required: true description: 'The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing ' - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-attachloadbalancertargetgroups method: POST description: Amazon EC2 Auto Scaling POST_ Attach Load Balancer Target Groups inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-attachloadbalancers path: /#Action=AttachLoadBalancers operations: - name: get-attachloadbalancers method: GET description: Amazon EC2 Auto Scaling GET_ Attach Load Balancers inputParameters: - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: LoadBalancerNames in: query type: array required: true description: The names of the load balancers. You can specify up to 10 load balancers. - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-attachloadbalancers method: POST description: Amazon EC2 Auto Scaling POST_ Attach Load Balancers inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-attachtrafficsources path: /#Action=AttachTrafficSources operations: - name: get-attachtrafficsources method: GET description: Amazon EC2 Auto Scaling GET_ Attach Traffic Sources inputParameters: - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: TrafficSources in: query type: array required: true description: The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources. - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-attachtrafficsources method: POST description: Amazon EC2 Auto Scaling POST_ Attach Traffic Sources inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-batchdeletescheduledaction path: /#Action=BatchDeleteScheduledAction operations: - name: get-batchdeletescheduledaction method: GET description: Amazon EC2 Auto Scaling GET_ Batch Delete Scheduled Action inputParameters: - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: ScheduledActionNames in: query type: array required: true description: The names of the scheduled actions to delete. The maximum number allowed is 50. - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-batchdeletescheduledaction method: POST description: Amazon EC2 Auto Scaling POST_ Batch Delete Scheduled Action inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-batchputscheduledupdategroupaction path: /#Action=BatchPutScheduledUpdateGroupAction operations: - name: get-batchputscheduledupdategroupaction method: GET description: Amazon EC2 Auto Scaling GET_ Batch Put Scheduled Update Group Action inputParameters: - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: ScheduledUpdateGroupActions in: query type: array required: true description: One or more scheduled actions. The maximum number allowed is 50. - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-batchputscheduledupdategroupaction method: POST description: Amazon EC2 Auto Scaling POST_ Batch Put Scheduled Update Group Action inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-cancelinstancerefresh path: /#Action=CancelInstanceRefresh operations: - name: get-cancelinstancerefresh method: GET description: Amazon EC2 Auto Scaling GET_ Cancel Instance Refresh inputParameters: - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-cancelinstancerefresh method: POST description: Amazon EC2 Auto Scaling POST_ Cancel Instance Refresh inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-completelifecycleaction path: /#Action=CompleteLifecycleAction operations: - name: get-completelifecycleaction method: GET description: Amazon EC2 Auto Scaling GET_ Complete Lifecycle Action inputParameters: - name: LifecycleHookName in: query type: string required: true description: The name of the lifecycle hook. - name: AutoScalingGroupName in: query type: string required: true description: The name of the Auto Scaling group. - name: LifecycleActionToken in: query type: string description: 'A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the ' - name: LifecycleActionResult in: query type: string required: true description: The action for the group to take. You can specify either CONTINUE or ABANDON. - name: InstanceId in: query type: string description: The ID of the instance. - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-completelifecycleaction method: POST description: Amazon EC2 Auto Scaling POST_ Complete Lifecycle Action inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-createautoscalinggroup path: /#Action=CreateAutoScalingGroup operations: - name: get-createautoscalinggroup method: GET description: Amazon EC2 Auto Scaling GET_ Create Auto Scaling Group inputParameters: - name: AutoScalingGroupName in: query type: string required: true description:

The name of the Auto Scaling group. This name must be unique per Region per account.

The name can contain any ASCII character 33 to 126 including most - name: LaunchConfigurationName in: query type: string description: '

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate ' - name: LaunchTemplate in: query type: object description: '

Information used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (VPCZoneIde - name: TerminationPolicies in: query type: array description:

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more infor - name: NewInstancesProtectedFromScaleIn in: query type: boolean description: Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing inst - name: CapacityRebalance in: query type: boolean description: Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling a - name: LifecycleHookSpecificationList in: query type: array description: One or more lifecycle hooks to add to the Auto Scaling group before instances are launched. - name: Tags in: query type: array description: One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volu - name: ServiceLinkedRoleARN in: query type: string description: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services service on your behalf. By default, - name: MaxInstanceLifetime in: query type: integer description: The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to o - name: Context in: query type: string description: Reserved. - name: DesiredCapacityType in: query type: string description:

The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based i - name: DefaultInstanceWarmup in: query type: integer description:

The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters th - name: TrafficSources in: query type: array description: 'The list of traffic sources to attach to this Auto Scaling group. You can use any of the following as traffic sources for an Auto Scaling group: Classic Load Ba' - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post-createautoscalinggroup method: POST description: Amazon EC2 Auto Scaling POST_ Create Auto Scaling Group inputParameters: - name: Action in: query type: string required: true - name: Version in: query type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: $. - name: action-createlaunchconfiguration path: /#Action=CreateLaunchConfiguration operations: - name: get-createlaunchconfiguration method: GET description: Amazon EC2 Auto Scaling GET_ Create Launch Configuration inputParameters: - name: LaunchConfigurationName in: query type: string required: true description: The name of the launch configuration. This name must be unique per Region per account. - name: ImageId in: query type: string description:

The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see Amazon EC2 key pairs and Li - name: SecurityGroups in: query type: array description: A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For more information, see The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, except for the block dev - name: InstanceType in: query type: string description:

Specifies the instance type of the EC2 instance. For information about available instance types, see Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

The default value is - name: SpotPrice in: query type: string description:

The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the - name: IamInstanceProfile in: query type: string description: The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. Fo - name: EbsOptimized in: query type: boolean description:

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). The optimization provides dedicated thro - name: AssociatePublicIpAddress in: query type: boolean description:

Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a pub - name: PlacementTenancy in: query type: string description:

The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single- - name: MetadataOptions in: query type: object description: The metadata options for the instances. For more information, see The maximum size of the group.

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above M required: true - name: DesiredCapacity type: integer description: The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond - name: DefaultCooldown type: integer description: '

Only needed if you use simple scaling policies.

The amount of time, in seconds, between one scaling activity ending and another one starting ' - name: AvailabilityZones type: array description: 'A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone ' - name: LoadBalancerNames type: array description: A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, sp - name: TargetGroupARNs type: array description: The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with t - name: HealthCheckType type: string description:

A comma-separated value string of one or more health check types.

The valid values are EC2, ELB, and VPC_LATTICEThe amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and markin - name: PlacementGroup type: string description:

The name of the placement group into which to launch your instances. For more information, see Amazon EC2 key pairs and Li - name: SecurityGroups type: array description: A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For more information, see The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, except for the block dev - name: InstanceType type: string description:

Specifies the instance type of the EC2 instance. For information about available instance types, see Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

The default value is - name: SpotPrice type: string description:

The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the - name: IamInstanceProfile type: string description: The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. Fo - name: EbsOptimized type: boolean description:

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). The optimization provides dedicated thro - name: AssociatePublicIpAddress type: boolean description:

Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a pub - name: PlacementTenancy type: string description:

The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single- - name: MetadataOptions type: object description: The metadata options for the instances. For more information, see