@aws-cdk/cloud-assembly-schema 2.24.0 → 2.26.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 +87 -31
- package/.jsii.tabl.json +69 -69
- package/lib/assets/docker-image-asset.d.ts +8 -0
- package/lib/assets/docker-image-asset.js +1 -1
- package/lib/cloud-assembly/metadata-schema.d.ts +6 -0
- package/lib/cloud-assembly/metadata-schema.js +1 -1
- package/lib/integ-tests/test-case.d.ts +6 -0
- package/lib/integ-tests/test-case.js +1 -1
- package/lib/manifest.js +1 -1
- package/package.json +3 -3
- package/schema/assets.schema.json +4 -0
- package/schema/cloud-assembly.schema.json +4 -0
- package/schema/cloud-assembly.version.json +1 -1
- package/schema/integ.schema.json +4 -0
package/.jsii
CHANGED
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"kind": "enum",
|
|
360
360
|
"locationInModule": {
|
|
361
361
|
"filename": "lib/cloud-assembly/metadata-schema.ts",
|
|
362
|
-
"line":
|
|
362
|
+
"line": 183
|
|
363
363
|
},
|
|
364
364
|
"members": [
|
|
365
365
|
{
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
"docs": {
|
|
570
570
|
"stability": "stable",
|
|
571
571
|
"summary": "Definitions for the asset manifest.",
|
|
572
|
-
"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 assetManifest: cloud_assembly_schema.AssetManifest = {\n version: 'version',\n\n // the properties below are optional\n dockerImages: {\n dockerImagesKey: {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n },\n },\n },\n files: {\n filesKey: {\n destinations: {\n destinationsKey: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n executable: ['executable'],\n packaging: cloud_assembly_schema.FileAssetPackaging.FILE,\n path: 'path',\n },\n },\n },\n};",
|
|
572
|
+
"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 assetManifest: cloud_assembly_schema.AssetManifest = {\n version: 'version',\n\n // the properties below are optional\n dockerImages: {\n dockerImagesKey: {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n platform: 'platform',\n },\n },\n },\n files: {\n filesKey: {\n destinations: {\n destinationsKey: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n executable: ['executable'],\n packaging: cloud_assembly_schema.FileAssetPackaging.FILE,\n path: 'path',\n },\n },\n },\n};",
|
|
573
573
|
"custom": {
|
|
574
574
|
"exampleMetadata": "fixture=_generated"
|
|
575
575
|
}
|
|
@@ -1242,7 +1242,7 @@
|
|
|
1242
1242
|
"kind": "interface",
|
|
1243
1243
|
"locationInModule": {
|
|
1244
1244
|
"filename": "lib/integ-tests/test-case.ts",
|
|
1245
|
-
"line":
|
|
1245
|
+
"line": 127
|
|
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":
|
|
1259
|
+
"line": 136
|
|
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":
|
|
1277
|
+
"line": 151
|
|
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":
|
|
1295
|
+
"line": 143
|
|
1296
1296
|
},
|
|
1297
1297
|
"name": "expectError",
|
|
1298
1298
|
"optional": true,
|
|
@@ -1318,7 +1318,7 @@
|
|
|
1318
1318
|
"kind": "interface",
|
|
1319
1319
|
"locationInModule": {
|
|
1320
1320
|
"filename": "lib/integ-tests/test-case.ts",
|
|
1321
|
-
"line":
|
|
1321
|
+
"line": 184
|
|
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":
|
|
1335
|
+
"line": 190
|
|
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":
|
|
1353
|
+
"line": 197
|
|
1354
1354
|
},
|
|
1355
1355
|
"name": "destroy",
|
|
1356
1356
|
"optional": true,
|
|
@@ -1367,7 +1367,7 @@
|
|
|
1367
1367
|
"docs": {
|
|
1368
1368
|
"stability": "stable",
|
|
1369
1369
|
"summary": "Metadata Entry spec for container images.",
|
|
1370
|
-
"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 containerImageAssetMetadataEntry: cloud_assembly_schema.ContainerImageAssetMetadataEntry = {\n id: 'id',\n packaging: 'packaging',\n path: 'path',\n sourceHash: 'sourceHash',\n\n // the properties below are optional\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n file: 'file',\n imageNameParameter: 'imageNameParameter',\n imageTag: 'imageTag',\n networkMode: 'networkMode',\n repositoryName: 'repositoryName',\n target: 'target',\n};",
|
|
1370
|
+
"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 containerImageAssetMetadataEntry: cloud_assembly_schema.ContainerImageAssetMetadataEntry = {\n id: 'id',\n packaging: 'packaging',\n path: 'path',\n sourceHash: 'sourceHash',\n\n // the properties below are optional\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n file: 'file',\n imageNameParameter: 'imageNameParameter',\n imageTag: 'imageTag',\n networkMode: 'networkMode',\n platform: 'platform',\n repositoryName: 'repositoryName',\n target: 'target',\n};",
|
|
1371
1371
|
"custom": {
|
|
1372
1372
|
"exampleMetadata": "fixture=_generated"
|
|
1373
1373
|
}
|
|
@@ -1541,6 +1541,25 @@
|
|
|
1541
1541
|
"primitive": "string"
|
|
1542
1542
|
}
|
|
1543
1543
|
},
|
|
1544
|
+
{
|
|
1545
|
+
"abstract": true,
|
|
1546
|
+
"docs": {
|
|
1547
|
+
"default": "- current machine platform",
|
|
1548
|
+
"remarks": "_Requires Docker Buildx_.",
|
|
1549
|
+
"stability": "stable",
|
|
1550
|
+
"summary": "Platform to build for."
|
|
1551
|
+
},
|
|
1552
|
+
"immutable": true,
|
|
1553
|
+
"locationInModule": {
|
|
1554
|
+
"filename": "lib/cloud-assembly/metadata-schema.ts",
|
|
1555
|
+
"line": 147
|
|
1556
|
+
},
|
|
1557
|
+
"name": "platform",
|
|
1558
|
+
"optional": true,
|
|
1559
|
+
"type": {
|
|
1560
|
+
"primitive": "string"
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1544
1563
|
{
|
|
1545
1564
|
"abstract": true,
|
|
1546
1565
|
"docs": {
|
|
@@ -2144,7 +2163,7 @@
|
|
|
2144
2163
|
"kind": "interface",
|
|
2145
2164
|
"locationInModule": {
|
|
2146
2165
|
"filename": "lib/integ-tests/test-case.ts",
|
|
2147
|
-
"line":
|
|
2166
|
+
"line": 157
|
|
2148
2167
|
},
|
|
2149
2168
|
"name": "DeployCommand",
|
|
2150
2169
|
"properties": [
|
|
@@ -2158,7 +2177,7 @@
|
|
|
2158
2177
|
"immutable": true,
|
|
2159
2178
|
"locationInModule": {
|
|
2160
2179
|
"filename": "lib/integ-tests/test-case.ts",
|
|
2161
|
-
"line":
|
|
2180
|
+
"line": 164
|
|
2162
2181
|
},
|
|
2163
2182
|
"name": "args",
|
|
2164
2183
|
"optional": true,
|
|
@@ -2463,7 +2482,7 @@
|
|
|
2463
2482
|
"kind": "interface",
|
|
2464
2483
|
"locationInModule": {
|
|
2465
2484
|
"filename": "lib/integ-tests/test-case.ts",
|
|
2466
|
-
"line":
|
|
2485
|
+
"line": 170
|
|
2467
2486
|
},
|
|
2468
2487
|
"name": "DestroyCommand",
|
|
2469
2488
|
"properties": [
|
|
@@ -2477,7 +2496,7 @@
|
|
|
2477
2496
|
"immutable": true,
|
|
2478
2497
|
"locationInModule": {
|
|
2479
2498
|
"filename": "lib/integ-tests/test-case.ts",
|
|
2480
|
-
"line":
|
|
2499
|
+
"line": 177
|
|
2481
2500
|
},
|
|
2482
2501
|
"name": "args",
|
|
2483
2502
|
"optional": true,
|
|
@@ -2555,7 +2574,7 @@
|
|
|
2555
2574
|
"docs": {
|
|
2556
2575
|
"stability": "stable",
|
|
2557
2576
|
"summary": "A file asset.",
|
|
2558
|
-
"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 dockerImageAsset: cloud_assembly_schema.DockerImageAsset = {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n },\n};",
|
|
2577
|
+
"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 dockerImageAsset: cloud_assembly_schema.DockerImageAsset = {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n platform: 'platform',\n },\n};",
|
|
2559
2578
|
"custom": {
|
|
2560
2579
|
"exampleMetadata": "fixture=_generated"
|
|
2561
2580
|
}
|
|
@@ -2626,7 +2645,7 @@
|
|
|
2626
2645
|
"kind": "interface",
|
|
2627
2646
|
"locationInModule": {
|
|
2628
2647
|
"filename": "lib/assets/docker-image-asset.ts",
|
|
2629
|
-
"line":
|
|
2648
|
+
"line": 88
|
|
2630
2649
|
},
|
|
2631
2650
|
"name": "DockerImageDestination",
|
|
2632
2651
|
"properties": [
|
|
@@ -2639,7 +2658,7 @@
|
|
|
2639
2658
|
"immutable": true,
|
|
2640
2659
|
"locationInModule": {
|
|
2641
2660
|
"filename": "lib/assets/docker-image-asset.ts",
|
|
2642
|
-
"line":
|
|
2661
|
+
"line": 97
|
|
2643
2662
|
},
|
|
2644
2663
|
"name": "imageTag",
|
|
2645
2664
|
"type": {
|
|
@@ -2655,7 +2674,7 @@
|
|
|
2655
2674
|
"immutable": true,
|
|
2656
2675
|
"locationInModule": {
|
|
2657
2676
|
"filename": "lib/assets/docker-image-asset.ts",
|
|
2658
|
-
"line":
|
|
2677
|
+
"line": 92
|
|
2659
2678
|
},
|
|
2660
2679
|
"name": "repositoryName",
|
|
2661
2680
|
"type": {
|
|
@@ -2671,7 +2690,7 @@
|
|
|
2671
2690
|
"docs": {
|
|
2672
2691
|
"stability": "stable",
|
|
2673
2692
|
"summary": "Properties for how to produce a Docker image from a source.",
|
|
2674
|
-
"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 dockerImageSource: cloud_assembly_schema.DockerImageSource = {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n};",
|
|
2693
|
+
"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 dockerImageSource: cloud_assembly_schema.DockerImageSource = {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n platform: 'platform',\n};",
|
|
2675
2694
|
"custom": {
|
|
2676
2695
|
"exampleMetadata": "fixture=_generated"
|
|
2677
2696
|
}
|
|
@@ -2806,6 +2825,25 @@
|
|
|
2806
2825
|
"type": {
|
|
2807
2826
|
"primitive": "string"
|
|
2808
2827
|
}
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
"abstract": true,
|
|
2831
|
+
"docs": {
|
|
2832
|
+
"default": "- current machine platform",
|
|
2833
|
+
"remarks": "Specify this property to build images on a specific platform/architecture.",
|
|
2834
|
+
"stability": "stable",
|
|
2835
|
+
"summary": "Platform to build for. _Requires Docker Buildx_."
|
|
2836
|
+
},
|
|
2837
|
+
"immutable": true,
|
|
2838
|
+
"locationInModule": {
|
|
2839
|
+
"filename": "lib/assets/docker-image-asset.ts",
|
|
2840
|
+
"line": 82
|
|
2841
|
+
},
|
|
2842
|
+
"name": "platform",
|
|
2843
|
+
"optional": true,
|
|
2844
|
+
"type": {
|
|
2845
|
+
"primitive": "string"
|
|
2846
|
+
}
|
|
2809
2847
|
}
|
|
2810
2848
|
],
|
|
2811
2849
|
"symbolId": "lib/assets/docker-image-asset:DockerImageSource"
|
|
@@ -3277,7 +3315,7 @@
|
|
|
3277
3315
|
"kind": "interface",
|
|
3278
3316
|
"locationInModule": {
|
|
3279
3317
|
"filename": "lib/integ-tests/test-case.ts",
|
|
3280
|
-
"line":
|
|
3318
|
+
"line": 89
|
|
3281
3319
|
},
|
|
3282
3320
|
"name": "Hooks",
|
|
3283
3321
|
"properties": [
|
|
@@ -3291,7 +3329,7 @@
|
|
|
3291
3329
|
"immutable": true,
|
|
3292
3330
|
"locationInModule": {
|
|
3293
3331
|
"filename": "lib/integ-tests/test-case.ts",
|
|
3294
|
-
"line":
|
|
3332
|
+
"line": 104
|
|
3295
3333
|
},
|
|
3296
3334
|
"name": "postDeploy",
|
|
3297
3335
|
"optional": true,
|
|
@@ -3314,7 +3352,7 @@
|
|
|
3314
3352
|
"immutable": true,
|
|
3315
3353
|
"locationInModule": {
|
|
3316
3354
|
"filename": "lib/integ-tests/test-case.ts",
|
|
3317
|
-
"line":
|
|
3355
|
+
"line": 120
|
|
3318
3356
|
},
|
|
3319
3357
|
"name": "postDestroy",
|
|
3320
3358
|
"optional": true,
|
|
@@ -3337,7 +3375,7 @@
|
|
|
3337
3375
|
"immutable": true,
|
|
3338
3376
|
"locationInModule": {
|
|
3339
3377
|
"filename": "lib/integ-tests/test-case.ts",
|
|
3340
|
-
"line":
|
|
3378
|
+
"line": 96
|
|
3341
3379
|
},
|
|
3342
3380
|
"name": "preDeploy",
|
|
3343
3381
|
"optional": true,
|
|
@@ -3360,7 +3398,7 @@
|
|
|
3360
3398
|
"immutable": true,
|
|
3361
3399
|
"locationInModule": {
|
|
3362
3400
|
"filename": "lib/integ-tests/test-case.ts",
|
|
3363
|
-
"line":
|
|
3401
|
+
"line": 112
|
|
3364
3402
|
},
|
|
3365
3403
|
"name": "preDestroy",
|
|
3366
3404
|
"optional": true,
|
|
@@ -3507,7 +3545,7 @@
|
|
|
3507
3545
|
"docs": {
|
|
3508
3546
|
"stability": "stable",
|
|
3509
3547
|
"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 synthContext: {\n synthContextKey: 'synthContext',\n },\n};",
|
|
3548
|
+
"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 assertionStack: 'assertionStack',\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
3549
|
"custom": {
|
|
3512
3550
|
"exampleMetadata": "fixture=_generated"
|
|
3513
3551
|
}
|
|
@@ -4413,7 +4451,7 @@
|
|
|
4413
4451
|
"kind": "interface",
|
|
4414
4452
|
"locationInModule": {
|
|
4415
4453
|
"filename": "lib/cloud-assembly/metadata-schema.ts",
|
|
4416
|
-
"line":
|
|
4454
|
+
"line": 218
|
|
4417
4455
|
},
|
|
4418
4456
|
"name": "MetadataEntry",
|
|
4419
4457
|
"properties": [
|
|
@@ -4426,7 +4464,7 @@
|
|
|
4426
4464
|
"immutable": true,
|
|
4427
4465
|
"locationInModule": {
|
|
4428
4466
|
"filename": "lib/cloud-assembly/metadata-schema.ts",
|
|
4429
|
-
"line":
|
|
4467
|
+
"line": 222
|
|
4430
4468
|
},
|
|
4431
4469
|
"name": "type",
|
|
4432
4470
|
"type": {
|
|
@@ -4443,7 +4481,7 @@
|
|
|
4443
4481
|
"immutable": true,
|
|
4444
4482
|
"locationInModule": {
|
|
4445
4483
|
"filename": "lib/cloud-assembly/metadata-schema.ts",
|
|
4446
|
-
"line":
|
|
4484
|
+
"line": 229
|
|
4447
4485
|
},
|
|
4448
4486
|
"name": "data",
|
|
4449
4487
|
"optional": true,
|
|
@@ -4481,7 +4519,7 @@
|
|
|
4481
4519
|
"immutable": true,
|
|
4482
4520
|
"locationInModule": {
|
|
4483
4521
|
"filename": "lib/cloud-assembly/metadata-schema.ts",
|
|
4484
|
-
"line":
|
|
4522
|
+
"line": 236
|
|
4485
4523
|
},
|
|
4486
4524
|
"name": "trace",
|
|
4487
4525
|
"optional": true,
|
|
@@ -5055,7 +5093,7 @@
|
|
|
5055
5093
|
"docs": {
|
|
5056
5094
|
"stability": "stable",
|
|
5057
5095
|
"summary": "Represents an integration test case.",
|
|
5058
|
-
"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};",
|
|
5096
|
+
"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 assertionStack: 'assertionStack',\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};",
|
|
5059
5097
|
"custom": {
|
|
5060
5098
|
"exampleMetadata": "fixture=_generated"
|
|
5061
5099
|
}
|
|
@@ -5091,6 +5129,24 @@
|
|
|
5091
5129
|
"kind": "array"
|
|
5092
5130
|
}
|
|
5093
5131
|
}
|
|
5132
|
+
},
|
|
5133
|
+
{
|
|
5134
|
+
"abstract": true,
|
|
5135
|
+
"docs": {
|
|
5136
|
+
"default": "- no assertion stack",
|
|
5137
|
+
"stability": "stable",
|
|
5138
|
+
"summary": "The name of the stack that contains assertions."
|
|
5139
|
+
},
|
|
5140
|
+
"immutable": true,
|
|
5141
|
+
"locationInModule": {
|
|
5142
|
+
"filename": "lib/integ-tests/test-case.ts",
|
|
5143
|
+
"line": 82
|
|
5144
|
+
},
|
|
5145
|
+
"name": "assertionStack",
|
|
5146
|
+
"optional": true,
|
|
5147
|
+
"type": {
|
|
5148
|
+
"primitive": "string"
|
|
5149
|
+
}
|
|
5094
5150
|
}
|
|
5095
5151
|
],
|
|
5096
5152
|
"symbolId": "lib/integ-tests/test-case:TestCase"
|
|
@@ -5409,6 +5465,6 @@
|
|
|
5409
5465
|
"symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
|
|
5410
5466
|
}
|
|
5411
5467
|
},
|
|
5412
|
-
"version": "2.
|
|
5468
|
+
"version": "2.26.0",
|
|
5413
5469
|
"fingerprint": "**********"
|
|
5414
5470
|
}
|