A grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives.
aggregation
(String) Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.pattern
(String) The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.protection_group_id
(String) The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.members
(List of String) The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern
to ARBITRARY
and you must not set it for any other Pattern
setting.resource_type
(String) The resource type to include in the protection group. All protected resources of this type are included in the protection group. Newly protected resources of this type are automatically added to the group. You must set this when you set Pattern
to BY_RESOURCE_TYPE
and you must not set it for any other Pattern
setting.tags
(Attributes List) One or more tag key-value pairs for the Protection object. (see below for nested schema)id
(String) Uniquely identifies the resource.protection_group_arn
(String) The ARN (Amazon Resource Name) of the protection group.tags
Required:
key
(String) Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.value
(String) Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.Import is supported using the following syntax:
$ terraform import awscc_shield_protection_group.example <resource ID>