Skip to main content

protections

Retrieves a list of protections in a region

Overview

Nameprotections
TypeResource
Descriptionprotections
Idawscc.shield.protections

Fields

NameDatatypeDescription
protection_arnstringThe ARN (Amazon Resource Name) of the protection.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
protection_arn
FROM awscc.shield.protections

Permissions

To operate on the protections resource, the following permissions are required:

Create

shield:CreateProtection,
shield:DeleteProtection,
shield:DescribeProtection,
shield:ListProtections,
shield:EnableApplicationLayerAutomaticResponse,
shield:AssociateHealthCheck,
shield:TagResource,
ec2:DescribeAddresses,
elasticloadbalancing:DescribeLoadBalancers,
route53:GetHealthCheck,
iam:GetRole,
iam:CreateServiceLinkedRole,
wafv2:GetWebACLForResource,
wafv2:GetWebACL

List

shield:ListProtections