-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.drawio
More file actions
5 lines (5 loc) · 13.3 KB
/
Copy pathtemplate.drawio
File metadata and controls
5 lines (5 loc) · 13.3 KB
1
2
3
4
5
<mxfile host="" modified="2020-05-24T15:21:41.060Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.45.0 Chrome/78.0.3904.130 Electron/7.2.4 Safari/537.36" version="13.1.3" etag="lrwgP8mNOWNbAz78NI_h" pages="2">
<diagram id="diagramid" name="Diagram">
<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="2" value="LexBot" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#aaaaaa;gradientDirection=north;fillColor=#aaaaaa;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lex;" vertex="1" parent="1"><mxGeometry x="500" y="13.888888888888893" width="50" height="50" as="geometry"/></mxCell><mxCell id="3" value="LexBotRole" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.role;" vertex="1" parent="1"><mxGeometry x="750" y="15.277777777777786" width="50" height="50" as="geometry"/></mxCell><mxCell id="4" value="LexBotVersion" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#aaaaaa;gradientDirection=north;fillColor=#aaaaaa;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lex;" vertex="1" parent="1"><mxGeometry x="250" y="50" width="50" height="50" as="geometry"/></mxCell><mxCell id="5" value="LexBotAlias" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#aaaaaa;gradientDirection=north;fillColor=#aaaaaa;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lex;" vertex="1" parent="1"><mxGeometry y="12.5" width="50" height="50" as="geometry"/></mxCell><mxCell id="6" value="ChatbotLambda" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" vertex="1" parent="1"><mxGeometry x="250" y="550" width="50" height="50" as="geometry"/></mxCell><mxCell id="7" value="ChatbotLambdaRole" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.role;" vertex="1" parent="1"><mxGeometry x="500" y="548.828125" width="50" height="50" as="geometry"/></mxCell><mxCell id="8" value="ApiGateway" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;" vertex="1" parent="1"><mxGeometry x="500" y="250" width="50" height="50" as="geometry"/></mxCell><mxCell id="9" value="ApiGatewayResource" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;" vertex="1" parent="1"><mxGeometry x="250" y="250" width="50" height="50" as="geometry"/></mxCell><mxCell id="10" value="ApiGatewayMethod" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;" vertex="1" parent="1"><mxGeometry y="300" width="50" height="50" as="geometry"/></mxCell><mxCell id="11" value="ApiGatewayDeployment" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;" vertex="1" parent="1"><mxGeometry x="250" y="450" width="50" height="50" as="geometry"/></mxCell><mxCell id="12" value="LambdaApiGatewayPermission" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.policy;" vertex="1" parent="1"><mxGeometry y="600" width="50" height="50" as="geometry"/></mxCell><mxCell id="13" value="iam aws
policy/awslambdaexecute" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#aaaaaa;gradientDirection=north;fillColor=#aaaaaa;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.identity_and_access_management;" vertex="1" parent="1"><mxGeometry x="1000" y="15.277777777777786" width="50" height="50" as="geometry"/></mxCell><mxCell id="14" value="iam aws
policy/service-role/awslambdabasicexecutionrole" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#aaaaaa;gradientDirection=north;fillColor=#aaaaaa;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.identity_and_access_management;" vertex="1" parent="1"><mxGeometry x="750" y="548.828125" width="50" height="50" as="geometry"/></mxCell><mxCell id="15" value="apigateway lambda
path/2015-03-31/functions/${lambdaarn}/invocations" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#aaaaaa;gradientDirection=north;fillColor=#aaaaaa;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.apigateway;" vertex="1" parent="1"><mxGeometry x="250" y="350" width="50" height="50" as="geometry"/></mxCell><mxCell id="16" value="execute-api 
${apigateway}/*/post/chat" style="outlineConnect=0;fontColor=#B3B3B3;gradientColor=#aaaaaa;gradientDirection=north;fillColor=#aaaaaa;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.execute-api;" vertex="1" parent="1"><mxGeometry x="250" y="650" width="50" height="50" as="geometry"/></mxCell><mxCell id="LexBotRole|LexBot" value="RoleArn" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="2" target="3"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="562" y="38.88888888888889"/><mxPoint x="738" y="40.277777777777786"/></Array></mxGeometry></mxCell><mxCell id="iam aws
policy/awslambdaexecute|LexBotRole" value="ManagedPolicyArns" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="3" target="13"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="812" y="40.277777777777786"/><mxPoint x="988" y="40.277777777777786"/></Array></mxGeometry></mxCell><mxCell id="LexBot|LexBotVersion" value="BotId" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="4" target="2"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="312" y="75"/><mxPoint x="488" y="48.88888888888889"/></Array></mxGeometry></mxCell><mxCell id="LexBot|LexBotAlias" value="BotId" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="5" target="2"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="62" y="27.5"/><mxPoint x="150"/><mxPoint x="400"/><mxPoint x="488" y="28.888888888888893"/></Array></mxGeometry></mxCell><mxCell id="LexBotVersion|LexBotAlias" value="BotVersion" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="5" target="4"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="62" y="47.5"/><mxPoint x="238" y="75"/></Array></mxGeometry></mxCell><mxCell id="ChatbotLambdaRole|ChatbotLambda" value="Role" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="6" target="7"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="312" y="575"/><mxPoint x="488" y="573.828125"/></Array></mxGeometry></mxCell><mxCell id="iam aws
policy/service-role/awslambdabasicexecutionrole|ChatbotLambdaRole" value="ManagedPolicyArns" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="7" target="14"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="562" y="573.828125"/><mxPoint x="738" y="573.828125"/></Array></mxGeometry></mxCell><mxCell id="ApiGateway|ApiGatewayResource" value="RestApiId
ParentId" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="9" target="8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="312" y="275"/><mxPoint x="486" y="275"/></Array></mxGeometry></mxCell><mxCell id="ApiGateway|ApiGatewayMethod" value="RestApiId" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="10" target="8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="62" y="310"/><mxPoint x="150" y="200"/><mxPoint x="400" y="200"/><mxPoint x="488" y="261.6666666666667"/></Array></mxGeometry></mxCell><mxCell id="ApiGatewayResource|ApiGatewayMethod" value="ResourceId" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="10" target="9"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="64" y="320"/><mxPoint x="238" y="275"/></Array></mxGeometry></mxCell><mxCell id="apigateway lambda
path/2015-03-31/functions/${lambdaarn}/invocations|ApiGatewayMethod" value="Uri" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="10" target="15"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="64" y="330"/><mxPoint x="238" y="375"/></Array></mxGeometry></mxCell><mxCell id="ChatbotLambda|ApiGatewayMethod" value="Uri" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="10" target="6"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="62" y="340"/><mxPoint x="238" y="565"/></Array></mxGeometry></mxCell><mxCell id="ApiGateway|ApiGatewayDeployment" value="RestApiId" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="11" target="8"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="312" y="475"/><mxPoint x="488" y="288.3333333333333"/></Array></mxGeometry></mxCell><mxCell id="execute-api 
${apigateway}/*/post/chat|LambdaApiGatewayPermission" value="SourceArn" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="12" target="16"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="62" y="635"/><mxPoint x="238" y="675"/></Array></mxGeometry></mxCell><mxCell id="ChatbotLambda|LambdaApiGatewayPermission" value="FunctionName" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=none;fontColor=#EA6B66;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="12" target="6"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="62" y="615"/><mxPoint x="238" y="585"/></Array></mxGeometry></mxCell></root></mxGraphModel>
</diagram>
</mxfile>