Skip to content

PutResourcePolicyInput

Source code in docs_src/capo_codebuild/types/put_resource_policy_input.py
class PutResourcePolicyInput(TypedDict, closed=True):
    policy: "capo_codebuild.types.non_empty_string.NonEmptyString"
    """<p> 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>. </p>"""
    resource_arn: "capo_codebuild.types.non_empty_string.NonEmptyString"
    """<p> The ARN of the <code>Project</code> or <code>ReportGroup</code> resource you want to associate with a resource policy. </p>"""

policy instance-attribute

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

resource_arn instance-attribute

resource_arn: NonEmptyString

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