Skip to content

Commit b7384a9

Browse files
authored
Merge branch 'develop' into tmp/schema/15280194056/1
2 parents aa72512 + 63a53e4 commit b7384a9

File tree

5 files changed

+61
-0
lines changed

5 files changed

+61
-0
lines changed

samtranslator/model/cognito.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ class CognitoUserPool(Resource):
1111
"AutoVerifiedAttributes": GeneratedProperty(),
1212
"DeletionProtection": GeneratedProperty(),
1313
"DeviceConfiguration": GeneratedProperty(),
14+
"EmailAuthenticationMessage": GeneratedProperty(),
15+
"EmailAuthenticationSubject": GeneratedProperty(),
1416
"EmailConfiguration": GeneratedProperty(),
1517
"EmailVerificationMessage": GeneratedProperty(),
1618
"EmailVerificationSubject": GeneratedProperty(),
@@ -28,7 +30,10 @@ class CognitoUserPool(Resource):
2830
"UserPoolAddOns": GeneratedProperty(),
2931
"UserPoolName": GeneratedProperty(),
3032
"UserPoolTags": GeneratedProperty(),
33+
"UserPoolTier": GeneratedProperty(),
3134
"VerificationMessageTemplate": GeneratedProperty(),
35+
"WebAuthnRelyingPartyID": GeneratedProperty(),
36+
"WebAuthnUserVerification": GeneratedProperty(),
3237
}
3338

3439
runtime_attrs = {
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Transform: AWS::Serverless-2016-10-31
2+
Resources:
3+
MyUserPool:
4+
Type: AWS::Cognito::UserPool
5+
Properties:
6+
UserPoolTier: PLUS
7+
UserPoolName: MyUserPool
8+
EmailAuthenticationMessage: Your verification code is {####}
9+
EmailAuthenticationSubject: Your verification code
10+
WebAuthnRelyingPartyID: id
11+
WebAuthnUserVerification: required
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"Resources": {
3+
"MyUserPool": {
4+
"Properties": {
5+
"EmailAuthenticationMessage": "Your verification code is {####}",
6+
"EmailAuthenticationSubject": "Your verification code",
7+
"UserPoolName": "MyUserPool",
8+
"UserPoolTier": "PLUS",
9+
"WebAuthnRelyingPartyID": "id",
10+
"WebAuthnUserVerification": "required"
11+
},
12+
"Type": "AWS::Cognito::UserPool"
13+
}
14+
}
15+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"Resources": {
3+
"MyUserPool": {
4+
"Properties": {
5+
"EmailAuthenticationMessage": "Your verification code is {####}",
6+
"EmailAuthenticationSubject": "Your verification code",
7+
"UserPoolName": "MyUserPool",
8+
"UserPoolTier": "PLUS",
9+
"WebAuthnRelyingPartyID": "id",
10+
"WebAuthnUserVerification": "required"
11+
},
12+
"Type": "AWS::Cognito::UserPool"
13+
}
14+
}
15+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"Resources": {
3+
"MyUserPool": {
4+
"Properties": {
5+
"EmailAuthenticationMessage": "Your verification code is {####}",
6+
"EmailAuthenticationSubject": "Your verification code",
7+
"UserPoolName": "MyUserPool",
8+
"UserPoolTier": "PLUS",
9+
"WebAuthnRelyingPartyID": "id",
10+
"WebAuthnUserVerification": "required"
11+
},
12+
"Type": "AWS::Cognito::UserPool"
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)