Skip to content

Commit add0950

Browse files
committed
updates for private stack
1 parent 8817b0b commit add0950

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

cloudformation/s3_cdn_nonpublic.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
AWSTemplateFormatVersion: '2010-09-09'
2+
Description: Creates stack with S3 bucket and CDN for restricted share on the internet
3+
4+
5+
Metadata:
6+
'AWS::CloudFormation::Interface':
7+
ParameterGroups:
8+
- Label:
9+
default: Site Specific
10+
Parameters:
11+
- WebHostName
12+
- BucketName
13+
- TagName
14+
- Label:
15+
default: General
16+
Parameters:
17+
- DomainName
18+
- CertARN
19+
- IndexDocument
20+
- ErrorDocument
21+
ParameterLables:
22+
BucketName:
23+
default: Name of the S3 Bucket
24+
TagName:
25+
default: Value to put in the Name tag of key resources
26+
IndexDocument:
27+
default: Root default index document
28+
ErrorDocument:
29+
default: default error document
30+
WebHostName:
31+
default: HostName for Web
32+
DomainName:
33+
default: Domain Name (hosted name in R53)
34+
CertARN:
35+
default: ARN for SSL certificate (must be in us-east-1)
36+
37+
Parameters:
38+
39+
BucketName:
40+
Description: Name of the bucket to store resources in
41+
Type: String
42+
AllowedPAttern: "[a-z0-9-]+"
43+
ConstraintDescription: bucket name must be lower case
44+
TagName:
45+
Description: Value to be placed in 'Name' tag
46+
Type: String
47+
Default: resources for static hosting
48+
IndexDocument:
49+
Description: Document to server as static index page
50+
Type: String
51+
Default: index.html
52+
ErrorDocument:
53+
Description: Document to server as static error page
54+
Type: String
55+
Default: index.html
56+
WebHostName:
57+
Description: Name for the host
58+
Type: String
59+
Domain Name:
60+
Description: Name for the domain
61+
Type: String
62+
CertARN:
63+
Description: Certificate ARN
64+
Type: String

0 commit comments

Comments
 (0)