@intentius/chant-lexicon-aws 0.1.0 → 0.1.4

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.
Files changed (39) hide show
  1. package/dist/integrity.json +25 -19
  2. package/dist/manifest.json +1 -1
  3. package/dist/meta.json +734 -435
  4. package/dist/rules/waw032.ts +52 -0
  5. package/dist/rules/waw033.ts +86 -0
  6. package/dist/rules/waw034.ts +63 -0
  7. package/dist/rules/waw035.ts +71 -0
  8. package/dist/rules/waw036.ts +88 -0
  9. package/dist/rules/waw037.ts +81 -0
  10. package/dist/types/index.d.ts +991 -59
  11. package/package.json +2 -2
  12. package/src/codegen/docs.ts +9 -1
  13. package/src/composites/composites.test.ts +65 -0
  14. package/src/composites/ec2-instance-role.ts +39 -0
  15. package/src/composites/efs-with-access-point.ts +90 -0
  16. package/src/composites/fargate-service.ts +102 -2
  17. package/src/composites/index.ts +8 -0
  18. package/src/composites/lambda-dynamodb.ts +66 -17
  19. package/src/composites/lambda-function.ts +2 -1
  20. package/src/composites/lambda-s3.ts +66 -20
  21. package/src/composites/minimal-vpc.ts +71 -0
  22. package/src/composites/solr-fargate-service.ts +42 -0
  23. package/src/generated/index.d.ts +991 -59
  24. package/src/generated/index.ts +34 -5
  25. package/src/generated/lexicon-aws.json +734 -435
  26. package/src/index.ts +4 -0
  27. package/src/lint/post-synth/waw032.test.ts +83 -0
  28. package/src/lint/post-synth/waw032.ts +52 -0
  29. package/src/lint/post-synth/waw033.test.ts +68 -0
  30. package/src/lint/post-synth/waw033.ts +86 -0
  31. package/src/lint/post-synth/waw034.test.ts +54 -0
  32. package/src/lint/post-synth/waw034.ts +63 -0
  33. package/src/lint/post-synth/waw035.test.ts +74 -0
  34. package/src/lint/post-synth/waw035.ts +71 -0
  35. package/src/lint/post-synth/waw036.test.ts +217 -0
  36. package/src/lint/post-synth/waw036.ts +88 -0
  37. package/src/lint/post-synth/waw037.test.ts +155 -0
  38. package/src/lint/post-synth/waw037.ts +81 -0
  39. package/src/serializer.ts +1 -3
@@ -10795,6 +10795,11 @@
10795
10795
  "kind": "property",
10796
10796
  "lexicon": "aws"
10797
10797
  },
10798
+ "AttachPoint": {
10799
+ "resourceType": "AWS::Interconnect::Connection.AttachPoint",
10800
+ "kind": "property",
10801
+ "lexicon": "aws"
10802
+ },
10798
10803
  "AttachmentsConfiguration": {
10799
10804
  "resourceType": "AWS::QBusiness::Application.AttachmentsConfiguration",
10800
10805
  "kind": "property",
@@ -18037,6 +18042,11 @@
18037
18042
  "kind": "property",
18038
18043
  "lexicon": "aws"
18039
18044
  },
18045
+ "CgroupCustomSetting": {
18046
+ "resourceType": "AWS::PCS::Cluster.CgroupCustomSetting",
18047
+ "kind": "property",
18048
+ "lexicon": "aws"
18049
+ },
18040
18050
  "Challenge": {
18041
18051
  "resourceType": "AWS::PCAConnectorSCEP::Challenge",
18042
18052
  "kind": "resource",
@@ -19452,6 +19462,11 @@
19452
19462
  "kind": "property",
19453
19463
  "lexicon": "aws"
19454
19464
  },
19465
+ "CloudWatchLogConfiguration": {
19466
+ "resourceType": "AWS::EMR::Cluster.CloudWatchLogConfiguration",
19467
+ "kind": "property",
19468
+ "lexicon": "aws"
19469
+ },
19455
19470
  "CloudWatchLoggingOption": {
19456
19471
  "resourceType": "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption",
19457
19472
  "kind": "property",
@@ -26931,15 +26946,15 @@
26931
26946
  "Arn": "Arn"
26932
26947
  },
26933
26948
  "propertyConstraints": {
26934
- "CustomPermissionsName": {
26935
- "pattern": "^[a-zA-Z0-9+=,.@_-]+$",
26936
- "minLength": 1,
26937
- "maxLength": 64
26938
- },
26939
26949
  "AwsAccountId": {
26940
26950
  "pattern": "^[0-9]{12}$",
26941
26951
  "minLength": 12,
26942
26952
  "maxLength": 12
26953
+ },
26954
+ "CustomPermissionsName": {
26955
+ "pattern": "^[a-zA-Z0-9+=,.@_-]+$",
26956
+ "minLength": 1,
26957
+ "maxLength": 64
26943
26958
  }
26944
26959
  },
26945
26960
  "createOnly": [
@@ -32142,6 +32157,38 @@
32142
32157
  "StorageThroughput": "StorageThroughput"
32143
32158
  },
32144
32159
  "constraints": [
32160
+ {
32161
+ "name": "aurora_warning",
32162
+ "type": "if_then",
32163
+ "condition": {
32164
+ "properties": {
32165
+ "Engine": {
32166
+ "enum": [
32167
+ "aurora-mysql",
32168
+ "aurora-postgresql"
32169
+ ],
32170
+ "type": "string"
32171
+ },
32172
+ "EngineMode": {
32173
+ "enum": [
32174
+ "serverless"
32175
+ ],
32176
+ "type": "string"
32177
+ }
32178
+ },
32179
+ "required": [
32180
+ "Engine",
32181
+ "EngineMode"
32182
+ ]
32183
+ },
32184
+ "requirement": {
32185
+ "properties": {
32186
+ "PerformanceInsightsEnabled": false,
32187
+ "PerformanceInsightsKmsKeyId": false,
32188
+ "PerformanceInsightsRetentionPeriod": false
32189
+ }
32190
+ }
32191
+ },
32145
32192
  {
32146
32193
  "name": "aurora",
32147
32194
  "type": "if_then",
@@ -32234,152 +32281,120 @@
32234
32281
  }
32235
32282
  },
32236
32283
  {
32237
- "name": "sourcedbclusteridentifier",
32284
+ "name": "serverless_exclusive_0",
32238
32285
  "type": "if_then",
32239
32286
  "condition": {
32240
32287
  "properties": {
32241
- "SourceDBClusterIdentifier": {
32242
- "type": "string"
32288
+ "EngineMode": {
32289
+ "const": "provisioned"
32243
32290
  }
32244
32291
  },
32245
32292
  "required": [
32246
- "SourceDBClusterIdentifier"
32247
- ]
32248
- },
32249
- "requirement": {
32250
- "properties": {
32251
- "MasterUserPassword": false,
32252
- "MasterUsername": false,
32253
- "StorageEncrypted": false
32254
- }
32255
- }
32256
- },
32257
- {
32258
- "name": "monitoring",
32259
- "type": "if_then",
32260
- "condition": {
32261
- "properties": {
32262
- "MonitoringRoleArn": true
32263
- },
32264
- "required": [
32265
- "MonitoringRoleArn"
32293
+ "EngineMode"
32266
32294
  ],
32267
32295
  "type": "object"
32268
32296
  },
32269
32297
  "requirement": {
32270
32298
  "properties": {
32271
- "MonitoringInterval": {
32272
- "exclusiveMinimum": 0
32273
- }
32274
- },
32275
- "required": [
32276
- "MonitoringInterval"
32277
- ]
32299
+ "ScalingConfiguration": false
32300
+ }
32278
32301
  }
32279
32302
  },
