Skip to content

Commit 66c4f55

Browse files
committed
Add ServerName parameter and update ClientName format in client product.yaml
We're going to Cognito clients as client to server combos
1 parent 3e72627 commit 66c4f55

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

products/client/product.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Parameters:
99
ClientName:
1010
Type: String
1111
Description: The name of the client
12+
ServerName:
13+
Type: String
14+
Description: The name of the server
1215
AllowedAuthScopes:
1316
Type: CommaDelimitedList
1417
Description: The allowed OAuth scopes
@@ -29,7 +32,7 @@ Resources:
2932
CognitoUserPoolClient:
3033
Type: AWS::Cognito::UserPoolClient
3134
Properties:
32-
ClientName: !Ref ClientName
35+
ClientName: !Sub "${ClientName}@${ServerName}"
3336
UserPoolId: !Ref CognitoUserPoolId
3437
PreventUserExistenceErrors: ENABLED
3538
EnableTokenRevocation: true

0 commit comments

Comments
 (0)