CmdID

CmdID / aws / aws lightsail

aws lightsail delete-load-balancer

Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a load balancer

The following delete-load-balancer example deletes the specified load balancer and any associated TLS certificates.

aws lightsail delete-load-balancer --load-balancer-name MyFirstLoadBalancerIdentify
--load-balancer-nameThe name of the load balancer you want to delete.
Its output, shortened
{
    "operations": [
        {
            "id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "resourceName": "MyFirstLoadBalancer",
            "resourceType": "LoadBalancer",
            "createdAt": 1569875092.125,
            "location": {
                "availabilityZone": "all",
                "regionName": "us-west-2"
            },
            "isTerminal": true,
            "operationType": "DeleteLoadBalancer",
            "status": "Succeeded",
            "statusChangedAt": 1569875092.125
        },
        {
            "id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "resourceName": "MySecondCertificate",
            "resourceType": "LoadBalancerTlsCertificate",
            "createdAt": 1569875091.938,
            "location": {
                "availabilityZone": "all",
                "regionName": "us-west-2"
            },
            "isTerminal": false,
            "operationType": "DeleteLoadBalancerTlsCertificate",
            "status": "Started",
            "statusChangedAt": 1569875091.938
        },
… 16 more lines

For more information, see Delete Lightsail load balancers in the Amazon Lightsail User Guide.

Options

1 in the AWS CLI reference
--load-balancer-nameThe name of the load balancer you want to delete.