@intentius/chant-lexicon-aws 0.0.3 → 0.0.5
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/dist/integrity.json +10 -10
- package/dist/manifest.json +7 -1
- package/dist/meta.json +329 -370
- package/dist/types/index.d.ts +11 -76
- package/package.json +3 -2
- package/src/codegen/docs.ts +32 -125
- package/src/generated/index.d.ts +11 -76
- package/src/generated/index.ts +1 -2
- package/src/generated/lexicon-aws.json +329 -370
- 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 +87 -5
- 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 +1 -0
- package/src/serializer.test.ts +4 -19
|
@@ -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
|
],
|
|
@@ -85825,25 +85825,6 @@
|
|
|
85825
85825
|
"id": "Id"
|
|
85826
85826
|
},
|
|
85827
85827
|
"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
85828
|
{
|
|
85848
85829
|
"name": "recordset_pattern_0",
|
|
85849
85830
|
"type": "if_then",
|
|
@@ -86105,6 +86086,25 @@
|
|
|
86105
86086
|
}
|
|
86106
86087
|
}
|
|
86107
86088
|
}
|
|
86089
|
+
},
|
|
86090
|
+
{
|
|
86091
|
+
"name": "recordset_alias",
|
|
86092
|
+
"type": "if_then",
|
|
86093
|
+
"condition": {
|
|
86094
|
+
"properties": {
|
|
86095
|
+
"AliasTarget": {
|
|
86096
|
+
"minItems": 1
|
|
86097
|
+
}
|
|
86098
|
+
},
|
|
86099
|
+
"required": [
|
|
86100
|
+
"AliasTarget"
|
|
86101
|
+
]
|
|
86102
|
+
},
|
|
86103
|
+
"requirement": {
|
|
86104
|
+
"properties": {
|
|
86105
|
+
"TTL": false
|
|
86106
|
+
}
|
|
86107
|
+
}
|
|
86108
86108
|
}
|
|
86109
86109
|
],
|
|
86110
86110
|
"createOnly": [
|
|
@@ -87621,69 +87621,33 @@
|
|
|
87621
87621
|
"kind": "resource",
|
|
87622
87622
|
"lexicon": "aws",
|
|
87623
87623
|
"attrs": {
|
|
87624
|
-
"
|
|
87625
|
-
"primaryEndPoint": "PrimaryEndPoint",
|
|
87626
|
-
"readEndPoint": "ReadEndPoint",
|
|
87627
|
-
"readerEndPoint": "ReaderEndPoint"
|
|
87624
|
+
"replicationGroupId": "ReplicationGroupId"
|
|
87628
87625
|
},
|
|
87629
87626
|
"propertyConstraints": {
|
|
87630
|
-
"NumNodeGroups": {
|
|
87631
|
-
"default": 1
|
|
87632
|
-
},
|
|
87633
|
-
"AutomaticFailoverEnabled": {
|
|
87634
|
-
"default": false
|
|
87635
|
-
},
|
|
87636
87627
|
"ReplicasPerNodeGroup": {
|
|
87637
87628
|
"minimum": 0,
|
|
87638
87629
|
"maximum": 5
|
|
87639
87630
|
},
|
|
87640
|
-
"
|
|
87641
|
-
"
|
|
87631
|
+
"SecurityGroupIds": {
|
|
87632
|
+
"format": "AWS::EC2::SecurityGroup.Ids"
|
|
87642
87633
|
},
|
|
87643
87634
|
"NumCacheClusters": {
|
|
87644
87635
|
"minimum": 1,
|
|
87645
87636
|
"maximum": 6
|
|
87646
|
-
},
|
|
87647
|
-
"AtRestEncryptionEnabled": {
|
|
87648
|
-
"default": false
|
|
87649
|
-
},
|
|
87650
|
-
"SecurityGroupIds": {
|
|
87651
|
-
"format": "AWS::EC2::SecurityGroup.Ids"
|
|
87652
|
-
},
|
|
87653
|
-
"SnapshotRetentionLimit": {
|
|
87654
|
-
"default": 0
|
|
87655
87637
|
}
|
|
87656
87638
|
},
|
|
87657
87639
|
"createOnly": [
|
|
87658
|
-
"AtRestEncryptionEnabled",
|
|
87659
|
-
"CacheSubnetGroupName",
|
|
87660
|
-
"DataTieringEnabled",
|
|
87661
|
-
"GlobalReplicationGroupId",
|
|
87662
87640
|
"KmsKeyId",
|
|
87663
|
-
"NetworkType",
|
|
87664
87641
|
"Port",
|
|
87665
|
-
"PreferredCacheClusterAZs",
|
|
87666
|
-
"ReplicasPerNodeGroup",
|
|
87667
|
-
"ReplicationGroupId",
|
|
87668
|
-
"SnapshotArns",
|
|
87669
|
-
"SnapshotName"
|
|
87670
|
-
],
|
|
87671
|
-
"writeOnly": [
|
|
87672
|
-
"AuthToken",
|
|
87673
|
-
"CacheParameterGroupName",
|
|
87674
|
-
"CacheSecurityGroupNames",
|
|
87675
|
-
"CacheSubnetGroupName",
|
|
87676
|
-
"EngineVersion",
|
|
87677
|
-
"NotificationTopicArn",
|
|
87678
|
-
"PreferredMaintenanceWindow",
|
|
87679
|
-
"SecurityGroupIds",
|
|
87680
87642
|
"SnapshotArns",
|
|
87681
87643
|
"SnapshotName",
|
|
87682
|
-
"
|
|
87683
|
-
"
|
|
87644
|
+
"CacheSubnetGroupName",
|
|
87645
|
+
"NetworkType",
|
|
87646
|
+
"DataTieringEnabled",
|
|
87647
|
+
"AtRestEncryptionEnabled",
|
|
87648
|
+
"ReplicationGroupId",
|
|
87649
|
+
"GlobalReplicationGroupId",
|
|
87684
87650
|
"ReplicasPerNodeGroup",
|
|
87685
|
-
"KmsKeyId",
|
|
87686
|
-
"PrimaryClusterId",
|
|
87687
87651
|
"PreferredCacheClusterAZs"
|
|
87688
87652
|
],
|
|
87689
87653
|
"primaryIdentifier": [
|
|
@@ -87700,11 +87664,6 @@
|
|
|
87700
87664
|
"kind": "property",
|
|
87701
87665
|
"lexicon": "aws"
|
|
87702
87666
|
},
|
|
87703
|
-
"ReplicationGroup_Endpoint": {
|
|
87704
|
-
"resourceType": "AWS::ElastiCache::ReplicationGroup.Endpoint",
|
|
87705
|
-
"kind": "property",
|
|
87706
|
-
"lexicon": "aws"
|
|
87707
|
-
},
|
|
87708
87667
|
"ReplicationGroup_KinesisFirehoseDestinationDetails": {
|
|
87709
87668
|
"resourceType": "AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails",
|
|
87710
87669
|
"kind": "property",
|
|
@@ -102136,42 +102095,42 @@
|
|
|
102136
102095
|
},
|
|
102137
102096
|
"constraints": [
|
|
102138
102097
|
{
|
|
102139
|
-
"name": "
|
|
102098
|
+
"name": "billingmode_exclusive",
|
|
102140
102099
|
"type": "if_then",
|
|
102141
102100
|
"condition": {
|
|
102142
102101
|
"properties": {
|
|
102143
102102
|
"BillingMode": {
|
|
102144
|
-
"const": "
|
|
102103
|
+
"const": "PAY_PER_REQUEST"
|
|
102145
102104
|
}
|
|
102146
102105
|
},
|
|
102147
102106
|
"required": [
|
|
102148
102107
|
"BillingMode"
|
|
102149
|
-
]
|
|
102108
|
+
],
|
|
102109
|
+
"type": "object"
|
|
102150
102110
|
},
|
|
102151
102111
|
"requirement": {
|
|
102152
|
-
"
|
|
102153
|
-
"ProvisionedThroughput"
|
|
102154
|
-
|
|
102112
|
+
"properties": {
|
|
102113
|
+
"ProvisionedThroughput": false
|
|
102114
|
+
}
|
|
102155
102115
|
}
|
|
102156
102116
|
},
|
|
102157
102117
|
{
|
|
102158
|
-
"name": "
|
|
102118
|
+
"name": "billingmode_provisioned_dependent",
|
|
102159
102119
|
"type": "if_then",
|
|
102160
102120
|
"condition": {
|
|
102161
102121
|
"properties": {
|
|
102162
102122
|
"BillingMode": {
|
|
102163
|
-
"const": "
|
|
102123
|
+
"const": "PROVISIONED"
|
|
102164
102124
|
}
|
|
102165
102125
|
},
|
|
102166
102126
|
"required": [
|
|
102167
102127
|
"BillingMode"
|
|
102168
|
-
]
|
|
102169
|
-
"type": "object"
|
|
102128
|
+
]
|
|
102170
102129
|
},
|
|
102171
102130
|
"requirement": {
|
|
102172
|
-
"
|
|
102173
|
-
"ProvisionedThroughput"
|
|
102174
|
-
|
|
102131
|
+
"required": [
|
|
102132
|
+
"ProvisionedThroughput"
|
|
102133
|
+
]
|
|
102175
102134
|
}
|
|
102176
102135
|
}
|
|
102177
102136
|
],
|
|
@@ -102891,6 +102850,142 @@
|
|
|
102891
102850
|
]
|
|
102892
102851
|
}
|
|
102893
102852
|
},
|
|
102853
|
+
{
|
|
102854
|
+
"name": "fargate_properties",
|
|
102855
|
+
"type": "if_then",
|
|
102856
|
+
"condition": {
|
|
102857
|
+
"properties": {
|
|
102858
|
+
"RequiresCompatibilities": {
|
|
102859
|
+
"contains": {
|
|
102860
|
+
"enum": [
|
|
102861
|
+
"FARGATE"
|
|
102862
|
+
],
|
|
102863
|
+
"type": "string"
|
|
102864
|
+
},
|
|
102865
|
+
"type": "array"
|
|
102866
|
+
}
|
|
102867
|
+
},
|
|
102868
|
+
"required": [
|
|
102869
|
+
"RequiresCompatibilities"
|
|
102870
|
+
]
|
|
102871
|
+
},
|
|
102872
|
+
"requirement": {
|
|
102873
|
+
"allOf": [
|
|
102874
|
+
{
|
|
102875
|
+
"if": {
|
|
102876
|
+
"properties": {
|
|
102877
|
+
"NetworkMode": {
|
|
102878
|
+
"type": "string"
|
|
102879
|
+
}
|
|
102880
|
+
},
|
|
102881
|
+
"required": [
|
|
102882
|
+
"NetworkMode"
|
|
102883
|
+
]
|
|
102884
|
+
},
|
|
102885
|
+
"required": [
|
|
102886
|
+
"NetworkMode"
|
|
102887
|
+
],
|
|
102888
|
+
"then": {
|
|
102889
|
+
"properties": {
|
|
102890
|
+
"NetworkMode": {
|
|
102891
|
+
"enum": [
|
|
102892
|
+
"awsvpc"
|
|
102893
|
+
],
|
|
102894
|
+
"type": "string"
|
|
102895
|
+
}
|
|
102896
|
+
},
|
|
102897
|
+
"required": [
|
|
102898
|
+
"NetworkMode"
|
|
102899
|
+
]
|
|
102900
|
+
}
|
|
102901
|
+
},
|
|
102902
|
+
{
|
|
102903
|
+
"properties": {
|
|
102904
|
+
"ContainerDefinitions": {
|
|
102905
|
+
"items": {
|
|
102906
|
+
"properties": {
|
|
102907
|
+
"LogConfiguration": {
|
|
102908
|
+
"if": {
|
|
102909
|
+
"properties": {
|
|
102910
|
+
"LogDriver": {
|
|
102911
|
+
"type": "string"
|
|
102912
|
+
}
|
|
102913
|
+
},
|
|
102914
|
+
"required": [
|
|
102915
|
+
"LogDriver"
|
|
102916
|
+
]
|
|
102917
|
+
},
|
|
102918
|
+
"then": {
|
|
102919
|
+
"properties": {
|
|
102920
|
+
"LogDriver": {
|
|
102921
|
+
"enum": [
|
|
102922
|
+
"awslogs",
|
|
102923
|
+
"splunk",
|
|
102924
|
+
"awsfirelens"
|
|
102925
|
+
]
|
|
102926
|
+
}
|
|
102927
|
+
}
|
|
102928
|
+
}
|
|
102929
|
+
}
|
|
102930
|
+
}
|
|
102931
|
+
}
|
|
102932
|
+
}
|
|
102933
|
+
}
|
|
102934
|
+
},
|
|
102935
|
+
{
|
|
102936
|
+
"if": {
|
|
102937
|
+
"properties": {
|
|
102938
|
+
"Cpu": {
|
|
102939
|
+
"type": [
|
|
102940
|
+
"string",
|
|
102941
|
+
"integer"
|
|
102942
|
+
]
|
|
102943
|
+
}
|
|
102944
|
+
},
|
|
102945
|
+
"required": [
|
|
102946
|
+
"Cpu"
|
|
102947
|
+
]
|
|
102948
|
+
},
|
|
102949
|
+
"not": {
|
|
102950
|
+
"required": [
|
|
102951
|
+
"PlacementConstraints"
|
|
102952
|
+
]
|
|
102953
|
+
},
|
|
102954
|
+
"required": [
|
|
102955
|
+
"Cpu",
|
|
102956
|
+
"Memory"
|
|
102957
|
+
],
|
|
102958
|
+
"then": {
|
|
102959
|
+
"properties": {
|
|
102960
|
+
"Cpu": {
|
|
102961
|
+
"else": {
|
|
102962
|
+
"pattern": "^(\\.25|\\.5|1|2|4|8|16)\\s*(?i)vCpu$"
|
|
102963
|
+
},
|
|
102964
|
+
"if": {
|
|
102965
|
+
"pattern": "^\\d+$",
|
|
102966
|
+
"type": [
|
|
102967
|
+
"integer",
|
|
102968
|
+
"string"
|
|
102969
|
+
]
|
|
102970
|
+
},
|
|
102971
|
+
"then": {
|
|
102972
|
+
"enum": [
|
|
102973
|
+
"256",
|
|
102974
|
+
"512",
|
|
102975
|
+
"1024",
|
|
102976
|
+
"2048",
|
|
102977
|
+
"4096",
|
|
102978
|
+
"8192",
|
|
102979
|
+
"16384"
|
|
102980
|
+
]
|
|
102981
|
+
}
|
|
102982
|
+
}
|
|
102983
|
+
}
|
|
102984
|
+
}
|
|
102985
|
+
}
|
|
102986
|
+
]
|
|
102987
|
+
}
|
|
102988
|
+
},
|
|
102894
102989
|
{
|
|
102895
102990
|
"name": "fargate_cpu_memory",
|
|
102896
102991
|
"type": "if_then",
|
|
@@ -103196,142 +103291,6 @@
|
|
|
103196
103291
|
}
|
|
103197
103292
|
]
|
|
103198
103293
|
}
|
|
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
103294
|
}
|
|
103336
103295
|
],
|
|
103337
103296
|
"createOnly": [
|