cfndsl 1.0.0.pre.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,74 @@
1
1
  {
2
2
  "PropertyTypes": {
3
+ "AWS::Serverless::Api.AccessLogSetting": {
4
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html",
5
+ "Properties": {
6
+ "DestinationArn": {
7
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html#cfn-apigateway-stage-accesslogsetting-destinationarn",
8
+ "PrimitiveType": "String",
9
+ "Required": false,
10
+ "UpdateType": "Immutable"
11
+ },
12
+ "Format": {
13
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html#cfn-apigateway-stage-accesslogsetting-format",
14
+ "PrimitiveType": "String",
15
+ "Required": false,
16
+ "UpdateType": "Immutable"
17
+ }
18
+ }
19
+ },
20
+ "AWS::Serverless::Api.Auth": {
21
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object",
22
+ "Properties": {
23
+ "Authorizers": {
24
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object",
25
+ "PrimitiveType": "Json",
26
+ "Required": false,
27
+ "UpdateType": "Immutable"
28
+ },
29
+ "DefaultAuthorizer": {
30
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object",
31
+ "PrimitiveType": "String",
32
+ "Required": false,
33
+ "UpdateType": "Immutable"
34
+ }
35
+ }
36
+ },
37
+ "AWS::Serverless::Api.CorsConfiguration": {
38
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration",
39
+ "Properties": {
40
+ "AllowCredentials": {
41
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration",
42
+ "PrimitiveType": "Boolean",
43
+ "Required": false,
44
+ "UpdateType": "Immutable"
45
+ },
46
+ "AllowHeaders": {
47
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration",
48
+ "PrimitiveType": "String",
49
+ "Required": false,
50
+ "UpdateType": "Immutable"
51
+ },
52
+ "AllowMethods": {
53
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration",
54
+ "PrimitiveType": "String",
55
+ "Required": false,
56
+ "UpdateType": "Immutable"
57
+ },
58
+ "AllowOrigin": {
59
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration",
60
+ "PrimitiveType": "String",
61
+ "Required": true,
62
+ "UpdateType": "Immutable"
63
+ },
64
+ "MaxAge": {
65
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration",
66
+ "PrimitiveType": "String",
67
+ "Required": false,
68
+ "UpdateType": "Immutable"
69
+ }
70
+ }
71
+ },
3
72
  "AWS::Serverless::Api.S3Location": {
4
73
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3-location-object",
5
74
  "Properties": {
@@ -23,6 +92,23 @@
23
92
  }
24
93
  }
25
94
  },
95
+ "AWS::Serverless::Application.ApplicationLocation": {
96
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
97
+ "Properties": {
98
+ "ApplicationId": {
99
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
100
+ "PrimitiveType": "String",
101
+ "Required": true,
102
+ "UpdateType": "Immutable"
103
+ },
104
+ "SemanticVersion": {
105
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
106
+ "PrimitiveType": "String",
107
+ "Required": true,
108
+ "UpdateType": "Immutable"
109
+ }
110
+ }
111
+ },
26
112
  "AWS::Serverless::Function.AlexaSkillEvent": {
27
113
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#alexaskill",
28
114
  "Properties": {
@@ -58,6 +144,17 @@
58
144
  }
59
145
  }
60
146
  },
147
+ "AWS::Serverless::Function.BucketSAMPT": {
148
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
149
+ "Properties": {
150
+ "BucketName": {
151
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
152
+ "PrimitiveType": "String",
153
+ "Required": true,
154
+ "UpdateType": "Immutable"
155
+ }
156
+ }
157
+ },
61
158
  "AWS::Serverless::Function.CloudWatchEventEvent": {
62
159
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cloudwatchevent",
63
160
  "Properties": {
@@ -81,6 +178,17 @@
81
178
  }
82
179
  }
83
180
  },
