@aws-cdk/cloud-assembly-schema 1.152.0 → 1.154.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.
Files changed (39) hide show
  1. package/.jsii +110 -57
  2. package/.jsii.tabl.json +314 -142
  3. package/.warnings.jsii.js +253 -147
  4. package/NOTICE +0 -17
  5. package/lib/integ-tests/schema.d.ts +10 -0
  6. package/lib/integ-tests/schema.js +1 -1
  7. package/lib/integ-tests/test-case.d.ts +47 -42
  8. package/lib/integ-tests/test-case.js +1 -1
  9. package/lib/manifest.js +57 -8
  10. package/node_modules/lru-cache/LICENSE +1 -1
  11. package/node_modules/lru-cache/README.md +632 -99
  12. package/node_modules/lru-cache/index.js +732 -251
  13. package/node_modules/lru-cache/package.json +17 -7
  14. package/node_modules/semver/README.md +3 -1
  15. package/node_modules/semver/bin/semver.js +17 -8
  16. package/node_modules/semver/classes/comparator.js +3 -2
  17. package/node_modules/semver/classes/index.js +1 -1
  18. package/node_modules/semver/classes/range.js +31 -22
  19. package/node_modules/semver/functions/cmp.js +8 -4
  20. package/node_modules/semver/functions/coerce.js +3 -2
  21. package/node_modules/semver/functions/parse.js +1 -1
  22. package/node_modules/semver/internal/constants.js +2 -2
  23. package/node_modules/semver/internal/identifiers.js +1 -1
  24. package/node_modules/semver/internal/parse-options.js +3 -3
  25. package/node_modules/semver/internal/re.js +3 -3
  26. package/node_modules/semver/package.json +46 -13
  27. package/node_modules/semver/ranges/min-version.js +2 -1
  28. package/node_modules/semver/ranges/outside.js +1 -1
  29. package/node_modules/semver/ranges/simplify.js +15 -12
  30. package/node_modules/semver/ranges/subset.js +53 -31
  31. package/package.json +4 -4
  32. package/schema/cloud-assembly.version.json +1 -1
  33. package/schema/integ.schema.json +8 -1
  34. package/node_modules/semver/CHANGELOG.md +0 -111
  35. package/node_modules/yallist/LICENSE +0 -15
  36. package/node_modules/yallist/README.md +0 -204
  37. package/node_modules/yallist/iterator.js +0 -8
  38. package/node_modules/yallist/package.json +0 -29
  39. package/node_modules/yallist/yallist.js +0 -426
package/.jsii CHANGED
@@ -9,14 +9,14 @@
9
9
  },
10
10
  "bundled": {
11
11
  "jsonschema": "^1.4.0",
12
- "semver": "^7.3.5"
12
+ "semver": "^7.3.6"
13
13
  },
14
14
  "description": "Cloud Assembly Schema",
15
15
  "docs": {
16
16
  "stability": "stable"
17
17
  },
18
18
  "homepage": "https://github.com/aws/aws-cdk",
