You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WAFV2::Types::AssociateWebACLRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateWebACLRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  web_acl_arn: "ResourceArn", # required
  resource_arn: "ResourceArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource to associate with the web ACL.

The ARN must 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 API Gateway REST API: arn:aws:apigateway:region::/restapis/api-id/stages/stage-name

  • For an AppSync GraphQL API: arn:aws:appsync:region:account-id:apis/GraphQLApiId

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the resource to associate with the web ACL.

#web_acl_arnString

The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.