32280
32303
  {
32281
- "name": "snapshotidentifier",
32304
+ "name": "serverless_exclusive_1",
32282
32305
  "type": "if_then",
32283
32306
  "condition": {
32284
32307
  "properties": {
32285
- "SnapshotIdentifier": {
32286
- "type": "string"
32308
+ "EngineMode": {
32309
+ "const": "serverless"
32287
32310
  }
32288
32311
  },
32289
32312
  "required": [
32290
- "SnapshotIdentifier"
32291
- ]
32313
+ "EngineMode"
32314
+ ],
32315
+ "type": "object"
32292
32316
  },
32293
32317
  "requirement": {
32294
32318
  "properties": {
32295
- "MasterUsername": false
32319
+ "ServerlessV2ScalingConfiguration": false
32296
32320
  }
32297
32321
  }
32298
32322
  },
32299
32323
  {
32300
- "name": "aurora_warning",
32324
+ "name": "serverless_exclusive_2",
32301
32325
  "type": "if_then",
32302
32326
  "condition": {
32303
32327
  "properties": {
32304
- "Engine": {
32305
- "enum": [
32306
- "aurora-mysql",
32307
- "aurora-postgresql"
32308
- ],
32309
- "type": "string"
32310
- },
32311
- "EngineMode": {
32312
- "enum": [
32313
- "serverless"
32314
- ],
32315
- "type": "string"
32316
- }
32328
+ "EngineMode": false
32317
32329
  },
32318
- "required": [
32319
- "Engine",
32320
- "EngineMode"
32321
- ]
32330
+ "type": "object"
32322
32331
  },
32323
32332
  "requirement": {
32324
32333
  "properties": {
32325
- "PerformanceInsightsEnabled": false,
32326
- "PerformanceInsightsKmsKeyId": false,
32327
- "PerformanceInsightsRetentionPeriod": false
32334
+ "ScalingConfiguration": false
32328
32335
  }
32329
32336
  }
32330
32337
  },
32331
32338
  {
32332
- "name": "serverless_exclusive_0",
32339
+ "name": "monitoring",
32333
32340
  "type": "if_then",
32334
32341
  "condition": {
32335
32342
  "properties": {
32336
- "EngineMode": {
32337
- "const": "provisioned"
32338
- }
32343
+ "MonitoringRoleArn": true
32339
32344
  },
32340
32345
  "required": [
32341
- "EngineMode"
32346
+ "MonitoringRoleArn"
32342
32347
  ],
32343
32348
  "type": "object"
32344
32349
  },
32345
32350
  "requirement": {
32346
32351
  "properties": {
32347
- "ScalingConfiguration": false
32348
- }
32352
+ "MonitoringInterval": {
32353
+ "exclusiveMinimum": 0
32354
+ }
32355
+ },
32356
+ "required": [
32357
+ "MonitoringInterval"
32358
+ ]
32349
32359
  }
32350
32360
  },
32351
32361
  {
32352
- "name": "serverless_exclusive_1",
32362
+ "name": "snapshotidentifier",
32353
32363
  "type": "if_then",
32354
32364
  "condition": {
32355
32365
  "properties": {
32356
- "EngineMode": {
32357
- "const": "serverless"
32366
+ "SnapshotIdentifier": {
32367
+ "type": "string"
32358
32368
  }
32359
32369
  },
32360
32370
  "required": [
32361
- "EngineMode"
32362
- ],
32363
- "type": "object"
32371
+ "SnapshotIdentifier"
32372
+ ]
32364
32373
  },
32365
32374
  "requirement": {
32366
32375
  "properties": {
32367
- "ServerlessV2ScalingConfiguration": false
32376
+ "MasterUsername": false
32368
32377
  }
32369
32378
  }
32370
32379
  },
32371
32380
  {
32372
- "name": "serverless_exclusive_2",
32381
+ "name": "sourcedbclusteridentifier",
32373
32382
  "type": "if_then",
32374
32383
  "condition": {
32375
32384
  "properties": {
32376
- "EngineMode": false
32385
+ "SourceDBClusterIdentifier": {
32386
+ "type": "string"
32387
+ }
32377
32388
  },
32378
- "type": "object"
32389
+ "required": [
32390
+ "SourceDBClusterIdentifier"
32391
+ ]
32379
32392
  },
32380
32393
  "requirement": {
32381
32394
  "properties": {
32382
- "ScalingConfiguration": false
32395
+ "MasterUserPassword": false,
32396
+ "MasterUsername": false,
32397
+ "StorageEncrypted": false
32383
32398
  }
32384
32399
  }
32385
32400
  },
@@ -32781,6 +32796,66 @@
32781
32796
  "StatusInfos": "StatusInfos"
32782
32797
  },
32783
32798
  "constraints": [
32799
+ {
32800
+ "name": "aurora_exclusive",
32801
+ "type": "if_then",
32802
+ "condition": {
32803
+ "properties": {
32804
+ "Engine": {
32805
+ "pattern": "(aurora|aurora-mysql|aurora-postgresql)",
32806
+ "type": "string"
32807
+ }
32808
+ },
32809
+ "required": [
32810
+ "Engine"
32811
+ ],
32812
+ "type": "object"
32813
+ },
32814
+ "requirement": {
32815
+ "not": {
32816
+ "anyOf": [
32817
+ {
32818
+ "required": [
32819
+ "AllocatedStorage"
32820
+ ]
32821
+ },
32822
+ {
32823
+ "required": [
32824
+ "BackupRetentionPeriod"
32825
+ ]
32826
+ },
32827
+ {
32828
+ "required": [
32829
+ "CopyTagsToSnapshot"
32830
+ ]
32831
+ },
32832
+ {
32833
+ "required": [
32834
+ "DeletionProtection"
32835
+ ]
32836
+ },
32837
+ {
32838
+ "required": [
32839
+ "EnableIAMDatabaseAuthentication"
32840
+ ]
32841
+ },
32842
+ {
32843
+ "required": [
32844
+ "MasterUserPassword"
32845
+ ]
32846
+ }
32847
+ ],
32848
+ "properties": {
32849
+ "AllocatedStorage": true,
32850
+ "BackupRetentionPeriod": true,
32851
+ "CopyTagsToSnapshot": true,
32852
+ "DeletionProtection": true,
32853
+ "EnableIAMDatabaseAuthentication": true,
32854
+ "MasterUserPassword": true
32855
+ }
32856
+ }
32857
+ }
32858
+ },
32784
32859
  {
32785
32860
  "name": "backupretentionperiod",
32786
32861
  "type": "if_then",
@@ -33687,66 +33762,6 @@
33687
33762
  }
33688
33763
  }
33689
33764
  }
