Amazon CodeBuild · Schema

PutResourcePolicyInput

PutResourcePolicyInput schema from Amazon CodeBuild

AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

Properties

Name Type Description
policy object
resourceArn object
View JSON Schema on GitHub

JSON Schema

amazon-codebuild-put-resource-policy-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-schema/amazon-codebuild-put-resource-policy-input-schema.json",
  "title": "PutResourcePolicyInput",
  "description": "PutResourcePolicyInput schema from Amazon CodeBuild",
  "type": "object",
  "properties": {
    "policy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": " A JSON-formatted resource policy. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share\">Sharing a Project</a> and <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share\">Sharing a Report Group</a> in the <i>CodeBuild User Guide</i>. "
        }
      ]
    },
    "resourceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": " The ARN of the <code>Project</code> or <code>ReportGroup</code> resource you want to associate with a resource policy. "
        }
      ]
    }
  },
  "required": [
    "policy",
    "resourceArn"
  ]
}