181
+ "AWS::Serverless::Function.CollectionSAMPT": {
182
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
183
+ "Properties": {
184
+ "CollectionId": {
185
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
186
+ "PrimitiveType": "String",
187
+ "Required": true,
188
+ "UpdateType": "Immutable"
189
+ }
190
+ }
191
+ },
84
192
  "AWS::Serverless::Function.DeadLetterQueue": {
85
193
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deadletterqueue-object",
86
194
  "Properties": {
@@ -98,13 +206,67 @@
98
206
  }
99
207
  }
100
208
  },
209
+ "AWS::Serverless::Function.DeploymentPreference": {
210
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
211
+ "Properties": {
212
+ "Alarms": {
213
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
214
+ "PrimitiveItemType": "String",
215
+ "Required": false,
216
+ "Type": "List",
217
+ "UpdateType": "Immutable"
218
+ },
219
+ "Enabled": {
220
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
221
+ "PrimitiveType": "Boolean",
222
+ "Required": false,
223
+ "UpdateType": "Immutable"
224
+ },
225
+ "Hooks": {
226
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
227
+ "PrimitiveItemType": "String",
228
+ "Required": false,
229
+ "Type": "Map",
230
+ "UpdateType": "Immutable"
231
+ },
232
+ "Role": {
233
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
234
+ "PrimitiveType": "String",
235
+ "Required": false,
236
+ "UpdateType": "Immutable"
237
+ },
238
+ "Type": {
239
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
240
+ "PrimitiveType": "String",
241
+ "Required": false,
242
+ "UpdateType": "Immutable"
243
+ }
244
+ }
245
+ },
246
+ "AWS::Serverless::Function.DomainSAMPT": {
247
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
248
+ "Properties": {
249
+ "DomainName": {
250
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
251
+ "PrimitiveType": "String",
252
+ "Required": true,
253
+ "UpdateType": "Immutable"
254
+ }
255
+ }
256
+ },
101
257
  "AWS::Serverless::Function.DynamoDBEvent": {
102
258
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
103
259
  "Properties": {
104
260
  "BatchSize": {
105
261
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
106
262
  "PrimitiveType": "Integer",
107
- "Required": true,
263
+ "Required": false,
264
+ "UpdateType": "Immutable"
265
+ },
266
+ "Enabled": {
267
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
268
+ "PrimitiveType": "Boolean",
269
+ "Required": false,
108
270
  "UpdateType": "Immutable"
109
271
  },
110
272
  "StartingPosition": {
@@ -121,6 +283,10 @@
121
283
  }
122
284
  }
123
285
  },
286
+ "AWS::Serverless::Function.EmptySAMPT": {
287
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
288
+ "Properties": {}
289
+ },
124
290
  "AWS::Serverless::Function.EventSource": {
125
291
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#event-source-object",
126
292
  "Properties": {
@@ -161,6 +327,17 @@
161
327
  }
162
328
  }
163
329
  },
330
+ "AWS::Serverless::Function.FunctionSAMPT": {
331
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
332
+ "Properties": {
333
+ "FunctionName": {
334
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
335
+ "PrimitiveType": "String",
336
+ "Required": true,
337
+ "UpdateType": "Immutable"
338
+ }
339
+ }
340
+ },
164
341
  "AWS::Serverless::Function.IAMPolicyDocument": {
165
342
  "Documentation": "http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html",
166
343
  "Properties": {
@@ -172,6 +349,17 @@
172
349
  }
173
350
  }
174
351
  },
352
+ "AWS::Serverless::Function.IdentitySAMPT": {
353
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
354
+ "Properties": {
355
+ "IdentityName": {
356
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
357
+ "PrimitiveType": "String",
358
+ "Required": true,
359
+ "UpdateType": "Immutable"
360
+ }
361
+ }
362
+ },
175
363
  "AWS::Serverless::Function.IoTRuleEvent": {
176
364
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#iotrule",
177
365
  "Properties": {
@@ -189,6 +377,17 @@
189
377
  }
190
378
  }
191
379
  },
