Class: Aws::Imagebuilder::Types::PutImageRecipePolicyRequest

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 PutImageRecipePolicyRequest data as a hash:

{
  image_recipe_arn: "ImageRecipeArn", # required
  policy: "ResourcePolicyDocument", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_recipe_arnString

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

Returns:

  • (String)


5037
5038
5039
5040
5041
5042
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5037

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

#policyString

The policy to apply.

Returns:

  • (String)


5037
5038
5039
5040
5041
5042
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 5037

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