This repository has been archived by the owner on Apr 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
sam_20161031_custom_specification.json
252 lines (252 loc) · 9.32 KB
/
sam_20161031_custom_specification.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
{
"PropertyTypes": {
"AWS::Serverless::Function.IAMPolicyDocument": {
"Documentation": "",
"Properties": {
"Version": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
}
}
},
"AWS::Serverless::Function.EventSource": {
"Properties": {
"Properties": {
"Required": false
}
}
},
"AWS::Serverless::Function.Hooks": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/develop/docs/safe_lambda_deployments.rst#pretraffic--posttraffic-hooks",
"Properties": {
"PreTraffic": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"PostTraffic": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
}
}
},
"AWS::Serverless::Function.DeploymentPreference": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/develop/versions/2016-10-31.md#deploymentpreference-object",
"Properties": {
"Enabled": {
"Required": false,
"PrimitiveType": "Boolean",
"UpdateType": "Mutable"
},
"Type": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"Alarms": {
"Required": false,
"Type": "List",
"PrimitiveItemType": "String",
"UpdateType": "Mutable"
},
"Hooks": {
"Required": false,
"Type": "Hooks",
"UpdateType": "Mutable"
}
}
},
"AWS::Serverless::Api.CorsConfiguration": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/develop/versions/2016-10-31.md#cors-configuration",
"Properties": {
"AllowedHeaders": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"AllowedMethods": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"AllowedOrigin": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"MaxAge": {
"PrimitiveType": "Integer",
"Required": false,
"UpdateType": "Mutable"
}
}
},
"AWS::Serverless::Api.MethodSetting": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html",
"Properties": {
"CacheDataEncrypted": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-cachedataencrypted",
"PrimitiveType": "Boolean",
"Required": false,
"UpdateType": "Mutable"
},
"CacheTtlInSeconds": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-cachettlinseconds",
"PrimitiveType": "Integer",
"Required": false,
"UpdateType": "Mutable"
},
"CachingEnabled": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-cachingenabled",
"PrimitiveType": "Boolean",
"Required": false,
"UpdateType": "Mutable"
},
"DataTraceEnabled": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-datatraceenabled",
"PrimitiveType": "Boolean",
"Required": false,
"UpdateType": "Mutable"
},
"HttpMethod": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-httpmethod",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
},
"LoggingLevel": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-logginglevel",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Mutable"
},
"MetricsEnabled": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-metricsenabled",
"PrimitiveType": "Boolean",
"Required": false,
"UpdateType": "Mutable"
},
"ResourcePath": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-resourcepath",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
},
"ThrottlingBurstLimit": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-throttlingburstlimit",
"PrimitiveType": "Integer",
"Required": false,
"UpdateType": "Mutable"
},
"ThrottlingRateLimit": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-throttlingratelimit",
"PrimitiveType": "Double",
"Required": false,
"UpdateType": "Mutable"
}
}
},
"AWS::Serverless::SimpleTable.SSESpecification": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html",
"Properties": {
"SSEEnabled": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html#cfn-dynamodb-table-ssespecification-sseenabled",
"PrimitiveType": "Boolean",
"Required": true,
"UpdateType": "Mutable"
}
}
}
},
"ResourceTypes": {
"AWS::Serverless::Function": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/develop/versions/2016-10-31.md#awsserverlessfunction",
"Properties": {
"Policies": {
"Documentation": "",
"Required": false,
"UpdateType": "Mutable",
"Type": [
"#Policies<String>",
"#Policies<Json>",
"#Policies<IAMPolicyDocument>",
"#Policies<List<IAMPolicyDocument>>"
]
},
"AutoPublishAlias": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"DeploymentPreference": {
"Required": false,
"Type": "DeploymentPreference",
"UpdateType": "Mutable"
},
"InlineCode": {
"Required": false,
"UpdateType": "Mutable",
"Type": ["#InlineCode<String>", "#InlineCode<Json>"]
},
"ReservedConcurrentExecutions": {
"Required": false,
"PrimitiveType": "Integer",
"UpdateType": "Mutable"
}
}
},
"AWS::Serverless::Api": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/develop/versions/2016-10-31.md#awsserverlessapi",
"Properties": {
"BinaryMediaTypes": {
"Required": false,
"Type": "List",
"PrimitiveItemType": "String",
"UpdateType": "Mutable"
},
"Cors": {
"Required": false,
"Type": ["#Cors<String>", "#Cors<CorsConfiguration>"],
"UpdateType": "Mutable"
},
"EndpointConfiguration": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"MethodSettings": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-methodsettings",
"DuplicatesAllowed": false,
"Required": false,
"Type": "List",
"ItemType": "MethodSetting",
"UpdateType": "Mutable"
}
}
},
"AWS::Serverless::SimpleTable": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/develop/versions/2016-10-31.md#awsserverlesssimpletable",
"Properties": {
"Tags": {
"DuplicatesAllowed": false,
"Required": false,
"Type": "Map",
"ItemType": "String",
"UpdateType": "Mutable"
},
"TableName": {
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Mutable"
},
"SSESpecification": {
"Required": false,
"Type": "SSESpecification",
"UpdateType": "Mutable"
}
}
}
}
}