**Example 1: To delete the latest active revision of an auto scaling configuration** The following ``delete-auto-scaling-configuration`` example deletes the latest active revision of an App Runner auto scaling configuration. To delete the latest active revision, specify an Amazon Resource Name (ARN) that ends with the configuration name, without the revision component. In the example, two revisions exist before this action. Therefore, revision 2 (the latest) is deleted. However, it now shows ``"Latest": false``, because, after being deleted, it isn't the latest active revision anymore. :: aws apprunner delete-auto-scaling-configuration \ --cli-input-json file://input.json Contents of ``input.json``:: { "AutoScalingConfigurationArn": "arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability" } Output:: { "AutoScalingConfiguration": { "AutoScalingConfigurationArn": "arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/2/e76562f50d78042e819fead0f59672e6", "AutoScalingConfigurationName": "high-availability", "AutoScalingConfigurationRevision": 2, "CreatedAt": "2021-02-25T17:42:59Z", "DeletedAt": "2021-03-02T08:07:06Z", "Latest": false, "Status": "INACTIVE", "MaxConcurrency": 30, "MaxSize": 90, "MinSize": 5 } } **Example 2: To delete a specific revision of an auto scaling configuration** The following ``delete-auto-scaling-configuration`` example deletes a specific revision of an App Runner auto scaling configuration. To delete a specific revision, specify an ARN that includes the revision number. In the example, several revisions exist before this action. The action deletes revision ``1``. :: aws apprunner delete-auto-scaling-configuration \ --cli-input-json file://input.json Contents of ``input.json``:: { "AutoScalingConfigurationArn": "arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/1" } Output:: { "AutoScalingConfiguration": { "AutoScalingConfigurationArn": "arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/1/2f50e7656d7819fead0f59672e68042e", "AutoScalingConfigurationName": "high-availability", "AutoScalingConfigurationRevision": 1, "CreatedAt": "2020-11-03T00:29:17Z", "DeletedAt": "2021-03-02T08:07:06Z", "Latest": false, "Status": "INACTIVE", "MaxConcurrency": 100, "MaxSize": 50, "MinSize": 5 } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
associate-custom-domain.rst | File | 1.65 KB | 0644 |
|
create-auto-scaling-configuration.rst | File | 1.41 KB | 0644 |
|
create-connection.rst | File | 1.08 KB | 0644 |
|
create-service.rst | File | 9.6 KB | 0644 |
|
delete-auto-scaling-configuration.rst | File | 2.72 KB | 0644 |
|
delete-connection.rst | File | 812 B | 0644 |
|
delete-service.rst | File | 2.26 KB | 0644 |
|
describe-auto-scaling-configuration.rst | File | 2.58 KB | 0644 |
|
describe-custom-domains.rst | File | 2.23 KB | 0644 |
|
describe-service.rst | File | 2.2 KB | 0644 |
|
disassociate-custom-domain.rst | File | 1.59 KB | 0644 |
|
list-auto-scaling-configurations.rst | File | 1.42 KB | 0644 |
|
list-connections.rst | File | 1.63 KB | 0644 |
|
list-operations.rst | File | 1 KB | 0644 |
|
list-services.rst | File | 1.78 KB | 0644 |
|
list-tags-for-resource.rst | File | 710 B | 0644 |
|
pause-service.rst | File | 2.25 KB | 0644 |
|
resume-service.rst | File | 2.26 KB | 0644 |
|
start-deployment.rst | File | 480 B | 0644 |
|
tag-resource.rst | File | 656 B | 0644 |
|
untag-resource.rst | File | 510 B | 0644 |
|
update-service.rst | File | 2.59 KB | 0644 |
|