You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WAFRegional::Types::AssociateWebACLRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFRegional::Types::AssociateWebACLRequest
- Defined in:
- (unknown)
Overview
When passing AssociateWebACLRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
web_acl_id: "ResourceId", # required
resource_arn: "ResourceArn", # required
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The ARN (Amazon Resource Name) of the resource to be protected, either an application load balancer or Amazon API Gateway stage.
-
#web_acl_id ⇒ String
A unique identifier (ID) for the web ACL.
Instance Attribute Details
#resource_arn ⇒ String
The ARN (Amazon Resource Name) of the resource to be protected, either an application load balancer or Amazon API Gateway stage.
The ARN should be in one of the following formats:
For an Application Load Balancer:
arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
For an Amazon API Gateway stage:
arn:aws:apigateway:region::/restapis/api-id/stages/stage-name
#web_acl_id ⇒ String
A unique identifier (ID) for the web ACL.