-
Notifications
You must be signed in to change notification settings - Fork 8
/
app.py
25 lines (20 loc) · 860 Bytes
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python3
import os
import aws_cdk as cdk
from src.main_stack import MainStack
from src.agl_stack import AglPipelineStack
from src.fwe_ggv2_stack import FweGgv2PipelineStack
app = cdk.App()
MainStack(app, "demo-auto-aws-iotfleetwise",
env=cdk.Environment(
account=os.getenv('CDK_DEFAULT_ACCOUNT'),
region=os.getenv('CDK_DEFAULT_REGION')))
AglPipelineStack(app, "demo-auto-aws-iotfleetwise-agl-pipeline",
env=cdk.Environment(
account=os.getenv('CDK_DEFAULT_ACCOUNT'),
region=os.getenv('CDK_DEFAULT_REGION')))
FweGgv2PipelineStack(app, "demo-auto-aws-iotfleetwise-fwe-ggv2-pipeline",
env=cdk.Environment(
account=os.getenv('CDK_DEFAULT_ACCOUNT'),
region=os.getenv('CDK_DEFAULT_REGION')))
app.synth()