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.
Using getProtectionGroup
Two invocation forms are available. The direct form accepts plain
arguments and either blocks until the result value is available, or
returns a Promise-wrapped result. The output form accepts
Input-wrapped arguments and returns an Output-wrapped result.
def get_protection_group(protection_group_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProtectionGroupResult
def get_protection_group_output(protection_group_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetProtectionGroupResult]
> Note: This function is named LookupProtectionGroup in the Go SDK.
public static CompletableFuture<GetProtectionGroupResult> getProtectionGroup(GetProtectionGroupArgs args, InvokeOptions options)
public static Output<GetProtectionGroupResult> getProtectionGroup(GetProtectionGroupArgs args, InvokeOptions options)
public static Output<GetProtectionGroupResult> getProtectionGroup(GetProtectionGroupArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:shield:getProtectionGroup
arguments:
# arguments dictionary
data "aws-native_shield_get_protection_group" "name" {
# arguments
}
The following arguments are supported:
getProtectionGroup Result
The following output properties are available:
- Aggregation
Pulumi.AwsNative.Shield.ProtectionGroupAggregation
- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
- Members
List<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. - Pattern
Pulumi.AwsNative.Shield.ProtectionGroupPattern
- 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.
- ProtectionGroupArn
string
- The ARN (Amazon Resource Name) of the protection group.
- ResourceType
Pulumi.AwsNative.Shield.ProtectionGroupResourceType
- 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
List<Pulumi.AwsNative.Outputs.Tag>
- One or more tag key-value pairs for the Protection object.
- Aggregation
ProtectionGroupAggregation
- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
- Members
[]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. - Pattern
ProtectionGroupPattern
- 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.
- ProtectionGroupArn
string
- The ARN (Amazon Resource Name) of the protection group.
- ResourceType
ProtectionGroupResourceType
- 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
Tag
- One or more tag key-value pairs for the Protection object.
- aggregation
"SUM" | "MEAN" | "MAX"
- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
- members
list(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. - pattern
"ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE"
- 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_arn
string
- The ARN (Amazon Resource Name) of the protection group.
- resource_type
"CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR"
- 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
list(object)
- One or more tag key-value pairs for the Protection object.
- aggregation
ProtectionGroupAggregation
- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
- members
List<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. - pattern
ProtectionGroupPattern
- 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.
- protectionGroupArn
String
- The ARN (Amazon Resource Name) of the protection group.
- resourceType
ProtectionGroupResourceType
- 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
List<Tag>
- One or more tag key-value pairs for the Protection object.
- aggregation
ProtectionGroupAggregation
- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
- members
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. - pattern
ProtectionGroupPattern
- 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.
- protectionGroupArn
string
- The ARN (Amazon Resource Name) of the protection group.
- resourceType
ProtectionGroupResourceType
- 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
Tag[]
- One or more tag key-value pairs for the Protection object.
- aggregation
ProtectionGroupAggregation
- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
- members
Sequence[str]
- 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. - pattern
ProtectionGroupPattern
- 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_arn
str
- The ARN (Amazon Resource Name) of the protection group.
- resource_type
ProtectionGroupResourceType
- 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
Sequence[root_Tag]
- One or more tag key-value pairs for the Protection object.
- aggregation
"SUM" | "MEAN" | "MAX"
- Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
- Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
- Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
- Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.
- members
List<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. - pattern
"ALL" | "ARBITRARY" | "BY_RESOURCE_TYPE"
- 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.
- protectionGroupArn
String
- The ARN (Amazon Resource Name) of the protection group.
- resourceType
"CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR"
- 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
List<Property Map>
- One or more tag key-value pairs for the Protection object.
Supporting Types
ProtectionGroupAggregation
| Name | Value |
|---|
| Sum | SUM |
| Mean | MEAN |
| Max | MAX |
| Name | Value |
|---|
| ProtectionGroupAggregationSum | SUM |
| ProtectionGroupAggregationMean | MEAN |
| ProtectionGroupAggregationMax | MAX |
| Name | Value |
|---|
| Sum | SUM |
| Mean | MEAN |
| Max | MAX |
| Name | Value |
|---|
| Sum | SUM |
| Mean | MEAN |
| Max | MAX |
| Name | Value |
|---|
| SUM | SUM |
| MEAN | MEAN |
| MAX | MAX |
ProtectionGroupPattern
| Name | Value |
|---|
| All | ALL |
| Arbitrary | ARBITRARY |
| ByResourceType | BY_RESOURCE_TYPE |
| Name | Value |
|---|
| ProtectionGroupPatternAll | ALL |
| ProtectionGroupPatternArbitrary | ARBITRARY |
| ProtectionGroupPatternByResourceType | BY_RESOURCE_TYPE |
| Value |
|---|
ALL |
ARBITRARY |
BY_RESOURCE_TYPE |
| Name | Value |
|---|
| All | ALL |
| Arbitrary | ARBITRARY |
| ByResourceType | BY_RESOURCE_TYPE |
| Name | Value |
|---|
| All | ALL |
| Arbitrary | ARBITRARY |
| ByResourceType | BY_RESOURCE_TYPE |
| Name | Value |
|---|
| ALL | ALL |
| ARBITRARY | ARBITRARY |
| BY_RESOURCE_TYPE | BY_RESOURCE_TYPE |
| Value |
|---|
ALL |
ARBITRARY |
BY_RESOURCE_TYPE |
ProtectionGroupResourceType
| Name | Value |
|---|
| CloudfrontDistribution | CLOUDFRONT_DISTRIBUTION |
| Route53HostedZone | ROUTE_53_HOSTED_ZONE |
| ElasticIpAllocation | ELASTIC_IP_ALLOCATION |
| ClassicLoadBalancer | CLASSIC_LOAD_BALANCER |
| ApplicationLoadBalancer | APPLICATION_LOAD_BALANCER |
| GlobalAccelerator | GLOBAL_ACCELERATOR |
| Name | Value |
|---|
| ProtectionGroupResourceTypeCloudfrontDistribution | CLOUDFRONT_DISTRIBUTION |
| ProtectionGroupResourceTypeRoute53HostedZone | ROUTE_53_HOSTED_ZONE |
| ProtectionGroupResourceTypeElasticIpAllocation | ELASTIC_IP_ALLOCATION |
| ProtectionGroupResourceTypeClassicLoadBalancer | CLASSIC_LOAD_BALANCER |
| ProtectionGroupResourceTypeApplicationLoadBalancer | APPLICATION_LOAD_BALANCER |
| ProtectionGroupResourceTypeGlobalAccelerator | GLOBAL_ACCELERATOR |
| Value |
|---|
CLOUDFRONT_DISTRIBUTION |
ROUTE_53_HOSTED_ZONE |
ELASTIC_IP_ALLOCATION |
CLASSIC_LOAD_BALANCER |
APPLICATION_LOAD_BALANCER |
GLOBAL_ACCELERATOR |
| Name | Value |
|---|
| CloudfrontDistribution | CLOUDFRONT_DISTRIBUTION |
| Route53HostedZone | ROUTE_53_HOSTED_ZONE |
| ElasticIpAllocation | ELASTIC_IP_ALLOCATION |
| ClassicLoadBalancer | CLASSIC_LOAD_BALANCER |
| ApplicationLoadBalancer | APPLICATION_LOAD_BALANCER |
| GlobalAccelerator | GLOBAL_ACCELERATOR |
| Name | Value |
|---|
| CloudfrontDistribution | CLOUDFRONT_DISTRIBUTION |
| Route53HostedZone | ROUTE_53_HOSTED_ZONE |
| ElasticIpAllocation | ELASTIC_IP_ALLOCATION |
| ClassicLoadBalancer | CLASSIC_LOAD_BALANCER |
| ApplicationLoadBalancer | APPLICATION_LOAD_BALANCER |
| GlobalAccelerator | GLOBAL_ACCELERATOR |
| Name | Value |
|---|
| CLOUDFRONT_DISTRIBUTION | CLOUDFRONT_DISTRIBUTION |
| ROUTE53_HOSTED_ZONE | ROUTE_53_HOSTED_ZONE |
| ELASTIC_IP_ALLOCATION | ELASTIC_IP_ALLOCATION |
| CLASSIC_LOAD_BALANCER | CLASSIC_LOAD_BALANCER |
| APPLICATION_LOAD_BALANCER | APPLICATION_LOAD_BALANCER |
| GLOBAL_ACCELERATOR | GLOBAL_ACCELERATOR |
| Value |
|---|
CLOUDFRONT_DISTRIBUTION |
ROUTE_53_HOSTED_ZONE |
ELASTIC_IP_ALLOCATION |
CLASSIC_LOAD_BALANCER |
APPLICATION_LOAD_BALANCER |
GLOBAL_ACCELERATOR |
Tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0