PutResourcePolicyInput is a JSON Structure definition published by Amazon CodeBuild, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-put-resource-policy-input-structure.json",
"name": "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"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.