getContainerRecipePolicy

Retrieves the policy for a container recipe.

Samples

// The following example retrieves the resource policy for a container recipe that you shared with
// another AWS account. The policy property contains the resource based policy document as a JSON encoded
// string.
val resp = imagebuilderClient.getContainerRecipePolicy {
    containerRecipeArn = "arn:aws:imagebuilder:us-west-2:111122223333:container-recipe/my-example-container-recipe-shared/1.0.0"
}