imagebuilder / Client / get_image_recipe_policy
get_image_recipe_policy¶
- imagebuilder.Client.get_image_recipe_policy(**kwargs)¶
Retrieves an image recipe policy.
See also: AWS API Documentation
Request Syntax
response = client.get_image_recipe_policy( imageRecipeArn='string' )
- Parameters:
imageRecipeArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the image recipe 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 resource policy for the image recipe, as a JSON policy document. If no policy has been applied, the response contains an empty JSON object (
{}).
Exceptions