imagebuilder / Client / get_component_policy

get_component_policy#

imagebuilder.Client.get_component_policy(**kwargs)#

Gets a component policy.

See also: AWS API Documentation

Request Syntax

response = client.get_component_policy(
    componentArn='string'
)
Parameters:

componentArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'requestId': 'string',
    'policy': 'string'
}

Response Structure

  • (dict) –

    • requestId (string) –

      The request ID that uniquely identifies this request.

    • policy (string) –

      The component policy.

Exceptions