-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanatomy.template
35 lines (31 loc) · 960 Bytes
/
anatomy.template
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
35
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "This is stored as the description in the AWS console",
"Parameters" : {
"UniqueParameterName" : {
"Type" : "String|Number|List<Number>|CommaDelimitedList|AWSType|etc...",
"Default" : "a",
"AllowedValues" : [ "a", "b", "c", "d", "e"]
}
},
"Resources" : {
"UniqueResourceLogicalName" : {
"Type" : "AWS::EC2::Instance|AWS::ApiGateway::Method|AWS::Lambda::Function|etc...",
"Properties" : {
"InstanceType" : { "Ref" : "UniqueParameterName" },
"SecurityGroups" : [ "sg-123456" ],
"KeyName" : "mykeyname",
"ImageId" : "ami-1c49ae66"
}
}
},
"Outputs" : {
"OutputLogicalName" : {
"Description" : "InstanceId of the newly created EC2 instance",
"Value" : { "Ref" : "UniqueResourceLogicalName" },
"Export": {
"Name": { "Ref": "UniqueResourceLogicalName" }
}
}
}
}