380
+ "AWS::Serverless::Function.KeySAMPT": {
381
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
382
+ "Properties": {
383
+ "KeyId": {
384
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
385
+ "PrimitiveType": "String",
386
+ "Required": true,
387
+ "UpdateType": "Immutable"
388
+ }
389
+ }
390
+ },
192
391
  "AWS::Serverless::Function.KinesisEvent": {
193
392
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis",
194
393
  "Properties": {
@@ -198,6 +397,12 @@
198
397
  "Required": false,
199
398
  "UpdateType": "Immutable"
200
399
  },
400
+ "Enabled": {
401
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis",
402
+ "PrimitiveType": "Boolean",
403
+ "Required": false,
404
+ "UpdateType": "Immutable"
405
+ },
201
406
  "StartingPosition": {
202
407
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis",
203
408
  "PrimitiveType": "String",
@@ -212,6 +417,28 @@
212
417
  }
213
418
  }
214
419
  },
420
+ "AWS::Serverless::Function.LogGroupSAMPT": {
421
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
422
+ "Properties": {
423
+ "LogGroupName": {
424
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
425
+ "PrimitiveType": "String",
426
+ "Required": true,
427
+ "UpdateType": "Immutable"
428
+ }
429
+ }
430
+ },
431
+ "AWS::Serverless::Function.QueueSAMPT": {
432
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
433
+ "Properties": {
434
+ "QueueName": {
435
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
436
+ "PrimitiveType": "String",
437
+ "Required": true,
438
+ "UpdateType": "Immutable"
439
+ }
440
+ }
441
+ },
215
442
  "AWS::Serverless::Function.S3Event": {
216
443
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3",
217
444
  "Properties": {
@@ -239,6 +466,35 @@
239
466
  }
240
467
  }
241
468
  },
