File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -593,7 +593,6 @@ export class cdkStack extends cdk.Stack {
593593 }]
594594 );
595595
596-
597596 const function1 = new appsync .CfnFunctionConfiguration (this ," function1" ,{
598597 apiId: cdk .Fn .ref (retVal .api .replaceWithAPIName .GraphQLAPIIdOutput ),
599598 dataSourceName: " NONE_DS" , // DataSource name
@@ -602,6 +601,7 @@ export class cdkStack extends cdk.Stack {
602601 requestMappingTemplate: function1requestVTL ,
603602 responseMappingTemplate: function1responseVTL
604603 })
604+
605605 const function2 = new appsync .CfnFunctionConfiguration (this ," function2" ,{
606606 apiId: cdk .Fn .ref (retVal .api .replaceWithAPIName .GraphQLAPIIdOutput ),
607607 dataSourceName: " TodoTable" , // DataSource name
@@ -620,8 +620,7 @@ export class cdkStack extends cdk.Stack {
620620 functions: [
621621 function1 .attrFunctionId ,
622622 function2 .attrFunctionId
623- ]
624- },
623+ ]},
625624 requestMappingTemplate: beforeMappingVTL ,
626625 responseMappingTemplate: afterMappingVTL
627626 })
You can’t perform that action at this time.
0 commit comments