19
- "jsiiVersion": "1.55.1 (build 07d2d90)",
19
+ "jsiiVersion": "1.57.0 (build f614666)",
20
20
  "keywords": [
21
21
  "aws",
22
22
  "cdk"
@@ -1242,7 +1242,7 @@
1242
1242
  "kind": "interface",
1243
1243
  "locationInModule": {
1244
1244
  "filename": "lib/integ-tests/test-case.ts",
1245
- "line": 115
1245
+ "line": 120
1246
1246
  },
1247
1247
  "name": "CdkCommand",
1248
1248
  "properties": [
@@ -1256,7 +1256,7 @@
1256
1256
  "immutable": true,
1257
1257
  "locationInModule": {
1258
1258
  "filename": "lib/integ-tests/test-case.ts",
1259
- "line": 124
1259
+ "line": 129
1260
1260
  },
1261
1261
  "name": "enabled",
1262
1262
  "optional": true,
@@ -1274,7 +1274,7 @@
1274
1274
  "immutable": true,
1275
1275
  "locationInModule": {
1276
1276
  "filename": "lib/integ-tests/test-case.ts",
1277
- "line": 139
1277
+ "line": 144
1278
1278
  },
1279
1279
  "name": "expectedMessage",
1280
1280
  "optional": true,
@@ -1292,7 +1292,7 @@
1292
1292
  "immutable": true,
1293
1293
  "locationInModule": {
1294
1294
  "filename": "lib/integ-tests/test-case.ts",
1295
- "line": 131
1295
+ "line": 136
1296
1296
  },
1297
1297
  "name": "expectError",
1298
1298
  "optional": true,
@@ -1307,18 +1307,18 @@
1307
1307
  "assembly": "@aws-cdk/cloud-assembly-schema",
1308
1308
  "datatype": true,
1309
1309
  "docs": {
1310
- "stability": "stable",
1311
- "summary": "Options for specific cdk commands that are run as part of the integration test workflow.",
1312
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst cdkCommands: cloud_assembly_schema.CdkCommands = {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n};",
1313
1310
  "custom": {
1314
- "exampleMetadata": "fixture=_generated"
1315
- }
1311
+ "exampleMetadata": "infused"
1312
+ },
1313
+ "example": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTestCase(stack, 'CustomizedDeploymentWorkflow', {\n stacks: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n\nnew IntegTest(app, 'integ-test', {\n testCases: [testCase],\n});",
1314
+ "stability": "stable",
1315
+ "summary": "Options for specific cdk commands that are run as part of the integration test workflow."
1316
1316
  },
1317
1317
  "fqn": "@aws-cdk/cloud-assembly-schema.CdkCommands",
1318
1318
  "kind": "interface",
1319
1319
  "locationInModule": {
1320
1320
  "filename": "lib/integ-tests/test-case.ts",
1321
- "line": 172
1321
+ "line": 177
1322
1322
  },
1323
1323
  "name": "CdkCommands",
1324
1324
  "properties": [
@@ -1332,7 +1332,7 @@
1332
1332
  "immutable": true,
1333
1333
  "locationInModule": {
1334
1334
  "filename": "lib/integ-tests/test-case.ts",
1335
- "line": 178
1335
+ "line": 183
1336
1336
  },
1337
1337
  "name": "deploy",
1338
1338
  "optional": true,
@@ -1350,7 +1350,7 @@
1350
1350
  "immutable": true,
1351
1351
  "locationInModule": {
1352
1352
  "filename": "lib/integ-tests/test-case.ts",
1353
- "line": 185
1353
+ "line": 190
1354
1354
  },
1355
1355
  "name": "destroy",
1356
1356
  "optional": true,
@@ -2130,12 +2130,12 @@
2130
2130
  "assembly": "@aws-cdk/cloud-assembly-schema",
2131
2131
  "datatype": true,
2132
2132
  "docs": {
2133
- "stability": "stable",
2134
- "summary": "Represents a cdk deploy command.",
2135
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst deployCommand: cloud_assembly_schema.DeployCommand = {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n};",
2136
2133
  "custom": {
2137
- "exampleMetadata": "fixture=_generated"
2138
- }
2134
+ "exampleMetadata": "infused"
2135
+ },
2136
+ "example": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTestCase(stack, 'CustomizedDeploymentWorkflow', {\n stacks: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n\nnew IntegTest(app, 'integ-test', {\n testCases: [testCase],\n});",
2137
+ "stability": "stable",
2138
+ "summary": "Represents a cdk deploy command."
2139
2139
  },
2140
2140
  "fqn": "@aws-cdk/cloud-assembly-schema.DeployCommand",
2141
2141
  "interfaces": [
@@ -2144,7 +2144,7 @@
2144
2144
  "kind": "interface",
2145
2145
  "locationInModule": {
2146
2146
  "filename": "lib/integ-tests/test-case.ts",
2147
- "line": 145
2147
+ "line": 150
2148
2148
  },
2149
2149
  "name": "DeployCommand",
2150
2150
  "properties": [
@@ -2158,7 +2158,7 @@
2158
2158
  "immutable": true,
2159
2159
  "locationInModule": {
2160
2160
  "filename": "lib/integ-tests/test-case.ts",
2161
- "line": 152
2161
+ "line": 157
2162
2162
  },
2163
2163
  "name": "args",
2164
2164
  "optional": true,
@@ -2173,12 +2173,12 @@
2173
2173
  "assembly": "@aws-cdk/cloud-assembly-schema",
2174
2174
  "datatype": true,
2175
2175
  "docs": {
2176
- "stability": "stable",
2177
- "summary": "Options to use with cdk deploy.",
2178
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst deployOptions: cloud_assembly_schema.DeployOptions = {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n};",
2179
2176
  "custom": {
2180
- "exampleMetadata": "fixture=_generated"
2181
- }
2177
+ "exampleMetadata": "infused"
2178
+ },
2179
+ "example": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTestCase(stack, 'CustomizedDeploymentWorkflow', {\n stacks: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n\nnew IntegTest(app, 'integ-test', {\n testCases: [testCase],\n});",
2180
+ "stability": "stable",
2181
+ "summary": "Options to use with cdk deploy."
2182
2182
  },
2183
2183
  "fqn": "@aws-cdk/cloud-assembly-schema.DeployOptions",
2184
2184
  "interfaces": [
@@ -2449,12 +2449,12 @@
2449
2449
  "assembly": "@aws-cdk/cloud-assembly-schema",
2450
2450
  "datatype": true,
2451
2451
  "docs": {
2452
- "stability": "stable",
2453
- "summary": "Represents a cdk destroy command.",
2454
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst destroyCommand: cloud_assembly_schema.DestroyCommand = {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n};",
2455
2452
  "custom": {
2456
- "exampleMetadata": "fixture=_generated"
2457
- }
2453
+ "exampleMetadata": "infused"
2454
+ },
2455
+ "example": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTestCase(stack, 'CustomizedDeploymentWorkflow', {\n stacks: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n\nnew IntegTest(app, 'integ-test', {\n testCases: [testCase],\n});",
2456
+ "stability": "stable",
2457
+ "summary": "Represents a cdk destroy command."
2458
2458
  },
2459
2459
  "fqn": "@aws-cdk/cloud-assembly-schema.DestroyCommand",
2460
2460
  "interfaces": [
@@ -2463,7 +2463,7 @@
2463
2463
  "kind": "interface",
2464
2464
  "locationInModule": {
2465
2465
  "filename": "lib/integ-tests/test-case.ts",
2466
- "line": 158
2466
+ "line": 163
2467
2467
  },
2468
2468
  "name": "DestroyCommand",
2469
2469
  "properties": [
@@ -2477,7 +2477,7 @@
2477
2477
  "immutable": true,
2478
2478
  "locationInModule": {
2479
2479
  "filename": "lib/integ-tests/test-case.ts",
2480
- "line": 165
2480
+ "line": 170
2481
2481
  },
2482
2482
  "name": "args",
2483
2483
  "optional": true,
@@ -2492,12 +2492,12 @@
2492
2492
  "assembly": "@aws-cdk/cloud-assembly-schema",
2493
2493
  "datatype": true,
2494
2494
  "docs": {
2495
- "stability": "stable",
2496
- "summary": "Options to use with cdk destroy.",
2497
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst destroyOptions: cloud_assembly_schema.DestroyOptions = {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n};",
2498
2495
  "custom": {
2499
- "exampleMetadata": "fixture=_generated"
2500
- }
2496
+ "exampleMetadata": "infused"
2497
+ },
2498
+ "example": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTestCase(stack, 'CustomizedDeploymentWorkflow', {\n stacks: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n\nnew IntegTest(app, 'integ-test', {\n testCases: [testCase],\n});",
2499
+ "stability": "stable",
2500
+ "summary": "Options to use with cdk destroy."
2501
2501
  },
2502
2502
  "fqn": "@aws-cdk/cloud-assembly-schema.DestroyOptions",
2503
2503
  "interfaces": [
@@ -3277,7 +3277,7 @@
3277
3277
  "kind": "interface",
3278
3278
  "locationInModule": {
3279
3279
  "filename": "lib/integ-tests/test-case.ts",
3280
- "line": 77
3280
+ "line": 82
3281
3281
  },
3282
3282
  "name": "Hooks",
3283
3283
  "properties": [
@@ -3291,7 +3291,7 @@
3291
3291
  "immutable": true,
3292
3292
  "locationInModule": {
3293
3293
  "filename": "lib/integ-tests/test-case.ts",
3294
- "line": 92
3294
+ "line": 97
3295
3295
  },
3296
3296
  "name": "postDeploy",
3297
3297
  "optional": true,
@@ -3314,7 +3314,7 @@
3314
3314
  "immutable": true,
3315
3315
  "locationInModule": {
3316
3316
  "filename": "lib/integ-tests/test-case.ts",
3317
- "line": 108
3317
+ "line": 113
3318
3318
  },
3319
3319
  "name": "postDestroy",
3320
3320
  "optional": true,
@@ -3337,7 +3337,7 @@
3337
3337
  "immutable": true,
3338
3338
  "locationInModule": {
3339
3339
  "filename": "lib/integ-tests/test-case.ts",
3340
- "line": 84
3340
+ "line": 89
3341
3341
  },
3342
3342
  "name": "preDeploy",
3343
3343
  "optional": true,
@@ -3360,7 +3360,7 @@
3360
3360
  "immutable": true,
3361
3361
  "locationInModule": {
3362
3362
  "filename": "lib/integ-tests/test-case.ts",
3363
- "line": 100
3363
+ "line": 105
3364
3364
  },
3365
3365
  "name": "preDestroy",
3366
3366
  "optional": true,
@@ -3507,7 +3507,7 @@
3507
3507
  "docs": {
3508
3508
  "stability": "stable",
3509
3509
  "summary": "Definitions for the integration testing manifest.",
3510
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst integManifest: cloud_assembly_schema.IntegManifest = {\n testCases: {\n testCasesKey: {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n },\n },\n version: 'version',\n\n // the properties below are optional\n enableLookups: false,\n};",
3510
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst integManifest: cloud_assembly_schema.IntegManifest = {\n testCases: {\n testCasesKey: {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n },\n },\n version: 'version',\n\n // the properties below are optional\n enableLookups: false,\n synthContext: {\n synthContextKey: 'synthContext',\n },\n};",
3511
3511
  "custom": {
3512
3512
  "exampleMetadata": "fixture=_generated"
3513
3513
  }
@@ -3529,7 +3529,7 @@
3529
3529
  "immutable": true,
3530
3530
  "locationInModule": {
3531
3531
  "filename": "lib/integ-tests/schema.ts",
3532
- "line": 24
3532
+ "line": 33
3533
3533
  },
3534
3534
  "name": "testCases",
3535
3535
  "type": {
@@ -3575,6 +3575,30 @@
3575
3575
  "type": {
3576
3576
  "primitive": "boolean"
3577
3577
  }
3578
+ },
3579
+ {
3580
+ "abstract": true,
3581
+ "docs": {
3582
+ "default": "- no additional context",
3583
+ "remarks": "Any context provided here will override\nany default context",
3584
+ "stability": "stable",
3585
+ "summary": "Additional context to use when performing a synth."
3586
+ },
3587
+ "immutable": true,
3588
+ "locationInModule": {
3589
+ "filename": "lib/integ-tests/schema.ts",
3590
+ "line": 28
3591
+ },
3592
+ "name": "synthContext",
3593
+ "optional": true,
3594
+ "type": {
3595
+ "collection": {
3596
+ "elementtype": {
3597
+ "primitive": "string"
3598
+ },
3599
+ "kind": "map"
3600
+ }
3601
+ }
3578
3602
  }
3579
3603
  ],
3580
3604
  "symbolId": "lib/integ-tests/schema:IntegManifest"
@@ -4677,6 +4701,10 @@
4677
4701
  "@aws-cdk/cloud-assembly-schema.RequireApproval": {
4678
4702
  "assembly": "@aws-cdk/cloud-assembly-schema",
4679
4703
  "docs": {
4704
+ "custom": {
4705
+ "exampleMetadata": "infused"
4706
+ },
4707
+ "example": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTestCase(stack, 'CustomizedDeploymentWorkflow', {\n stacks: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n\nnew IntegTest(app, 'integ-test', {\n testCases: [testCase],\n});",
4680
4708
  "stability": "stable",
4681
4709
  "summary": "In what scenarios should the CLI ask for approval."
4682
4710
  },
@@ -5030,17 +5058,20 @@
5030
5058
  "datatype": true,
5031
5059
  "docs": {
5032
5060
  "stability": "stable",
5033
- "summary": "Represents an integration test test case.",
5061
+ "summary": "Represents an integration test case.",
5034
5062
  "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst testCase: cloud_assembly_schema.TestCase = {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n};",
5035
5063
  "custom": {
5036
5064
  "exampleMetadata": "fixture=_generated"
5037
5065
  }
5038
5066
  },
5039
5067
  "fqn": "@aws-cdk/cloud-assembly-schema.TestCase",
5068
+ "interfaces": [
5069
+ "@aws-cdk/cloud-assembly-schema.TestOptions"
5070
+ ],
5040
5071
  "kind": "interface",
5041
5072
  "locationInModule": {
5042
5073
  "filename": "lib/integ-tests/test-case.ts",
5043
- "line": 6
5074
+ "line": 68
5044
5075
  },
5045
5076
  "name": "TestCase",
5046
5077
  "properties": [
@@ -5053,7 +5084,7 @@
5053
5084
  "immutable": true,
5054
5085
  "locationInModule": {
5055
5086
  "filename": "lib/integ-tests/test-case.ts",
5056
- "line": 13
5087
+ "line": 75
5057
5088
  },
5058
5089
  "name": "stacks",
5059
5090
  "type": {
@@ -5064,7 +5095,29 @@
5064
5095
  "kind": "array"
5065
5096
  }
5066
5097
  }
5067
- },
5098
+ }
5099
+ ],
5100
+ "symbolId": "lib/integ-tests/test-case:TestCase"
5101
+ },
5102
+ "@aws-cdk/cloud-assembly-schema.TestOptions": {
5103
+ "assembly": "@aws-cdk/cloud-assembly-schema",
5104
+ "datatype": true,
5105
+ "docs": {
5106
+ "stability": "stable",
5107
+ "summary": "The set of options to control the workflow of the test runner.",
5108
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst testOptions: cloud_assembly_schema.TestOptions = {\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n};",
5109
+ "custom": {
5110
+ "exampleMetadata": "fixture=_generated"
5111
+ }
5112
+ },
5113
+ "fqn": "@aws-cdk/cloud-assembly-schema.TestOptions",
5114
+ "kind": "interface",
5115
+ "locationInModule": {
5116
+ "filename": "lib/integ-tests/test-case.ts",
5117
+ "line": 6
5118
+ },
5119
+ "name": "TestOptions",
5120
+ "properties": [
5068
5121
  {
5069
5122
  "abstract": true,
5070
5123
  "docs": {
@@ -5076,7 +5129,7 @@
5076
5129
  "immutable": true,
5077
5130
  "locationInModule": {
5078
5131
  "filename": "lib/integ-tests/test-case.ts",
5079
- "line": 63
5132
+ "line": 55
5080
5133
  },
5081
5134
  "name": "allowDestroy",
5082
5135
  "optional": true,
@@ -5099,7 +5152,7 @@
5099
5152
  "immutable": true,
5100
5153
  "locationInModule": {
5101
5154
  "filename": "lib/integ-tests/test-case.ts",
5102
- "line": 29
5155
+ "line": 21
5103
5156
  },
5104
5157
  "name": "cdkCommandOptions",
5105
5158
  "optional": true,
@@ -5118,7 +5171,7 @@
5118
5171
  "immutable": true,
5119
5172
  "locationInModule": {
5120
5173
  "filename": "lib/integ-tests/test-case.ts",
5121
- "line": 48
5174
+ "line": 40
5122
5175
  },
5123
5176
  "name": "diffAssets",
5124
5177
  "optional": true,
@@ -5137,7 +5190,7 @@
5137
5190
  "immutable": true,
5138
5191
  "locationInModule": {
5139
5192
  "filename": "lib/integ-tests/test-case.ts",
5140
- "line": 38
5193
+ "line": 30
5141
5194
  },
5142
5195
  "name": "hooks",
5143
5196
  "optional": true,
@@ -5155,7 +5208,7 @@
5155
5208
  "immutable": true,
5156
5209
  "locationInModule": {
5157
5210
  "filename": "lib/integ-tests/test-case.ts",
5158
- "line": 70
5211
+ "line": 62
5159
5212
  },
5160
5213
  "name": "regions",
5161
5214
  "optional": true,
@@ -5178,7 +5231,7 @@
5178
5231
  "immutable": true,
5179
5232
  "locationInModule": {
5180
5233
  "filename": "lib/integ-tests/test-case.ts",
5181
- "line": 22
5234
+ "line": 14
5182
5235
  },
5183
5236
  "name": "stackUpdateWorkflow",
5184
5237
  "optional": true,
@@ -5187,7 +5240,7 @@
5187
5240
  }
5188
5241
  }
5189
5242
  ],
5190
- "symbolId": "lib/integ-tests/test-case:TestCase"
5243
+ "symbolId": "lib/integ-tests/test-case:TestOptions"
5191
5244
  },
5192
5245
  "@aws-cdk/cloud-assembly-schema.TreeArtifactProperties": {
5193
5246
  "assembly": "@aws-cdk/cloud-assembly-schema",
@@ -5360,6 +5413,6 @@
5360
5413
  "symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
5361
5414
  }
5362
5415
  },
5363
- "version": "1.152.0",
5416
+ "version": "1.154.0",
5364
5417
  "fingerprint": "**********"
5365
5418
  }