Class: Aws::Imagebuilder::Types::PutComponentPolicyRequest

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

{
  component_arn: "ComponentBuildVersionArn", # required
  policy: "ResourcePolicyDocument", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#component_arnString

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

Returns:

  • (String)


4905
4906
4907
4908
4909
4910
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4905

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

#policyString

The policy to apply.

Returns:

  • (String)


4905
4906
4907
4908
4909
4910
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 4905

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