Skip to content

PutResourcePolicyResponse

Source code in docs_src/capo_eventbridgev2/types/put_resource_policy_response.py
class PutResourcePolicyResponse(TypedDict, closed=True):
    resource_arn: "capo_eventbridgev2.types.event_bus_arn.EventBusArn"
    """<p>The Amazon Resource Name (ARN) that uniquely identifies an event bus.</p>"""
    policy_name: "capo_eventbridgev2.types.policy_name.PolicyName"
    """<p>Name of a policy attached to a resource. Valid values: "default" (the customer-managed policy) and "AWS_RAM" (managed exclusively by AWS Resource Access Manager). Any other value is rejected.</p>"""
    revision_id: NotRequired[
        "capo_eventbridgev2.types.policy_revision_id.PolicyRevisionId"
    ]
    """<p>Absent when the write removed the policy; a removal produces no new revision.</p>"""

policy_name instance-attribute

policy_name: PolicyName

Name of a policy attached to a resource. Valid values: "default" (the customer-managed policy) and "AWS_RAM" (managed exclusively by AWS Resource Access Manager). Any other value is rejected.

resource_arn instance-attribute

resource_arn: EventBusArn

The Amazon Resource Name (ARN) that uniquely identifies an event bus.

revision_id instance-attribute

revision_id: NotRequired[PolicyRevisionId]

Absent when the write removed the policy; a removal produces no new revision.