469
+ "AWS::Serverless::Function.S3KeyFilter": {
470
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html",
471
+ "Properties": {
472
+ "Rules": {
473
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html",
474
+ "ItemType": "S3KeyFilterRule",
475
+ "Required": true,
476
+ "Type": "List",
477
+ "UpdateType": "Immutable"
478
+ }
479
+ }
480
+ },
481
+ "AWS::Serverless::Function.S3KeyFilterRule": {
482
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html",
483
+ "Properties": {
484
+ "Name": {
485
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html",
486
+ "PrimitiveType": "String",
487
+ "Required": true,
488
+ "UpdateType": "Immutable"
489
+ },
490
+ "Value": {
491
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html",
492
+ "PrimitiveType": "String",
493
+ "Required": true,
494
+ "UpdateType": "Immutable"
495
+ }
496
+ }
497
+ },
242
498
  "AWS::Serverless::Function.S3Location": {
243
499
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3-location-object",
244
500
  "Properties": {
@@ -257,7 +513,7 @@
257
513
  "Version": {
258
514
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
259
515
  "PrimitiveType": "Integer",
260
- "Required": true,
516
+ "Required": false,
261
517
  "UpdateType": "Immutable"
262
518
  }
263
519
  }
@@ -267,8 +523,163 @@
267
523
  "Properties": {
268
524
  "S3Key": {
269
525
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html",
270
- "PrimitiveType": "String",
271
526
  "Required": true,
527
+ "Type": "S3KeyFilter",
528
+ "UpdateType": "Immutable"
529
+ }
530
+ }
531
+ },
532
+ "AWS::Serverless::Function.SAMPolicyTemplate": {
533
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
534
+ "Properties": {
535
+ "AMIDescribePolicy": {
536
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
537
+ "Type": "EmptySAMPT",
538
+ "UpdateType": "Immutable"
539
+ },
540
+ "CloudFormationDescribeStacksPolicy": {
541
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
542
+ "Type": "EmptySAMPT",
543
+ "UpdateType": "Immutable"
544
+ },
545
+ "CloudWatchPutMetricPolicy": {
546
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
547
+ "Type": "EmptySAMPT",
548
+ "UpdateType": "Immutable"
549
+ },
550
+ "DynamoDBCrudPolicy": {
551
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
552
+ "Type": "TableSAMPT",
553
+ "UpdateType": "Immutable"
554
+ },
555
+ "DynamoDBReadPolicy": {
556
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
557
+ "Type": "TableSAMPT",
558
+ "UpdateType": "Immutable"
559
+ },
560
+ "DynamoDBStreamReadPolicy": {
561
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
562
+ "Type": "TableStreamSAMPT",
563
+ "UpdateType": "Immutable"
564
+ },
565
+ "EC2DescribePolicy": {
566
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
567
+ "Type": "EmptySAMPT",
568
+ "UpdateType": "Immutable"
569
+ },
570
+ "ElasticsearchHttpPostPolicy": {
571
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
572
+ "Type": "DomainSAMPT",
573
+ "UpdateType": "Immutable"
574
+ },
575
+ "FilterLogEventsPolicy": {
576
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
577
+ "Type": "LogGroupSAMPT",
578
+ "UpdateType": "Immutable"
579
+ },
580
+ "KMSDecryptPolicy": {
581
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
582
+ "Type": "KeySAMPT",
583
+ "UpdateType": "Immutable"
584
+ },
585
+ "KinesisCrudPolicy": {
586
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
587
+ "Type": "StreamSAMPT",
588
+ "UpdateType": "Immutable"
589
+ },
590
+ "KinesisStreamReadPolicy": {
591
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
592
+ "Type": "StreamSAMPT",
593
+ "UpdateType": "Immutable"
594
+ },
595
+ "LambdaInvokePolicy": {
596
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
597
+ "Type": "FunctionSAMPT",
598
+ "UpdateType": "Immutable"
599
+ },
600
+ "RekognitionDetectOnlyPolicy": {
601
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
602
+ "Type": "EmptySAMPT",
603
+ "UpdateType": "Immutable"
604
+ },
605
+ "RekognitionLabelsPolicy": {
606
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
607
+ "Type": "EmptySAMPT",
608
+ "UpdateType": "Immutable"
609
+ },
610
+ "RekognitionNoDataAccessPolicy": {
611
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
612
+ "Type": "CollectionSAMPT",
613
+ "UpdateType": "Immutable"
614
+ },
615
+ "RekognitionReadPolicy": {
616
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
617
+ "Type": "CollectionSAMPT",
618
+ "UpdateType": "Immutable"
619
+ },
620
+ "RekognitionWriteOnlyAccessPolicy": {
621
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
622
+ "Type": "CollectionSAMPT",
623
+ "UpdateType": "Immutable"
624
+ },
625
+ "S3CrudPolicy": {
626
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
627
+ "Type": "BucketSAMPT",
628
+ "UpdateType": "Immutable"
629
+ },
630
+ "S3ReadPolicy": {
631
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
632
+ "Type": "BucketSAMPT",
633
+ "UpdateType": "Immutable"
634
+ },
635
+ "SESBulkTemplatedCrudPolicy": {
636
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
637
+ "Type": "IdentitySAMPT",
638
+ "UpdateType": "Immutable"
639
+ },
640
+ "SESCrudPolicy": {
641
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
642
+ "Type": "IdentitySAMPT",
643
+ "UpdateType": "Immutable"
644
+ },
645
+ "SESEmailTemplateCrudPolicy": {
646
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
647
+ "Type": "EmptySAMPT",
648
+ "UpdateType": "Immutable"
649
+ },
650
+ "SESSendBouncePolicy": {
651
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
652
+ "Type": "IdentitySAMPT",
653
+ "UpdateType": "Immutable"
654
+ },
655
+ "SNSCrudPolicy": {
656
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
657
+ "Type": "TopicSAMPT",
658
+ "UpdateType": "Immutable"
659
+ },
660
+ "SNSPublishMessagePolicy": {
661
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
662
+ "Type": "TopicSAMPT",
663
+ "UpdateType": "Immutable"
664
+ },
665
+ "SQSPollerPolicy": {
666
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
667
+ "Type": "QueueSAMPT",
668
+ "UpdateType": "Immutable"
669
+ },
670
+ "SQSSendMessagePolicy": {
671
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
672
+ "Type": "QueueSAMPT",
673
+ "UpdateType": "Immutable"
674
+ },
675
+ "StepFunctionsExecutionPolicy": {
676
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
677
+ "Type": "StateMachineSAMPT",
678
+ "UpdateType": "Immutable"
679
+ },
680
+ "VPCAccessPolicy": {
681
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
682
+ "Type": "EmptySAMPT",
272
683
  "UpdateType": "Immutable"
273
684
  }
274
685
  }
@@ -293,6 +704,12 @@
293
704
  "Required": false,
294
705
  "UpdateType": "Immutable"
295
706
  },