33690
- },
33691
- {
33692
- "name": "aurora_exclusive",
33693
- "type": "if_then",
33694
- "condition": {
33695
- "properties": {
33696
- "Engine": {
33697
- "pattern": "(aurora|aurora-mysql|aurora-postgresql)",
33698
- "type": "string"
33699
- }
33700
- },
33701
- "required": [
33702
- "Engine"
33703
- ],
33704
- "type": "object"
33705
- },
33706
- "requirement": {
33707
- "not": {
33708
- "anyOf": [
33709
- {
33710
- "required": [
33711
- "AllocatedStorage"
33712
- ]
33713
- },
33714
- {
33715
- "required": [
33716
- "BackupRetentionPeriod"
33717
- ]
33718
- },
33719
- {
33720
- "required": [
33721
- "CopyTagsToSnapshot"
33722
- ]
33723
- },
33724
- {
33725
- "required": [
33726
- "DeletionProtection"
33727
- ]
33728
- },
33729
- {
33730
- "required": [
33731
- "EnableIAMDatabaseAuthentication"
33732
- ]
33733
- },
33734
- {
33735
- "required": [
33736
- "MasterUserPassword"
33737
- ]
33738
- }
33739
- ],
33740
- "properties": {
33741
- "AllocatedStorage": true,
33742
- "BackupRetentionPeriod": true,
33743
- "CopyTagsToSnapshot": true,
33744
- "DeletionProtection": true,
33745
- "EnableIAMDatabaseAuthentication": true,
33746
- "MasterUserPassword": true
33747
- }
33748
- }
33749
- }
33750
33765
  }
33751
33766
  ],
33752
33767
  "propertyConstraints": {
@@ -38177,23 +38192,24 @@
38177
38192
  "FleetId": "FleetId"
38178
38193
  },
38179
38194
  "propertyConstraints": {
38180
- "ExcessCapacityTerminationPolicy": {
38181
- "enum": [
38182
- "termination",
38183
- "no-termination"
38184
- ]
38185
- },
38186
38195
  "Type": {
38187
38196
  "enum": [
38188
38197
  "maintain",
38189
38198
  "request",
38190
38199
  "instant"
38191
38200
  ]
38201
+ },
38202
+ "ExcessCapacityTerminationPolicy": {
38203
+ "enum": [
38204
+ "termination",
38205
+ "no-termination"
38206
+ ]
38192
38207
  }
38193
38208
  },
38194
38209
  "createOnly": [
38195
38210
  "LaunchTemplateConfigs",
38196
38211
  "OnDemandOptions",
38212
+ "ReservedCapacityOptions",
38197
38213
  "ReplaceUnhealthyInstances",
38198
38214
  "SpotOptions",
38199
38215
  "TagSpecifications",
@@ -39116,32 +39132,62 @@
39116
39132
  "Id": "Id",
39117
39133
  "MasterPublicDNS": "MasterPublicDNS"
39118
39134
  },
39135
+ "propertyConstraints": {
39136
+ "ScaleDownBehavior": {
39137
+ "enum": [
39138
+ "TERMINATE_AT_INSTANCE_HOUR",
39139
+ "TERMINATE_AT_TASK_COMPLETION"
39140
+ ]
39141
+ }
39142
+ },
39119
39143
  "createOnly": [
39120
39144
  "Steps",
39121
39145
  "EbsRootVolumeSize",
39122
39146
  "SecurityConfiguration",
39123
39147
  "ScaleDownBehavior",
39124
- "Configurations",
39125
39148
  "ReleaseLabel",
39126
- "BootstrapActions",
39127
- "EbsRootVolumeIops",
39128
39149
  "KerberosAttributes",
39129
39150
  "ServiceRole",
39130
39151
  "LogEncryptionKmsKeyId",
39131
39152
  "Name",
39132
- "EbsRootVolumeThroughput",
39133
39153
  "JobFlowRole",
39134
- "AdditionalInfo",
39135
39154
  "LogUri",
39155
+ "AdditionalInfo",
39156
+ "Applications",
39157
+ "AutoScalingRole",
39158
+ "BootstrapActions",
39159
+ "Configurations",
39136
39160
  "CustomAmiId",
39137
- "PlacementGroupConfigs",
39138
39161
  "OSReleaseLabel",
39139
- "AutoScalingRole",
39140
- "Applications"
39162
+ "EbsRootVolumeIops",
39163
+ "EbsRootVolumeThroughput",
39164
+ "PlacementGroupConfigs",
39165
+ "MonitoringConfiguration"
39166
+ ],
39167
+ "writeOnly": [
39168
+ "AdditionalInfo",
39169
+ "LogEncryptionKmsKeyId",
39170
+ "KerberosAttributes/ADDomainJoinPassword",
39171
+ "KerberosAttributes/ADDomainJoinUser",
39172
+ "KerberosAttributes/CrossRealmTrustPrincipalPassword",
39173
+ "KerberosAttributes/KdcAdminPassword",
39174
+ "Steps",
39175
+ "BootstrapActions"
39141
39176
  ],
39142
39177
  "primaryIdentifier": [
39143
39178
  "Id"
39144
- ]
39179
+ ],
39180
+ "deprecatedProperties": [
39181
+ "VisibleToAllUsers"
39182
+ ],
39183
+ "conditionalCreateOnly": [
39184
+ "Instances"
39185
+ ],
39186
+ "tagging": {
39187
+ "taggable": true,
39188
+ "tagOnCreate": true,
39189
+ "tagUpdatable": true
39190
+ }
39145
39191
  },
39146
39192
  "EMRCluster_Application": {
39147
39193
  "resourceType": "AWS::EMR::Cluster.Application",
@@ -39168,13 +39214,18 @@
39168
39214
  "kind": "property",
39169
39215
  "lexicon": "aws"
39170
39216
  },
39217
+ "EMRCluster_CloudWatchLogConfiguration": {
39218
+ "resourceType": "AWS::EMR::Cluster.CloudWatchLogConfiguration",
39219
+ "kind": "property",
39220
+ "lexicon": "aws"
39221
+ },
39171
39222
  "EMRCluster_ComputeLimits": {
39172
39223
  "resourceType": "AWS::EMR::Cluster.ComputeLimits",
39173
39224
  "kind": "property",
39174
39225
  "lexicon": "aws"
39175
39226
  },
39176
- "EMRCluster_Configuration": {
39177
- "resourceType": "AWS::EMR::Cluster.Configuration",
39227
+ "EMRCluster_EMRConfiguration": {
39228
+ "resourceType": "AWS::EMR::Cluster.EMRConfiguration",
39178
39229
  "kind": "property",
39179
39230
  "lexicon": "aws"
39180
39231
  },
@@ -39243,6 +39294,11 @@
39243
39294
  "kind": "property",
39244
39295
  "lexicon": "aws"
39245
39296
  },
39297
+ "EMRCluster_MonitoringConfiguration": {
39298
+ "resourceType": "AWS::EMR::Cluster.MonitoringConfiguration",
39299
+ "kind": "property",
39300
+ "lexicon": "aws"
39301
+ },
39246
39302
  "EMRCluster_OnDemandCapacityReservationOptions": {
39247
39303
  "resourceType": "AWS::EMR::Cluster.OnDemandCapacityReservationOptions",
39248
39304
  "kind": "property",
@@ -39323,6 +39379,11 @@
39323
39379
  "kind": "property",
39324
39380
  "lexicon": "aws"
39325
39381
  },
39382
+ "EMRConfiguration": {
39383
+ "resourceType": "AWS::EMR::Cluster.EMRConfiguration",
39384
+ "kind": "property",
39385
+ "lexicon": "aws"
39386
+ },
39326
39387
  "EMRContainersEndpoint": {
39327
39388
  "resourceType": "AWS::EMRContainers::Endpoint",
39328
39389
  "kind": "resource",
@@ -40078,6 +40139,43 @@
40078
40139
  "Name": "Name"
40079
40140
  },
