Skip to content

Commit 9f6feeb

Browse files
authored
Merge branch 'develop' into tmp/1749059990/main
2 parents 559d6b7 + 332dc89 commit 9f6feeb

File tree

10 files changed

+618
-324
lines changed

10 files changed

+618
-324
lines changed

integration/resources/templates/combination/function_with_mq.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ Resources:
112112
Ref: MQBrokerName
113113
DeploymentMode: SINGLE_INSTANCE
114114
EngineType: ACTIVEMQ
115-
EngineVersion: 5.17.6
115+
EngineVersion: 5.18
116116
HostInstanceType: mq.t3.micro
117117
Logs:
118118
Audit: true
119119
General: true
120120
PubliclyAccessible: true
121-
AutoMinorVersionUpgrade: false
121+
AutoMinorVersionUpgrade: true
122122
SecurityGroups:
123123
- Ref: MQSecurityGroup
124124
SubnetIds:

integration/resources/templates/combination/function_with_mq_using_autogen_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ Resources:
8484
Ref: MQBrokerName2
8585
DeploymentMode: SINGLE_INSTANCE
8686
EngineType: ACTIVEMQ
87-
EngineVersion: 5.17.6
87+
EngineVersion: 5.18
8888
HostInstanceType: mq.t3.micro
8989
Logs:
9090
Audit: true
9191
General: true
9292
PubliclyAccessible: true
93-
AutoMinorVersionUpgrade: false
93+
AutoMinorVersionUpgrade: true
9494
SecurityGroups:
9595
- Ref: MQSecurityGroup
9696
SubnetIds:

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 = {

samtranslator/schema/schema.json

Lines changed: 67 additions & 95 deletions
Large diffs are not rendered by default.

schema_source/cloudformation-docs.json

Lines changed: 419 additions & 130 deletions
Large diffs are not rendered by default.

schema_source/cloudformation.schema.json

Lines changed: 67 additions & 95 deletions
Large diffs are not rendered by default.
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)