Skip to content

Returns the IAM policy that is attached to the specified rule group

Description

Returns the IAM policy that is attached to the specified rule group.

You must be the owner of the rule group to perform this operation.

Usage

wafv2_get_permission_policy(ResourceArn)

Arguments

  • ResourceArn

    [required] The Amazon Resource Name (ARN) of the rule group for which you want to get the policy.

Value

A list with the following syntax:

list(
  Policy = "string"
)

Request syntax

svc$get_permission_policy(
  ResourceArn = "string"
)