40080
40141
  "constraints": [
40142
+ {
40143
+ "name": "healthcheckgraceperiodseconds",
40144
+ "type": "if_then",
40145
+ "condition": {
40146
+ "properties": {
40147
+ "HealthCheckGracePeriodSeconds": {
40148
+ "type": [
40149
+ "string",
40150
+ "integer"
40151
+ ]
40152
+ }
40153
+ },
40154
+ "required": [
40155
+ "HealthCheckGracePeriodSeconds"
40156
+ ],
40157
+ "type": "object"
40158
+ },
40159
+ "requirement": {
40160
+ "if": {
40161
+ "properties": {
40162
+ "LoadBalancers": {
40163
+ "type": "array"
40164
+ }
40165
+ }
40166
+ },
40167
+ "required": [
40168
+ "LoadBalancers"
40169
+ ],
40170
+ "then": {
40171
+ "properties": {
40172
+ "LoadBalancers": {
40173
+ "minItems": 1
40174
+ }
40175
+ }
40176
+ }
40177
+ }
40178
+ },
40081
40179
  {
40082
40180
  "name": "fargate",
40083
40181
  "type": "if_then",
@@ -40133,43 +40231,6 @@
40133
40231
  }
40134
40232
  }
40135
40233
  }
40136
- },
40137
- {
40138
- "name": "healthcheckgraceperiodseconds",
40139
- "type": "if_then",
40140
- "condition": {
40141
- "properties": {
40142
- "HealthCheckGracePeriodSeconds": {
40143
- "type": [
40144
- "string",
40145
- "integer"
40146
- ]
40147
- }
40148
- },
40149
- "required": [
40150
- "HealthCheckGracePeriodSeconds"
40151
- ],
40152
- "type": "object"
40153
- },
40154
- "requirement": {
40155
- "if": {
40156
- "properties": {
40157
- "LoadBalancers": {
40158
- "type": "array"
40159
- }
40160
- }
40161
- },
40162
- "required": [
40163
- "LoadBalancers"
40164
- ],
40165
- "then": {
40166
- "properties": {
40167
- "LoadBalancers": {
40168
- "minItems": 1
40169
- }
40170
- }
40171
- }
40172
- }
40173
40234
  }
40174
40235
  ],
40175
40236
  "propertyConstraints": {
@@ -43379,11 +43440,6 @@
43379
43440
  "kind": "property",
43380
43441
  "lexicon": "aws"
43381
43442
  },
43382
- "EventParameters": {
43383
- "resourceType": "AWS::DLM::LifecyclePolicy.EventParameters",
43384
- "kind": "property",
43385
- "lexicon": "aws"
43386
- },
43387
43443
  "EventRule": {
43388
43444
  "resourceType": "AWS::Events::Rule",
43389
43445
  "kind": "resource",
@@ -43616,12 +43672,12 @@
43616
43672
  },
43617
43673
  "constraints": [
43618
43674
  {
43619
- "name": "eventsourcearn_stream_inclusive",
43675
+ "name": "eventsourcearn_sqs_exclusive",
43620
43676
  "type": "if_then",
43621
43677
  "condition": {
43622
43678
  "properties": {
43623
43679
  "EventSourceArn": {
43624
- "pattern": "arn:aws.*:(kinesis|kafka|dynamodb):.*",
43680
+ "pattern": "^arn:(aws[a-zA-Z0-9-]*):sqs:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)$",
43625
43681
  "type": "string"
43626
43682
  }
43627
43683
  },
@@ -43631,18 +43687,18 @@
43631
43687
  "type": "object"
43632
43688
  },
43633
43689
  "requirement": {
43634
- "required": [
43635
- "StartingPosition"
43636
- ]
43690
+ "properties": {
43691
+ "StartingPosition": false
43692
+ }
43637
43693
  }
43638
43694
  },
43639
43695
  {
43640
- "name": "eventsourcearn_sqs_exclusive",
43696
+ "name": "eventsourcearn_stream_inclusive",
43641
43697
  "type": "if_then",
43642
43698
  "condition": {
43643
43699
  "properties": {
43644
43700
  "EventSourceArn": {
43645
- "pattern": "^arn:(aws[a-zA-Z0-9-]*):sqs:([a-z]{2}(-gov)?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)$",
43701
+ "pattern": "arn:aws.*:(kinesis|kafka|dynamodb):.*",
43646
43702
  "type": "string"
43647
43703
  }
43648
43704
  },
@@ -43652,9 +43708,9 @@
43652
43708
  "type": "object"
43653
43709
  },
43654
43710
  "requirement": {
43655
- "properties": {
43656
- "StartingPosition": false
43657
- }
43711
+ "required": [
43712
+ "StartingPosition"
43713
+ ]
43658
43714
  }
43659
43715
  }
43660
43716
  ],
@@ -43951,6 +44007,11 @@
43951
44007
  "kind": "property",
43952
44008
  "lexicon": "aws"
43953
44009
  },
44010
+ "EventsConfig": {
44011
+ "resourceType": "AWS::CustomerProfiles::Recommender.EventsConfig",
44012
+ "kind": "property",
44013
+ "lexicon": "aws"
44014
+ },
43954
44015
  "EventsConnection": {
43955
44016
  "resourceType": "AWS::Events::Connection",
43956
44017
  "kind": "resource",
@@ -46167,6 +46228,11 @@
46167
46228
  "kind": "property",
46168
46229
  "lexicon": "aws"
46169
46230
  },
46231
+ "FipsEndpoints": {
46232
+ "resourceType": "AWS::OpenSearchServerless::Collection.FipsEndpoints",
46233
+ "kind": "property",
46234
+ "lexicon": "aws"
46235
+ },
46170
46236
  "FirehoseAction": {
46171
46237
  "resourceType": "AWS::IoT::TopicRule.FirehoseAction",
46172
46238
  "kind": "property",
@@ -48071,7 +48137,7 @@
48071
48137
  },
48072
48138
  "constraints": [
48073
48139
  {
48074
- "name": "zipfile_runtime_enum",
48140
+ "name": "zipfile_runtime_exists",
48075
48141
  "type": "if_then",
48076
48142
  "condition": {
48077
48143
  "properties": {
@@ -48084,28 +48150,21 @@
48084
48150
  "ZipFile"
48085
48151
  ],
48086
48152
  "type": "object"
48087
- },
48088
- "Runtime": {
48089
- "type": "string"
48090
48153
  }
48091
48154
  },
48092
48155
  "required": [
48093
- "Code",
48094
- "Runtime"
48156
+ "Code"
48095
48157
  ],
48096
48158
  "type": "object"
48097
48159
  },
48098
48160
  "requirement": {
48099
- "properties": {
48100
- "Runtime": {
48101
- "pattern": "^(nodejs.*|python.*)$"
48102
- },
48103
- "required": true
48104
- }
48161
+ "required": [
48162
+ "Runtime"
48163
+ ]
48105
48164
  }
48106
48165
  },
48107
48166
  {
48108
- "name": "zipfile_runtime_exists",
48167
+ "name": "zipfile_runtime_enum",
48109
48168
  "type": "if_then",
48110
48169
  "condition": {
48111
48170
  "properties": {
@@ -48118,17 +48177,24 @@
48118
48177
  "ZipFile"
48119
48178
  ],
48120
48179
  "type": "object"
48180
+ },
48181
+ "Runtime": {
48182
+ "type": "string"
48121
48183
  }
48122
48184
  },
