You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutComponentPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

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)

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

#policyString

The policy to apply.

Returns:

  • (String)

    The policy to apply.