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
- Struct
- Aws::CodeBuild::Types::PutResourcePolicyInput
- 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
-
#policy ⇒ String
A JSON-formatted resource policy.
-
#resource_arn ⇒ String
The ARN of the
Project
orReportGroup
resource you want to associate with a resource policy.
Instance Attribute Details
#policy ⇒ String
A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the AWS CodeBuild User Guide.
#resource_arn ⇒ String
The ARN of the Project
or ReportGroup
resource you want to associate
with a resource policy.