| 1 |
{ |
| 2 |
"version": "1.0", |
| 3 |
"examples": { |
| 4 |
"AttachInstances": [ |
| 5 |
{ |
| 6 |
"input": { |
| 7 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 8 |
"InstanceIds": [ |
| 9 |
"i-93633f9b" |
| 10 |
] |
| 11 |
}, |
| 12 |
"comments": { |
| 13 |
"input": { |
| 14 |
}, |
| 15 |
"output": { |
| 16 |
} |
| 17 |
}, |
| 18 |
"description": "This example attaches the specified instance to the specified Auto Scaling group.", |
| 19 |
"id": "autoscaling-attach-instances-1", |
| 20 |
"title": "To attach an instance to an Auto Scaling group" |
| 21 |
} |
| 22 |
], |
| 23 |
"AttachLoadBalancerTargetGroups": [ |
| 24 |
{ |
| 25 |
"input": { |
| 26 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 27 |
"TargetGroupARNs": [ |
| 28 |
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" |
| 29 |
] |
| 30 |
}, |
| 31 |
"comments": { |
| 32 |
"input": { |
| 33 |
}, |
| 34 |
"output": { |
| 35 |
} |
| 36 |
}, |
| 37 |
"description": "This example attaches the specified target group to the specified Auto Scaling group.", |
| 38 |
"id": "autoscaling-attach-load-balancer-target-groups-1", |
| 39 |
"title": "To attach a target group to an Auto Scaling group" |
| 40 |
} |
| 41 |
], |
| 42 |
"AttachLoadBalancers": [ |
| 43 |
{ |
| 44 |
"input": { |
| 45 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 46 |
"LoadBalancerNames": [ |
| 47 |
"my-load-balancer" |
| 48 |
] |
| 49 |
}, |
| 50 |
"comments": { |
| 51 |
"input": { |
| 52 |
}, |
| 53 |
"output": { |
| 54 |
} |
| 55 |
}, |
| 56 |
"description": "This example attaches the specified load balancer to the specified Auto Scaling group.", |
| 57 |
"id": "autoscaling-attach-load-balancers-1", |
| 58 |
"title": "To attach a load balancer to an Auto Scaling group" |
| 59 |
} |
| 60 |
], |
| 61 |
"AttachTrafficSources": [ |
| 62 |
{ |
| 63 |
"input": { |
| 64 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 65 |
"TrafficSources": [ |
| 66 |
{ |
| 67 |
"Identifier": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" |
| 68 |
} |
| 69 |
] |
| 70 |
}, |
| 71 |
"output": { |
| 72 |
}, |
| 73 |
"comments": { |
| 74 |
"input": { |
| 75 |
}, |
| 76 |
"output": { |
| 77 |
} |
| 78 |
}, |
| 79 |
"description": "This example attaches the specified target group to the specified Auto Scaling group.", |
| 80 |
"id": "to-attach-a-target-group-to-an-auto-scaling-group-1680036570089", |
| 81 |
"title": "To attach a target group to an Auto Scaling group" |
| 82 |
} |
| 83 |
], |
| 84 |
"CancelInstanceRefresh": [ |
| 85 |
{ |
| 86 |
"input": { |
| 87 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 88 |
}, |
| 89 |
"output": { |
| 90 |
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b" |
| 91 |
}, |
| 92 |
"comments": { |
| 93 |
"input": { |
| 94 |
}, |
| 95 |
"output": { |
| 96 |
} |
| 97 |
}, |
| 98 |
"description": "This example cancels an instance refresh operation in progress.", |
| 99 |
"id": "to-cancel-an-instance-refresh-1592960979817", |
| 100 |
"title": "To cancel an instance refresh" |
| 101 |
} |
| 102 |
], |
| 103 |
"CompleteLifecycleAction": [ |
| 104 |
{ |
| 105 |
"input": { |
| 106 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 107 |
"LifecycleActionResult": "CONTINUE", |
| 108 |
"LifecycleActionToken": "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635", |
| 109 |
"LifecycleHookName": "my-lifecycle-hook" |
| 110 |
}, |
| 111 |
"comments": { |
| 112 |
"input": { |
| 113 |
}, |
| 114 |
"output": { |
| 115 |
} |
| 116 |
}, |
| 117 |
"description": "This example notifies Auto Scaling that the specified lifecycle action is complete so that it can finish launching or terminating the instance.", |
| 118 |
"id": "autoscaling-complete-lifecycle-action-1", |
| 119 |
"title": "To complete the lifecycle action" |
| 120 |
} |
| 121 |
], |
| 122 |
"CreateAutoScalingGroup": [ |
| 123 |
{ |
| 124 |
"input": { |
| 125 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 126 |
"DefaultInstanceWarmup": 120, |
| 127 |
"LaunchTemplate": { |
| 128 |
"LaunchTemplateName": "my-template-for-auto-scaling", |
| 129 |
"Version": "$Default" |
| 130 |
}, |
| 131 |
"MaxInstanceLifetime": 2592000, |
| 132 |
"MaxSize": 3, |
| 133 |
"MinSize": 1, |
| 134 |
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE" |
| 135 |
}, |
| 136 |
"comments": { |
| 137 |
"input": { |
| 138 |
}, |
| 139 |
"output": { |
| 140 |
} |
| 141 |
}, |
| 142 |
"description": "This example creates an Auto Scaling group.", |
| 143 |
"id": "autoscaling-create-auto-scaling-group-1", |
| 144 |
"title": "To create an Auto Scaling group" |
| 145 |
}, |
| 146 |
{ |
| 147 |
"input": { |
| 148 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 149 |
"HealthCheckGracePeriod": 300, |
| 150 |
"HealthCheckType": "ELB", |
| 151 |
"LaunchTemplate": { |
| 152 |
"LaunchTemplateName": "my-template-for-auto-scaling", |
| 153 |
"Version": "$Default" |
| 154 |
}, |
| 155 |
"MaxSize": 3, |
| 156 |
"MinSize": 1, |
| 157 |
"TargetGroupARNs": [ |
| 158 |
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" |
| 159 |
], |
| 160 |
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE" |
| 161 |
}, |
| 162 |
"comments": { |
| 163 |
"input": { |
| 164 |
}, |
| 165 |
"output": { |
| 166 |
} |
| 167 |
}, |
| 168 |
"description": "This example creates an Auto Scaling group and attaches the specified target group.", |
| 169 |
"id": "autoscaling-create-auto-scaling-group-2", |
| 170 |
"title": "To create an Auto Scaling group with an attached target group" |
| 171 |
}, |
| 172 |
{ |
| 173 |
"input": { |
| 174 |
"AutoScalingGroupName": "my-asg", |
| 175 |
"DesiredCapacity": 3, |
| 176 |
"MaxSize": 5, |
| 177 |
"MinSize": 1, |
| 178 |
"MixedInstancesPolicy": { |
| 179 |
"InstancesDistribution": { |
| 180 |
"OnDemandBaseCapacity": 1, |
| 181 |
"OnDemandPercentageAboveBaseCapacity": 50, |
| 182 |
"SpotAllocationStrategy": "price-capacity-optimized" |
| 183 |
}, |
| 184 |
"LaunchTemplate": { |
| 185 |
"LaunchTemplateSpecification": { |
| 186 |
"LaunchTemplateName": "my-launch-template-for-x86", |
| 187 |
"Version": "$Default" |
| 188 |
}, |
| 189 |
"Overrides": [ |
| 190 |
{ |
| 191 |
"InstanceType": "c6g.large", |
| 192 |
"LaunchTemplateSpecification": { |
| 193 |
"LaunchTemplateName": "my-launch-template-for-arm", |
| 194 |
"Version": "$Default" |
| 195 |
} |
| 196 |
}, |
| 197 |
{ |
| 198 |
"InstanceType": "c5.large" |
| 199 |
}, |
| 200 |
{ |
| 201 |
"InstanceType": "c5a.large" |
| 202 |
} |
| 203 |
] |
| 204 |
} |
| 205 |
}, |
| 206 |
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE" |
| 207 |
}, |
| 208 |
"comments": { |
| 209 |
"input": { |
| 210 |
}, |
| 211 |
"output": { |
| 212 |
} |
| 213 |
}, |
| 214 |
"description": "This example creates an Auto Scaling group with a mixed instances policy. It specifies the c5.large, c5a.large, and c6g.large instance types and defines a different launch template for the c6g.large instance type.", |
| 215 |
"id": "autoscaling-create-auto-scaling-group-3", |
| 216 |
"title": "To create an Auto Scaling group with a mixed instances policy" |
| 217 |
}, |
| 218 |
{ |
| 219 |
"input": { |
| 220 |
"AutoScalingGroupName": "my-asg", |
| 221 |
"DesiredCapacity": 4, |
| 222 |
"DesiredCapacityType": "units", |
| 223 |
"MaxSize": 100, |
| 224 |
"MinSize": 0, |
| 225 |
"MixedInstancesPolicy": { |
| 226 |
"InstancesDistribution": { |
| 227 |
"OnDemandPercentageAboveBaseCapacity": 50, |
| 228 |
"SpotAllocationStrategy": "price-capacity-optimized" |
| 229 |
}, |
| 230 |
"LaunchTemplate": { |
| 231 |
"LaunchTemplateSpecification": { |
| 232 |
"LaunchTemplateName": "my-template-for-auto-scaling", |
| 233 |
"Version": "$Default" |
| 234 |
}, |
| 235 |
"Overrides": [ |
| 236 |
{ |
| 237 |
"InstanceRequirements": { |
| 238 |
"CpuManufacturers": [ |
| 239 |
"intel" |
| 240 |
], |
| 241 |
"MemoryMiB": { |
| 242 |
"Min": 16384 |
| 243 |
}, |
| 244 |
"VCpuCount": { |
| 245 |
"Max": 8, |
| 246 |
"Min": 4 |
| 247 |
} |
| 248 |
} |
| 249 |
} |
| 250 |
] |
| 251 |
} |
| 252 |
}, |
| 253 |
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE" |
| 254 |
}, |
| 255 |
"comments": { |
| 256 |
"input": { |
| 257 |
}, |
| 258 |
"output": { |
| 259 |
} |
| 260 |
}, |
| 261 |
"description": "This example creates an Auto Scaling group using attribute-based instance type selection. It requires the instance types to have a minimum of four vCPUs and a maximum of eight vCPUs, a minimum of 16,384 MiB of memory, and an Intel manufactured CPU.", |
| 262 |
"id": "autoscaling-create-auto-scaling-group-4", |
| 263 |
"title": "To create an Auto Scaling group using attribute-based instance type selection" |
| 264 |
} |
| 265 |
], |
| 266 |
"CreateLaunchConfiguration": [ |
| 267 |
{ |
| 268 |
"input": { |
| 269 |
"IamInstanceProfile": "my-iam-role", |
| 270 |
"ImageId": "ami-12345678", |
| 271 |
"InstanceType": "m3.medium", |
| 272 |
"LaunchConfigurationName": "my-launch-config", |
| 273 |
"SecurityGroups": [ |
| 274 |
"sg-eb2af88e" |
| 275 |
] |
| 276 |
}, |
| 277 |
"comments": { |
| 278 |
"input": { |
| 279 |
}, |
| 280 |
"output": { |
| 281 |
} |
| 282 |
}, |
| 283 |
"description": "This example creates a launch configuration.", |
| 284 |
"id": "autoscaling-create-launch-configuration-1", |
| 285 |
"title": "To create a launch configuration" |
| 286 |
} |
| 287 |
], |
| 288 |
"CreateOrUpdateTags": [ |
| 289 |
{ |
| 290 |
"input": { |
| 291 |
"Tags": [ |
| 292 |
{ |
| 293 |
"Key": "Role", |
| 294 |
"PropagateAtLaunch": true, |
| 295 |
"ResourceId": "my-auto-scaling-group", |
| 296 |
"ResourceType": "auto-scaling-group", |
| 297 |
"Value": "WebServer" |
| 298 |
}, |
| 299 |
{ |
| 300 |
"Key": "Dept", |
| 301 |
"PropagateAtLaunch": true, |
| 302 |
"ResourceId": "my-auto-scaling-group", |
| 303 |
"ResourceType": "auto-scaling-group", |
| 304 |
"Value": "Research" |
| 305 |
} |
| 306 |
] |
| 307 |
}, |
| 308 |
"comments": { |
| 309 |
"input": { |
| 310 |
}, |
| 311 |
"output": { |
| 312 |
} |
| 313 |
}, |
| 314 |
"description": "This example adds two tags to the specified Auto Scaling group.", |
| 315 |
"id": "autoscaling-create-or-update-tags-1", |
| 316 |
"title": "To create or update tags for an Auto Scaling group" |
| 317 |
} |
| 318 |
], |
| 319 |
"DeleteAutoScalingGroup": [ |
| 320 |
{ |
| 321 |
"input": { |
| 322 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 323 |
}, |
| 324 |
"comments": { |
| 325 |
"input": { |
| 326 |
}, |
| 327 |
"output": { |
| 328 |
} |
| 329 |
}, |
| 330 |
"description": "This example deletes the specified Auto Scaling group.", |
| 331 |
"id": "autoscaling-delete-auto-scaling-group-1", |
| 332 |
"title": "To delete an Auto Scaling group" |
| 333 |
}, |
| 334 |
{ |
| 335 |
"input": { |
| 336 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 337 |
"ForceDelete": true |
| 338 |
}, |
| 339 |
"comments": { |
| 340 |
"input": { |
| 341 |
}, |
| 342 |
"output": { |
| 343 |
} |
| 344 |
}, |
| 345 |
"description": "This example deletes the specified Auto Scaling group and all its instances.", |
| 346 |
"id": "autoscaling-delete-auto-scaling-group-2", |
| 347 |
"title": "To delete an Auto Scaling group and all its instances" |
| 348 |
} |
| 349 |
], |
| 350 |
"DeleteLaunchConfiguration": [ |
| 351 |
{ |
| 352 |
"input": { |
| 353 |
"LaunchConfigurationName": "my-launch-config" |
| 354 |
}, |
| 355 |
"comments": { |
| 356 |
"input": { |
| 357 |
}, |
| 358 |
"output": { |
| 359 |
} |
| 360 |
}, |
| 361 |
"description": "This example deletes the specified launch configuration.", |
| 362 |
"id": "autoscaling-delete-launch-configuration-1", |
| 363 |
"title": "To delete a launch configuration" |
| 364 |
} |
| 365 |
], |
| 366 |
"DeleteLifecycleHook": [ |
| 367 |
{ |
| 368 |
"input": { |
| 369 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 370 |
"LifecycleHookName": "my-lifecycle-hook" |
| 371 |
}, |
| 372 |
"comments": { |
| 373 |
"input": { |
| 374 |
}, |
| 375 |
"output": { |
| 376 |
} |
| 377 |
}, |
| 378 |
"description": "This example deletes the specified lifecycle hook.", |
| 379 |
"id": "autoscaling-delete-lifecycle-hook-1", |
| 380 |
"title": "To delete a lifecycle hook" |
| 381 |
} |
| 382 |
], |
| 383 |
"DeleteNotificationConfiguration": [ |
| 384 |
{ |
| 385 |
"input": { |
| 386 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 387 |
"TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic" |
| 388 |
}, |
| 389 |
"comments": { |
| 390 |
"input": { |
| 391 |
}, |
| 392 |
"output": { |
| 393 |
} |
| 394 |
}, |
| 395 |
"description": "This example deletes the specified notification from the specified Auto Scaling group.", |
| 396 |
"id": "autoscaling-delete-notification-configuration-1", |
| 397 |
"title": "To delete an Auto Scaling notification" |
| 398 |
} |
| 399 |
], |
| 400 |
"DeletePolicy": [ |
| 401 |
{ |
| 402 |
"input": { |
| 403 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 404 |
"PolicyName": "my-step-scale-out-policy" |
| 405 |
}, |
| 406 |
"comments": { |
| 407 |
"input": { |
| 408 |
}, |
| 409 |
"output": { |
| 410 |
} |
| 411 |
}, |
| 412 |
"description": "This example deletes the specified Auto Scaling policy.", |
| 413 |
"id": "autoscaling-delete-policy-1", |
| 414 |
"title": "To delete an Auto Scaling policy" |
| 415 |
} |
| 416 |
], |
| 417 |
"DeleteScheduledAction": [ |
| 418 |
{ |
| 419 |
"input": { |
| 420 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 421 |
"ScheduledActionName": "my-scheduled-action" |
| 422 |
}, |
| 423 |
"comments": { |
| 424 |
"input": { |
| 425 |
}, |
| 426 |
"output": { |
| 427 |
} |
| 428 |
}, |
| 429 |
"description": "This example deletes the specified scheduled action from the specified Auto Scaling group.", |
| 430 |
"id": "autoscaling-delete-scheduled-action-1", |
| 431 |
"title": "To delete a scheduled action from an Auto Scaling group" |
| 432 |
} |
| 433 |
], |
| 434 |
"DeleteTags": [ |
| 435 |
{ |
| 436 |
"input": { |
| 437 |
"Tags": [ |
| 438 |
{ |
| 439 |
"Key": "Dept", |
| 440 |
"ResourceId": "my-auto-scaling-group", |
| 441 |
"ResourceType": "auto-scaling-group", |
| 442 |
"Value": "Research" |
| 443 |
} |
| 444 |
] |
| 445 |
}, |
| 446 |
"comments": { |
| 447 |
"input": { |
| 448 |
}, |
| 449 |
"output": { |
| 450 |
} |
| 451 |
}, |
| 452 |
"description": "This example deletes the specified tag from the specified Auto Scaling group.", |
| 453 |
"id": "autoscaling-delete-tags-1", |
| 454 |
"title": "To delete a tag from an Auto Scaling group" |
| 455 |
} |
| 456 |
], |
| 457 |
"DescribeAccountLimits": [ |
| 458 |
{ |
| 459 |
"output": { |
| 460 |
"MaxNumberOfAutoScalingGroups": 20, |
| 461 |
"MaxNumberOfLaunchConfigurations": 100, |
| 462 |
"NumberOfAutoScalingGroups": 3, |
| 463 |
"NumberOfLaunchConfigurations": 5 |
| 464 |
}, |
| 465 |
"comments": { |
| 466 |
"input": { |
| 467 |
}, |
| 468 |
"output": { |
| 469 |
} |
| 470 |
}, |
| 471 |
"description": "This example describes the Amazon EC2 Auto Scaling service quotas for your account.", |
| 472 |
"id": "autoscaling-describe-account-limits-1", |
| 473 |
"title": "To describe your Auto Scaling account limits" |
| 474 |
} |
| 475 |
], |
| 476 |
"DescribeAdjustmentTypes": [ |
| 477 |
{ |
| 478 |
"output": { |
| 479 |
"AdjustmentTypes": [ |
| 480 |
{ |
| 481 |
"AdjustmentType": "ChangeInCapacity" |
| 482 |
}, |
| 483 |
{ |
| 484 |
"AdjustmentType": "ExactCapcity" |
| 485 |
}, |
| 486 |
{ |
| 487 |
"AdjustmentType": "PercentChangeInCapacity" |
| 488 |
} |
| 489 |
] |
| 490 |
}, |
| 491 |
"comments": { |
| 492 |
"input": { |
| 493 |
}, |
| 494 |
"output": { |
| 495 |
} |
| 496 |
}, |
| 497 |
"description": "This example describes the available adjustment types.", |
| 498 |
"id": "autoscaling-describe-adjustment-types-1", |
| 499 |
"title": "To describe the Amazon EC2 Auto Scaling adjustment types" |
| 500 |
} |
| 501 |
], |
| 502 |
"DescribeAutoScalingGroups": [ |
| 503 |
{ |
| 504 |
"input": { |
| 505 |
"AutoScalingGroupNames": [ |
| 506 |
"my-auto-scaling-group" |
| 507 |
] |
| 508 |
}, |
| 509 |
"output": { |
| 510 |
"AutoScalingGroups": [ |
| 511 |
{ |
| 512 |
"AutoScalingGroupARN": "arn:aws:autoscaling:us-west-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group", |
| 513 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 514 |
"AvailabilityZones": [ |
| 515 |
"us-west-2a", |
| 516 |
"us-west-2b", |
| 517 |
"us-west-2c" |
| 518 |
], |
| 519 |
"CreatedTime": "2023-03-09T22:15:11.611Z", |
| 520 |
"DefaultCooldown": 300, |
| 521 |
"DesiredCapacity": 2, |
| 522 |
"EnabledMetrics": [ |
| 523 |
|
| 524 |
], |
| 525 |
"HealthCheckGracePeriod": 300, |
| 526 |
"HealthCheckType": "EC2", |
| 527 |
"Instances": [ |
| 528 |
{ |
| 529 |
"AvailabilityZone": "us-west-2c", |
| 530 |
"HealthStatus": "Healthy", |
| 531 |
"InstanceId": "i-05b4f7d5be44822a6", |
| 532 |
"InstanceType": "t3.micro", |
| 533 |
"LaunchConfigurationName": "my-launch-config", |
| 534 |
"LifecycleState": "InService", |
| 535 |
"ProtectedFromScaleIn": false |
| 536 |
}, |
| 537 |
{ |
| 538 |
"AvailabilityZone": "us-west-2b", |
| 539 |
"HealthStatus": "Healthy", |
| 540 |
"InstanceId": "i-0c20ac468fa3049e8", |
| 541 |
"InstanceType": "t3.micro", |
| 542 |
"LaunchConfigurationName": "my-launch-config", |
| 543 |
"LifecycleState": "InService", |
| 544 |
"ProtectedFromScaleIn": false |
| 545 |
} |
| 546 |
], |
| 547 |
"LaunchConfigurationName": "my-launch-config", |
| 548 |
"LoadBalancerNames": [ |
| 549 |
|
| 550 |
], |
| 551 |
"MaxSize": 5, |
| 552 |
"MinSize": 1, |
| 553 |
"NewInstancesProtectedFromScaleIn": false, |
| 554 |
"ServiceLinkedRoleARN": "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling", |
| 555 |
"SuspendedProcesses": [ |
| 556 |
|
| 557 |
], |
| 558 |
"Tags": [ |
| 559 |
|
| 560 |
], |
| 561 |
"TargetGroupARNs": [ |
| 562 |
|
| 563 |
], |
| 564 |
"TerminationPolicies": [ |
| 565 |
"Default" |
| 566 |
], |
| 567 |
"TrafficSources": [ |
| 568 |
|
| 569 |
], |
| 570 |
"VPCZoneIdentifier": "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782" |
| 571 |
} |
| 572 |
] |
| 573 |
}, |
| 574 |
"comments": { |
| 575 |
"input": { |
| 576 |
}, |
| 577 |
"output": { |
| 578 |
} |
| 579 |
}, |
| 580 |
"description": "This example describes the specified Auto Scaling group.", |
| 581 |
"id": "autoscaling-describe-auto-scaling-groups-1", |
| 582 |
"title": "To describe an Auto Scaling group" |
| 583 |
} |
| 584 |
], |
| 585 |
"DescribeAutoScalingInstances": [ |
| 586 |
{ |
| 587 |
"input": { |
| 588 |
"InstanceIds": [ |
| 589 |
"i-05b4f7d5be44822a6" |
| 590 |
] |
| 591 |
}, |
| 592 |
"output": { |
| 593 |
"AutoScalingInstances": [ |
| 594 |
{ |
| 595 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 596 |
"AvailabilityZone": "us-west-2c", |
| 597 |
"HealthStatus": "HEALTHY", |
| 598 |
"InstanceId": "i-05b4f7d5be44822a6", |
| 599 |
"InstanceType": "t3.micro", |
| 600 |
"LaunchConfigurationName": "my-launch-config", |
| 601 |
"LifecycleState": "InService", |
| 602 |
"ProtectedFromScaleIn": false |
| 603 |
} |
| 604 |
] |
| 605 |
}, |
| 606 |
"comments": { |
| 607 |
"input": { |
| 608 |
}, |
| 609 |
"output": { |
| 610 |
} |
| 611 |
}, |
| 612 |
"description": "This example describes the specified Auto Scaling instance.", |
| 613 |
"id": "autoscaling-describe-auto-scaling-instances-1", |
| 614 |
"title": "To describe one or more Auto Scaling instances" |
| 615 |
} |
| 616 |
], |
| 617 |
"DescribeAutoScalingNotificationTypes": [ |
| 618 |
{ |
| 619 |
"output": { |
| 620 |
"AutoScalingNotificationTypes": [ |
| 621 |
"autoscaling:EC2_INSTANCE_LAUNCH", |
| 622 |
"autoscaling:EC2_INSTANCE_LAUNCH_ERROR", |
| 623 |
"autoscaling:EC2_INSTANCE_TERMINATE", |
| 624 |
"autoscaling:EC2_INSTANCE_TERMINATE_ERROR", |
| 625 |
"autoscaling:TEST_NOTIFICATION" |
| 626 |
] |
| 627 |
}, |
| 628 |
"comments": { |
| 629 |
"input": { |
| 630 |
}, |
| 631 |
"output": { |
| 632 |
} |
| 633 |
}, |
| 634 |
"description": "This example describes the available notification types.", |
| 635 |
"id": "autoscaling-describe-auto-scaling-notification-types-1", |
| 636 |
"title": "To describe the Auto Scaling notification types" |
| 637 |
} |
| 638 |
], |
| 639 |
"DescribeInstanceRefreshes": [ |
| 640 |
{ |
| 641 |
"input": { |
| 642 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 643 |
}, |
| 644 |
"output": { |
| 645 |
"InstanceRefreshes": [ |
| 646 |
{ |
| 647 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 648 |
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b", |
| 649 |
"InstancesToUpdate": 0, |
| 650 |
"PercentageComplete": 50, |
| 651 |
"Preferences": { |
| 652 |
"AlarmSpecification": { |
| 653 |
"Alarms": [ |
| 654 |
"my-alarm" |
| 655 |
] |
| 656 |
}, |
| 657 |
"AutoRollback": true, |
| 658 |
"InstanceWarmup": 200, |
| 659 |
"MaxHealthyPercentage": 120, |
| 660 |
"MinHealthyPercentage": 90, |
| 661 |
"ScaleInProtectedInstances": "Ignore", |
| 662 |
"SkipMatching": false, |
| 663 |
"StandbyInstances": "Ignore" |
| 664 |
}, |
| 665 |
"StartTime": "2023-06-13T16:46:52+00:00", |
| 666 |
"Status": "InProgress", |
| 667 |
"StatusReason": "Waiting for instances to warm up before continuing. For example: i-0645704820a8e83ff is warming up." |
| 668 |
}, |
| 669 |
{ |
| 670 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 671 |
"EndTime": "2023-06-02T13:59:45+00:00", |
| 672 |
"InstanceRefreshId": "0e151305-1e57-4a32-a256-1fd14157c5ec", |
| 673 |
"InstancesToUpdate": 0, |
| 674 |
"PercentageComplete": 100, |
| 675 |
"Preferences": { |
| 676 |
"AlarmSpecification": { |
| 677 |
"Alarms": [ |
| 678 |
"my-alarm" |
| 679 |
] |
| 680 |
}, |
| 681 |
"AutoRollback": true, |
| 682 |
"InstanceWarmup": 200, |
| 683 |
"MaxHealthyPercentage": 120, |
| 684 |
"MinHealthyPercentage": 90, |
| 685 |
"ScaleInProtectedInstances": "Ignore", |
| 686 |
"SkipMatching": false, |
| 687 |
"StandbyInstances": "Ignore" |
| 688 |
}, |
| 689 |
"StartTime": "2023-06-02T13:53:37+00:00", |
| 690 |
"Status": "Successful" |
| 691 |
} |
| 692 |
] |
| 693 |
}, |
| 694 |
"comments": { |
| 695 |
"input": { |
| 696 |
}, |
| 697 |
"output": { |
| 698 |
} |
| 699 |
}, |
| 700 |
"description": "This example describes the instance refreshes for the specified Auto Scaling group.", |
| 701 |
"id": "to-list-instance-refreshes-1592959593746", |
| 702 |
"title": "To list instance refreshes" |
| 703 |
} |
| 704 |
], |
| 705 |
"DescribeLaunchConfigurations": [ |
| 706 |
{ |
| 707 |
"input": { |
| 708 |
"LaunchConfigurationNames": [ |
| 709 |
"my-launch-config" |
| 710 |
] |
| 711 |
}, |
| 712 |
"output": { |
| 713 |
"LaunchConfigurations": [ |
| 714 |
{ |
| 715 |
"AssociatePublicIpAddress": true, |
| 716 |
"BlockDeviceMappings": [ |
| 717 |
|
| 718 |
], |
| 719 |
"CreatedTime": "2014-05-07T17:39:28.599Z", |
| 720 |
"EbsOptimized": false, |
| 721 |
"ImageId": "ami-043a5034", |
| 722 |
"InstanceMonitoring": { |
| 723 |
"Enabled": true |
| 724 |
}, |
| 725 |
"InstanceType": "t1.micro", |
| 726 |
"LaunchConfigurationARN": "arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:98d3b196-4cf9-4e88-8ca1-8547c24ced8b:launchConfigurationName/my-launch-config", |
| 727 |
"LaunchConfigurationName": "my-launch-config", |
| 728 |
"SecurityGroups": [ |
| 729 |
"sg-67ef0308" |
| 730 |
] |
| 731 |
} |
| 732 |
] |
| 733 |
}, |
| 734 |
"comments": { |
| 735 |
"input": { |
| 736 |
}, |
| 737 |
"output": { |
| 738 |
} |
| 739 |
}, |
| 740 |
"description": "This example describes the specified launch configuration.", |
| 741 |
"id": "autoscaling-describe-launch-configurations-1", |
| 742 |
"title": "To describe Auto Scaling launch configurations" |
| 743 |
} |
| 744 |
], |
| 745 |
"DescribeLifecycleHookTypes": [ |
| 746 |
{ |
| 747 |
"output": { |
| 748 |
"LifecycleHookTypes": [ |
| 749 |
"autoscaling:EC2_INSTANCE_LAUNCHING", |
| 750 |
"autoscaling:EC2_INSTANCE_TERMINATING" |
| 751 |
] |
| 752 |
}, |
| 753 |
"comments": { |
| 754 |
"input": { |
| 755 |
}, |
| 756 |
"output": { |
| 757 |
} |
| 758 |
}, |
| 759 |
"description": "This example describes the available lifecycle hook types.", |
| 760 |
"id": "autoscaling-describe-lifecycle-hook-types-1", |
| 761 |
"title": "To describe the available types of lifecycle hooks" |
| 762 |
} |
| 763 |
], |
| 764 |
"DescribeLifecycleHooks": [ |
| 765 |
{ |
| 766 |
"input": { |
| 767 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 768 |
}, |
| 769 |
"output": { |
| 770 |
"LifecycleHooks": [ |
| 771 |
{ |
| 772 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 773 |
"DefaultResult": "ABANDON", |
| 774 |
"GlobalTimeout": 172800, |
| 775 |
"HeartbeatTimeout": 3600, |
| 776 |
"LifecycleHookName": "my-lifecycle-hook", |
| 777 |
"LifecycleTransition": "autoscaling:EC2_INSTANCE_LAUNCHING", |
| 778 |
"NotificationTargetARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic", |
| 779 |
"RoleARN": "arn:aws:iam::123456789012:role/my-auto-scaling-role" |
| 780 |
} |
| 781 |
] |
| 782 |
}, |
| 783 |
"comments": { |
| 784 |
"input": { |
| 785 |
}, |
| 786 |
"output": { |
| 787 |
} |
| 788 |
}, |
| 789 |
"description": "This example describes the lifecycle hooks for the specified Auto Scaling group.", |
| 790 |
"id": "autoscaling-describe-lifecycle-hooks-1", |
| 791 |
"title": "To describe your lifecycle hooks" |
| 792 |
} |
| 793 |
], |
| 794 |
"DescribeLoadBalancerTargetGroups": [ |
| 795 |
{ |
| 796 |
"input": { |
| 797 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 798 |
}, |
| 799 |
"output": { |
| 800 |
"LoadBalancerTargetGroups": [ |
| 801 |
{ |
| 802 |
"LoadBalancerTargetGroupARN": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067", |
| 803 |
"State": "Added" |
| 804 |
} |
| 805 |
] |
| 806 |
}, |
| 807 |
"comments": { |
| 808 |
"input": { |
| 809 |
}, |
| 810 |
"output": { |
| 811 |
} |
| 812 |
}, |
| 813 |
"description": "This example describes the target groups attached to the specified Auto Scaling group.", |
| 814 |
"id": "autoscaling-describe-load-balancer-target-groups-1", |
| 815 |
"title": "To describe the target groups for an Auto Scaling group" |
| 816 |
} |
| 817 |
], |
| 818 |
"DescribeLoadBalancers": [ |
| 819 |
{ |
| 820 |
"input": { |
| 821 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 822 |
}, |
| 823 |
"output": { |
| 824 |
"LoadBalancers": [ |
| 825 |
{ |
| 826 |
"LoadBalancerName": "my-load-balancer", |
| 827 |
"State": "Added" |
| 828 |
} |
| 829 |
] |
| 830 |
}, |
| 831 |
"comments": { |
| 832 |
"input": { |
| 833 |
}, |
| 834 |
"output": { |
| 835 |
} |
| 836 |
}, |
| 837 |
"description": "This example describes the load balancers attached to the specified Auto Scaling group.", |
| 838 |
"id": "autoscaling-describe-load-balancers-1", |
| 839 |
"title": "To describe the load balancers for an Auto Scaling group" |
| 840 |
} |
| 841 |
], |
| 842 |
"DescribeMetricCollectionTypes": [ |
| 843 |
{ |
| 844 |
"output": { |
| 845 |
"Granularities": [ |
| 846 |
{ |
| 847 |
"Granularity": "1Minute" |
| 848 |
} |
| 849 |
], |
| 850 |
"Metrics": [ |
| 851 |
{ |
| 852 |
"Metric": "GroupMinSize" |
| 853 |
}, |
| 854 |
{ |
| 855 |
"Metric": "GroupMaxSize" |
| 856 |
}, |
| 857 |
{ |
| 858 |
"Metric": "GroupDesiredCapacity" |
| 859 |
}, |
| 860 |
{ |
| 861 |
"Metric": "GroupInServiceInstances" |
| 862 |
}, |
| 863 |
{ |
| 864 |
"Metric": "GroupPendingInstances" |
| 865 |
}, |
| 866 |
{ |
| 867 |
"Metric": "GroupTerminatingInstances" |
| 868 |
}, |
| 869 |
{ |
| 870 |
"Metric": "GroupStandbyInstances" |
| 871 |
}, |
| 872 |
{ |
| 873 |
"Metric": "GroupTotalInstances" |
| 874 |
} |
| 875 |
] |
| 876 |
}, |
| 877 |
"comments": { |
| 878 |
"input": { |
| 879 |
}, |
| 880 |
"output": { |
| 881 |
} |
| 882 |
}, |
| 883 |
"description": "This example describes the available metric collection types.", |
| 884 |
"id": "autoscaling-describe-metric-collection-types-1", |
| 885 |
"title": "To describe the Auto Scaling metric collection types" |
| 886 |
} |
| 887 |
], |
| 888 |
"DescribeNotificationConfigurations": [ |
| 889 |
{ |
| 890 |
"input": { |
| 891 |
"AutoScalingGroupNames": [ |
| 892 |
"my-auto-scaling-group" |
| 893 |
] |
| 894 |
}, |
| 895 |
"output": { |
| 896 |
"NotificationConfigurations": [ |
| 897 |
{ |
| 898 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 899 |
"NotificationType": "autoscaling:TEST_NOTIFICATION", |
| 900 |
"TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic-2" |
| 901 |
}, |
| 902 |
{ |
| 903 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 904 |
"NotificationType": "autoscaling:TEST_NOTIFICATION", |
| 905 |
"TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic" |
| 906 |
} |
| 907 |
] |
| 908 |
}, |
| 909 |
"comments": { |
| 910 |
"input": { |
| 911 |
}, |
| 912 |
"output": { |
| 913 |
} |
| 914 |
}, |
| 915 |
"description": "This example describes the notification configurations for the specified Auto Scaling group.", |
| 916 |
"id": "autoscaling-describe-notification-configurations-1", |
| 917 |
"title": "To describe Auto Scaling notification configurations" |
| 918 |
} |
| 919 |
], |
| 920 |
"DescribePolicies": [ |
| 921 |
{ |
| 922 |
"input": { |
| 923 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 924 |
}, |
| 925 |
"output": { |
| 926 |
"ScalingPolicies": [ |
| 927 |
{ |
| 928 |
"AdjustmentType": "ChangeInCapacity", |
| 929 |
"Alarms": [ |
| 930 |
|
| 931 |
], |
| 932 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 933 |
"PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn", |
| 934 |
"PolicyName": "ScaleIn", |
| 935 |
"ScalingAdjustment": -1 |
| 936 |
}, |
| 937 |
{ |
| 938 |
"AdjustmentType": "PercentChangeInCapacity", |
| 939 |
"Alarms": [ |
| 940 |
|
| 941 |
], |
| 942 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 943 |
"Cooldown": 60, |
| 944 |
"MinAdjustmentStep": 2, |
| 945 |
"PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2b435159-cf77-4e89-8c0e-d63b497baad7:autoScalingGroupName/my-auto-scaling-group:policyName/ScalePercentChange", |
| 946 |
"PolicyName": "ScalePercentChange", |
| 947 |
"ScalingAdjustment": 25 |
| 948 |
} |
| 949 |
] |
| 950 |
}, |
| 951 |
"comments": { |
| 952 |
"input": { |
| 953 |
}, |
| 954 |
"output": { |
| 955 |
} |
| 956 |
}, |
| 957 |
"description": "This example describes the policies for the specified Auto Scaling group.", |
| 958 |
"id": "autoscaling-describe-policies-1", |
| 959 |
"title": "To describe scaling policies" |
| 960 |
} |
| 961 |
], |
| 962 |
"DescribeScalingActivities": [ |
| 963 |
{ |
| 964 |
"input": { |
| 965 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 966 |
}, |
| 967 |
"output": { |
| 968 |
"Activities": [ |
| 969 |
{ |
| 970 |
"ActivityId": "f9f2d65b-f1f2-43e7-b46d-d86756459699", |
| 971 |
"AutoScalingGroupARN": "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group", |
| 972 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 973 |
"Cause": "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.", |
| 974 |
"Description": "Launching a new EC2 instance: i-4ba0837f", |
| 975 |
"Details": "details", |
| 976 |
"EndTime": "2013-08-19T20:54:02Z", |
| 977 |
"Progress": 100, |
| 978 |
"StartTime": "2013-08-19T20:53:29.930Z", |
| 979 |
"StatusCode": "Successful" |
| 980 |
} |
| 981 |
] |
| 982 |
}, |
| 983 |
"comments": { |
| 984 |
"input": { |
| 985 |
}, |
| 986 |
"output": { |
| 987 |
} |
| 988 |
}, |
| 989 |
"description": "This example describes the scaling activities for the specified Auto Scaling group.", |
| 990 |
"id": "autoscaling-describe-scaling-activities-1", |
| 991 |
"title": "To describe the scaling activities for an Auto Scaling group" |
| 992 |
} |
| 993 |
], |
| 994 |
"DescribeScalingProcessTypes": [ |
| 995 |
{ |
| 996 |
"output": { |
| 997 |
"Processes": [ |
| 998 |
{ |
| 999 |
"ProcessName": "AZRebalance" |
| 1000 |
}, |
| 1001 |
{ |
| 1002 |
"ProcessName": "AddToLoadBalancer" |
| 1003 |
}, |
| 1004 |
{ |
| 1005 |
"ProcessName": "AlarmNotification" |
| 1006 |
}, |
| 1007 |
{ |
| 1008 |
"ProcessName": "HealthCheck" |
| 1009 |
}, |
| 1010 |
{ |
| 1011 |
"ProcessName": "Launch" |
| 1012 |
}, |
| 1013 |
{ |
| 1014 |
"ProcessName": "ReplaceUnhealthy" |
| 1015 |
}, |
| 1016 |
{ |
| 1017 |
"ProcessName": "ScheduledActions" |
| 1018 |
}, |
| 1019 |
{ |
| 1020 |
"ProcessName": "Terminate" |
| 1021 |
} |
| 1022 |
] |
| 1023 |
}, |
| 1024 |
"comments": { |
| 1025 |
"input": { |
| 1026 |
}, |
| 1027 |
"output": { |
| 1028 |
} |
| 1029 |
}, |
| 1030 |
"description": "This example describes the Auto Scaling process types.", |
| 1031 |
"id": "autoscaling-describe-scaling-process-types-1", |
| 1032 |
"title": "To describe the Auto Scaling process types" |
| 1033 |
} |
| 1034 |
], |
| 1035 |
"DescribeScheduledActions": [ |
| 1036 |
{ |
| 1037 |
"input": { |
| 1038 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 1039 |
}, |
| 1040 |
"output": { |
| 1041 |
"ScheduledUpdateGroupActions": [ |
| 1042 |
{ |
| 1043 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1044 |
"DesiredCapacity": 4, |
| 1045 |
"MaxSize": 6, |
| 1046 |
"MinSize": 2, |
| 1047 |
"Recurrence": "30 0 1 12 0", |
| 1048 |
"ScheduledActionARN": "arn:aws:autoscaling:us-west-2:123456789012:scheduledUpdateGroupAction:8e86b655-b2e6-4410-8f29-b4f094d6871c:autoScalingGroupName/my-auto-scaling-group:scheduledActionName/my-scheduled-action", |
| 1049 |
"ScheduledActionName": "my-scheduled-action", |
| 1050 |
"StartTime": "2016-12-01T00:30:00Z", |
| 1051 |
"Time": "2016-12-01T00:30:00Z" |
| 1052 |
} |
| 1053 |
] |
| 1054 |
}, |
| 1055 |
"comments": { |
| 1056 |
"input": { |
| 1057 |
}, |
| 1058 |
"output": { |
| 1059 |
} |
| 1060 |
}, |
| 1061 |
"description": "This example describes the scheduled actions for the specified Auto Scaling group.", |
| 1062 |
"id": "autoscaling-describe-scheduled-actions-1", |
| 1063 |
"title": "To describe scheduled actions" |
| 1064 |
} |
| 1065 |
], |
| 1066 |
"DescribeTags": [ |
| 1067 |
{ |
| 1068 |
"input": { |
| 1069 |
"Filters": [ |
| 1070 |
{ |
| 1071 |
"Name": "auto-scaling-group", |
| 1072 |
"Values": [ |
| 1073 |
"my-auto-scaling-group" |
| 1074 |
] |
| 1075 |
} |
| 1076 |
] |
| 1077 |
}, |
| 1078 |
"output": { |
| 1079 |
"Tags": [ |
| 1080 |
{ |
| 1081 |
"Key": "Dept", |
| 1082 |
"PropagateAtLaunch": true, |
| 1083 |
"ResourceId": "my-auto-scaling-group", |
| 1084 |
"ResourceType": "auto-scaling-group", |
| 1085 |
"Value": "Research" |
| 1086 |
}, |
| 1087 |
{ |
| 1088 |
"Key": "Role", |
| 1089 |
"PropagateAtLaunch": true, |
| 1090 |
"ResourceId": "my-auto-scaling-group", |
| 1091 |
"ResourceType": "auto-scaling-group", |
| 1092 |
"Value": "WebServer" |
| 1093 |
} |
| 1094 |
] |
| 1095 |
}, |
| 1096 |
"comments": { |
| 1097 |
"input": { |
| 1098 |
}, |
| 1099 |
"output": { |
| 1100 |
} |
| 1101 |
}, |
| 1102 |
"description": "This example describes the tags for the specified Auto Scaling group.", |
| 1103 |
"id": "autoscaling-describe-tags-1", |
| 1104 |
"title": "To describe tags" |
| 1105 |
} |
| 1106 |
], |
| 1107 |
"DescribeTerminationPolicyTypes": [ |
| 1108 |
{ |
| 1109 |
"output": { |
| 1110 |
"TerminationPolicyTypes": [ |
| 1111 |
"ClosestToNextInstanceHour", |
| 1112 |
"Default", |
| 1113 |
"NewestInstance", |
| 1114 |
"OldestInstance", |
| 1115 |
"OldestLaunchConfiguration" |
| 1116 |
] |
| 1117 |
}, |
| 1118 |
"comments": { |
| 1119 |
"input": { |
| 1120 |
}, |
| 1121 |
"output": { |
| 1122 |
} |
| 1123 |
}, |
| 1124 |
"description": "This example describes the available termination policy types.", |
| 1125 |
"id": "autoscaling-describe-termination-policy-types-1", |
| 1126 |
"title": "To describe termination policy types" |
| 1127 |
} |
| 1128 |
], |
| 1129 |
"DescribeTrafficSources": [ |
| 1130 |
{ |
| 1131 |
"input": { |
| 1132 |
"AutoScalingGroupName": "my-auto-scaling-group" |
| 1133 |
}, |
| 1134 |
"output": { |
| 1135 |
"NextToken": "", |
| 1136 |
"TrafficSources": [ |
| 1137 |
{ |
| 1138 |
"Identifier": "arn:aws:vpc-lattice:us-west-2:123456789012:targetgroup/tg-0e2f2665eEXAMPLE", |
| 1139 |
"State": "InService", |
| 1140 |
"Type": "vpc-lattice" |
| 1141 |
} |
| 1142 |
] |
| 1143 |
}, |
| 1144 |
"comments": { |
| 1145 |
"input": { |
| 1146 |
}, |
| 1147 |
"output": { |
| 1148 |
} |
| 1149 |
}, |
| 1150 |
"description": "This example describes the target groups attached to the specified Auto Scaling group.", |
| 1151 |
"id": "to-describe-the-target-groups-for-an-auto-scaling-group-1680040714521", |
| 1152 |
"title": "To describe the target groups for an Auto Scaling group" |
| 1153 |
} |
| 1154 |
], |
| 1155 |
"DetachInstances": [ |
| 1156 |
{ |
| 1157 |
"input": { |
| 1158 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1159 |
"InstanceIds": [ |
| 1160 |
"i-93633f9b" |
| 1161 |
], |
| 1162 |
"ShouldDecrementDesiredCapacity": true |
| 1163 |
}, |
| 1164 |
"output": { |
| 1165 |
"Activities": [ |
| 1166 |
{ |
| 1167 |
"ActivityId": "5091cb52-547a-47ce-a236-c9ccbc2cb2c9", |
| 1168 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1169 |
"Cause": "At 2015-04-12T15:02:16Z instance i-93633f9b was detached in response to a user request, shrinking the capacity from 2 to 1.", |
| 1170 |
"Description": "Detaching EC2 instance: i-93633f9b", |
| 1171 |
"Details": "details", |
| 1172 |
"Progress": 50, |
| 1173 |
"StartTime": "2015-04-12T15:02:16.179Z", |
| 1174 |
"StatusCode": "InProgress" |
| 1175 |
} |
| 1176 |
] |
| 1177 |
}, |
| 1178 |
"comments": { |
| 1179 |
"input": { |
| 1180 |
}, |
| 1181 |
"output": { |
| 1182 |
} |
| 1183 |
}, |
| 1184 |
"description": "This example detaches the specified instance from the specified Auto Scaling group.", |
| 1185 |
"id": "autoscaling-detach-instances-1", |
| 1186 |
"title": "To detach an instance from an Auto Scaling group" |
| 1187 |
} |
| 1188 |
], |
| 1189 |
"DetachLoadBalancerTargetGroups": [ |
| 1190 |
{ |
| 1191 |
"input": { |
| 1192 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1193 |
"TargetGroupARNs": [ |
| 1194 |
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" |
| 1195 |
] |
| 1196 |
}, |
| 1197 |
"comments": { |
| 1198 |
"input": { |
| 1199 |
}, |
| 1200 |
"output": { |
| 1201 |
} |
| 1202 |
}, |
| 1203 |
"description": "This example detaches the specified target group from the specified Auto Scaling group", |
| 1204 |
"id": "autoscaling-detach-load-balancer-target-groups-1", |
| 1205 |
"title": "To detach a target group from an Auto Scaling group" |
| 1206 |
} |
| 1207 |
], |
| 1208 |
"DetachLoadBalancers": [ |
| 1209 |
{ |
| 1210 |
"input": { |
| 1211 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1212 |
"LoadBalancerNames": [ |
| 1213 |
"my-load-balancer" |
| 1214 |
] |
| 1215 |
}, |
| 1216 |
"comments": { |
| 1217 |
"input": { |
| 1218 |
}, |
| 1219 |
"output": { |
| 1220 |
} |
| 1221 |
}, |
| 1222 |
"description": "This example detaches the specified load balancer from the specified Auto Scaling group.", |
| 1223 |
"id": "autoscaling-detach-load-balancers-1", |
| 1224 |
"title": "To detach a load balancer from an Auto Scaling group" |
| 1225 |
} |
| 1226 |
], |
| 1227 |
"DetachTrafficSources": [ |
| 1228 |
{ |
| 1229 |
"input": { |
| 1230 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1231 |
"TrafficSources": [ |
| 1232 |
{ |
| 1233 |
"Identifier": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067" |
| 1234 |
} |
| 1235 |
] |
| 1236 |
}, |
| 1237 |
"output": { |
| 1238 |
}, |
| 1239 |
"comments": { |
| 1240 |
"input": { |
| 1241 |
}, |
| 1242 |
"output": { |
| 1243 |
} |
| 1244 |
}, |
| 1245 |
"description": "This example detaches the specified target group from the specified Auto Scaling group.", |
| 1246 |
"id": "to-detach-a-target-group-from-an-auto-scaling-group-1680040404169", |
| 1247 |
"title": "To detach a target group from an Auto Scaling group" |
| 1248 |
} |
| 1249 |
], |
| 1250 |
"DisableMetricsCollection": [ |
| 1251 |
{ |
| 1252 |
"input": { |
| 1253 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1254 |
"Metrics": [ |
| 1255 |
"GroupDesiredCapacity" |
| 1256 |
] |
| 1257 |
}, |
| 1258 |
"comments": { |
| 1259 |
"input": { |
| 1260 |
}, |
| 1261 |
"output": { |
| 1262 |
} |
| 1263 |
}, |
| 1264 |
"description": "This example disables collecting data for the GroupDesiredCapacity metric for the specified Auto Scaling group.", |
| 1265 |
"id": "autoscaling-disable-metrics-collection-1", |
| 1266 |
"title": "To disable metrics collection for an Auto Scaling group" |
| 1267 |
} |
| 1268 |
], |
| 1269 |
"EnableMetricsCollection": [ |
| 1270 |
{ |
| 1271 |
"input": { |
| 1272 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1273 |
"Granularity": "1Minute" |
| 1274 |
}, |
| 1275 |
"comments": { |
| 1276 |
"input": { |
| 1277 |
}, |
| 1278 |
"output": { |
| 1279 |
} |
| 1280 |
}, |
| 1281 |
"description": "This example enables data collection for the specified Auto Scaling group.", |
| 1282 |
"id": "autoscaling-enable-metrics-collection-1", |
| 1283 |
"title": "To enable metrics collection for an Auto Scaling group" |
| 1284 |
} |
| 1285 |
], |
| 1286 |
"EnterStandby": [ |
| 1287 |
{ |
| 1288 |
"input": { |
| 1289 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1290 |
"InstanceIds": [ |
| 1291 |
"i-93633f9b" |
| 1292 |
], |
| 1293 |
"ShouldDecrementDesiredCapacity": true |
| 1294 |
}, |
| 1295 |
"output": { |
| 1296 |
"Activities": [ |
| 1297 |
{ |
| 1298 |
"ActivityId": "ffa056b4-6ed3-41ba-ae7c-249dfae6eba1", |
| 1299 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1300 |
"Cause": "At 2015-04-12T15:10:23Z instance i-93633f9b was moved to standby in response to a user request, shrinking the capacity from 2 to 1.", |
| 1301 |
"Description": "Moving EC2 instance to Standby: i-93633f9b", |
| 1302 |
"Details": "details", |
| 1303 |
"Progress": 50, |
| 1304 |
"StartTime": "2015-04-12T15:10:23.640Z", |
| 1305 |
"StatusCode": "InProgress" |
| 1306 |
} |
| 1307 |
] |
| 1308 |
}, |
| 1309 |
"comments": { |
| 1310 |
"input": { |
| 1311 |
}, |
| 1312 |
"output": { |
| 1313 |
} |
| 1314 |
}, |
| 1315 |
"description": "This example puts the specified instance into standby mode.", |
| 1316 |
"id": "autoscaling-enter-standby-1", |
| 1317 |
"title": "To move instances into standby mode" |
| 1318 |
} |
| 1319 |
], |
| 1320 |
"ExecutePolicy": [ |
| 1321 |
{ |
| 1322 |
"input": { |
| 1323 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1324 |
"BreachThreshold": 50.0, |
| 1325 |
"MetricValue": 59.0, |
| 1326 |
"PolicyName": "my-step-scale-out-policy" |
| 1327 |
}, |
| 1328 |
"comments": { |
| 1329 |
"input": { |
| 1330 |
}, |
| 1331 |
"output": { |
| 1332 |
} |
| 1333 |
}, |
| 1334 |
"description": "This example executes the specified policy.", |
| 1335 |
"id": "autoscaling-execute-policy-1", |
| 1336 |
"title": "To execute a scaling policy" |
| 1337 |
} |
| 1338 |
], |
| 1339 |
"ExitStandby": [ |
| 1340 |
{ |
| 1341 |
"input": { |
| 1342 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1343 |
"InstanceIds": [ |
| 1344 |
"i-93633f9b" |
| 1345 |
] |
| 1346 |
}, |
| 1347 |
"output": { |
| 1348 |
"Activities": [ |
| 1349 |
{ |
| 1350 |
"ActivityId": "142928e1-a2dc-453a-9b24-b85ad6735928", |
| 1351 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1352 |
"Cause": "At 2015-04-12T15:14:29Z instance i-93633f9b was moved out of standby in response to a user request, increasing the capacity from 1 to 2.", |
| 1353 |
"Description": "Moving EC2 instance out of Standby: i-93633f9b", |
| 1354 |
"Details": "details", |
| 1355 |
"Progress": 30, |
| 1356 |
"StartTime": "2015-04-12T15:14:29.886Z", |
| 1357 |
"StatusCode": "PreInService" |
| 1358 |
} |
| 1359 |
] |
| 1360 |
}, |
| 1361 |
"comments": { |
| 1362 |
"input": { |
| 1363 |
}, |
| 1364 |
"output": { |
| 1365 |
} |
| 1366 |
}, |
| 1367 |
"description": "This example moves the specified instance out of standby mode.", |
| 1368 |
"id": "autoscaling-exit-standby-1", |
| 1369 |
"title": "To move instances out of standby mode" |
| 1370 |
} |
| 1371 |
], |
| 1372 |
"PutLifecycleHook": [ |
| 1373 |
{ |
| 1374 |
"input": { |
| 1375 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1376 |
"DefaultResult": "CONTINUE", |
| 1377 |
"HeartbeatTimeout": 300, |
| 1378 |
"LifecycleHookName": "my-launch-lifecycle-hook", |
| 1379 |
"LifecycleTransition": "autoscaling:EC2_INSTANCE_LAUNCHING" |
| 1380 |
}, |
| 1381 |
"comments": { |
| 1382 |
"input": { |
| 1383 |
}, |
| 1384 |
"output": { |
| 1385 |
} |
| 1386 |
}, |
| 1387 |
"description": "This example creates a lifecycle hook for instance launch.", |
| 1388 |
"id": "autoscaling-put-lifecycle-hook-1", |
| 1389 |
"title": "To create a launch lifecycle hook" |
| 1390 |
} |
| 1391 |
], |
| 1392 |
"PutNotificationConfiguration": [ |
| 1393 |
{ |
| 1394 |
"input": { |
| 1395 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1396 |
"NotificationTypes": [ |
| 1397 |
"autoscaling:TEST_NOTIFICATION" |
| 1398 |
], |
| 1399 |
"TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic" |
| 1400 |
}, |
| 1401 |
"comments": { |
| 1402 |
"input": { |
| 1403 |
}, |
| 1404 |
"output": { |
| 1405 |
} |
| 1406 |
}, |
| 1407 |
"description": "This example adds the specified notification to the specified Auto Scaling group.", |
| 1408 |
"id": "autoscaling-put-notification-configuration-1", |
| 1409 |
"title": "To add an Auto Scaling notification" |
| 1410 |
} |
| 1411 |
], |
| 1412 |
"PutScalingPolicy": [ |
| 1413 |
{ |
| 1414 |
"input": { |
| 1415 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1416 |
"PolicyName": "alb1000-target-tracking-scaling-policy", |
| 1417 |
"PolicyType": "TargetTrackingScaling", |
| 1418 |
"TargetTrackingConfiguration": { |
| 1419 |
"PredefinedMetricSpecification": { |
| 1420 |
"PredefinedMetricType": "ALBRequestCountPerTarget", |
| 1421 |
"ResourceLabel": "app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff" |
| 1422 |
}, |
| 1423 |
"TargetValue": 1000.0 |
| 1424 |
} |
| 1425 |
}, |
| 1426 |
"output": { |
| 1427 |
"Alarms": [ |
| 1428 |
{ |
| 1429 |
"AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e", |
| 1430 |
"AlarmName": "TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e" |
| 1431 |
}, |
| 1432 |
{ |
| 1433 |
"AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2", |
| 1434 |
"AlarmName": "TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2" |
| 1435 |
} |
| 1436 |
], |
| 1437 |
"PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:228f02c2-c665-4bfd-aaac-8b04080bea3c:autoScalingGroupName/my-auto-scaling-group:policyName/alb1000-target-tracking-scaling-policy" |
| 1438 |
}, |
| 1439 |
"comments": { |
| 1440 |
"input": { |
| 1441 |
}, |
| 1442 |
"output": { |
| 1443 |
} |
| 1444 |
}, |
| 1445 |
"description": "This example adds the specified policy to the specified Auto Scaling group.", |
| 1446 |
"id": "autoscaling-put-scaling-policy-1", |
| 1447 |
"title": "To add a scaling policy to an Auto Scaling group" |
| 1448 |
} |
| 1449 |
], |
| 1450 |
"PutScheduledUpdateGroupAction": [ |
| 1451 |
{ |
| 1452 |
"input": { |
| 1453 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1454 |
"DesiredCapacity": 4, |
| 1455 |
"EndTime": "2014-05-12T08:00:00Z", |
| 1456 |
"MaxSize": 6, |
| 1457 |
"MinSize": 2, |
| 1458 |
"ScheduledActionName": "my-scheduled-action", |
| 1459 |
"StartTime": "2014-05-12T08:00:00Z" |
| 1460 |
}, |
| 1461 |
"comments": { |
| 1462 |
"input": { |
| 1463 |
}, |
| 1464 |
"output": { |
| 1465 |
} |
| 1466 |
}, |
| 1467 |
"description": "This example adds the specified scheduled action to the specified Auto Scaling group.", |
| 1468 |
"id": "autoscaling-put-scheduled-update-group-action-1", |
| 1469 |
"title": "To add a scheduled action to an Auto Scaling group" |
| 1470 |
} |
| 1471 |
], |
| 1472 |
"PutWarmPool": [ |
| 1473 |
{ |
| 1474 |
"input": { |
| 1475 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1476 |
"InstanceReusePolicy": { |
| 1477 |
"ReuseOnScaleIn": true |
| 1478 |
}, |
| 1479 |
"MinSize": 30, |
| 1480 |
"PoolState": "Hibernated" |
| 1481 |
}, |
| 1482 |
"comments": { |
| 1483 |
"input": { |
| 1484 |
}, |
| 1485 |
"output": { |
| 1486 |
} |
| 1487 |
}, |
| 1488 |
"description": "This example creates a warm pool for the specified Auto Scaling group.", |
| 1489 |
"id": "to-add-a-warm-pool-to-an-auto-scaling-group-1617818810383", |
| 1490 |
"title": "To create a warm pool for an Auto Scaling group" |
| 1491 |
} |
| 1492 |
], |
| 1493 |
"RecordLifecycleActionHeartbeat": [ |
| 1494 |
{ |
| 1495 |
"input": { |
| 1496 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1497 |
"LifecycleActionToken": "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635", |
| 1498 |
"LifecycleHookName": "my-lifecycle-hook" |
| 1499 |
}, |
| 1500 |
"comments": { |
| 1501 |
"input": { |
| 1502 |
}, |
| 1503 |
"output": { |
| 1504 |
} |
| 1505 |
}, |
| 1506 |
"description": "This example records a lifecycle action heartbeat to keep the instance in a pending state.", |
| 1507 |
"id": "autoscaling-record-lifecycle-action-heartbeat-1", |
| 1508 |
"title": "To record a lifecycle action heartbeat" |
| 1509 |
} |
| 1510 |
], |
| 1511 |
"ResumeProcesses": [ |
| 1512 |
{ |
| 1513 |
"input": { |
| 1514 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1515 |
"ScalingProcesses": [ |
| 1516 |
"AlarmNotification" |
| 1517 |
] |
| 1518 |
}, |
| 1519 |
"comments": { |
| 1520 |
"input": { |
| 1521 |
}, |
| 1522 |
"output": { |
| 1523 |
} |
| 1524 |
}, |
| 1525 |
"description": "This example resumes the specified suspended scaling process for the specified Auto Scaling group.", |
| 1526 |
"id": "autoscaling-resume-processes-1", |
| 1527 |
"title": "To resume Auto Scaling processes" |
| 1528 |
} |
| 1529 |
], |
| 1530 |
"SetDesiredCapacity": [ |
| 1531 |
{ |
| 1532 |
"input": { |
| 1533 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1534 |
"DesiredCapacity": 2, |
| 1535 |
"HonorCooldown": true |
| 1536 |
}, |
| 1537 |
"comments": { |
| 1538 |
"input": { |
| 1539 |
}, |
| 1540 |
"output": { |
| 1541 |
} |
| 1542 |
}, |
| 1543 |
"description": "This example sets the desired capacity for the specified Auto Scaling group.", |
| 1544 |
"id": "autoscaling-set-desired-capacity-1", |
| 1545 |
"title": "To set the desired capacity for an Auto Scaling group" |
| 1546 |
} |
| 1547 |
], |
| 1548 |
"SetInstanceHealth": [ |
| 1549 |
{ |
| 1550 |
"input": { |
| 1551 |
"HealthStatus": "Unhealthy", |
| 1552 |
"InstanceId": "i-93633f9b" |
| 1553 |
}, |
| 1554 |
"comments": { |
| 1555 |
"input": { |
| 1556 |
}, |
| 1557 |
"output": { |
| 1558 |
} |
| 1559 |
}, |
| 1560 |
"description": "This example sets the health status of the specified instance to Unhealthy.", |
| 1561 |
"id": "autoscaling-set-instance-health-1", |
| 1562 |
"title": "To set the health status of an instance" |
| 1563 |
} |
| 1564 |
], |
| 1565 |
"SetInstanceProtection": [ |
| 1566 |
{ |
| 1567 |
"input": { |
| 1568 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1569 |
"InstanceIds": [ |
| 1570 |
"i-93633f9b" |
| 1571 |
], |
| 1572 |
"ProtectedFromScaleIn": true |
| 1573 |
}, |
| 1574 |
"comments": { |
| 1575 |
"input": { |
| 1576 |
}, |
| 1577 |
"output": { |
| 1578 |
} |
| 1579 |
}, |
| 1580 |
"description": "This example enables instance protection for the specified instance.", |
| 1581 |
"id": "autoscaling-set-instance-protection-1", |
| 1582 |
"title": "To enable instance protection for an instance" |
| 1583 |
}, |
| 1584 |
{ |
| 1585 |
"input": { |
| 1586 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1587 |
"InstanceIds": [ |
| 1588 |
"i-93633f9b" |
| 1589 |
], |
| 1590 |
"ProtectedFromScaleIn": false |
| 1591 |
}, |
| 1592 |
"comments": { |
| 1593 |
"input": { |
| 1594 |
}, |
| 1595 |
"output": { |
| 1596 |
} |
| 1597 |
}, |
| 1598 |
"description": "This example disables instance protection for the specified instance.", |
| 1599 |
"id": "autoscaling-set-instance-protection-2", |
| 1600 |
"title": "To disable instance protection for an instance" |
| 1601 |
} |
| 1602 |
], |
| 1603 |
"StartInstanceRefresh": [ |
| 1604 |
{ |
| 1605 |
"input": { |
| 1606 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1607 |
"DesiredConfiguration": { |
| 1608 |
"LaunchTemplate": { |
| 1609 |
"LaunchTemplateName": "my-template-for-auto-scaling", |
| 1610 |
"Version": "$Latest" |
| 1611 |
} |
| 1612 |
}, |
| 1613 |
"Preferences": { |
| 1614 |
"AlarmSpecification": { |
| 1615 |
"Alarms": [ |
| 1616 |
"my-alarm" |
| 1617 |
] |
| 1618 |
}, |
| 1619 |
"AutoRollback": true, |
| 1620 |
"InstanceWarmup": 200, |
| 1621 |
"MaxHealthyPercentage": 120, |
| 1622 |
"MinHealthyPercentage": 90 |
| 1623 |
} |
| 1624 |
}, |
| 1625 |
"output": { |
| 1626 |
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b" |
| 1627 |
}, |
| 1628 |
"comments": { |
| 1629 |
"input": { |
| 1630 |
}, |
| 1631 |
"output": { |
| 1632 |
} |
| 1633 |
}, |
| 1634 |
"description": "This example starts an instance refresh for the specified Auto Scaling group.", |
| 1635 |
"id": "to-start-an-instance-refresh-1592957271522", |
| 1636 |
"title": "To start an instance refresh" |
| 1637 |
} |
| 1638 |
], |
| 1639 |
"SuspendProcesses": [ |
| 1640 |
{ |
| 1641 |
"input": { |
| 1642 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1643 |
"ScalingProcesses": [ |
| 1644 |
"AlarmNotification" |
| 1645 |
] |
| 1646 |
}, |
| 1647 |
"comments": { |
| 1648 |
"input": { |
| 1649 |
}, |
| 1650 |
"output": { |
| 1651 |
} |
| 1652 |
}, |
| 1653 |
"description": "This example suspends the specified scaling process for the specified Auto Scaling group.", |
| 1654 |
"id": "autoscaling-suspend-processes-1", |
| 1655 |
"title": "To suspend Auto Scaling processes" |
| 1656 |
} |
| 1657 |
], |
| 1658 |
"TerminateInstanceInAutoScalingGroup": [ |
| 1659 |
{ |
| 1660 |
"input": { |
| 1661 |
"InstanceId": "i-93633f9b", |
| 1662 |
"ShouldDecrementDesiredCapacity": false |
| 1663 |
}, |
| 1664 |
"comments": { |
| 1665 |
"input": { |
| 1666 |
}, |
| 1667 |
"output": { |
| 1668 |
} |
| 1669 |
}, |
| 1670 |
"description": "This example terminates the specified instance from the specified Auto Scaling group without updating the size of the group. Auto Scaling launches a replacement instance after the specified instance terminates.", |
| 1671 |
"id": "autoscaling-terminate-instance-in-auto-scaling-group-1", |
| 1672 |
"title": "To terminate an instance in an Auto Scaling group" |
| 1673 |
} |
| 1674 |
], |
| 1675 |
"UpdateAutoScalingGroup": [ |
| 1676 |
{ |
| 1677 |
"input": { |
| 1678 |
"AutoScalingGroupName": "my-auto-scaling-group", |
| 1679 |
"LaunchTemplate": { |
| 1680 |
"LaunchTemplateName": "my-template-for-auto-scaling", |
| 1681 |
"Version": "2" |
| 1682 |
}, |
| 1683 |
"MaxSize": 5, |
| 1684 |
"MinSize": 1, |
| 1685 |
"NewInstancesProtectedFromScaleIn": true |
| 1686 |
}, |
| 1687 |
"comments": { |
| 1688 |
"input": { |
| 1689 |
}, |
| 1690 |
"output": { |
| 1691 |
} |
| 1692 |
}, |
| 1693 |
"description": "This example updates multiple properties at the same time.", |
| 1694 |
"id": "autoscaling-update-auto-scaling-group-1", |
| 1695 |
"title": "To update an Auto Scaling group" |
| 1696 |
} |
| 1697 |
] |
| 1698 |
} |
| 1699 |
} |