**To delete a service** The following ``delete-service`` example deletes an App Runner service. :: aws apprunner delete-service \ --cli-input-json file://input.json Contents of ``input.json``:: { "ServiceArn": "arn:aws:apprunner:us-east-1:123456789012:service/python-app/8fe1e10304f84fd2b0df550fe98a71fa" } Output:: { "OperationId": "17fe9f55-7e91-4097-b243-fcabbb69a4cf", "Service": { "CreatedAt": "2020-11-20T19:05:25Z", "UpdatedAt": "2020-11-20T19:05:25Z", "ServiceArn": "arn:aws:apprunner:us-east-1:123456789012:service/python-app/8fe1e10304f84fd2b0df550fe98a71fa", "ServiceId": "8fe1e10304f84fd2b0df550fe98a71fa", "ServiceName": "python-app", "ServiceUrl": "psbqam834h.us-east-1.awsapprunner.com", "SourceConfiguration": { "AuthenticationConfiguration": { "ConnectionArn": "arn:aws:apprunner:us-east-1:123456789012:connection/my-github-connection/e7656250f67242d7819feade6800f59e" }, "AutoDeploymentsEnabled": true, "CodeRepository": { "CodeConfiguration": { "CodeConfigurationValues": { "BuildCommand": "pip install -r requirements.txt", "Port": "8080", "Runtime": "PYTHON_3", "RuntimeEnvironmentVariables": [ { "NAME": "Jane" } ], "StartCommand": "python server.py" }, "ConfigurationSource": "Api" }, "RepositoryUrl": "https://github.com/my-account/python-hello", "SourceCodeVersion": { "Type": "BRANCH", "Value": "main" } } }, "Status": "OPERATION_IN_PROGRESS", "InstanceConfiguration": { "CPU": "1 vCPU", "Memory": "3 GB" } } }
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 |
|