-
Notifications
You must be signed in to change notification settings - Fork 6
/
app.py
25 lines (15 loc) · 1.49 KB
/
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
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
## SPDX-License-Identifier: MIT-0
from aws_cdk import core
import os
from gpic_pipeline.foundation import FoundationStack
from gpic_pipeline.virtualworkstation import VirtualWorkstationStack
from gpic_pipeline.unrealengineswarmcluster import UnrealEngineSwarmClusterStack
from gpic_pipeline.perforcehelixcore import PerforceHelixCoreStack
app = core.App()
foundation_stack = FoundationStack(app, "gpic-pipeline-foundation" , env={'region': os.environ['CDK_DEFAULT_REGION']}, description="Guidance for a Game Production Environment on AWS - Foundation Stack (SO9329)")
perforce_stack = PerforceHelixCoreStack(app, "gpic-pipeline-perforce-helix-core", foundation_stack.vpc, env={'region': os.environ['CDK_DEFAULT_REGION']}, description="Guidance for a Game Production Environment on AWS - Perforce Helix Core Stack (SO9329)")
virtual_desktop_stack = VirtualWorkstationStack(app, "gpic-pipeline-virtual-workstation", foundation_stack.bucket, foundation_stack.vpc, env={'region': os.environ['CDK_DEFAULT_REGION']}, description="Guidance for a Game Production Environment on AWS - Virtual Workstation Stack (SO9329)")
unreal_engine_swarm_cluster_stack = UnrealEngineSwarmClusterStack (app, "gpic-pipeline-swarm-cluster", foundation_stack.bucket, foundation_stack.vpc,env={'region': os.environ['CDK_DEFAULT_REGION']}, description="Guidance for a Game Production Environment on AWS - Unreal Engine Swarm Stack (SO9329)")
app.synth()