Home

Awesome

build-status

Cfhighlander cognito component

Uses cloudformation-custom-resources-js as a custom resource code for creating cognito clients and custom domain names.


# install highlander gem
$ gem install cfhighlander

# build and validate standalone component
$ cfcompile --validate cognito

Usage

Creates Cognito UserPools. Allows adding User pool clients and custom domain name. Note that this functionality is not supported natively via CloudFormation, and is implemented through custom resources. Consume component with Component 'cognito' in your cfhiglhander template for default behaviour. Read more on cfhighlander page on consuming, extending and inlining components.

Configuration options

Look at cognito.config.yaml for format of configuration file

Parameters

NONE

Outputs

UserPoolId - PoolId

UserPoolArn - Pool Amazon Resource Name (ARN)

UserPoolProviderURL - Provider URL

UserPoolProviderName - Provider Name

PoolDomainUrl - (Optional) if custom domain name is set, this will render the full url

PoolDomainName- (Optional) if custom domain name is set, this will render the domain name

PoolClient${clietNname}Id - (Optional) client id for every defined client

PoolClient${clietNname}Secret - (Optional) if client secret is configured on defined client