707
+ "Enabled": {
708
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sqs",
709
+ "PrimitiveType": "Boolean",
710
+ "Required": false,
711
+ "UpdateType": "Immutable"
712
+ },
296
713
  "Queue": {
297
714
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sqs",
298
715
  "PrimitiveType": "String",
@@ -318,6 +735,67 @@
318
735
  }
319
736
  }
320
737
  },
738
+ "AWS::Serverless::Function.StateMachineSAMPT": {
739
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
740
+ "Properties": {
741
+ "StateMachineName": {
742
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
743
+ "PrimitiveType": "String",
744
+ "Required": true,
745
+ "UpdateType": "Immutable"
746
+ }
747
+ }
748
+ },
749
+ "AWS::Serverless::Function.StreamSAMPT": {
750
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
751
+ "Properties": {
752
+ "StreamName": {
753
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
754
+ "PrimitiveType": "String",
755
+ "Required": true,
756
+ "UpdateType": "Immutable"
757
+ }
758
+ }
759
+ },
760
+ "AWS::Serverless::Function.TableSAMPT": {
761
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
762
+ "Properties": {
763
+ "TableName": {
764
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
765
+ "PrimitiveType": "String",
766
+ "Required": true,
767
+ "UpdateType": "Immutable"
768
+ }
769
+ }
770
+ },
771
+ "AWS::Serverless::Function.TableStreamSAMPT": {
772
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
773
+ "Properties": {
774
+ "StreamName": {
775
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
776
+ "PrimitiveType": "String",
777
+ "Required": true,
778
+ "UpdateType": "Immutable"
779
+ },
780
+ "TableName": {
781
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
782
+ "PrimitiveType": "String",
783
+ "Required": true,
784
+ "UpdateType": "Immutable"
785
+ }
786
+ }
787
+ },
788
+ "AWS::Serverless::Function.TopicSAMPT": {
789
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
790
+ "Properties": {
791
+ "TopicName": {
792
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
793
+ "PrimitiveType": "String",
794
+ "Required": true,
795
+ "UpdateType": "Immutable"
796
+ }
797
+ }
798
+ },
321
799
  "AWS::Serverless::Function.VpcConfig": {
322
800
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html",
323
801
  "Properties": {
@@ -370,6 +848,17 @@
370
848
  "UpdateType": "Immutable"
371
849
  }
372
850
  }
851
+ },
852
+ "AWS::Serverless::SimpleTable.SSESpecification": {
853
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html",
854
+ "Properties": {
855
+ "SSEEnabled": {
856
+ "Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html",
857
+ "PrimitiveType": "Boolean",
858
+ "Required": false,
859
+ "UpdateType": "Immutable"
860
+ }
861
+ }
373
862
  }
374
863
  },
375
864
  "ResourceSpecificationTransform": "AWS::Serverless-2016-10-31",
