Class: Aws::Imagebuilder::Types::PutImagePolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_arn ⇒ String

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

Returns:

  • (String)


8324
8325
8326
8327
8328
8329
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 8324

class PutImagePolicyRequest < Struct.new(
  :image_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policy ⇒ String

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.

Returns:

  • (String)


8324
8325
8326
8327
8328
8329
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 8324

class PutImagePolicyRequest < Struct.new(
  :image_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end