CmdID / aws / aws codebuild
aws codebuild put-resource-policy
Stores a resource policy for the ARN of a Project or ReportGroup object. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--policyA JSON-formatted resource policy.--resource-arnThe ARN of the Project or ReportGroup resource you want to associate with a resource policy.