Skip to content

GetResourcePolicyResponse

Source code in docs_src/capo_eventbridgev2/types/get_resource_policy_response.py
class GetResourcePolicyResponse(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_document: "capo_eventbridgev2.types.policy_document.PolicyDocument"
    """<p>A resource policy document, as a JSON string. The maximum size is 389,120 bytes of UTF-8; the byte limit is enforced by the service.</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: "capo_eventbridgev2.types.policy_revision_id.PolicyRevisionId"
    """<p>Revision ID of a resource policy. A new revision ID is generated on every successful write.</p>"""

policy_document instance-attribute

policy_document: PolicyDocument

A resource policy document, as a JSON string. The maximum size is 389,120 bytes of UTF-8; the byte limit is enforced by the service.

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: PolicyRevisionId

Revision ID of a resource policy. A new revision ID is generated on every successful write.