Skip to content

Commit

Permalink
aws - shield - mark all resources as global (cloud-custodian#9901)
Browse files Browse the repository at this point in the history
There's only a us-east-1 endpoint, and it lists protections even for
region-specific resources.
  • Loading branch information
wgrant authored Jan 6, 2025
1 parent 7dbef39 commit 02ee6d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c7n/resources/shield.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class resource_type(TypeInfo):
name = 'Name'
arn = False
config_type = 'AWS::Shield::Protection'
global_resource = True


@resources.register('shield-attack')
Expand All @@ -35,6 +36,7 @@ class resource_type(TypeInfo):
filter_name = 'ResourceArns'
filter_type = 'list'
arn = False
global_resource = True


def get_protections_paginator(client):
Expand Down

0 comments on commit 02ee6d0

Please sign in to comment.