@izara_project/izara-market-library-service-schemas 1.0.72 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/template.ejs +14 -3
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/template.ejs +11 -2
- package/src/reStructure/TemplateData/EndpointPerService/yaml/data.js +6 -4
- package/src/reStructure/TemplateData/EndpointPerService/yaml/template.ejs +5 -4
- package/src/reStructure/TemplateData/externalService/snsTopicSubscriptions/data.js +24 -10
- package/src/reStructure/TemplateData/findData/findDataYaml/data.js +1 -1
- package/src/reStructure/TemplateData/findData/findDataYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/CreateRecordComplete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/components/upload/confirmReserved/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObject/functionYaml/template.ejs +9 -9
- package/src/reStructure/TemplateData/flowSchema/components/upload/createObjectComplete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/createPresignUrl/functionYaml/template.ejs +4 -3
- package/src/reStructure/TemplateData/flowSchema/components/upload/preSignUrl/reservedLimit/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/components/upload/processFile/functionYml/HdrS3/template.ejs +4 -3
- package/src/reStructure/TemplateData/flowSchema/components/websocket/connect/functionYaml/template.ejs +3 -4
- package/src/reStructure/TemplateData/flowSchema/eventBridge/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Complete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/externalTopic/Process/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComplete/functionYaml/template.ejs +4 -3
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/EndpointComponent/functionYaml/template.ejs +4 -3
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/flowSchemaOwnTopic/FlowSchemaComponent/handler/template.ejs +1 -1
- package/src/reStructure/TemplateData/flowSchema/flowStep/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/flowSchema/generateTemplateData.js +2 -2
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Api/functionYaml/template.ejs +5 -3
- package/src/reStructure/TemplateData/flowSchema/lambdaSync/Inv/functionYaml/template.ejs +2 -2
- package/src/reStructure/TemplateData/flowSchema/register/complete/functionYaml/template.ejs +5 -3
- package/src/reStructure/TemplateData/flowSchema/register/wbs/functionYaml/template.ejs +3 -2
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/checkTriggerCacheComplete/functionYaml/template.ejs +22 -0
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/processTriggerCache/functionYaml/template.ejs +5 -4
- package/src/reStructure/TemplateData/flowSchema/triggerCacheComponent/triggerCacheComplete/functionYaml/template.ejs +4 -3
- package/src/reStructure/TemplateData/flowSchema/webSocketComplete/functionYaml/template.ejs +4 -3
- package/src/reStructure/TemplateData/perActionComplete/create/yaml/template.ejs +4 -3
- package/src/reStructure/TemplateData/perActionComplete/delete/yaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/perActionComplete/get/yaml/template.ejs +4 -3
- package/src/reStructure/TemplateData/perActionComplete/update/yaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/api/template.ejs +2 -2
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/dsq/template.ejs +2 -2
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/inv/template.ejs +2 -2
- package/src/reStructure/TemplateData/perActionEndpoint/yaml/sqs/template.ejs +2 -2
- package/src/reStructure/TemplateData/processLogical/yaml/template.ejs +6 -6
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/dsq/template.ejs +3 -3
- package/src/reStructure/TemplateData/processLogicalPagination/yaml/sqs/template.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +2 -2
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/changeRelationship/complete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/apiTemplate.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/dsqTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/invTemplate.ejs +2 -2
- package/src/reStructure/TemplateData/relationshipPerAction/create/action/functionYaml/templateByHandler/sqsTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/apiTemplate.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/dsqTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/invTemplate.ejs +2 -2
- package/src/reStructure/TemplateData/relationshipPerAction/delete/action/functionYaml/templateByHandler/sqsTemplate.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/apiTemplate.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/dsqTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/invTemplate.ejs +2 -2
- package/src/reStructure/TemplateData/relationshipPerAction/get/action/functionYaml/templateByHandler/sqsTemplate.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/get/complete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/apiTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/dsqTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/invTemplate.ejs +2 -2
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/action/functionYaml/templateByHandler/sqsTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/moveRelationship/complete/functionYaml/template.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/apiTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/dsqTemplate.ejs +4 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/invTemplate.ejs +2 -2
- package/src/reStructure/TemplateData/relationshipPerAction/update/action/functionYaml/templateByHandler/sqsTemplate.ejs +3 -3
- package/src/reStructure/TemplateData/relationshipPerAction/update/complete/functionYaml/template.ejs +4 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<%_ const join = require('path').join; _%>
|
|
2
|
+
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
|
+
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
|
+
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
8
|
+
events:
|
|
9
|
+
- sqs:
|
|
10
|
+
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- queueName %>
|
|
11
|
+
batchSize: 10
|
|
12
|
+
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
13
|
+
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%- functionName %>"]}}} # functionName of callingFlow
|
|
14
|
+
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
<%_ function firstLetterUpperCase(text){
|
|
18
|
+
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
19
|
+
} _%>
|
|
20
|
+
<%_ function firstLetterLowerCase(str) {
|
|
21
|
+
return str.charAt(0).toLowerCase() + str.slice(1)
|
|
22
|
+
} _%>
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
-
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
6
8
|
- sqs:
|
|
7
9
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- queueName %>
|
|
8
10
|
batchSize: 10
|
|
9
11
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
12
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%- functionName %>"]}}} # functionName of callingFlow
|
|
11
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
+
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- queueName %>
|
|
@@ -9,9 +12,7 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%- functionName %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- queueName %>
|
|
@@ -9,9 +12,7 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%- functionName %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
@@ -9,9 +12,7 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%-firstLetterUpperCase(functionName) %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
@@ -9,9 +12,6 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%-firstLetterUpperCase(functionName) %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
role: <%- roleName %>Role
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
15
|
<%_ function firstLetterUpperCase(text){
|
|
16
16
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
17
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
@@ -9,9 +12,7 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%-firstLetterUpperCase(functionName) %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
@@ -9,9 +12,6 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%-firstLetterUpperCase(functionName) %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
role: <%- roleName %>Role
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
15
|
<%_ function firstLetterUpperCase(text){
|
|
16
16
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
17
|
} _%>
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
cors: true
|
|
10
10
|
#<#<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>Authorizer#>
|
|
11
11
|
#<#/<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>Authorizer#>
|
|
12
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
13
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
12
14
|
role: <%- firstLetterUpperCase(roleName) %>Role
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
15
|
<%_ function firstLetterUpperCase(text){
|
|
16
16
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
17
|
} _%>
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
- sqs:
|
|
7
7
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
8
|
batchSize: 10
|
|
9
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
10
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
9
11
|
role: <%- firstLetterUpperCase(roleName) %>Role
|
|
10
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){
|
|
13
13
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
14
|
} _%>
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
6
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
7
|
role: <%- firstLetterUpperCase(roleName) %>Role
|
|
6
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
7
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
8
8
|
<%_ function firstLetterUpperCase(text){
|
|
9
9
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
10
10
|
} _%>
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
- sqs:
|
|
7
7
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
8
|
batchSize: 10
|
|
9
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
10
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
9
11
|
role: <%- firstLetterUpperCase(roleName) %>Role
|
|
10
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){
|
|
13
13
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
14
|
} _%>
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${functionName}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
-
events:
|
|
6
|
-
- sqs:
|
|
7
|
-
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
8
|
-
batchSize: 10
|
|
9
5
|
role: <%- roleName %>Role
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
8
|
+
events:
|
|
9
|
+
- sqs:
|
|
10
|
+
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
11
|
+
batchSize: 10
|
|
12
12
|
<%_ function firstLetterUpperCase(text){ return text.charAt(0).toUpperCase() + text.slice(1) } _%>
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${functionName}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- handlerType %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
role: <%- roleName %>Role
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){ return text.charAt(0).toUpperCase() + text.slice(1) } _%>
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${functionName}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- functionName %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
|
+
|
|
12
13
|
<%_ function firstLetterUpperCase(text){ return text.charAt(0).toUpperCase() + text.slice(1) } _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- http:
|
|
7
10
|
path: /<%- serviceTag %>/<%- firstLetterLowerCase(functionName) %>/<%- functionName %>/
|
|
@@ -9,9 +12,6 @@
|
|
|
9
12
|
cors: true
|
|
10
13
|
#<#Authorizer#>
|
|
11
14
|
#<#/Authorizer#>
|
|
12
|
-
role: <%- roleName %>Role
|
|
13
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
15
15
|
<%_ function firstLetterUpperCase(text){
|
|
16
16
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
17
|
} _%>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
role: <%- roleName %>Role
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){
|
|
13
13
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
14
|
} _%>
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
5
|
role: <%- roleName %>Role
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
8
8
|
<%_ function firstLetterUpperCase(text){
|
|
9
9
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
10
10
|
} _%>
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
|
+
|
|
12
13
|
<%_ function firstLetterUpperCase(text){
|
|
13
14
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
15
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
@@ -9,9 +12,6 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%-firstLetterUpperCase(functionName) %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
role: <%- roleName %>Role
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
15
|
<%_ function firstLetterUpperCase(text){
|
|
16
16
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
17
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- http:
|
|
7
10
|
path: /<%- serviceTag %>/<%- firstLetterLowerCase(functionName) %>/<%- functionName %>/
|
|
@@ -9,9 +12,7 @@
|
|
|
9
12
|
cors: true
|
|
10
13
|
#<#Authorizer#>
|
|
11
14
|
#<#/Authorizer#>
|
|
12
|
-
|
|
13
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
role: <%- roleName %>Role
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){
|
|
13
13
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
14
|
} _%>
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
5
|
role: <%- roleName %>Role
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
8
8
|
<%_ function firstLetterUpperCase(text){
|
|
9
9
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
10
10
|
} _%>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
role: <%- roleName %>Role
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){
|
|
13
13
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
14
|
} _%>
|
package/src/reStructure/TemplateData/relationshipPerAction/create/complete/functionYaml/template.ejs
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
@@ -9,9 +12,6 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%-firstLetterUpperCase(functionName) %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
role: <%- roleName %>Role
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
15
|
<%_ function firstLetterUpperCase(text){
|
|
16
16
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
17
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- http:
|
|
7
10
|
path: /<%- serviceTag %>/<%- firstLetterLowerCase(functionName) %>/<%- functionName %>/
|
|
@@ -9,9 +12,7 @@
|
|
|
9
12
|
cors: true
|
|
10
13
|
#<#Authorizer#>
|
|
11
14
|
#<#/Authorizer#>
|
|
12
|
-
|
|
13
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
role: <%- roleName %>Role
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){
|
|
13
13
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
14
|
} _%>
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
5
|
role: <%- roleName %>Role
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
8
8
|
<%_ function firstLetterUpperCase(text){
|
|
9
9
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
10
10
|
} _%>
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
|
+
|
|
12
13
|
<%_ function firstLetterUpperCase(text){
|
|
13
14
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
15
|
} _%>
|
package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/functionYaml/template.ejs
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %>
|
|
@@ -9,9 +12,6 @@
|
|
|
9
12
|
filterPatterns: #**** need to update serverless framework upper v.2.69.1
|
|
10
13
|
- body: {"MessageAttributes":{"callingFlow":{"Value":["${self:custom.iz_resourcePrefix}<%-firstLetterUpperCase(functionName) %>"]}}} # functionName of callingFlow
|
|
11
14
|
- body: {"MessageAttributes":{"callingFlow":{"Value":[{"exists":false}]}}}
|
|
12
|
-
role: <%- roleName %>Role
|
|
13
|
-
#<#<%- functionName %><%- handlerType %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- handlerType %>IamRole#>
|
|
15
15
|
<%_ function firstLetterUpperCase(text){
|
|
16
16
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
17
|
} _%>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- http:
|
|
7
10
|
path: /<%- serviceTag %>/<%- firstLetterLowerCase(functionName) %>/<%- functionName %>/
|
|
@@ -9,9 +12,7 @@
|
|
|
9
12
|
cors: true
|
|
10
13
|
#<#Authorizer#>
|
|
11
14
|
#<#/Authorizer#>
|
|
12
|
-
|
|
13
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
14
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
15
|
+
|
|
15
16
|
<%_ function firstLetterUpperCase(text){
|
|
16
17
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
17
18
|
} _%>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
<%- firstLetterUpperCase(functionNameConfig) %>:
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
|
+
role: <%- roleName %>Role
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
5
8
|
events:
|
|
6
9
|
- sqs:
|
|
7
10
|
arn: arn:aws:sqs:${self:custom.iz_region}:${self:custom.iz_accountId}:${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
8
11
|
batchSize: 10
|
|
9
|
-
role: <%- roleName %>Role
|
|
10
|
-
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
11
|
-
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>IamRole#>
|
|
12
12
|
<%_ function firstLetterUpperCase(text){
|
|
13
13
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
14
14
|
} _%>
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
handler: <%- join(resourceLocation, `${firstLetterUpperCase(functionName)}_${firstLetterUpperCase(handlerType)}.main`)%>
|
|
4
4
|
name: ${self:custom.iz_resourcePrefix}<%- firstLetterUpperCase(functionName) %><%- firstLetterUpperCase(handlerType) %>
|
|
5
5
|
role: <%- roleName %>Role
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
#<#<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
7
|
+
#<#/<%- functionName %><%- firstLetterUpperCase(handlerType) %>FunctionSetting#>
|
|
8
8
|
<%_ function firstLetterUpperCase(text){
|
|
9
9
|
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
10
10
|
} _%>
|