AuroraDSQL / Client / get_cluster_policy
get_cluster_policy¶
- AuroraDSQL.Client.get_cluster_policy(**kwargs)¶
Retrieves the resource-based policy document attached to a cluster. This policy defines the access permissions and conditions for the cluster.
See also: AWS API Documentation
Request Syntax
response = client.get_cluster_policy( identifier='string' )
- Parameters:
identifier (string) –
[REQUIRED]
The ID of the cluster to retrieve the policy from.
- Return type:
dict
- Returns:
Response Syntax
{ 'policy': 'string', 'policyVersion': 'string' }
Response Structure
(dict) –
policy (string) –
The resource-based policy document attached to the cluster, returned as a JSON string.
policyVersion (string) –
The version of the policy document. This version number is incremented each time the policy is updated.
Exceptions