AWS Native is in preview. AWS Classic is fully supported.
aws-native.shield.getProtectionGroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
function getProtectionGroup(args: GetProtectionGroupArgs, opts?: InvokeOptions): Promise<GetProtectionGroupResult>
function getProtectionGroupOutput(args: GetProtectionGroupOutputArgs, opts?: InvokeOptions): Output<GetProtectionGroupResult>
def get_protection_group(protection_group_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProtectionGroupResult
def get_protection_group_output(protection_group_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProtectionGroupResult]
func LookupProtectionGroup(ctx *Context, args *LookupProtectionGroupArgs, opts ...InvokeOption) (*LookupProtectionGroupResult, error)
func LookupProtectionGroupOutput(ctx *Context, args *LookupProtectionGroupOutputArgs, opts ...InvokeOption) LookupProtectionGroupResultOutput
> Note: This function is named LookupProtectionGroup
in the Go SDK.
public static class GetProtectionGroup
{
public static Task<GetProtectionGroupResult> InvokeAsync(GetProtectionGroupArgs args, InvokeOptions? opts = null)
public static Output<GetProtectionGroupResult> Invoke(GetProtectionGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProtectionGroupResult> getProtectionGroup(GetProtectionGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:shield:getProtectionGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Protection
Group stringArn - The ARN (Amazon Resource Name) of the protection group.
- Protection
Group stringArn - The ARN (Amazon Resource Name) of the protection group.
- protection
Group StringArn - The ARN (Amazon Resource Name) of the protection group.
- protection
Group stringArn - The ARN (Amazon Resource Name) of the protection group.
- protection_
group_ strarn - The ARN (Amazon Resource Name) of the protection group.
- protection
Group StringArn - The ARN (Amazon Resource Name) of the protection group.
getProtectionGroup Result
The following output properties are available:
- Aggregation
Pulumi.
Aws Native. Shield. Protection Group Aggregation - 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
toARBITRARY
and you must not set it for any otherPattern
setting. - Pattern
Pulumi.
Aws Native. Shield. Protection Group Pattern - 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 stringArn - The ARN (Amazon Resource Name) of the protection group.
- Resource
Type Pulumi.Aws Native. Shield. Protection Group Resource Type - 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
toBY_RESOURCE_TYPE
and you must not set it for any otherPattern
setting. - List<Pulumi.
Aws Native. Outputs. Tag> - One or more tag key-value pairs for the Protection object.
- Aggregation
Protection
Group Aggregation - 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
toARBITRARY
and you must not set it for any otherPattern
setting. - Pattern
Protection
Group Pattern - 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 stringArn - The ARN (Amazon Resource Name) of the protection group.
- Resource
Type ProtectionGroup Resource Type - 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
toBY_RESOURCE_TYPE
and you must not set it for any otherPattern
setting. - Tag
- One or more tag key-value pairs for the Protection object.
- aggregation
Protection
Group Aggregation - 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
toARBITRARY
and you must not set it for any otherPattern
setting. - pattern
Protection
Group Pattern - 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 StringArn - The ARN (Amazon Resource Name) of the protection group.
- resource
Type ProtectionGroup Resource Type - 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
toBY_RESOURCE_TYPE
and you must not set it for any otherPattern
setting. - List<Tag>
- One or more tag key-value pairs for the Protection object.
- aggregation
Protection
Group Aggregation - 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
toARBITRARY
and you must not set it for any otherPattern
setting. - pattern
Protection
Group Pattern - 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 stringArn - The ARN (Amazon Resource Name) of the protection group.
- resource
Type ProtectionGroup Resource Type - 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
toBY_RESOURCE_TYPE
and you must not set it for any otherPattern
setting. - Tag[]
- One or more tag key-value pairs for the Protection object.
- aggregation
Protection
Group Aggregation - 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
toARBITRARY
and you must not set it for any otherPattern
setting. - pattern
Protection
Group Pattern - 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_ strarn - The ARN (Amazon Resource Name) of the protection group.
- resource_
type ProtectionGroup Resource Type - 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
toBY_RESOURCE_TYPE
and you must not set it for any otherPattern
setting. - 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
toARBITRARY
and you must not set it for any otherPattern
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 StringArn - 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
toBY_RESOURCE_TYPE
and you must not set it for any otherPattern
setting. - List<Property Map>
- One or more tag key-value pairs for the Protection object.
Supporting Types
ProtectionGroupAggregation
ProtectionGroupPattern
ProtectionGroupResourceType
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.