protections_list_only
Lists protections in a region or regions, for all properties use protections
Overview
| Name | protections_list_only |
| Type | Resource |
| Description | Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, AWS Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses. |
| Id | aws.shield.protections_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
protection_arn | string | The ARN (Amazon Resource Name) of the protection. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all protections in a region.
SELECT
region,
protection_arn
FROM aws.shield.protections_list_only
;
Permissions
For permissions required to operate on the protections_list_only resource, see protections