**To enable AWS Shield Advanced protection for a single AWS resource** The following ``create-protection`` example enables Shield Advanced protection for the specified AWS CloudFront distribution. :: aws shield create-protection \ --name "Protection for CloudFront distribution" \ --resource-arn arn:aws:cloudfront::123456789012:distribution/E198WC25FXOWY8 Output:: { "ProtectionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" } For more information, see `Specify Your Resources to Protect <https://docs.aws.amazon.com/waf/latest/developerguide/ddos-choose-resources.html>`__ in the *AWS Shield Advanced Developer Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
associate-drt-log-bucket.rst | File | 563 B | 0755 |
|
associate-drt-role.rst | File | 578 B | 0755 |
|
create-protection.rst | File | 674 B | 0755 |
|
create-subscription.rst | File | 449 B | 0755 |
|
delete-protection.rst | File | 523 B | 0755 |
|
describe-attack.rst | File | 8.77 KB | 0755 |
|
describe-drt-access.rst | File | 688 B | 0755 |
|
describe-emergency-contact-settings.rst | File | 795 B | 0755 |
|
describe-protection.rst | File | 831 B | 0755 |
|
describe-subscription.rst | File | 1.29 KB | 0755 |
|
disassociate-drt-log-bucket.rst | File | 629 B | 0755 |
|
disassociate-drt-role.rst | File | 532 B | 0755 |
|
get-subscription-state.rst | File | 494 B | 0755 |
|
list-attacks.rst | File | 1.19 KB | 0755 |
|
list-protections.rst | File | 744 B | 0755 |
|
update-emergency-contact-settings.rst | File | 622 B | 0755 |
|
update-subscription.rst | File | 480 B | 0755 |
|