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

Class: Aws::CodeBuild::Types::PutResourcePolicyInput

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

Overview

Note:

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

{
  policy: "NonEmptyString", # required
  resource_arn: "NonEmptyString", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the AWS CodeBuild User Guide.

Returns:

  • (String)

    A JSON-formatted resource policy.

#resource_arnString

The ARN of the Project or ReportGroup resource you want to associate with a resource policy.

Returns:

  • (String)

    The ARN of the Project or ReportGroup resource you want to associate with a resource policy.