imagebuilder_put_image_policy: Applies a policy to an image

View source: R/imagebuilder_operations.R

imagebuilder_put_image_policyR Documentation

Applies a policy to an image

Description

Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API put_image_policy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy 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_image_policy/ for full documentation.

Usage

imagebuilder_put_image_policy(imageArn, policy)

Arguments

imageArn

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

policy

[required] The policy to apply.


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