imagebuilder / Client / get_container_recipe_policy

get_container_recipe_policy#

imagebuilder.Client.get_container_recipe_policy(**kwargs)#

Retrieves the policy for a container recipe.

See also: AWS API Documentation

Request Syntax

response = client.get_container_recipe_policy(
    containerRecipeArn='string'
)
Parameters:

containerRecipeArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the container recipe for the policy being requested.

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 container recipe policy object that is returned.

Exceptions