@@ -378,6 +867,25 @@
378
867
  "AWS::Serverless::Api": {
379
868
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
380
869
  "Properties": {
870
+ "AccessLogSetting": {
871
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
872
+ "Required": false,
873
+ "Type": "AccessLogSetting",
874
+ "UpdateType": "Immutable"
875
+ },
876
+ "Auth": {
877
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
878
+ "Required": false,
879
+ "Type": "Auth",
880
+ "UpdateType": "Immutable"
881
+ },
882
+ "BinaryMediaTypes": {
883
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
884
+ "PrimitiveItemType": "String",
885
+ "Required": false,
886
+ "Type": "List",
887
+ "UpdateType": "Immutable"
888
+ },
381
889
  "CacheClusterEnabled": {
382
890
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
383
891
  "PrimitiveType": "Boolean",
@@ -390,6 +898,17 @@
390
898
  "Required": false,
391
899
  "UpdateType": "Immutable"
392
900
  },
901
+ "Cors": {
902
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
903
+ "PrimitiveTypes": [
904
+ "String"
905
+ ],
906
+ "Required": false,
907
+ "Types": [
908
+ "CorsConfiguration"
909
+ ],
910
+ "UpdateType": "Immutable"
911
+ },
393
912
  "DefinitionBody": {
394
913
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
395
914
  "PrimitiveType": "Json",
@@ -407,10 +926,17 @@
407
926
  ],
408
927
  "UpdateType": "Immutable"
409
928
  },
929
+ "EndpointConfiguration": {
930
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
931
+ "PrimitiveType": "String",
932
+ "Required": false,
933
+ "UpdateType": "Immutable"
934
+ },
410
935
  "MethodSettings": {
411
936
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
412
- "PrimitiveType": "Json",
937
+ "PrimitiveItemType": "Json",
413
938
  "Required": false,
939
+ "Type": "List",
414
940
  "UpdateType": "Immutable"
415
941
  },
416
942
  "Name": {
@@ -425,6 +951,12 @@
425
951
  "Required": true,
426
952
  "UpdateType": "Immutable"
427
953
  },
954
+ "TracingEnabled": {
955
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
956
+ "PrimitiveType": "Boolean",
957
+ "Required": false,
958
+ "UpdateType": "Immutable"
959
+ },
428
960
  "Variables": {
429
961
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi",
430
962
  "PrimitiveItemType": "String",
@@ -434,9 +966,58 @@
434
966
  }
435
967
  }
436
968
  },