48123
48185
  "required": [
48124
- "Code"
48186
+ "Code",
48187
+ "Runtime"
48125
48188
  ],
48126
48189
  "type": "object"
48127
48190
  },
48128
48191
  "requirement": {
48129
- "required": [
48130
- "Runtime"
48131
- ]
48192
+ "properties": {
48193
+ "Runtime": {
48194
+ "pattern": "^(nodejs.*|python.*)$"
48195
+ },
48196
+ "required": true
48197
+ }
48132
48198
  }
48133
48199
  }
48134
48200
  ],
@@ -53969,6 +54035,14 @@
53969
54035
  "format": "AWS::IAM::Role.Arn"
53970
54036
  }
53971
54037
  },
54038
+ "createOnly": [
54039
+ "Name"
54040
+ ],
54041
+ "writeOnly": [
54042
+ "SoftwaresToInstall",
54043
+ "SoftwaresToUninstall",
54044
+ "ImageName"
54045
+ ],
53972
54046
  "primaryIdentifier": [
53973
54047
  "Name"
53974
54048
  ]
@@ -54272,6 +54346,11 @@
54272
54346
  "kind": "property",
54273
54347
  "lexicon": "aws"
54274
54348
  },
54349
+ "ImageBuilder_VolumeConfig": {
54350
+ "resourceType": "AWS::AppStream::ImageBuilder.VolumeConfig",
54351
+ "kind": "property",
54352
+ "lexicon": "aws"
54353
+ },
54275
54354
  "ImageBuilder_VpcConfig": {
54276
54355
  "resourceType": "AWS::AppStream::ImageBuilder.VpcConfig",
54277
54356
  "kind": "property",
@@ -55076,6 +55155,11 @@
55076
55155
  "kind": "property",
55077
55156
  "lexicon": "aws"
55078
55157
  },
55158
+ "InferenceSettings": {
55159
+ "resourceType": "AWS::MediaLive::Channel.InferenceSettings",
55160
+ "kind": "property",
55161
+ "lexicon": "aws"
55162
+ },
55079
55163
  "InfluxDBCluster": {
55080
55164
  "resourceType": "AWS::Timestream::InfluxDBCluster",
55081
55165
  "kind": "resource",
@@ -55981,51 +56065,6 @@
55981
56065
  "State": "State"
55982
56066
  },
55983
56067
  "constraints": [
55984
- {
55985
- "name": "privateipaddress",
55986
- "type": "if_then",
55987
- "condition": {
55988
- "required": [
55989
- "PrivateIpAddress"
55990
- ]
55991
- },
55992
- "requirement": {
55993
- "properties": {
55994
- "NetworkInterfaces": {
55995
- "items": {
55996
- "properties": {
55997
- "PrivateIpAddress": false,
55998
- "PrivateIpAddresses": {
55999
- "items": {
56000
- "properties": {
56001
- "Primary": {
56002
- "enum": [
56003
- false
56004
- ]
56005
- }
56006
- }
56007
- },
56008
- "type": "array"
56009
- }
56010
- }
56011
- },
56012
- "type": "array"
56013
- },
56014
- "PrivateIpAddresses": {
56015
- "items": {
56016
- "properties": {
56017
- "Primary": {
56018
- "enum": [
56019
- false
56020
- ]
56021
- }
56022
- }
56023
- },
56024
- "type": "array"
56025
- }
56026
- }
56027
- }
56028
- },
56029
56068
  {
56030
56069
  "name": "blockdevicemappings_0",
56031
56070
  "type": "if_then",
@@ -56073,6 +56112,51 @@
56073
56112
  "Iops": false
56074
56113
  }
56075
56114
  }
56115
+ },
56116
+ {
56117
+ "name": "privateipaddress",
56118
+ "type": "if_then",
56119
+ "condition": {
56120
+ "required": [
56121
+ "PrivateIpAddress"
56122
+ ]
56123
+ },
56124
+ "requirement": {
56125
+ "properties": {
56126
+ "NetworkInterfaces": {
56127
+ "items": {
56128
+ "properties": {
56129
+ "PrivateIpAddress": false,
56130
+ "PrivateIpAddresses": {
56131
+ "items": {
56132
+ "properties": {
56133
+ "Primary": {
56134
+ "enum": [
56135
+ false
56136
+ ]
56137
+ }
56138
+ }
56139
+ },
56140
+ "type": "array"
56141
+ }
56142
+ }
56143
+ },
56144
+ "type": "array"
56145
+ },
56146
+ "PrivateIpAddresses": {
56147
+ "items": {
56148
+ "properties": {
56149
+ "Primary": {
56150
+ "enum": [
56151
+ false
56152
+ ]
56153
+ }
56154
+ }
56155
+ },
56156
+ "type": "array"
56157
+ }
56158
+ }
56159
+ }
56076
56160
  }
56077
56161
  ],
56078
56162
  "propertyConstraints": {
@@ -56899,6 +56983,97 @@
56899
56983
  "kind": "property",
56900
56984
  "lexicon": "aws"
56901
56985
  },
56986
+ "InterconnectConnection": {
56987
+ "resourceType": "AWS::Interconnect::Connection",
56988
+ "kind": "resource",
56989
+ "lexicon": "aws",
56990
+ "attrs": {
56991
+ "ConnectionId": "ConnectionId",
56992
+ "Arn": "Arn",
56993
+ "Provider": "Provider",
56994
+ "Type": "Type",
56995
+ "State": "State",
56996
+ "SharedId": "SharedId",
56997
+ "OwnerAccount": "OwnerAccount",
56998
+ "BillingTier": "BillingTier"
56999
+ },
57000
+ "propertyConstraints": {
57001
+ "ConnectionId": {
57002
+ "pattern": "^mcc-[a-z0-9]{8}$"
57003
+ },
57004
+ "Arn": {
57005
+ "pattern": "^arn:aws[a-z-]*:interconnect:[^:]+:[0-9]{12}:connection/mcc-[a-z0-9]{8}$"
57006
+ },
57007
+ "Description": {
57008
+ "pattern": "^[-a-zA-Z0-9_ ]+$",
57009
+ "maxLength": 255
57010
+ },
57011
+ "Bandwidth": {
57012
+ "pattern": "^\\d+[MG]bps$"
57013
+ },
57014
+ "EnvironmentId": {
57015
+ "minLength": 1,
57016
+ "maxLength": 32
57017
+ },
57018
+ "RemoteOwnerAccount": {
57019
+ "pattern": "^[-a-zA-Z0-9_@\\.]+$",
57020
+ "maxLength": 255
57021
+ },
57022
+ "Type": {
57023
+ "minLength": 5,
57024
+ "maxLength": 32
57025
+ },
57026
+ "State": {
57027
+ "enum": [
57028
+ "available",
57029
+ "requested",
57030
+ "pending",
57031
+ "down",
57032
+ "deleting",
57033
+ "deleted",
57034
+ "failed"
57035
+ ]
57036
+ },
57037
+ "SharedId": {
57038
+ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
57039
+ },
57040
+ "BillingTier": {
57041
+ "minimum": 0,
57042
+ "maximum": 8
57043
+ }
57044
+ },
57045
+ "createOnly": [
57046
+ "AttachPoint",
57047
+ "EnvironmentId",
57048
+ "ActivationKey"
57049
+ ],
57050
+ "writeOnly": [
57051
+ "RemoteOwnerAccount"
57052
+ ],
57053
+ "primaryIdentifier": [
57054
+ "Arn"
57055
+ ],
57056
+ "tagging": {
57057
+ "taggable": true,
57058
+ "tagOnCreate": true,
57059
+ "tagUpdatable": true
57060
+ }
57061
+ },
57062
+ "InterconnectConnection_AttachPoint": {
57063
+ "resourceType": "AWS::Interconnect::Connection.AttachPoint",
57064
+ "kind": "property",
57065
+ "lexicon": "aws"
57066
+ },
57067
+ "InterconnectConnection_Provider": {
57068
+ "resourceType": "AWS::Interconnect::Connection.Provider",
57069
+ "kind": "property",
57070
+ "lexicon": "aws"
57071
+ },
57072
+ "InterconnectConnection_Tag": {
57073
+ "resourceType": "AWS::Interconnect::Connection.Tag",
57074
+ "kind": "property",
57075
+ "lexicon": "aws"
57076
+ },
56902
57077
  "InterfaceMapping": {
56903
57078
  "resourceType": "AWS::MediaLive::Cluster.InterfaceMapping",
56904
57079
  "kind": "property",
@@ -64675,6 +64850,9 @@
64675
64850
  },
