NetworkFirewall.Client.
describe_resource_policy
(**kwargs)¶Retrieves a resource policy that you created in a PutResourcePolicy request.
See also: AWS API Documentation
Request Syntax
response = client.describe_resource_policy(
ResourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve.
{
'Policy': 'string'
}
Response Structure
The IAM policy for the resource.
Exceptions
NetworkFirewall.Client.exceptions.InvalidRequestException
NetworkFirewall.Client.exceptions.InternalServerError
NetworkFirewall.Client.exceptions.ResourceNotFoundException
NetworkFirewall.Client.exceptions.ThrottlingException