Skip to content

Principal

Source code in docs_src/capo_lex_models_v2/types/principal.py
class Principal(TypedDict, closed=True):
    service: NotRequired["capo_lex_models_v2.types.service_principal.ServicePrincipal"]
    """<p>The name of the Amazon Web Services service that should allowed or denied access to an Amazon Lex action.</p>"""
    arn: NotRequired["capo_lex_models_v2.types.principal_arn.PrincipalArn"]
    """<p>The Amazon Resource Name (ARN) of the principal.</p>"""

arn instance-attribute

arn: NotRequired[PrincipalArn]

The Amazon Resource Name (ARN) of the principal.

service instance-attribute

service: NotRequired[ServicePrincipal]

The name of the Amazon Web Services service that should allowed or denied access to an Amazon Lex action.