Class: Aws::WAFRegional::Types::GetWebACLForResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb

Overview

Note:

When making an API call, you may pass GetWebACLForResourceRequest data as a hash:

{
  resource_arn: "ResourceArn", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN (Amazon Resource Name) of the resource for which to get the web ACL, 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

Returns:

  • (String)


2884
2885
2886
2887
2888
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 2884

class GetWebACLForResourceRequest < Struct.new(
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end