TestAuthorizationRequest
¶
Source code in docs_src/capo_iot/types/test_authorization_request.py
auth_infos
instance-attribute
¶
auth_infos: AuthInfos
A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.
cognito_identity_pool_id
instance-attribute
¶
cognito_identity_pool_id: NotRequired[CognitoIdentityPoolId]
The Cognito identity pool ID.
policy_names_to_add
instance-attribute
¶
policy_names_to_add: NotRequired[PolicyNames]
When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.
policy_names_to_skip
instance-attribute
¶
policy_names_to_skip: NotRequired[PolicyNames]
When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.