Skip to content

PutImagePolicyRequest

Source code in docs_src/capo_imagebuilder/types/put_image_policy_request.py
class PutImagePolicyRequest(TypedDict, closed=True):
    image_arn: "capo_imagebuilder.types.image_build_version_arn.ImageBuildVersionArn"
    """<p>The Amazon Resource Name (ARN) of the image that this policy should be applied to.</p>"""
    policy: "capo_imagebuilder.types.resource_policy_document.ResourcePolicyDocument"
    """<p>The resource policy to apply to the image, as a JSON policy document. Image Builder validates the policy with Amazon Web Services RAM before applying it, and rejects invalid policies with <code>InvalidParameterValueException</code>.</p>"""

image_arn instance-attribute

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

policy instance-attribute

The resource policy to apply to the image, as a JSON policy document. Image Builder validates the policy with Amazon Web Services RAM before applying it, and rejects invalid policies with InvalidParameterValueException.