CodeBuild / Client / get_resource_policy
get_resource_policy#
- CodeBuild.Client.get_resource_policy(**kwargs)#
Gets a resource policy that is identified by its resource ARN.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource that is associated with the resource policy.
- Return type:
dict
- Returns:
Response Syntax
{ 'policy': 'string' }
Response Structure
(dict) –
policy (string) –
The resource policy for the resource identified by the input ARN parameter.
Exceptions