-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
34 lines (26 loc) · 1.11 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
26
27
28
29
30
31
32
33
34
#!/usr/bin/env python3
from aws_cdk import App, Tags, Environment
from images_cdn.images_cdn_stack import ImagesCdnStack
app = App()
images_cdn = ImagesCdnStack(app,
id="images-cdn",
env=Environment(region='us-east-1'),
bucket_name="images.sbhat.me",
cf_id="cf_cdn")
Tags.of(images_cdn).add("used_for", "Blog images")
Tags.of(images_cdn).add("created_by", "sathyabhat")
cpgweds_cdn = ImagesCdnStack(app,
id="cpgweds",
env=Environment(region='us-east-1'),
bucket_name="joshenoy.weds.sathyabh.at",
cf_id="cpgweds_cf")
Tags.of(cpgweds_cdn).add("used_for", "cpgweds.com site")
Tags.of(cpgweds_cdn).add("created_by", "sathyabhat")
all_images_cdn = ImagesCdnStack(app,
id="all-images",
env=Environment(region='us-east-1'),
bucket_name="i.sathyabh.at",
cf_id="cf_cdn")
Tags.of(all_images_cdn).add("used_for", "Blog images")
Tags.of(all_images_cdn).add("created_by", "sathyabhat")
app.synth()