@aws-cdk/cloud-assembly-schema 2.53.0 → 2.54.0
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/.jsii +1 -1
- package/CONTRIBUTING.md +3 -3
- package/lib/manifest.js +1 -1
- package/package.json +4 -4
- package/schema/cloud-assembly.schema.json +39 -36
- package/schema/cloud-assembly.version.json +1 -1
package/.jsii
CHANGED
package/CONTRIBUTING.md
CHANGED
|
@@ -20,7 +20,7 @@ There are two main things to understand about the files in this module:
|
|
|
20
20
|
|
|
21
21
|
- [`lib/schema`](./schema/)
|
|
22
22
|
|
|
23
|
-
This directory contains the generated json [schema](./schema/cloud-assembly.schema.json) from the
|
|
23
|
+
This directory contains the generated json [schema](./schema/cloud-assembly.schema.json) from the aforementioned
|
|
24
24
|
typescript code. It also contains a [version](./schema/cloud-assembly.version.json) file that holds the current version
|
|
25
25
|
of the schema. These files are **not** intended for manual editing. Keep reading to understand how they change and when.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ an updated json schema to [`cloud-assembly.schema.json`](./schema/cloud-assembly
|
|
|
31
31
|
In addition, this command also performs a `major` version bump on the [version](./schema/cloud-assembly.version.json) file.
|
|
32
32
|
|
|
33
33
|
Note that it is not generated as part of the build, this is to ensure developers will be intentional when making
|
|
34
|
-
changes to the schema. If changes to the code are
|
|
34
|
+
changes to the schema. If changes to the code are performed, without generating a new schema, the tests will fail:
|
|
35
35
|
|
|
36
36
|
```console
|
|
37
37
|
$ yarn test
|
|
@@ -58,7 +58,7 @@ This means that breaking changes will be rejected. These include:
|
|
|
58
58
|
- Adding a required property. (same as changing from *optional* to *required*)
|
|
59
59
|
- Changing the type of the property.
|
|
60
60
|
|
|
61
|
-
In addition, the interfaces defined here are
|
|
61
|
+
In addition, the interfaces defined here are programmatically exposed to users, via the `manifest`
|
|
62
62
|
property of the [`CloudAssembly`](../cx-api/lib/cloud-assembly.ts) class. This means that the following are
|
|
63
63
|
also considered breaking changes:
|
|
64
64
|
|
package/lib/manifest.js
CHANGED
|
@@ -262,7 +262,7 @@ class Manifest {
|
|
|
262
262
|
}
|
|
263
263
|
exports.Manifest = Manifest;
|
|
264
264
|
_a = JSII_RTTI_SYMBOL_1;
|
|
265
|
-
Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "2.
|
|
265
|
+
Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "2.54.0" };
|
|
266
266
|
function mapValues(xs, fn) {
|
|
267
267
|
if (!xs) {
|
|
268
268
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/cloud-assembly-schema",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.54.0",
|
|
4
4
|
"description": "Cloud Assembly Schema",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
},
|
|
61
61
|
"license": "Apache-2.0",
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
64
|
-
"@aws-cdk/pkglint": "2.
|
|
63
|
+
"@aws-cdk/cdk-build-tools": "2.54.0",
|
|
64
|
+
"@aws-cdk/pkglint": "2.54.0",
|
|
65
65
|
"@types/jest": "^27.5.2",
|
|
66
66
|
"@types/mock-fs": "^4.13.1",
|
|
67
67
|
"@types/semver": "^7.3.13",
|
|
68
68
|
"jest": "^27.5.1",
|
|
69
69
|
"mock-fs": "^4.14.0",
|
|
70
|
-
"typescript-json-schema": "^0.
|
|
70
|
+
"typescript-json-schema": "^0.55.0"
|
|
71
71
|
},
|
|
72
72
|
"repository": {
|
|
73
73
|
"url": "https://github.com/aws/aws-cdk.git",
|
|
@@ -429,42 +429,8 @@
|
|
|
429
429
|
"description": "The provider from which we expect this context key to be obtained."
|
|
430
430
|
},
|
|
431
431
|
"props": {
|
|
432
|
-
"
|
|
433
|
-
"
|
|
434
|
-
{
|
|
435
|
-
"$ref": "#/definitions/AmiContextQuery"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"$ref": "#/definitions/AvailabilityZonesContextQuery"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"$ref": "#/definitions/HostedZoneContextQuery"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"$ref": "#/definitions/SSMParameterContextQuery"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"$ref": "#/definitions/VpcContextQuery"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"$ref": "#/definitions/EndpointServiceAvailabilityZonesContextQuery"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"$ref": "#/definitions/LoadBalancerContextQuery"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"$ref": "#/definitions/LoadBalancerListenerContextQuery"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"$ref": "#/definitions/SecurityGroupContextQuery"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"$ref": "#/definitions/KeyContextQuery"
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"$ref": "#/definitions/PluginContextQuery"
|
|
466
|
-
}
|
|
467
|
-
]
|
|
432
|
+
"$ref": "#/definitions/ContextQueryProperties",
|
|
433
|
+
"description": "A set of provider-specific options."
|
|
468
434
|
}
|
|
469
435
|
},
|
|
470
436
|
"required": [
|
|
@@ -490,6 +456,43 @@
|
|
|
490
456
|
],
|
|
491
457
|
"type": "string"
|
|
492
458
|
},
|
|
459
|
+
"ContextQueryProperties": {
|
|
460
|
+
"anyOf": [
|
|
461
|
+
{
|
|
462
|
+
"$ref": "#/definitions/AmiContextQuery"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"$ref": "#/definitions/AvailabilityZonesContextQuery"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"$ref": "#/definitions/HostedZoneContextQuery"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"$ref": "#/definitions/SSMParameterContextQuery"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"$ref": "#/definitions/VpcContextQuery"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"$ref": "#/definitions/EndpointServiceAvailabilityZonesContextQuery"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"$ref": "#/definitions/LoadBalancerContextQuery"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"$ref": "#/definitions/LoadBalancerListenerContextQuery"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"$ref": "#/definitions/SecurityGroupContextQuery"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"$ref": "#/definitions/KeyContextQuery"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"$ref": "#/definitions/PluginContextQuery"
|
|
493
|
+
}
|
|
494
|
+
]
|
|
495
|
+
},
|
|
493
496
|
"AmiContextQuery": {
|
|
494
497
|
"description": "Query to AMI context provider",
|
|
495
498
|
"type": "object",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"22.0.0"}
|