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

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

Overview

Note:

When making an API call, you may pass PutImagePolicyRequest data as a hash:

{
  image_arn: "ImageBuildVersionArn", # required
  policy: "ResourcePolicyDocument", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_arnString

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

Returns:

  • (String)


4993
4994
4995
4996
4997
4998
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4993

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

#policyString

The policy to apply.

Returns:

  • (String)


4993
4994
4995
4996
4997
4998
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4993

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