Route53RecoveryControlConfig / Client / get_resource_policy

get_resource_policy#

Route53RecoveryControlConfig.Client.get_resource_policy(**kwargs)#

Get information about the resource policy for a cluster.

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) –

    200 response - Success.

    • Policy (string) –

      The resource policy.

Exceptions

  • Route53RecoveryControlConfig.Client.exceptions.ResourceNotFoundException

  • Route53RecoveryControlConfig.Client.exceptions.InternalServerException