@aws-cdk/cloud-assembly-schema 2.26.0 → 2.27.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 +3 -3
- package/README.md +2 -2
- package/lib/manifest.js +1 -1
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"name": "@aws-cdk/cloud-assembly-schema",
|
|
37
37
|
"readme": {
|
|
38
|
-
"markdown": "# Cloud Assembly Schema\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.\n\n## Cloud Assembly\n\nThe *Cloud Assembly* is the output of the synthesis operation. It is produced as part of the\n[`cdk synth`](https://github.com/aws/aws-cdk/tree/
|
|
38
|
+
"markdown": "# Cloud Assembly Schema\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.\n\n## Cloud Assembly\n\nThe *Cloud Assembly* is the output of the synthesis operation. It is produced as part of the\n[`cdk synth`](https://github.com/aws/aws-cdk/tree/main/packages/aws-cdk#cdk-synthesize)\ncommand, or the [`app.synth()`](https://github.com/aws/aws-cdk/blob/main/packages/@aws-cdk/core/lib/app.ts#L135) method invocation.\n\nIts essentially a set of files and directories, one of which is the `manifest.json` file. It defines the set of instructions that are\nneeded in order to deploy the assembly directory.\n\n> For example, when `cdk deploy` is executed, the CLI reads this file and performs its instructions:\n>\n> - Build container images.\n> - Upload assets.\n> - Deploy CloudFormation templates.\n\nTherefore, the assembly is how the CDK class library and CDK CLI (or any other consumer) communicate. To ensure compatibility\nbetween the assembly and its consumers, we treat the manifest file as a well defined, versioned schema.\n\n## Schema\n\nThis module contains the typescript structs that comprise the `manifest.json` file, as well as the\ngenerated [*json-schema*](./schema/cloud-assembly.schema.json).\n\n## Versioning\n\nThe schema version is specified in the [`cloud-assembly.version.json`](./schema/cloud-assembly.schema.json) file, under the `version` property.\nIt follows semantic versioning, but with a small twist.\n\nWhen we add instructions to the assembly, they are reflected in the manifest file and the *json-schema* accordingly.\nEvery such instruction, is crucial for ensuring the correct deployment behavior. This means that to properly deploy a cloud assembly,\nconsumers must be aware of every such instruction modification.\n\nFor this reason, every change to the schema, even though it might not strictly break validation of the *json-schema* format,\nis considered `major` version bump.\n\n## How to consume\n\nIf you'd like to consume the [schema file](./schema/cloud-assembly.schema.json) in order to do validations on `manifest.json` files,\nsimply download it from this repo and run it against standard *json-schema* validators, such as [jsonschema](https://www.npmjs.com/package/jsonschema).\n\nConsumers must take into account the `major` version of the schema they are consuming. They should reject cloud assemblies\nwith a `major` version that is higher than what they expect. While schema validation might pass on such assemblies, the deployment integrity\ncannot be guaranteed because some instructions will be ignored.\n\n> For example, if your consumer was built when the schema version was 2.0.0, you should reject deploying cloud assemblies with a\n> manifest version of 3.0.0.\n\n## Contributing\n\nSee [Contribution Guide](./CONTRIBUTING.md)\n"
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|
|
41
41
|
"directory": "packages/@aws-cdk/cloud-assembly-schema",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"schema": "jsii/0.10.0",
|
|
46
46
|
"targets": {
|
|
47
47
|
"dotnet": {
|
|
48
|
-
"iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/
|
|
48
|
+
"iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/main/logo/default-256-dark.png",
|
|
49
49
|
"namespace": "Amazon.CDK.CloudAssembly.Schema",
|
|
50
50
|
"packageId": "Amazon.CDK.CloudAssembly.Schema"
|
|
51
51
|
},
|
|
@@ -5465,6 +5465,6 @@
|
|
|
5465
5465
|
"symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
|
|
5466
5466
|
}
|
|
5467
5467
|
},
|
|
5468
|
-
"version": "2.
|
|
5468
|
+
"version": "2.27.0",
|
|
5469
5469
|
"fingerprint": "**********"
|
|
5470
5470
|
}
|
package/README.md
CHANGED
|
@@ -14,8 +14,8 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
14
14
|
## Cloud Assembly
|
|
15
15
|
|
|
16
16
|
The *Cloud Assembly* is the output of the synthesis operation. It is produced as part of the
|
|
17
|
-
[`cdk synth`](https://github.com/aws/aws-cdk/tree/
|
|
18
|
-
command, or the [`app.synth()`](https://github.com/aws/aws-cdk/blob/
|
|
17
|
+
[`cdk synth`](https://github.com/aws/aws-cdk/tree/main/packages/aws-cdk#cdk-synthesize)
|
|
18
|
+
command, or the [`app.synth()`](https://github.com/aws/aws-cdk/blob/main/packages/@aws-cdk/core/lib/app.ts#L135) method invocation.
|
|
19
19
|
|
|
20
20
|
Its essentially a set of files and directories, one of which is the `manifest.json` file. It defines the set of instructions that are
|
|
21
21
|
needed in order to deploy the assembly directory.
|
package/lib/manifest.js
CHANGED
|
@@ -255,7 +255,7 @@ class Manifest {
|
|
|
255
255
|
}
|
|
256
256
|
exports.Manifest = Manifest;
|
|
257
257
|
_a = JSII_RTTI_SYMBOL_1;
|
|
258
|
-
Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "2.
|
|
258
|
+
Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "2.27.0" };
|
|
259
259
|
function mapValues(xs, fn) {
|
|
260
260
|
if (!xs) {
|
|
261
261
|
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.27.0",
|
|
4
4
|
"description": "Cloud Assembly Schema",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dotnet": {
|
|
18
18
|
"namespace": "Amazon.CDK.CloudAssembly.Schema",
|
|
19
19
|
"packageId": "Amazon.CDK.CloudAssembly.Schema",
|
|
20
|
-
"iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/
|
|
20
|
+
"iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/main/logo/default-256-dark.png"
|
|
21
21
|
},
|
|
22
22
|
"python": {
|
|
23
23
|
"distName": "aws-cdk.cloud-assembly-schema",
|
|
@@ -60,8 +60,8 @@
|
|
|
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.27.0",
|
|
64
|
+
"@aws-cdk/pkglint": "2.27.0",
|
|
65
65
|
"@types/jest": "^27.5.0",
|
|
66
66
|
"@types/mock-fs": "^4.13.1",
|
|
67
67
|
"@types/semver": "^7.3.9",
|