969
+ "AWS::Serverless::Application": {
970
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
971
+ "Properties": {
972
+ "Location": {
973
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
974
+ "PrimitiveTypes": [
975
+ "String"
976
+ ],
977
+ "Required": true,
978
+ "Types": [
979
+ "ApplicationLocation"
980
+ ],
981
+ "UpdateType": "Immutable"
982
+ },
983
+ "NotificationArns": {
984
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
985
+ "PrimitiveItemType": "String",
986
+ "Required": false,
987
+ "Type": "List",
988
+ "UpdateType": "Immutable"
989
+ },
990
+ "Parameters": {
991
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
992
+ "PrimitiveItemType": "String",
993
+ "Required": false,
994
+ "Type": "Map",
995
+ "UpdateType": "Immutable"
996
+ },
997
+ "Tags": {
998
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
999
+ "PrimitiveItemType": "String",
1000
+ "Required": false,
1001
+ "Type": "Map",
1002
+ "UpdateType": "Immutable"
1003
+ },
1004
+ "TimeoutInMinutes": {
1005
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
1006
+ "PrimitiveType": "Integer",
1007
+ "Required": false,
1008
+ "UpdateType": "Immutable"
1009
+ }
1010
+ }
1011
+ },
437
1012
  "AWS::Serverless::Function": {
438
1013
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
439
1014
  "Properties": {
1015
+ "AutoPublishAlias": {
1016
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
1017
+ "PrimitiveType": "String",
1018
+ "Required": false,
1019
+ "UpdateType": "Immutable"
1020
+ },
440
1021
  "CodeUri": {
441
1022
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
442
1023
  "PrimitiveTypes": [
@@ -454,6 +1035,12 @@
454
1035
  "Type": "DeadLetterQueue",
455
1036
  "UpdateType": "Immutable"
456
1037
  },
1038
+ "DeploymentPreference": {
1039
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
1040
+ "Required": false,
1041
+ "Type": "DeploymentPreference",
1042
+ "UpdateType": "Immutable"
1043
+ },
457
1044
  "Description": {
458
1045
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
459
1046
  "PrimitiveType": "String",
@@ -491,16 +1078,30 @@
491
1078
  "Required": false,
492
1079
  "UpdateType": "Immutable"
493
1080
  },
1081
+ "Layers": {
1082
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
1083
+ "PrimitiveItemType": "String",
1084
+ "Required": false,
1085
+ "Type": "List",
1086
+ "UpdateType": "Immutable"
1087
+ },
494
1088
  "MemorySize": {
495
1089
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
496
1090
  "PrimitiveType": "Integer",
497
1091
  "Required": false,
498
1092
  "UpdateType": "Immutable"
499
1093
  },
1094
+ "PermissionsBoundary": {
1095
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
1096
+ "PrimitiveType": "String",
1097
+ "Required": false,
1098
+ "UpdateType": "Immutable"
1099
+ },
500
1100
  "Policies": {
501
1101
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
502
1102
  "ItemTypes": [
503
- "IAMPolicyDocument"
1103
+ "IAMPolicyDocument",
1104
+ "SAMPolicyTemplate"
504
1105
  ],
505
1106
  "PrimitiveItemTypes": [
506
1107
  "String"
@@ -514,6 +1115,12 @@
514
1115
  ],
515
1116
  "UpdateType": "Immutable"
516
1117
  },
1118
+ "ReservedConcurrentExecutions": {
1119
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
1120
+ "PrimitiveType": "Integer",
1121
+ "Required": false,
1122
+ "UpdateType": "Immutable"
1123
+ },
517
1124
  "Role": {
518
1125
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
519
1126
  "PrimitiveType": "String",
@@ -553,6 +1160,48 @@
553
1160
  }
554
1161
  }
555
1162
  },
1163
+ "AWS::Serverless::LayerVersion": {
1164
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
1165
+ "Properties": {
1166
+ "CompatibleRuntimes": {
1167
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
1168
+ "PrimitiveItemType": "String",
1169
+ "Required": false,
1170
+ "Type": "List",
1171
+ "UpdateType": "Immutable"
1172
+ },
1173
+ "ContentUri": {
1174
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
1175
+ "PrimitiveType": "String",
1176
+ "Required": false,
1177
+ "UpdateType": "Immutable"
1178
+ },
1179
+ "Description": {
1180
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
1181
+ "PrimitiveType": "String",
1182
+ "Required": false,
1183
+ "UpdateType": "Immutable"
1184
+ },
1185
+ "LayerName": {
1186
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
1187
+ "PrimitiveType": "String",
1188
+ "Required": false,
1189
+ "UpdateType": "Immutable"
1190
+ },
1191
+ "LicenseInfo": {
1192
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
1193
+ "PrimitiveType": "String",
1194
+ "Required": false,
1195
+ "UpdateType": "Immutable"
1196
+ },
1197
+ "RetentionPolicy": {
1198
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
1199
+ "PrimitiveType": "String",
1200
+ "Required": false,
1201
+ "UpdateType": "Immutable"
1202
+ }
1203
+ }
1204
+ },
556
1205
  "AWS::Serverless::SimpleTable": {
557
1206
  "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable",
558
1207
  "Properties": {
@@ -567,6 +1216,25 @@
567
1216
  "Required": false,
568
1217
  "Type": "ProvisionedThroughput",
569
1218
  "UpdateType": "Immutable"
1219
+ },
1220
+ "SSESpecification": {
1221
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable",
1222
+ "Required": false,
1223
+ "Type": "SSESpecification",
1224
+ "UpdateType": "Immutable"
1225
+ },
1226
+ "TableName": {
1227
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable",
1228
+ "PrimitiveType": "String",
1229
+ "Required": false,
1230
+ "UpdateType": "Immutable"
1231
+ },
1232
+ "Tags": {
1233
+ "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable",
1234
+ "PrimitiveItemType": "String",
1235
+ "Required": false,
1236
+ "Type": "Map",
1237
+ "UpdateType": "Immutable"
570
1238
  }
571
1239
  }
572
1240
  }