AWS::Cognito::UserPoolClientResource Type definition for AWS::Cognito::UserPoolClient
23 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
UserPoolId | string | RequiredCreate-only |
AccessTokenValidity | integer | |
AllowedOAuthFlows | Array<string> | |
AllowedOAuthFlowsUserPoolClient | boolean | |
AllowedOAuthScopes | Array<string> | |
AnalyticsConfiguration | AnalyticsConfiguration | |
AuthSessionValidity | integer | |
CallbackURLs | Array<string> | |
ClientName | string | |
DefaultRedirectURI | string | |
EnablePropagateAdditionalUserContextData | boolean | |
EnableTokenRevocation | boolean | |
ExplicitAuthFlows | Array<string> | |
GenerateSecret | boolean | Create-only |
IdTokenValidity | integer | |
LogoutURLs | Array<string> | |
PreventUserExistenceErrors | string | |
ReadAttributes | Array<string> | |
RefreshTokenRotation | RefreshTokenRotation | |
RefreshTokenValidity | integer | |
SupportedIdentityProviders | Array<string> | |
TokenValidityUnits | TokenValidityUnits | |
WriteAttributes | Array<string> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
ClientId | string | - |
ClientSecret | string | - |
Name | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Cognito::UserPoolClient
Resources:
MyResource:
Type: AWS::Cognito::UserPoolClient
Properties:
UserPoolId: "my-userpoolid"Permissions CloudFormation needs in your IAM role to manage this resource.
cognito-idp:CreateUserPoolClientiam:PassRoleiam:PutRolePolicyiam:CreateServiceLinkedRolecognito-idp:DescribeUserPoolClientcognito-idp:UpdateUserPoolClientiam:PassRoleiam:PutRolePolicycognito-idp:DeleteUserPoolClientiam:PutRolePolicyiam:DeleteRolePolicycognito-idp:ListUserPoolClientsEverything you need to know about Cognito on one page. HD quality, print-friendly.
Download Free InfographicUserPoolIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
GenerateSecretUserPoolId