CmdID

CmdID / aws / aws shield

aws shield describe-protection

Lists the details of a Protection object. AWS CLI reference

1 example 2 options 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 retrieve the details for an AWS Shield Advanced protection

The following describe-protection example displays details about the Shield Advanced protection with the specified ID. You can obtain protection IDs by running the list-protections command.

aws shield describe-protection --protection-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify
--protection-idThe unique identifier (ID) for the Protection object to describe.
Its output
{
    "Protection": {
        "Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "Name": "1.2.3.4",
        "ResourceArn": "arn:aws:ec2:us-west-2:123456789012:eip-allocation/eipalloc-0ac1537af40742a6d"
    }
}

For more information, see Specify Your Resources to Protect in the AWS Shield Advanced Developer Guide.

Options

2 in the AWS CLI reference
--protection-idThe unique identifier (ID) for the Protection object to describe.
--resource-arnThe ARN (Amazon Resource Name) of the protected Amazon Web Services resource.