imagebuilder_put_container_recipe_policy: Applies a policy to a container image

View source: R/imagebuilder_operations.R

imagebuilder_put_container_recipe_policyR Documentation

Applies a policy to a container image

Description

Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutContainerImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.

See https://www.paws-r-sdk.com/docs/imagebuilder_put_container_recipe_policy/ for full documentation.

Usage

imagebuilder_put_container_recipe_policy(containerRecipeArn, policy)

Arguments

containerRecipeArn

[required] The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.

policy

[required] The policy to apply to the container recipe.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.