Skip to content

AllowedPrincipal

Source code in docs_src/capo_ec2/types/allowed_principal.py
class AllowedPrincipal(TypedDict, closed=True):
    principal_type: NotRequired["capo_ec2.types.principal_type.PrincipalType"]
    """<p>The type of principal.</p>"""
    principal: NotRequired["capo_ec2.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the principal.</p>"""
    service_permission_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the service permission.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>The tags.</p>"""
    service_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the service.</p>"""

principal instance-attribute

principal: NotRequired[String]

The Amazon Resource Name (ARN) of the principal.

principal_type instance-attribute

principal_type: NotRequired[PrincipalType]

The type of principal.

service_id instance-attribute

service_id: NotRequired[String]

The ID of the service.

service_permission_id instance-attribute

service_permission_id: NotRequired[String]

The ID of the service permission.

tags instance-attribute

tags: NotRequired[TagList]

The tags.