runway.hooks.staticsite.auth_at_edge.user_pool_id_retriever module¶
Retrieve the ID of the Cognito User Pool.
-
runway.hooks.staticsite.auth_at_edge.user_pool_id_retriever.
get
(context, provider, **kwargs)[source]¶ Retrieve the ID of the Cognito User Pool.
The User Pool can either be supplied via an ARN or by being generated. If the user has supplied an ARN that utilize that, otherwise retrieve the generated id. Used in multiple pre_hooks for Auth@Edge.
- Parameters
context (
runway.cfngin.context.Context
) – The context instance.provider (
runway.cfngin.providers.base.BaseProvider
) – The provider instance.
- Keyword Arguments