@intentius/chant-lexicon-aws 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -425
- package/dist/integrity.json +11 -11
- package/dist/manifest.json +7 -1
- package/dist/meta.json +340 -320
- package/dist/skills/aws-cloudformation.md +1 -1
- package/dist/types/index.d.ts +39 -0
- package/package.json +2 -2
- package/src/codegen/docs.ts +80 -473
- package/src/codegen/generate.ts +1 -1
- package/src/codegen/sam.ts +11 -11
- package/src/generated/index.d.ts +39 -0
- package/src/generated/index.ts +4 -0
- package/src/generated/lexicon-aws.json +340 -320
- package/src/import/generator.test.ts +117 -6
- package/src/import/generator.ts +178 -62
- package/src/import/parser.ts +1 -1
- package/src/import/roundtrip-fixtures.test.ts +72 -11
- package/src/import/roundtrip.test.ts +6 -5
- package/src/index.ts +8 -1
- package/src/intrinsics.ts +27 -0
- package/src/parameter.ts +16 -0
- package/src/plugin.test.ts +1 -1
- package/src/plugin.ts +20 -48
- package/src/serializer.test.ts +4 -19
- package/src/spec/parse.ts +2 -2
|
@@ -30033,39 +30033,23 @@
|
|
|
30033
30033
|
},
|
|
30034
30034
|
"constraints": [
|
|
30035
30035
|
{
|
|
30036
|
-
"name": "
|
|
30036
|
+
"name": "sourcedbclusteridentifier",
|
|
30037
30037
|
"type": "if_then",
|
|
30038
30038
|
"condition": {
|
|
30039
30039
|
"properties": {
|
|
30040
|
-
"
|
|
30041
|
-
"enum": [
|
|
30042
|
-
"aurora-mysql",
|
|
30043
|
-
"aurora-postgresql"
|
|
30044
|
-
],
|
|
30040
|
+
"SourceDBClusterIdentifier": {
|
|
30045
30041
|
"type": "string"
|
|
30046
30042
|
}
|
|
30047
30043
|
},
|
|
30048
30044
|
"required": [
|
|
30049
|
-
"
|
|
30045
|
+
"SourceDBClusterIdentifier"
|
|
30050
30046
|
]
|
|
30051
30047
|
},
|
|
30052
30048
|
"requirement": {
|
|
30053
30049
|
"properties": {
|
|
30054
|
-
"
|
|
30055
|
-
"
|
|
30056
|
-
"
|
|
30057
|
-
"PubliclyAccessible": false,
|
|
30058
|
-
"StorageType": {
|
|
30059
|
-
"if": {
|
|
30060
|
-
"type": "string"
|
|
30061
|
-
},
|
|
30062
|
-
"then": {
|
|
30063
|
-
"enum": [
|
|
30064
|
-
"aurora",
|
|
30065
|
-
"aurora-iopt1"
|
|
30066
|
-
]
|
|
30067
|
-
}
|
|
30068
|
-
}
|
|
30050
|
+
"MasterUserPassword": false,
|
|
30051
|
+
"MasterUsername": false,
|
|
30052
|
+
"StorageEncrypted": false
|
|
30069
30053
|
}
|
|
30070
30054
|
}
|
|
30071
30055
|
},
|
|
@@ -30123,27 +30107,6 @@
|
|
|
30123
30107
|
]
|
|
30124
30108
|
}
|
|
30125
30109
|
},
|
|
30126
|
-
{
|
|
30127
|
-
"name": "sourcedbclusteridentifier",
|
|
30128
|
-
"type": "if_then",
|
|
30129
|
-
"condition": {
|
|
30130
|
-
"properties": {
|
|
30131
|
-
"SourceDBClusterIdentifier": {
|
|
30132
|
-
"type": "string"
|
|
30133
|
-
}
|
|
30134
|
-
},
|
|
30135
|
-
"required": [
|
|
30136
|
-
"SourceDBClusterIdentifier"
|
|
30137
|
-
]
|
|
30138
|
-
},
|
|
30139
|
-
"requirement": {
|
|
30140
|
-
"properties": {
|
|
30141
|
-
"MasterUserPassword": false,
|
|
30142
|
-
"MasterUsername": false,
|
|
30143
|
-
"StorageEncrypted": false
|
|
30144
|
-
}
|
|
30145
|
-
}
|
|
30146
|
-
},
|
|
30147
30110
|
{
|
|
30148
30111
|
"name": "monitoring",
|
|
30149
30112
|
"type": "if_then",
|
|
@@ -30186,38 +30149,6 @@
|
|
|
30186
30149
|
}
|
|
30187
30150
|
}
|
|
30188
30151
|
},
|
|
30189
|
-
{
|
|
30190
|
-
"name": "aurora_warning",
|
|
30191
|
-
"type": "if_then",
|
|
30192
|
-
"condition": {
|
|
30193
|
-
"properties": {
|
|
30194
|
-
"Engine": {
|
|
30195
|
-
"enum": [
|
|
30196
|
-
"aurora-mysql",
|
|
30197
|
-
"aurora-postgresql"
|
|
30198
|
-
],
|
|
30199
|
-
"type": "string"
|
|
30200
|
-
},
|
|
30201
|
-
"EngineMode": {
|
|
30202
|
-
"enum": [
|
|
30203
|
-
"serverless"
|
|
30204
|
-
],
|
|
30205
|
-
"type": "string"
|
|
30206
|
-
}
|
|
30207
|
-
},
|
|
30208
|
-
"required": [
|
|
30209
|
-
"Engine",
|
|
30210
|
-
"EngineMode"
|
|
30211
|
-
]
|
|
30212
|
-
},
|
|
30213
|
-
"requirement": {
|
|
30214
|
-
"properties": {
|
|
30215
|
-
"PerformanceInsightsEnabled": false,
|
|
30216
|
-
"PerformanceInsightsKmsKeyId": false,
|
|
30217
|
-
"PerformanceInsightsRetentionPeriod": false
|
|
30218
|
-
}
|
|
30219
|
-
}
|
|
30220
|
-
},
|
|
30221
30152
|
{
|
|
30222
30153
|
"name": "serverless_exclusive_0",
|
|
30223
30154
|
"type": "if_then",
|
|
@@ -30528,6 +30459,75 @@
|
|
|
30528
30459
|
}
|
|
30529
30460
|
}
|
|
30530
30461
|
}
|
|
30462
|
+
},
|
|
30463
|
+
{
|
|
30464
|
+
"name": "aurora_warning",
|
|
30465
|
+
"type": "if_then",
|
|
30466
|
+
"condition": {
|
|
30467
|
+
"properties": {
|
|
30468
|
+
"Engine": {
|
|
30469
|
+
"enum": [
|
|
30470
|
+
"aurora-mysql",
|
|
30471
|
+
"aurora-postgresql"
|
|
30472
|
+
],
|
|
30473
|
+
"type": "string"
|
|
30474
|
+
},
|
|
30475
|
+
"EngineMode": {
|
|
30476
|
+
"enum": [
|
|
30477
|
+
"serverless"
|
|
30478
|
+
],
|
|
30479
|
+
"type": "string"
|
|
30480
|
+
}
|
|
30481
|
+
},
|
|
30482
|
+
"required": [
|
|
30483
|
+
"Engine",
|
|
30484
|
+
"EngineMode"
|
|
30485
|
+
]
|
|
30486
|
+
},
|
|
30487
|
+
"requirement": {
|
|
30488
|
+
"properties": {
|
|
30489
|
+
"PerformanceInsightsEnabled": false,
|
|
30490
|
+
"PerformanceInsightsKmsKeyId": false,
|
|
30491
|
+
"PerformanceInsightsRetentionPeriod": false
|
|
30492
|
+
}
|
|
30493
|
+
}
|
|
30494
|
+
},
|
|
30495
|
+
{
|
|
30496
|
+
"name": "aurora",
|
|
30497
|
+
"type": "if_then",
|
|
30498
|
+
"condition": {
|
|
30499
|
+
"properties": {
|
|
30500
|
+
"Engine": {
|
|
30501
|
+
"enum": [
|
|
30502
|
+
"aurora-mysql",
|
|
30503
|
+
"aurora-postgresql"
|
|
30504
|
+
],
|
|
30505
|
+
"type": "string"
|
|
30506
|
+
}
|
|
30507
|
+
},
|
|
30508
|
+
"required": [
|
|
30509
|
+
"Engine"
|
|
30510
|
+
]
|
|
30511
|
+
},
|
|
30512
|
+
"requirement": {
|
|
30513
|
+
"properties": {
|
|
30514
|
+
"AllocatedStorage": false,
|
|
30515
|
+
"DBClusterInstanceClass": false,
|
|
30516
|
+
"Iops": false,
|
|
30517
|
+
"PubliclyAccessible": false,
|
|
30518
|
+
"StorageType": {
|
|
30519
|
+
"if": {
|
|
30520
|
+
"type": "string"
|
|
30521
|
+
},
|
|
30522
|
+
"then": {
|
|
30523
|
+
"enum": [
|
|
30524
|
+
"aurora",
|
|
30525
|
+
"aurora-iopt1"
|
|
30526
|
+
]
|
|
30527
|
+
}
|
|
30528
|
+
}
|
|
30529
|
+
}
|
|
30530
|
+
}
|
|
30531
30531
|
}
|
|
30532
30532
|
],
|
|
30533
30533
|
"propertyConstraints": {
|
|
@@ -30674,6 +30674,66 @@
|
|
|
30674
30674
|
]
|
|
30675
30675
|
}
|
|
30676
30676
|
},
|
|
30677
|
+
{
|
|
30678
|
+
"name": "aurora_exclusive",
|
|
30679
|
+
"type": "if_then",
|
|
30680
|
+
"condition": {
|
|
30681
|
+
"properties": {
|
|
30682
|
+
"Engine": {
|
|
30683
|
+
"pattern": "(aurora|aurora-mysql|aurora-postgresql)",
|
|
30684
|
+
"type": "string"
|
|
30685
|
+
}
|
|
30686
|
+
},
|
|
30687
|
+
"required": [
|
|
30688
|
+
"Engine"
|
|
30689
|
+
],
|
|
30690
|
+
"type": "object"
|
|
30691
|
+
},
|
|
30692
|
+
"requirement": {
|
|
30693
|
+
"not": {
|
|
30694
|
+
"anyOf": [
|
|
30695
|
+
{
|
|
30696
|
+
"required": [
|
|
30697
|
+
"AllocatedStorage"
|
|
30698
|
+
]
|
|
30699
|
+
},
|
|
30700
|
+
{
|
|
30701
|
+
"required": [
|
|
30702
|
+
"BackupRetentionPeriod"
|
|
30703
|
+
]
|
|
30704
|
+
},
|
|
30705
|
+
{
|
|
30706
|
+
"required": [
|
|
30707
|
+
"CopyTagsToSnapshot"
|
|
30708
|
+
]
|
|
30709
|
+
},
|
|
30710
|
+
{
|
|
30711
|
+
"required": [
|
|
30712
|
+
"DeletionProtection"
|
|
30713
|
+
]
|
|
30714
|
+
},
|
|
30715
|
+
{
|
|
30716
|
+
"required": [
|
|
30717
|
+
"EnableIAMDatabaseAuthentication"
|
|
30718
|
+
]
|
|
30719
|
+
},
|
|
30720
|
+
{
|
|
30721
|
+
"required": [
|
|
30722
|
+
"MasterUserPassword"
|
|
30723
|
+
]
|
|
30724
|
+
}
|
|
30725
|
+
],
|
|
30726
|
+
"properties": {
|
|
30727
|
+
"AllocatedStorage": true,
|
|
30728
|
+
"BackupRetentionPeriod": true,
|
|
30729
|
+
"CopyTagsToSnapshot": true,
|
|
30730
|
+
"DeletionProtection": true,
|
|
30731
|
+
"EnableIAMDatabaseAuthentication": true,
|
|
30732
|
+
"MasterUserPassword": true
|
|
30733
|
+
}
|
|
30734
|
+
}
|
|
30735
|
+
}
|
|
30736
|
+
},
|
|
30677
30737
|
{
|
|
30678
30738
|
"name": "engine_version_0",
|
|
30679
30739
|
"type": "if_then",
|
|
@@ -31558,66 +31618,6 @@
|
|
|
31558
31618
|
}
|
|
31559
31619
|
}
|
|
31560
31620
|
}
|
|
31561
|
-
},
|
|
31562
|
-
{
|
|
31563
|
-
"name": "aurora_exclusive",
|
|
31564
|
-
"type": "if_then",
|
|
31565
|
-
"condition": {
|
|
31566
|
-
"properties": {
|
|
31567
|
-
"Engine": {
|
|
31568
|
-
"pattern": "(aurora|aurora-mysql|aurora-postgresql)",
|
|
31569
|
-
"type": "string"
|
|
31570
|
-
}
|
|
31571
|
-
},
|
|
31572
|
-
"required": [
|
|
31573
|
-
"Engine"
|
|
31574
|
-
],
|
|
31575
|
-
"type": "object"
|
|
31576
|
-
},
|
|
31577
|
-
"requirement": {
|
|
31578
|
-
"not": {
|
|
31579
|
-
"anyOf": [
|
|
31580
|
-
{
|
|
31581
|
-
"required": [
|
|
31582
|
-
"AllocatedStorage"
|
|
31583
|
-
]
|
|
31584
|
-
},
|
|
31585
|
-
{
|
|
31586
|
-
"required": [
|
|
31587
|
-
"BackupRetentionPeriod"
|
|
31588
|
-
]
|
|
31589
|
-
},
|
|
31590
|
-
{
|
|
31591
|
-
"required": [
|
|
31592
|
-
"CopyTagsToSnapshot"
|
|
31593
|
-
]
|
|
31594
|
-
},
|
|
31595
|
-
{
|
|
31596
|
-
"required": [
|
|
31597
|
-
"DeletionProtection"
|
|
31598
|
-
]
|
|
31599
|
-
},
|
|
31600
|
-
{
|
|
31601
|
-
"required": [
|
|
31602
|
-
"EnableIAMDatabaseAuthentication"
|
|
31603
|
-
]
|
|
31604
|
-
},
|
|
31605
|
-
{
|
|
31606
|
-
"required": [
|
|
31607
|
-
"MasterUserPassword"
|
|
31608
|
-
]
|
|
31609
|
-
}
|
|
31610
|
-
],
|
|
31611
|
-
"properties": {
|
|
31612
|
-
"AllocatedStorage": true,
|
|
31613
|
-
"BackupRetentionPeriod": true,
|
|
31614
|
-
"CopyTagsToSnapshot": true,
|
|
31615
|
-
"DeletionProtection": true,
|
|
31616
|
-
"EnableIAMDatabaseAuthentication": true,
|
|
31617
|
-
"MasterUserPassword": true
|
|
31618
|
-
}
|
|
31619
|
-
}
|
|
31620
|
-
}
|
|
31621
31621
|
}
|
|
31622
31622
|
],
|
|
31623
31623
|
"propertyConstraints": {
|
|
@@ -44872,7 +44872,7 @@
|
|
|
44872
44872
|
},
|
|
44873
44873
|
"constraints": [
|
|
44874
44874
|
{
|
|
44875
|
-
"name": "
|
|
44875
|
+
"name": "zipfile_runtime_exists",
|
|
44876
44876
|
"type": "if_then",
|
|
44877
44877
|
"condition": {
|
|
44878
44878
|
"properties": {
|
|
@@ -44885,28 +44885,21 @@
|
|
|
44885
44885
|
"ZipFile"
|
|
44886
44886
|
],
|
|
44887
44887
|
"type": "object"
|
|
44888
|
-
},
|
|
44889
|
-
"Runtime": {
|
|
44890
|
-
"type": "string"
|
|
44891
44888
|
}
|
|
44892
44889
|
},
|
|
44893
44890
|
"required": [
|
|
44894
|
-
"Code"
|
|
44895
|
-
"Runtime"
|
|
44891
|
+
"Code"
|
|
44896
44892
|
],
|
|
44897
44893
|
"type": "object"
|
|
44898
44894
|
},
|
|
44899
44895
|
"requirement": {
|
|
44900
|
-
"
|
|
44901
|
-
"Runtime"
|
|
44902
|
-
|
|
44903
|
-
},
|
|
44904
|
-
"required": true
|
|
44905
|
-
}
|
|
44896
|
+
"required": [
|
|
44897
|
+
"Runtime"
|
|
44898
|
+
]
|
|
44906
44899
|
}
|
|
44907
44900
|
},
|
|
44908
44901
|
{
|
|
44909
|
-
"name": "
|
|
44902
|
+
"name": "zipfile_runtime_enum",
|
|
44910
44903
|
"type": "if_then",
|
|
44911
44904
|
"condition": {
|
|
44912
44905
|
"properties": {
|
|
@@ -44919,17 +44912,24 @@
|
|
|
44919
44912
|
"ZipFile"
|
|
44920
44913
|
],
|
|
44921
44914
|
"type": "object"
|
|
44915
|
+
},
|
|
44916
|
+
"Runtime": {
|
|
44917
|
+
"type": "string"
|
|
44922
44918
|
}
|
|
44923
44919
|
},
|
|
44924
44920
|
"required": [
|
|
44925
|
-
"Code"
|
|
44921
|
+
"Code",
|
|
44922
|
+
"Runtime"
|
|
44926
44923
|
],
|
|
44927
44924
|
"type": "object"
|
|
44928
44925
|
},
|
|
44929
44926
|
"requirement": {
|
|
44930
|
-
"
|
|
44931
|
-
"Runtime"
|
|
44932
|
-
|
|
44927
|
+
"properties": {
|
|
44928
|
+
"Runtime": {
|
|
44929
|
+
"pattern": "^(nodejs.*|python.*)$"
|
|
44930
|
+
},
|
|
44931
|
+
"required": true
|
|
44932
|
+
}
|
|
44933
44933
|
}
|
|
44934
44934
|
}
|
|
44935
44935
|
],
|
|
@@ -64093,6 +64093,16 @@
|
|
|
64093
64093
|
"kind": "property",
|
|
64094
64094
|
"lexicon": "aws"
|
|
64095
64095
|
},
|
|
64096
|
+
"MediaLiveInput_SrtListenerDecryptionRequest": {
|
|
64097
|
+
"resourceType": "AWS::MediaLive::Input.SrtListenerDecryptionRequest",
|
|
64098
|
+
"kind": "property",
|
|
64099
|
+
"lexicon": "aws"
|
|
64100
|
+
},
|
|
64101
|
+
"MediaLiveInput_SrtListenerSettingsRequest": {
|
|
64102
|
+
"resourceType": "AWS::MediaLive::Input.SrtListenerSettingsRequest",
|
|
64103
|
+
"kind": "property",
|
|
64104
|
+
"lexicon": "aws"
|
|
64105
|
+
},
|
|
64096
64106
|
"MediaLiveInput_SrtSettingsRequest": {
|
|
64097
64107
|
"resourceType": "AWS::MediaLive::Input.SrtSettingsRequest",
|
|
64098
64108
|
"kind": "property",
|
|
@@ -85825,25 +85835,6 @@
|
|
|
85825
85835
|
"id": "Id"
|
|
85826
85836
|
},
|
|
85827
85837
|
"constraints": [
|
|
85828
|
-
{
|
|
85829
|
-
"name": "recordset_alias",
|
|
85830
|
-
"type": "if_then",
|
|
85831
|
-
"condition": {
|
|
85832
|
-
"properties": {
|
|
85833
|
-
"AliasTarget": {
|
|
85834
|
-
"minItems": 1
|
|
85835
|
-
}
|
|
85836
|
-
},
|
|
85837
|
-
"required": [
|
|
85838
|
-
"AliasTarget"
|
|
85839
|
-
]
|
|
85840
|
-
},
|
|
85841
|
-
"requirement": {
|
|
85842
|
-
"properties": {
|
|
85843
|
-
"TTL": false
|
|
85844
|
-
}
|
|
85845
|
-
}
|
|
85846
|
-
},
|
|
85847
85838
|
{
|
|
85848
85839
|
"name": "recordset_pattern_0",
|
|
85849
85840
|
"type": "if_then",
|
|
@@ -86105,6 +86096,25 @@
|
|
|
86105
86096
|
}
|
|
86106
86097
|
}
|
|
86107
86098
|
}
|
|
86099
|
+
},
|
|
86100
|
+
{
|
|
86101
|
+
"name": "recordset_alias",
|
|
86102
|
+
"type": "if_then",
|
|
86103
|
+
"condition": {
|
|
86104
|
+
"properties": {
|
|
86105
|
+
"AliasTarget": {
|
|
86106
|
+
"minItems": 1
|
|
86107
|
+
}
|
|
86108
|
+
},
|
|
86109
|
+
"required": [
|
|
86110
|
+
"AliasTarget"
|
|
86111
|
+
]
|
|
86112
|
+
},
|
|
86113
|
+
"requirement": {
|
|
86114
|
+
"properties": {
|
|
86115
|
+
"TTL": false
|
|
86116
|
+
}
|
|
86117
|
+
}
|
|
86108
86118
|
}
|
|
86109
86119
|
],
|
|
86110
86120
|
"createOnly": [
|
|
@@ -99660,6 +99670,11 @@
|
|
|
99660
99670
|
"kind": "property",
|
|
99661
99671
|
"lexicon": "aws"
|
|
99662
99672
|
},
|
|
99673
|
+
"SrtListenerDecryptionRequest": {
|
|
99674
|
+
"resourceType": "AWS::MediaLive::Input.SrtListenerDecryptionRequest",
|
|
99675
|
+
"kind": "property",
|
|
99676
|
+
"lexicon": "aws"
|
|
99677
|
+
},
|
|
99663
99678
|
"SrtListenerRouterInputConfiguration": {
|
|
99664
99679
|
"resourceType": "AWS::MediaConnect::RouterInput.SrtListenerRouterInputConfiguration",
|
|
99665
99680
|
"kind": "property",
|
|
@@ -99670,6 +99685,11 @@
|
|
|
99670
99685
|
"kind": "property",
|
|
99671
99686
|
"lexicon": "aws"
|
|
99672
99687
|
},
|
|
99688
|
+
"SrtListenerSettingsRequest": {
|
|
99689
|
+
"resourceType": "AWS::MediaLive::Input.SrtListenerSettingsRequest",
|
|
99690
|
+
"kind": "property",
|
|
99691
|
+
"lexicon": "aws"
|
|
99692
|
+
},
|
|
99673
99693
|
"SrtOutputDestinationSettings": {
|
|
99674
99694
|
"resourceType": "AWS::MediaLive::Channel.SrtOutputDestinationSettings",
|
|
99675
99695
|
"kind": "property",
|
|
@@ -102136,42 +102156,42 @@
|
|
|
102136
102156
|
},
|
|
102137
102157
|
"constraints": [
|
|
102138
102158
|
{
|
|
102139
|
-
"name": "
|
|
102159
|
+
"name": "billingmode_exclusive",
|
|
102140
102160
|
"type": "if_then",
|
|
102141
102161
|
"condition": {
|
|
102142
102162
|
"properties": {
|
|
102143
102163
|
"BillingMode": {
|
|
102144
|
-
"const": "
|
|
102164
|
+
"const": "PAY_PER_REQUEST"
|
|
102145
102165
|
}
|
|
102146
102166
|
},
|
|
102147
102167
|
"required": [
|
|
102148
102168
|
"BillingMode"
|
|
102149
|
-
]
|
|
102169
|
+
],
|
|
102170
|
+
"type": "object"
|
|
102150
102171
|
},
|
|
102151
102172
|
"requirement": {
|
|
102152
|
-
"
|
|
102153
|
-
"ProvisionedThroughput"
|
|
102154
|
-
|
|
102173
|
+
"properties": {
|
|
102174
|
+
"ProvisionedThroughput": false
|
|
102175
|
+
}
|
|
102155
102176
|
}
|
|
102156
102177
|
},
|
|
102157
102178
|
{
|
|
102158
|
-
"name": "
|
|
102179
|
+
"name": "billingmode_provisioned_dependent",
|
|
102159
102180
|
"type": "if_then",
|
|
102160
102181
|
"condition": {
|
|
102161
102182
|
"properties": {
|
|
102162
102183
|
"BillingMode": {
|
|
102163
|
-
"const": "
|
|
102184
|
+
"const": "PROVISIONED"
|
|
102164
102185
|
}
|
|
102165
102186
|
},
|
|
102166
102187
|
"required": [
|
|
102167
102188
|
"BillingMode"
|
|
102168
|
-
]
|
|
102169
|
-
"type": "object"
|
|
102189
|
+
]
|
|
102170
102190
|
},
|
|
102171
102191
|
"requirement": {
|
|
102172
|
-
"
|
|
102173
|
-
"ProvisionedThroughput"
|
|
102174
|
-
|
|
102192
|
+
"required": [
|
|
102193
|
+
"ProvisionedThroughput"
|
|
102194
|
+
]
|
|
102175
102195
|
}
|
|
102176
102196
|
}
|
|
102177
102197
|
],
|
|
@@ -102891,6 +102911,142 @@
|
|
|
102891
102911
|
]
|
|
102892
102912
|
}
|
|
102893
102913
|
},
|
|
102914
|
+
{
|
|
102915
|
+
"name": "fargate_properties",
|
|
102916
|
+
"type": "if_then",
|
|
102917
|
+
"condition": {
|
|
102918
|
+
"properties": {
|
|
102919
|
+
"RequiresCompatibilities": {
|
|
102920
|
+
"contains": {
|
|
102921
|
+
"enum": [
|
|
102922
|
+
"FARGATE"
|
|
102923
|
+
],
|
|
102924
|
+
"type": "string"
|
|
102925
|
+
},
|
|
102926
|
+
"type": "array"
|
|
102927
|
+
}
|
|
102928
|
+
},
|
|
102929
|
+
"required": [
|
|
102930
|
+
"RequiresCompatibilities"
|
|
102931
|
+
]
|
|
102932
|
+
},
|
|
102933
|
+
"requirement": {
|
|
102934
|
+
"allOf": [
|
|
102935
|
+
{
|
|
102936
|
+
"if": {
|
|
102937
|
+
"properties": {
|
|
102938
|
+
"NetworkMode": {
|
|
102939
|
+
"type": "string"
|
|
102940
|
+
}
|
|
102941
|
+
},
|
|
102942
|
+
"required": [
|
|
102943
|
+
"NetworkMode"
|
|
102944
|
+
]
|
|
102945
|
+
},
|
|
102946
|
+
"required": [
|
|
102947
|
+
"NetworkMode"
|
|
102948
|
+
],
|
|
102949
|
+
"then": {
|
|
102950
|
+
"properties": {
|
|
102951
|
+
"NetworkMode": {
|
|
102952
|
+
"enum": [
|
|
102953
|
+
"awsvpc"
|
|
102954
|
+
],
|
|
102955
|
+
"type": "string"
|
|
102956
|
+
}
|
|
102957
|
+
},
|
|
102958
|
+
"required": [
|
|
102959
|
+
"NetworkMode"
|
|
102960
|
+
]
|
|
102961
|
+
}
|
|
102962
|
+
},
|
|
102963
|
+
{
|
|
102964
|
+
"properties": {
|
|
102965
|
+
"ContainerDefinitions": {
|
|
102966
|
+
"items": {
|
|
102967
|
+
"properties": {
|
|
102968
|
+
"LogConfiguration": {
|
|
102969
|
+
"if": {
|
|
102970
|
+
"properties": {
|
|
102971
|
+
"LogDriver": {
|
|
102972
|
+
"type": "string"
|
|
102973
|
+
}
|
|
102974
|
+
},
|
|
102975
|
+
"required": [
|
|
102976
|
+
"LogDriver"
|
|
102977
|
+
]
|
|
102978
|
+
},
|
|
102979
|
+
"then": {
|
|
102980
|
+
"properties": {
|
|
102981
|
+
"LogDriver": {
|
|
102982
|
+
"enum": [
|
|
102983
|
+
"awslogs",
|
|
102984
|
+
"splunk",
|
|
102985
|
+
"awsfirelens"
|
|
102986
|
+
]
|
|
102987
|
+
}
|
|
102988
|
+
}
|
|
102989
|
+
}
|
|
102990
|
+
}
|
|
102991
|
+
}
|
|
102992
|
+
}
|
|
102993
|
+
}
|
|
102994
|
+
}
|
|
102995
|
+
},
|
|
102996
|
+
{
|
|
102997
|
+
"if": {
|
|
102998
|
+
"properties": {
|
|
102999
|
+
"Cpu": {
|
|
103000
|
+
"type": [
|
|
103001
|
+
"string",
|
|
103002
|
+
"integer"
|
|
103003
|
+
]
|
|
103004
|
+
}
|
|
103005
|
+
},
|
|
103006
|
+
"required": [
|
|
103007
|
+
"Cpu"
|
|
103008
|
+
]
|
|
103009
|
+
},
|
|
103010
|
+
"not": {
|
|
103011
|
+
"required": [
|
|
103012
|
+
"PlacementConstraints"
|
|
103013
|
+
]
|
|
103014
|
+
},
|
|
103015
|
+
"required": [
|
|
103016
|
+
"Cpu",
|
|
103017
|
+
"Memory"
|
|
103018
|
+
],
|
|
103019
|
+
"then": {
|
|
103020
|
+
"properties": {
|
|
103021
|
+
"Cpu": {
|
|
103022
|
+
"else": {
|
|
103023
|
+
"pattern": "^(\\.25|\\.5|1|2|4|8|16)\\s*(?i)vCpu$"
|
|
103024
|
+
},
|
|
103025
|
+
"if": {
|
|
103026
|
+
"pattern": "^\\d+$",
|
|
103027
|
+
"type": [
|
|
103028
|
+
"integer",
|
|
103029
|
+
"string"
|
|
103030
|
+
]
|
|
103031
|
+
},
|
|
103032
|
+
"then": {
|
|
103033
|
+
"enum": [
|
|
103034
|
+
"256",
|
|
103035
|
+
"512",
|
|
103036
|
+
"1024",
|
|
103037
|
+
"2048",
|
|
103038
|
+
"4096",
|
|
103039
|
+
"8192",
|
|
103040
|
+
"16384"
|
|
103041
|
+
]
|
|
103042
|
+
}
|
|
103043
|
+
}
|
|
103044
|
+
}
|
|
103045
|
+
}
|
|
103046
|
+
}
|
|
103047
|
+
]
|
|
103048
|
+
}
|
|
103049
|
+
},
|
|
102894
103050
|
{
|
|
102895
103051
|
"name": "fargate_cpu_memory",
|
|
102896
103052
|
"type": "if_then",
|
|
@@ -103196,142 +103352,6 @@
|
|
|
103196
103352
|
}
|
|
103197
103353
|
]
|
|
103198
103354
|
}
|
|
103199
|
-
},
|
|
103200
|
-
{
|
|
103201
|
-
"name": "fargate_properties",
|
|
103202
|
-
"type": "if_then",
|
|
103203
|
-
"condition": {
|
|
103204
|
-
"properties": {
|
|
103205
|
-
"RequiresCompatibilities": {
|
|
103206
|
-
"contains": {
|
|
103207
|
-
"enum": [
|
|
103208
|
-
"FARGATE"
|
|
103209
|
-
],
|
|
103210
|
-
"type": "string"
|
|
103211
|
-
},
|
|
103212
|
-
"type": "array"
|
|
103213
|
-
}
|
|
103214
|
-
},
|
|
103215
|
-
"required": [
|
|
103216
|
-
"RequiresCompatibilities"
|
|
103217
|
-
]
|
|
103218
|
-
},
|
|
103219
|
-
"requirement": {
|
|
103220
|
-
"allOf": [
|
|
103221
|
-
{
|
|
103222
|
-
"if": {
|
|
103223
|
-
"properties": {
|
|
103224
|
-
"NetworkMode": {
|
|
103225
|
-
"type": "string"
|
|
103226
|
-
}
|
|
103227
|
-
},
|
|
103228
|
-
"required": [
|
|
103229
|
-
"NetworkMode"
|
|
103230
|
-
]
|
|
103231
|
-
},
|
|
103232
|
-
"required": [
|
|
103233
|
-
"NetworkMode"
|
|
103234
|
-
],
|
|
103235
|
-
"then": {
|
|
103236
|
-
"properties": {
|
|
103237
|
-
"NetworkMode": {
|
|
103238
|
-
"enum": [
|
|
103239
|
-
"awsvpc"
|
|
103240
|
-
],
|
|
103241
|
-
"type": "string"
|
|
103242
|
-
}
|
|
103243
|
-
},
|
|
103244
|
-
"required": [
|
|
103245
|
-
"NetworkMode"
|
|
103246
|
-
]
|
|
103247
|
-
}
|
|
103248
|
-
},
|
|
103249
|
-
{
|
|
103250
|
-
"properties": {
|
|
103251
|
-
"ContainerDefinitions": {
|
|
103252
|
-
"items": {
|
|
103253
|
-
"properties": {
|
|
103254
|
-
"LogConfiguration": {
|
|
103255
|
-
"if": {
|
|
103256
|
-
"properties": {
|
|
103257
|
-
"LogDriver": {
|
|
103258
|
-
"type": "string"
|
|
103259
|
-
}
|
|
103260
|
-
},
|
|
103261
|
-
"required": [
|
|
103262
|
-
"LogDriver"
|
|
103263
|
-
]
|
|
103264
|
-
},
|
|
103265
|
-
"then": {
|
|
103266
|
-
"properties": {
|
|
103267
|
-
"LogDriver": {
|
|
103268
|
-
"enum": [
|
|
103269
|
-
"awslogs",
|
|
103270
|
-
"splunk",
|
|
103271
|
-
"awsfirelens"
|
|
103272
|
-
]
|
|
103273
|
-
}
|
|
103274
|
-
}
|
|
103275
|
-
}
|
|
103276
|
-
}
|
|
103277
|
-
}
|
|
103278
|
-
}
|
|
103279
|
-
}
|
|
103280
|
-
}
|
|
103281
|
-
},
|
|
103282
|
-
{
|
|
103283
|
-
"if": {
|
|
103284
|
-
"properties": {
|
|
103285
|
-
"Cpu": {
|
|
103286
|
-
"type": [
|
|
103287
|
-
"string",
|
|
103288
|
-
"integer"
|
|
103289
|
-
]
|
|
103290
|
-
}
|
|
103291
|
-
},
|
|
103292
|
-
"required": [
|
|
103293
|
-
"Cpu"
|
|
103294
|
-
]
|
|
103295
|
-
},
|
|
103296
|
-
"not": {
|
|
103297
|
-
"required": [
|
|
103298
|
-
"PlacementConstraints"
|
|
103299
|
-
]
|
|
103300
|
-
},
|
|
103301
|
-
"required": [
|
|
103302
|
-
"Cpu",
|
|
103303
|
-
"Memory"
|
|
103304
|
-
],
|
|
103305
|
-
"then": {
|
|
103306
|
-
"properties": {
|
|
103307
|
-
"Cpu": {
|
|
103308
|
-
"else": {
|
|
103309
|
-
"pattern": "^(\\.25|\\.5|1|2|4|8|16)\\s*(?i)vCpu$"
|
|
103310
|
-
},
|
|
103311
|
-
"if": {
|
|
103312
|
-
"pattern": "^\\d+$",
|
|
103313
|
-
"type": [
|
|
103314
|
-
"integer",
|
|
103315
|
-
"string"
|
|
103316
|
-
]
|
|
103317
|
-
},
|
|
103318
|
-
"then": {
|
|
103319
|
-
"enum": [
|
|
103320
|
-
"256",
|
|
103321
|
-
"512",
|
|
103322
|
-
"1024",
|
|
103323
|
-
"2048",
|
|
103324
|
-
"4096",
|
|
103325
|
-
"8192",
|
|
103326
|
-
"16384"
|
|
103327
|
-
]
|
|
103328
|
-
}
|
|
103329
|
-
}
|
|
103330
|
-
}
|
|
103331
|
-
}
|
|
103332
|
-
}
|
|
103333
|
-
]
|
|
103334
|
-
}
|
|
103335
103355
|
}
|
|
103336
103356
|
],
|
|
103337
103357
|
"createOnly": [
|