64676
64851
  "DeletionProtectionEnabled": {
64677
64852
  "default": false
64853
+ },
64854
+ "BearerTokenAuthenticationEnabled": {
64855
+ "default": false
64678
64856
  }
64679
64857
  },
64680
64858
  "createOnly": [
@@ -68034,6 +68212,11 @@
68034
68212
  "kind": "property",
68035
68213
  "lexicon": "aws"
68036
68214
  },
68215
+ "MediaLiveChannel_InferenceSettings": {
68216
+ "resourceType": "AWS::MediaLive::Channel.InferenceSettings",
68217
+ "kind": "property",
68218
+ "lexicon": "aws"
68219
+ },
68037
68220
  "MediaLiveChannel_InputAttachment": {
68038
68221
  "resourceType": "AWS::MediaLive::Channel.InputAttachment",
68039
68222
  "kind": "property",
@@ -74159,17 +74342,17 @@
74159
74342
  "Arn": "Arn"
74160
74343
  },
74161
74344
  "propertyConstraints": {
74162
- "ClusterName": {
74345
+ "NodegroupName": {
74163
74346
  "minLength": 1
74164
74347
  },
74348
+ "Subnets": {
74349
+ "format": "AWS::EC2::Subnet.Ids"
74350
+ },
74165
74351
  "ForceUpdateEnabled": {
74166
74352
  "default": false
74167
74353
  },
74168
- "NodegroupName": {
74354
+ "ClusterName": {
74169
74355
  "minLength": 1
74170
- },
74171
- "Subnets": {
74172
- "format": "AWS::EC2::Subnet.Ids"
74173
74356
  }
74174
74357
  },
74175
74358
  "createOnly": [
@@ -75476,7 +75659,6 @@
75476
75659
  "OnlineEvaluationConfigId": "OnlineEvaluationConfigId",
75477
75660
  "OnlineEvaluationConfigArn": "OnlineEvaluationConfigArn",
75478
75661
  "Status": "Status",
75479
- "ExecutionStatus": "ExecutionStatus",
75480
75662
  "OutputConfig": "OutputConfig",
75481
75663
  "CreatedAt": "CreatedAt",
75482
75664
  "UpdatedAt": "UpdatedAt"
@@ -75697,6 +75879,7 @@
75697
75879
  "Arn": "Arn",
75698
75880
  "CollectionEndpoint": "CollectionEndpoint",
75699
75881
  "DashboardEndpoint": "DashboardEndpoint",
75882
+ "FipsEndpoints": "FipsEndpoints",
75700
75883
  "KmsKeyArn": "KmsKeyArn"
75701
75884
  },
75702
75885
  "propertyConstraints": {
@@ -75741,6 +75924,11 @@
75741
75924
  "kind": "property",
75742
75925
  "lexicon": "aws"
75743
75926
  },
75927
+ "OpenSearchServerlessCollection_FipsEndpoints": {
75928
+ "resourceType": "AWS::OpenSearchServerless::Collection.FipsEndpoints",
75929
+ "kind": "property",
75930
+ "lexicon": "aws"
75931
+ },
75744
75932
  "OpenSearchServerlessCollection_Tag": {
75745
75933
  "resourceType": "AWS::OpenSearchServerless::Collection.Tag",
75746
75934
  "kind": "property",
@@ -77883,6 +78071,16 @@
77883
78071
  "Status": "Status"
77884
78072
  },
77885
78073
  "propertyConstraints": {
78074
+ "Id": {
78075
+ "pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{1,40})$"
78076
+ },
78077
+ "Size": {
78078
+ "enum": [
78079
+ "SMALL",
78080
+ "MEDIUM",
78081
+ "LARGE"
78082
+ ]
78083
+ },
77886
78084
  "Status": {
77887
78085
  "enum": [
77888
78086
  "CREATING",
@@ -77893,16 +78091,6 @@
77893
78091
  "DELETE_FAILED",
77894
78092
  "UPDATE_FAILED"
77895
78093
  ]
77896
- },
77897
- "Size": {
77898
- "enum": [
77899
- "SMALL",
77900
- "MEDIUM",
77901
- "LARGE"
77902
- ]
77903
- },
77904
- "Id": {
77905
- "pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{1,40})$"
77906
78094
  }
77907
78095
  },
77908
78096
  "createOnly": [
@@ -77930,6 +78118,11 @@
77930
78118
  "kind": "property",
77931
78119
  "lexicon": "aws"
77932
78120
  },
78121
+ "PCSCluster_CgroupCustomSetting": {
78122
+ "resourceType": "AWS::PCS::Cluster.CgroupCustomSetting",
78123
+ "kind": "property",
78124
+ "lexicon": "aws"
78125
+ },
77933
78126
  "PCSCluster_Endpoint": {
77934
78127
  "resourceType": "AWS::PCS::Cluster.Endpoint",
77935
78128
  "kind": "property",
@@ -77960,6 +78153,11 @@
77960
78153
  "kind": "property",
77961
78154
  "lexicon": "aws"
77962
78155
  },
78156
+ "PCSCluster_SlurmdbdCustomSetting": {
78157
+ "resourceType": "AWS::PCS::Cluster.SlurmdbdCustomSetting",
78158
+ "kind": "property",
78159
+ "lexicon": "aws"
78160
+ },
77963
78161
  "PCSCluster_Tag": {
77964
78162
  "resourceType": "AWS::PCS::Cluster.Tag",
77965
78163
  "kind": "property",
@@ -83109,11 +83307,6 @@
83109
83307
  "kind": "property",
83110
83308
  "lexicon": "aws"
83111
83309
  },
83112
- "Provider": {
83113
- "resourceType": "AWS::EKS::Cluster.Provider",
83114
- "kind": "property",
83115
- "lexicon": "aws"
83116
- },
83117
83310
  "ProvisionalConfiguration": {
83118
83311
  "resourceType": "AWS::LicenseManager::License.ProvisionalConfiguration",
83119
83312
  "kind": "property",
@@ -91620,6 +91813,81 @@
91620
91813
  "kind": "property",
91621
91814
  "lexicon": "aws"
91622
91815
  },
91816
+ "Recommender": {
91817
+ "resourceType": "AWS::CustomerProfiles::Recommender",
91818
+ "kind": "resource",
91819
+ "lexicon": "aws",
91820
+ "attrs": {
91821
+ "RecommenderArn": "RecommenderArn",
91822
+ "Status": "Status",
91823
+ "CreatedAt": "CreatedAt",
91824
+ "LastUpdatedAt": "LastUpdatedAt",
91825
+ "FailureReason": "FailureReason",
91826
+ "LatestRecommenderUpdate": "LatestRecommenderUpdate",
91827
+ "TrainingMetrics": "TrainingMetrics"
91828
+ },
91829
+ "propertyConstraints": {
91830
+ "RecommenderArn": {
91831
+ "pattern": "^arn:([a-z\\d-]+):profile:.*:.*:.+$",
91832
+ "minLength": 1,
91833
+ "maxLength": 255
91834
+ }
91835
+ },
91836
+ "createOnly": [
91837
+ "DomainName",
91838
+ "RecommenderName",
91839
+ "RecommenderRecipeName"
91840
+ ],
91841
+ "primaryIdentifier": [
91842
+ "DomainName",
91843
+ "RecommenderName"
91844
+ ],
91845
+ "tagging": {
91846
+ "taggable": true,
91847
+ "tagOnCreate": true,
91848
+ "tagUpdatable": true
91849
+ }
91850
+ },
91851
+ "RecommenderConfig": {
91852
+ "resourceType": "AWS::CustomerProfiles::Recommender.RecommenderConfig",
91853
+ "kind": "property",
91854
+ "lexicon": "aws"
91855
+ },
91856
+ "RecommenderUpdate": {
91857
+ "resourceType": "AWS::CustomerProfiles::Recommender.RecommenderUpdate",
91858
+ "kind": "property",
91859
+ "lexicon": "aws"
91860
+ },
91861
+ "Recommender_EventParameters": {
91862
+ "resourceType": "AWS::CustomerProfiles::Recommender.EventParameters",
91863
+ "kind": "property",
91864
+ "lexicon": "aws"
91865
+ },
91866
+ "Recommender_EventsConfig": {
91867
+ "resourceType": "AWS::CustomerProfiles::Recommender.EventsConfig",
91868
+ "kind": "property",
91869
+ "lexicon": "aws"
91870
+ },
91871
+ "Recommender_RecommenderConfig": {
91872
+ "resourceType": "AWS::CustomerProfiles::Recommender.RecommenderConfig",
91873
+ "kind": "property",
91874
+ "lexicon": "aws"
91875
+ },
91876
+ "Recommender_RecommenderUpdate": {
91877
+ "resourceType": "AWS::CustomerProfiles::Recommender.RecommenderUpdate",
91878
+ "kind": "property",
91879
+ "lexicon": "aws"
91880
+ },
91881
+ "Recommender_Tag": {
91882
+ "resourceType": "AWS::CustomerProfiles::Recommender.Tag",
91883
+ "kind": "property",
91884
+ "lexicon": "aws"
91885
+ },
91886
+ "Recommender_TrainingMetrics": {
91887
+ "resourceType": "AWS::CustomerProfiles::Recommender.TrainingMetrics",
91888
+ "kind": "property",
91889
+ "lexicon": "aws"
91890
+ },
91623
91891
  "RecordExpiration": {
91624
91892
  "resourceType": "AWS::S3::Bucket.RecordExpiration",
91625
91893
  "kind": "property",
@@ -105292,6 +105560,11 @@
105292
105560
  "kind": "property",
105293
105561
  "lexicon": "aws"
105294
105562
  },
105563
+ "SlurmdbdCustomSetting": {
105564
+ "resourceType": "AWS::PCS::Cluster.SlurmdbdCustomSetting",
105565
+ "kind": "property",
105566
+ "lexicon": "aws"
105567
+ },
105295
105568
  "SmResourcePolicy": {
105296
105569
  "resourceType": "AWS::SecretsManager::ResourcePolicy",
105297
105570
  "kind": "resource",
@@ -106409,6 +106682,22 @@
106409
106682
  "kind": "property",
106410
106683
  "lexicon": "aws"
106411
106684
  },
106685
+ "SqlHaStandbyDetectedInstance": {
106686
+ "resourceType": "AWS::EC2::SqlHaStandbyDetectedInstance",
106687
+ "kind": "resource",
106688
+ "lexicon": "aws",
106689
+ "attrs": {
106690
+ "HaStatus": "HaStatus",
106691
+ "SqlServerLicenseUsage": "SqlServerLicenseUsage",
106692
+ "LastUpdatedTime": "LastUpdatedTime"
106693
+ },
106694
+ "createOnly": [
106695
+ "InstanceId"
106696
+ ],
106697
+ "primaryIdentifier": [
106698
+ "InstanceId"
106699
+ ]
106700
+ },
106412
106701
  "SqlKnowledgeBaseConfiguration": {
106413
106702
  "resourceType": "AWS::Bedrock::KnowledgeBase.SqlKnowledgeBaseConfiguration",
106414
106703
  "kind": "property",
@@ -109819,49 +110108,138 @@
109819
110108
  },
109820
110109
  "constraints": [
109821
110110
  {
109822
- "name": "logging_configuration",
110111
+ "name": "fargate_properties",
109823
110112
  "type": "if_then",
109824
110113
  "condition": {
109825
110114
  "properties": {
109826
- "LogDriver": {
109827
- "const": "awslogs"
110115
+ "RequiresCompatibilities": {
110116
+ "contains": {
110117
+ "enum": [
110118
+ "FARGATE"
110119
+ ],
110120
+ "type": "string"
110121
+ },
110122
+ "type": "array"
109828
110123
  }
109829
110124
  },
109830
110125
  "required": [
109831
- "LogDriver"
109832
- ],
109833
- "type": "object"
110126
+ "RequiresCompatibilities"
110127
+ ]
109834
110128
  },
109835
110129
  "requirement": {
109836
- "properties": {
109837
- "Options": {
110130
+ "allOf": [
110131
+ {
110132
+ "if": {
110133
+ "properties": {
110134
+ "NetworkMode": {
110135
+ "type": "string"
110136
+ }
110137
+ },
110138
+ "required": [
110139
+ "NetworkMode"
110140
+ ]
110141
+ },
110142
+ "required": [
110143
+ "NetworkMode"
110144
+ ],
110145
+ "then": {
110146
+ "properties": {
110147
+ "NetworkMode": {
110148
+ "enum": [
110149
+ "awsvpc"
110150
+ ],
110151
+ "type": "string"
110152
+ }
110153
+ },
110154
+ "required": [
110155
+ "NetworkMode"
110156
+ ]
110157
+ }
110158
+ },
110159
+ {
109838
110160
  "properties": {
109839
- "awslogs-group": {
109840
- "format": "AWS::Logs::LogGroup.Name",
109841
- "type": "string"
110161
+ "ContainerDefinitions": {
110162
+ "items": {
110163
+ "properties": {
110164
+ "LogConfiguration": {
110165
+ "if": {
110166
+ "properties": {
110167
+ "LogDriver": {
110168
+ "type": "string"
110169
+ }
110170
+ },
110171
+ "required": [
110172
+ "LogDriver"
110173
+ ]
110174
+ },
110175
+ "then": {
110176
+ "properties": {
110177
+ "LogDriver": {
110178
+ "enum": [
110179
+ "awslogs",
110180
+ "splunk",
110181
+ "awsfirelens"
110182
+ ]
110183
+ }
110184
+ }
110185
+ }
110186
+ }
110187
+ }
110188
+ }
109842
110189
  }
110190
+ }
110191
+ },
110192
+ {
110193
+ "if": {
110194
+ "properties": {
110195
+ "Cpu": {
110196
+ "type": [
110197
+ "string",
110198
+ "integer"
110199
+ ]
110200
+ }
110201
+ },
110202
+ "required": [
110203
+ "Cpu"
110204
+ ]
109843
110205
  },
109844
- "propertyNames": {
109845
- "enum": [
109846
- "awslogs-create-group",
109847
- "awslogs-datetime-format",
109848
- "awslogs-group",
109849
- "awslogs-multiline-pattern",
109850
- "awslogs-region",
109851
- "awslogs-stream-prefix",
109852
- "max-buffer-size",
109853
- "mode"
110206
+ "not": {
110207
+ "required": [
110208
+ "PlacementConstraints"
109854
110209
  ]
109855
110210
  },
109856
110211
  "required": [
109857
- "awslogs-group",
109858
- "awslogs-region"
110212
+ "Cpu",
110213
+ "Memory"
109859
110214
  ],
109860
- "type": "object"
110215
+ "then": {
110216
+ "properties": {
110217
+ "Cpu": {
110218
+ "else": {
110219
+ "pattern": "^(\\.25|\\.5|1|2|4|8|16)\\s*(?i)vCpu$"
110220
+ },
110221
+ "if": {
110222
+ "pattern": "^\\d+$",
110223
+ "type": [
110224
+ "integer",
110225
+ "string"
110226
+ ]
110227
+ },
110228
+ "then": {
110229
+ "enum": [
110230
+ "256",
110231
+ "512",
110232
+ "1024",
110233
+ "2048",
110234
+ "4096",
110235
+ "8192",
110236
+ "16384"
110237
+ ]
110238
+ }
110239
+ }
110240
+ }
110241
+ }
109861
110242
  }
109862
- },
109863
- "required": [
109864
- "Options"
109865
110243
  ]
109866
110244
  }
109867
110245
  },
@@ -110172,138 +110550,49 @@
110172
110550
  }
110173
110551
  },
110174
110552
  {
110175
- "name": "fargate_properties",
110553
+ "name": "logging_configuration",
110176
110554
  "type": "if_then",
110177
110555
  "condition": {
110178
110556
  "properties": {
110179
- "RequiresCompatibilities": {
110180
- "contains": {
110181
- "enum": [
110182
- "FARGATE"
110183
- ],
110184
- "type": "string"
110185
- },
110186
- "type": "array"
110557
+ "LogDriver": {
110558
+ "const": "awslogs"
110187
110559
  }
110188
110560
  },
110189
110561
  "required": [
110190
- "RequiresCompatibilities"
110191
- ]
110562
+ "LogDriver"
110563
+ ],
110564
+ "type": "object"
110192
110565
  },
110193
110566
  "requirement": {
110194
- "allOf": [
110195
- {
110196
- "if": {
110197
- "properties": {
110198
- "NetworkMode": {
110199
- "type": "string"
110200
- }
110201
- },
110202
- "required": [
110203
- "NetworkMode"
110204
- ]
110205
- },
110206
- "required": [
110207
- "NetworkMode"
110208
- ],
110209
- "then": {
110210
- "properties": {
110211
- "NetworkMode": {
110212
- "enum": [
110213
- "awsvpc"
110214
- ],
110215
- "type": "string"
110216
- }
110217
- },
110218
- "required": [
110219
- "NetworkMode"
110220
- ]
110221
- }
110222
- },
110223
- {
110567
+ "properties": {
110568
+ "Options": {
110224
110569
  "properties": {
110225
- "ContainerDefinitions": {
110226
- "items": {
110227
- "properties": {
110228
- "LogConfiguration": {
110229
- "if": {
110230
- "properties": {
110231
- "LogDriver": {
110232
- "type": "string"
110233
- }
110234
- },
110235
- "required": [
110236
- "LogDriver"
110237
- ]
110238
- },
110239
- "then": {
110240
- "properties": {
110241
- "LogDriver": {
110242
- "enum": [
110243
- "awslogs",
110244
- "splunk",
110245
- "awsfirelens"
110246
- ]
110247
- }
110248
- }
110249
- }
110250
- }
110251
- }
110252
- }
110570
+ "awslogs-group": {
110571
+ "format": "AWS::Logs::LogGroup.Name",
110572
+ "type": "string"
110253
110573
  }
110254
- }
110255
- },
110256
- {
110257
- "if": {
110258
- "properties": {
110259
- "Cpu": {
110260
- "type": [
110261
- "string",
110262
- "integer"
110263
- ]
110264
- }
110265
- },
110266
- "required": [
110267
- "Cpu"
110268
- ]
110269
110574
  },
110270
- "not": {
110271
- "required": [
110272
- "PlacementConstraints"
110575
+ "propertyNames": {
110576
+ "enum": [
110577
+ "awslogs-create-group",
110578
+ "awslogs-datetime-format",
110579
+ "awslogs-group",
110580
+ "awslogs-multiline-pattern",
110581
+ "awslogs-region",
110582
+ "awslogs-stream-prefix",
110583
+ "max-buffer-size",
110584
+ "mode"
110273
110585
  ]
110274
110586
  },
110275
110587
  "required": [
110276
- "Cpu",
110277
- "Memory"
110588
+ "awslogs-group",
110589
+ "awslogs-region"
110278
110590
  ],
110279
- "then": {
110280
- "properties": {
110281
- "Cpu": {
110282
- "else": {
110283
- "pattern": "^(\\.25|\\.5|1|2|4|8|16)\\s*(?i)vCpu$"
110284
- },
110285
- "if": {
110286
- "pattern": "^\\d+$",
110287
- "type": [
110288
- "integer",
110289
- "string"
110290
- ]
110291
- },
110292
- "then": {
110293
- "enum": [
110294
- "256",
110295
- "512",
110296
- "1024",
110297
- "2048",
110298
- "4096",
110299
- "8192",
110300
- "16384"
110301
- ]
110302
- }
110303
- }
110304
- }
110305
- }
110591
+ "type": "object"
110306
110592
  }
110593
+ },
110594
+ "required": [
110595
+ "Options"
110307
110596
  ]
110308
110597
  }
110309
110598
  }
@@ -112881,6 +113170,11 @@
112881
113170
  "kind": "property",
112882
113171
  "lexicon": "aws"
112883
113172
  },
113173
+ "TrainingMetrics": {
113174
+ "resourceType": "AWS::CustomerProfiles::Recommender.TrainingMetrics",
113175
+ "kind": "property",
113176
+ "lexicon": "aws"
113177
+ },
112884
113178
  "TransactionSearchConfig": {
112885
113179
  "resourceType": "AWS::XRay::TransactionSearchConfig",
112886
113180
  "kind": "resource",
@@ -118054,6 +118348,11 @@
118054
118348
  "InstanceId"
118055
118349
  ]
118056
118350
  },
118351
+ "VolumeConfig": {
118352
+ "resourceType": "AWS::AppStream::ImageBuilder.VolumeConfig",
118353
+ "kind": "property",
118354
+ "lexicon": "aws"
118355
+ },
118057
118356
  "VolumeConfiguration": {
118058
118357
  "resourceType": "AWS::OpsWorks::Layer.VolumeConfiguration",
118059
118358
  "kind": "property",