-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.json
1152 lines (1152 loc) · 47.1 KB
/
base.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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "AWS CloudFormation template",
"description": "AWS CloudFormation template. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-guide.html",
"type": "object",
"required": ["Resources"],
"definitions": {
"pseudoParameters": {
"title": "Pseudo Parameters",
"description": "Pseudo parameters are parameters that are predefined by AWS CloudFormation. You do not declare them in your template. Use them the same way as you would a parameter, as the argument for the Ref function. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html",
"enum": [
"AWS::AccountId",
"AWS::NotificationARNs",
"AWS::NoValue",
"AWS::Partition",
"AWS::Region",
"AWS::StackId",
"AWS::StackName",
"AWS::URLSuffix"
]
},
"functions": {
"base64": {
"type": "object",
"title": "Fn::Base64",
"description": "The intrinsic function Fn::Base64 returns the Base64 representation of the input string. This function is typically used to pass encoded data to Amazon EC2 instances by way of the UserData property. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-base64.html",
"required": ["Fn::Base64"],
"additionalProperties": false,
"properties": {
"Fn::Base64": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
},
"cidr": {
"type": "object",
"title": "Fn::Cidr",
"description": "The intrinsic function Fn::Cidr returns the specified Cidr address block. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-cidr.html",
"required": ["Fn::Cidr"],
"additionalProperties": false,
"properties": {
"Fn::Cidr": {
"type": "array",
"minItems": 2,
"maxItems": 3,
"items": [
{
"title": "ipBlock",
"description": "The user-specified default Cidr address block.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
{
"title": "count",
"description": "The number of subnets' Cidr block wanted. Count can be 1 to 256.",
"anyOf": [
{
"type": "number"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
{
"title": "sizeMask",
"description": "Optional. The digit covered in the subnet.",
"anyOf": [
{
"type": "number"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
]
}
}
},
"findInMap": {
"type": "object",
"title": "Fn::FindInMap",
"description": "The intrinsic function Fn::FindInMap returns the value corresponding to keys in a two-level map that is declared in the Mappings section. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-findinmap.html",
"additionalProperties": false,
"required": ["Fn::FindInMap"],
"properties": {
"Fn::FindInMap": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"title": "MapName",
"description": "The logical name of a mapping declared in the Mappings section that contains the keys and values.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
{
"title": "TopLevelKey",
"description": "The top-level key name. Its value is a list of key-value pairs.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
{
"title": "SecondLevelKey",
"description": "The second-level key name, which is set to one of the keys from the list assigned to TopLevelKey.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
]
}
}
},
"getAtt": {
"type": "object",
"title": "Fn::GetAtt",
"description": "The Fn::GetAtt intrinsic function returns the value of an attribute from a resource in the template. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html",
"additionalProperties": false,
"required": ["Fn::GetAtt"],
"properties": {
"Fn::GetAtt": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"title": "logicalNameOfResource",
"description": "The logical name (also called logical ID) of the resource that contains the attribute that you want.",
"type": "string"
},
{
"title": "attributeName",
"description": "The name of the resource-specific attribute whose value you want. See the resource's reference page for details about the attributes available for that resource type.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
]
}
}
},
"getAZs": {
"type": "object",
"title": "Fn::GetAZs",
"description": "The intrinsic function Fn::GetAZs returns an array that lists Availability Zones for a specified region. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getavailabilityzones.html",
"additionalProperties": false,
"required": ["Fn::GetAZs"],
"properties": {
"Fn::GetAZs": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
},
"if": {
"type": "object",
"title": "Fn::If",
"description": "Returns one value if the specified condition evaluates to true and another value if the specified condition evaluates to false. Currently, AWS CloudFormation supports the Fn::If intrinsic function in the metadata attribute, update policy attribute, and property values in the Resources section and Outputs sections of a template. You can use the AWS::NoValue pseudo parameter as a return value to remove the corresponding property. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-if",
"additionalProperties": false,
"required": ["Fn::If"],
"properties": {
"Fn::If": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"title": "condition_name",
"description": "A reference to a condition in the Conditions section. Use the condition's name to reference it.",
"type": "string"
},
{
"title": "value_if_true",
"description": "A value to be returned if the specified condition evaluates to true.",
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
{
"title": "value_if_false",
"description": "A value to be returned if the specified condition evaluates to false.",
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
]
}
}
},
"importValue": {
"type": "object",
"title": "Fn::ImportValue",
"description": "The intrinsic function Fn::ImportValue returns the value of an output exported by another stack. You typically use this function to create cross-stack references. In the following example template snippets, Stack A exports VPC security group values and Stack B imports them. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html",
"additionalProperties": false,
"required": ["Fn::ImportValue"],
"properties": {
"Fn::ImportValue": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
},
"join": {
"type": "object",
"title": "Fn::Join",
"description": "The intrinsic function Fn::Join appends a set of values into a single value, separated by the specified delimiter. If a delimiter is the empty string, the set of values are concatenated with no delimiter. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-join.html",
"additionalProperties": false,
"required": ["Fn::Join"],
"properties": {
"Fn::Join": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"title": "delimiter",
"description": "The value you want to occur between fragments. The delimiter will occur between fragments only. It will not terminate the final value.",
"type": "string"
},
{
"title": "ListOfValues",
"description": "The list of values you want combined.",
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
]
}
}
},
"select": {
"type": "object",
"title": "Fn::Select",
"description": "The intrinsic function Fn::Select returns a single object from a list of objects by index. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-select.html",
"additionalProperties": false,
"required": ["Fn::Select"],
"properties": {
"Fn::Select": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"title": "index",
"description": "The index of the object to retrieve. This must be a value from zero to N-1, where N represents the number of elements in the array.",
"type": ["number", "string"]
},
{
"title": "listOfObjects",
"description": "The list of values you want combined.",
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
]
}
}
},
"split": {
"type": "object",
"title": "Fn::Split",
"description": "To split a string into a list of string values so that you can select an element from the resulting string list, use the Fn::Split intrinsic function. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-split.html",
"additionalProperties": false,
"required": ["Fn::Split"],
"properties": {
"Fn::Split": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"title": "delimiter",
"description": "A string value that determines where the source string is divided.",
"type": "string"
},
{
"title": "source string",
"description": "The string value that you want to split.",
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
]
}
}
},
"sub": {
"type": "object",
"title": "Fn::Sub",
"description": "The intrinsic function Fn::Sub substitutes variables in an input string with values that you specify. In your templates, you can use this function to construct commands or outputs that include values that aren't available until you create or update a stack. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-sub.html",
"additionalProperties": false,
"required": ["Fn::Sub"],
"properties": {
"Fn::Sub": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"title": "String",
"description": "A string with variables that AWS CloudFormation substitutes with their associated values at runtime. Write variables as ${MyVarName}. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. If you specify only template parameter names, resource logical IDs, and resource attributes, don't specify a key-value map.",
"type": "string"
},
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
]
}
]
}
}
},
"ref": {
"type": "object",
"title": "Ref",
"description": "The intrinsic function Ref returns the value of the specified parameter or resource. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html",
"additionalProperties": false,
"required": ["Ref"],
"properties": {
"Ref": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/pseudoParameters"
}
]
}
}
},
"and": {
"type": "object",
"title": "Fn::And",
"description": "Returns true if all the specified conditions evaluate to true, or returns false if any one of the conditions evaluates to false. Fn::And acts as an AND operator. The minimum number of conditions that you can include is 2, and the maximum is 10. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-and",
"additionalProperties": false,
"required": ["Fn::And"],
"properties": {
"Fn::And": {
"type": "array",
"minItems": 2,
"maxItems": 10,
"items": {
"$ref": "#/definitions/conditionFunctions"
}
}
}
},
"equals": {
"type": "object",
"title": "Fn::Equals",
"description": "Compares if two values are equal. Returns true if the two values are equal or false if they aren't. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-equals",
"additionalProperties": false,
"required": ["Fn::Equals"],
"properties": {
"Fn::Equals": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
}
},
"not": {
"type": "object",
"title": "Fn::Not",
"description": "Returns true for a condition that evaluates to false or returns false for a condition that evaluates to true. Fn::Not acts as a NOT operator. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-not",
"additionalProperties": false,
"required": ["Fn::Not"],
"properties": {
"Fn::Not": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"$ref": "#/definitions/conditionFunctions"
}
}
}
},
"or": {
"type": "object",
"title": "Fn::Or",
"description": "Returns true if any one of the specified conditions evaluate to true, or returns false if all of the conditions evaluates to false. Fn::Or acts as an OR operator. The minimum number of conditions that you can include is 2, and the maximum is 10. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-or",
"additionalProperties": false,
"required": ["Fn::Or"],
"properties": {
"Fn::Or": {
"type": "array",
"minItems": 2,
"maxItems": 10,
"items": {
"$ref": "#/definitions/conditionFunctions"
}
}
}
}
},
"conditionFunctions": {
"title": "Condition Functions",
"description": "You can use intrinsic functions, such as Fn::If, Fn::Equals, and Fn::Not, to conditionally create stack resources. These conditions are evaluated based on input parameters that you declare when you create or update a stack. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html",
"anyOf": [
{
"$ref": "#/definitions/functions/and"
},
{
"$ref": "#/definitions/functions/equals"
},
{
"$ref": "#/definitions/functions/if"
},
{
"$ref": "#/definitions/functions/not"
},
{
"$ref": "#/definitions/functions/or"
}
]
},
"intrinsicFunctions": {
"title": "Intrinsic Functions",
"description": "AWS CloudFormation provides several built-in functions that help you manage your stacks. Use intrinsic functions in your templates to assign values to properties that are not available until runtime. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html",
"anyOf": [
{
"$ref": "#/definitions/functions/base64"
},
{
"$ref": "#/definitions/functions/cidr"
},
{
"$ref": "#/definitions/functions/findInMap"
},
{
"$ref": "#/definitions/functions/getAtt"
},
{
"$ref": "#/definitions/functions/getAZs"
},
{
"$ref": "#/definitions/functions/if"
},
{
"$ref": "#/definitions/functions/importValue"
},
{
"$ref": "#/definitions/functions/join"
},
{
"$ref": "#/definitions/functions/select"
},
{
"$ref": "#/definitions/functions/split"
},
{
"$ref": "#/definitions/functions/sub"
},
{
"$ref": "#/definitions/functions/ref"
}
]
}
},
"additionalProperties": false,
"properties": {
"AWSTemplateFormatVersion": {
"description": "The AWS CloudFormation template version that the template conforms to. The template format version is not the same as the API or WSDL version. The template format version can change independently of the API and WSDL versions. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/format-version-structure.html",
"type": "string",
"enum": ["2010-09-09"]
},
"Description": {
"description": "A text string that describes the template. This section must always follow the template format version section. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-description-structure.html",
"type": "string",
"minLength": 0,
"maxLength": 1024
},
"Metadata": {
"type": "object",
"description": "Objects that provide additional information about the template. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html",
"properties": {
"AWS::CloudFormation::Init": {
"type": "object",
"description": "Defines configuration tasks for the cfn-init helper script. This script is useful for configuring and installing applications on EC2 instances. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-init.html"
},
"AWS::CloudFormation::Interface": {
"type": "object",
"description": "Defines the grouping and ordering of input parameters when they are displayed in the AWS CloudFormation console. By default, the AWS CloudFormation console alphabetically sorts parameters by their logical ID. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-interface.html"
},
"AWS::CloudFormation::Designer": {}
},
"additionalProperties": {
"type": "object"
}
},
"Parameters": {
"type": "object",
"description": "Values to pass to your template at runtime (when you create or update a stack). You can refer to parameters from the Resources and Outputs sections of the template. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html",
"maxProperties": 60,
"propertyNames": {
"pattern": "^[A-Za-z0-9]+$"
},
"additionalProperties": {
"type": "object",
"required": ["Type"],
"properties": {
"AllowedPattern": {
"type": "string",
"description": "A regular expression that represents the patterns to allow for String types."
},
"AllowedValues": {
"type": "array",
"description": "An array containing the list of values allowed for the parameter."
},
"ConstraintDescription": {
"type": "string",
"description": "A string that explains a constraint when the constraint is violated."
},
"Default": {
"description": "A value of the appropriate type for the template to use if no value is specified when a stack is created. If you define constraints for the parameter, you must specify a value that adheres to those constraints."
},
"Description": {
"type": "string",
"description": "A string of up to 4000 characters that describes the parameter.",
"minLength": 0,
"maxLength": 4000
},
"MaxLength": {
"type": "integer",
"description": "An integer value that determines the largest number of characters you want to allow for String types."
},
"MaxValue": {
"type": "number",
"description": "A numeric value that determines the largest numeric value you want to allow for Number types."
},
"MinLength": {
"type": "integer",
"description": "An integer value that determines the smallest number of characters you want to allow for String types."
},
"MinValue": {
"type": "number",
"description": "A numeric value that determines the smallest numeric value you want to allow for Number types."
},
"NoEcho": {
"type": "boolean",
"description": "Whether to mask the parameter value when anyone makes a call that describes the stack. If you set the value to true, the parameter value is masked with asterisks (*****)."
},
"Type": {
"type": "string",
"description": "The data type for the parameter (DataType).",
"enum": [
"String",
"Number",
"List<Number>",
"CommaDelimitedList",
"AWS::EC2::AvailabilityZone::Name",
"AWS::EC2::Image::Id",
"AWS::EC2::Instance::Id",
"AWS::EC2::KeyPair::KeyName",
"AWS::EC2::SecurityGroup::GroupName",
"AWS::EC2::SecurityGroup::Id",
"AWS::EC2::Subnet::Id",
"AWS::EC2::Volume::Id",
"AWS::EC2::VPC::Id",
"AWS::Route53::HostedZone::Id",
"List<AWS::EC2::AvailabilityZone::Name>",
"List<AWS::EC2::Image::Id>",
"List<AWS::EC2::Instance::Id>",
"List<AWS::EC2::SecurityGroup::GroupName>",
"List<AWS::EC2::SecurityGroup::Id>",
"List<AWS::EC2::Subnet::Id>",
"List<AWS::EC2::Volume::Id>",
"List<AWS::EC2::VPC::Id>",
"List<AWS::Route53::HostedZone::Id>",
"AWS::SSM::Parameter::Name",
"AWS::SSM::Parameter::Value<String>",
"AWS::SSM::Parameter::Value<List<String>>",
"AWS::SSM::Parameter::Value<CommaDelimitedList>",
"AWS::SSM::Parameter::Value<AWS::EC2::AvailabilityZone::Name>",
"AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>",
"AWS::SSM::Parameter::Value<AWS::EC2::Instance::Id>",
"AWS::SSM::Parameter::Value<AWS::EC2::KeyPair::KeyName>",
"AWS::SSM::Parameter::Value<AWS::EC2::SecurityGroup::GroupName>",
"AWS::SSM::Parameter::Value<AWS::EC2::SecurityGroup::Id>",
"AWS::SSM::Parameter::Value<AWS::EC2::Subnet::Id>",
"AWS::SSM::Parameter::Value<AWS::EC2::Volume::Id>",
"AWS::SSM::Parameter::Value<AWS::EC2::VPC::Id>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::AvailabilityZone::Name>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::Image::Id>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::Instance::Id>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::KeyPair::KeyName>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::SecurityGroup::GroupName>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::SecurityGroup::Id>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::Subnet::Id>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::Volume::Id>>",
"AWS::SSM::Parameter::Value<List<AWS::EC2::VPC::Id>>"
]
}
}
}
},
"Mappings": {
"type": "object",
"description": "A mapping of keys and associated values that you can use to specify conditional parameter values, similar to a lookup table. You can match a key to a corresponding value by using the Fn::FindInMap intrinsic function in the Resources and Outputs section. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html",
"propertyNames": {
"pattern": "^[A-Za-z0-9]+$"
},
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
}
},
"Conditions": {
"type": "object",
"description": "Conditions that control whether certain resources are created or whether certain resource properties are assigned a value during stack creation or update. For example, you could conditionally create a resource that depends on whether the stack is for a production or test environment. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/conditions-section-structure.html",
"propertyNames": {
"pattern": "^[A-Za-z0-9]+$"
},
"additionalProperties": {
"$ref": "#/definitions/conditionFunctions"
}
},
"Transform": {
"description": "For serverless applications (also referred to as Lambda-based applications), specifies the version of the AWS Serverless Application Model (AWS SAM) to use. When you specify a transform, you can use AWS SAM syntax to declare resources in your template. The model defines the syntax that you can use and how it is processed. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"Resources": {
"type": "object",
"description": "Specifies the stack resources and their properties, such as an Amazon Elastic Compute Cloud instance or an Amazon Simple Storage Service bucket. You can refer to resources in the Resources and Outputs sections of the template. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html",
"propertyNames": {
"pattern": "^[A-Za-z0-9]+$"
},
"definitions": {
"resourceTypeBase": {
"type": "object",
"required": ["Type"],
"properties": {
"Type": {
"type": "string",
"description": "The resource type identifies the type of resource that you are declaring."
},
"Properties": {
"type": "object",
"description": "Resource properties are additional options that you can specify for a resource."
},
"Condition": {
"type": "string",
"description": "Associate conditions with the resources or outputs that you want to conditionally create."
},
"CreationPolicy": {
"type": "object",
"description": "Associate the CreationPolicy attribute with a resource to prevent its status from reaching create complete until AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-creationpolicy.html",
"properties": {
"AutoScalingCreationPolicy": {
"type": "object",
"description": "For an Auto Scaling group replacement update, specifies how many instances must signal success for the update to succeed.",
"properties": {
"MinSuccessfulInstancesPercent": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
],
"description": "Specifies the percentage of instances in an Auto Scaling replacement update that must signal success for the update to succeed."
}
}
},
"ResourceSignal": {
"type": "object",
"description": "When AWS CloudFormation creates the associated resource, configures the number of required success signals and the length of time that AWS CloudFormation waits for those signals.",
"properties": {
"Count": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
],
"description": "The number of success signals AWS CloudFormation must receive before it sets the resource status as CREATE_COMPLETE."
},
"Timeout": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
],
"description": "The length of time that AWS CloudFormation waits for the number of signals that was specified in the Count property."
}
}
}
}
},
"DeletionPolicy": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
],
"description": "With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html",
"enum": ["Delete", "Retain", "Snapshot"]
},
"DependsOn": {
"description": "With the DependsOn attribute you can specify that the creation of a specific resource follows another. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html",
"oneOf": [
{
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
]
},
"Metadata": {
"type": "object",
"description": "The Metadata attribute enables you to associate structured data with a resource. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html"
},
"UpdatePolicy": {
"type": "object",
"description": "Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup or AWS::Lambda::Alias resource. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html",
"properties": {
"AutoScalingReplacingUpdate": {
"type": "object",
"description": "To specify how AWS CloudFormation handles replacement updates for an Auto Scaling group, use the AutoScalingReplacingUpdate policy. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-replacingupdate",
"properties": {
"WillReplace": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
},
"AutoScalingRollingUpdate": {
"type": "object",
"description": "To specify how AWS CloudFormation handles rolling updates for an Auto Scaling group, use the AutoScalingRollingUpdate policy. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-rollingupdate",
"properties": {
"MaxBatchSize": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
"MinInstancesInService": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
"MinSuccessfulInstancesPercent": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
"PauseTime": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
},
"SuspendProcesses": {
"type": "array",
"items": {
"type": "object"
}
},
"WaitOnResourceSignals": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
},
"AutoScalingScheduledAction": {
"type": "object",
"description": "To specify how AWS CloudFormation handles updates for the MinSize, MaxSize, and DesiredCapacity properties when the AWS::AutoScaling::AutoScalingGroup resource has an associated scheduled action, use the AutoScalingScheduledAction policy. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-scheduledactions",
"properties": {
"IgnoreUnmodifiedGroupSizeProperties": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/intrinsicFunctions"
}
]
}
}
},
"CodeDeployLambdaAliasUpdate": {
"type": "object",