ElasticLoadBalancingv2 / Client / get_resource_policy
get_resource_policy#
- ElasticLoadBalancingv2.Client.get_resource_policy(**kwargs)#
Retrieves the resource policy for a specified resource.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
- Return type:
dict
- Returns:
Response Syntax
{ 'Policy': 'string' }
Response Structure
(dict) –
Policy (string) –
The content of the resource policy.
Exceptions