@aws-cdk/cloud-assembly-schema 2.19.0 → 2.21.1

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 (53) hide show
  1. package/.jsii +1535 -48
  2. package/.jsii.tabl.json +658 -1
  3. package/.warnings.jsii.js +267 -99
  4. package/NOTICE +0 -17
  5. package/lib/index.d.ts +1 -0
  6. package/lib/index.js +2 -1
  7. package/lib/integ-tests/commands/common.d.ts +178 -0
  8. package/lib/integ-tests/commands/common.js +22 -0
  9. package/lib/integ-tests/commands/deploy.d.ts +86 -0
  10. package/lib/integ-tests/commands/deploy.js +3 -0
  11. package/lib/integ-tests/commands/destroy.d.ts +18 -0
  12. package/lib/integ-tests/commands/destroy.js +3 -0
  13. package/lib/integ-tests/commands/index.d.ts +3 -0
  14. package/lib/integ-tests/commands/index.js +16 -0
  15. package/lib/integ-tests/index.d.ts +3 -0
  16. package/lib/integ-tests/index.js +16 -0
  17. package/lib/integ-tests/schema.d.ts +25 -0
  18. package/lib/integ-tests/schema.js +3 -0
  19. package/lib/integ-tests/test-case.d.ts +173 -0
  20. package/lib/integ-tests/test-case.js +3 -0
  21. package/lib/manifest.d.ts +14 -0
  22. package/lib/manifest.js +75 -7
  23. package/node_modules/lru-cache/LICENSE +1 -1
  24. package/node_modules/lru-cache/README.md +632 -99
  25. package/node_modules/lru-cache/index.js +732 -251
  26. package/node_modules/lru-cache/package.json +17 -7
  27. package/node_modules/semver/README.md +3 -1
  28. package/node_modules/semver/bin/semver.js +17 -8
  29. package/node_modules/semver/classes/comparator.js +3 -2
  30. package/node_modules/semver/classes/index.js +1 -1
  31. package/node_modules/semver/classes/range.js +31 -22
  32. package/node_modules/semver/functions/cmp.js +8 -4
  33. package/node_modules/semver/functions/coerce.js +3 -2
  34. package/node_modules/semver/functions/parse.js +1 -1
  35. package/node_modules/semver/internal/constants.js +2 -2
  36. package/node_modules/semver/internal/identifiers.js +1 -1
  37. package/node_modules/semver/internal/parse-options.js +3 -3
  38. package/node_modules/semver/internal/re.js +3 -3
  39. package/node_modules/semver/package.json +46 -13
  40. package/node_modules/semver/ranges/min-version.js +2 -1
  41. package/node_modules/semver/ranges/outside.js +1 -1
  42. package/node_modules/semver/ranges/simplify.js +15 -12
  43. package/node_modules/semver/ranges/subset.js +53 -31
  44. package/package.json +4 -4
  45. package/schema/cloud-assembly.version.json +1 -1
  46. package/schema/integ.schema.json +474 -0
  47. package/scripts/update-schema.js +2 -1
  48. package/node_modules/semver/CHANGELOG.md +0 -111
  49. package/node_modules/yallist/LICENSE +0 -15
  50. package/node_modules/yallist/README.md +0 -204
  51. package/node_modules/yallist/iterator.js +0 -8
  52. package/node_modules/yallist/package.json +0 -29
  53. 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"
@@ -1227,6 +1227,140 @@
1227
1227
  ],
1228
1228
  "symbolId": "lib/cloud-assembly/artifact-schema:BootstrapRole"
1229
1229
  },
1230
+ "@aws-cdk/cloud-assembly-schema.CdkCommand": {
1231
+ "assembly": "@aws-cdk/cloud-assembly-schema",
1232
+ "datatype": true,
1233
+ "docs": {
1234
+ "stability": "stable",
1235
+ "summary": "Represents a cdk command i.e. `synth`, `deploy`, & `destroy`.",
1236
+ "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 cdkCommand: cloud_assembly_schema.CdkCommand = {\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n};",
1237
+ "custom": {
1238
+ "exampleMetadata": "fixture=_generated"
1239
+ }
1240
+ },
1241
+ "fqn": "@aws-cdk/cloud-assembly-schema.CdkCommand",
1242
+ "kind": "interface",
1243
+ "locationInModule": {
1244
+ "filename": "lib/integ-tests/test-case.ts",
1245
+ "line": 120
1246
+ },
1247
+ "name": "CdkCommand",
1248
+ "properties": [
1249
+ {
1250
+ "abstract": true,
1251
+ "docs": {
1252
+ "default": "true",
1253
+ "stability": "stable",
1254
+ "summary": "Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enable `synth` and disable `deploy` & `destroy` in order to limit the test to synthesis."
1255
+ },
1256
+ "immutable": true,
1257
+ "locationInModule": {
1258
+ "filename": "lib/integ-tests/test-case.ts",
1259
+ "line": 129
1260
+ },
1261
+ "name": "enabled",
1262
+ "optional": true,
1263
+ "type": {
1264
+ "primitive": "boolean"
1265
+ }
1266
+ },
1267
+ {
1268
+ "abstract": true,
1269
+ "docs": {
1270
+ "default": "- do not validate message",
1271
+ "stability": "stable",
1272
+ "summary": "This can be used in combination with `expectedError` to validate that a specific message is returned."
1273
+ },
1274
+ "immutable": true,
1275
+ "locationInModule": {
1276
+ "filename": "lib/integ-tests/test-case.ts",
1277
+ "line": 144
1278
+ },
1279
+ "name": "expectedMessage",
1280
+ "optional": true,
1281
+ "type": {
1282
+ "primitive": "string"
1283
+ }
1284
+ },
1285
+ {
1286
+ "abstract": true,
1287
+ "docs": {
1288
+ "default": "false",
1289
+ "stability": "stable",
1290
+ "summary": "If the runner should expect this command to fail."
1291
+ },
1292
+ "immutable": true,
1293
+ "locationInModule": {
1294
+ "filename": "lib/integ-tests/test-case.ts",
1295
+ "line": 136
1296
+ },
1297
+ "name": "expectError",
1298
+ "optional": true,
1299
+ "type": {
1300
+ "primitive": "boolean"
1301
+ }
1302
+ }
1303
+ ],
1304
+ "symbolId": "lib/integ-tests/test-case:CdkCommand"
1305
+ },
1306
+ "@aws-cdk/cloud-assembly-schema.CdkCommands": {
1307
+ "assembly": "@aws-cdk/cloud-assembly-schema",
1308
+ "datatype": true,
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
+ "custom": {
1314
+ "exampleMetadata": "fixture=_generated"
1315
+ }
1316
+ },
1317
+ "fqn": "@aws-cdk/cloud-assembly-schema.CdkCommands",
1318
+ "kind": "interface",
1319
+ "locationInModule": {
1320
+ "filename": "lib/integ-tests/test-case.ts",
1321
+ "line": 177
1322
+ },
1323
+ "name": "CdkCommands",
1324
+ "properties": [
1325
+ {
1326
+ "abstract": true,
1327
+ "docs": {
1328
+ "default": "- default deploy options",
1329
+ "stability": "stable",
1330
+ "summary": "Options to for the cdk deploy command."
1331
+ },
1332
+ "immutable": true,
1333
+ "locationInModule": {
1334
+ "filename": "lib/integ-tests/test-case.ts",
1335
+ "line": 183
1336
+ },
1337
+ "name": "deploy",
1338
+ "optional": true,
1339
+ "type": {
1340
+ "fqn": "@aws-cdk/cloud-assembly-schema.DeployCommand"
1341
+ }
1342
+ },
1343
+ {
1344
+ "abstract": true,
1345
+ "docs": {
1346
+ "default": "- default destroy options",
1347
+ "stability": "stable",
1348
+ "summary": "Options to for the cdk destroy command."
1349
+ },
1350
+ "immutable": true,
1351
+ "locationInModule": {
1352
+ "filename": "lib/integ-tests/test-case.ts",
1353
+ "line": 190
1354
+ },
1355
+ "name": "destroy",
1356
+ "optional": true,
1357
+ "type": {
1358
+ "fqn": "@aws-cdk/cloud-assembly-schema.DestroyCommand"
1359
+ }
1360
+ }
1361
+ ],
1362
+ "symbolId": "lib/integ-tests/test-case:CdkCommands"
1363
+ },
1230
1364
  "@aws-cdk/cloud-assembly-schema.ContainerImageAssetMetadataEntry": {
1231
1365
  "assembly": "@aws-cdk/cloud-assembly-schema",
1232
1366
  "datatype": true,
@@ -1498,48 +1632,922 @@
1498
1632
  {
1499
1633
  "docs": {
1500
1634
  "stability": "stable",
1501
- "summary": "VPC Endpoint Service AZ Provider."
1635
+ "summary": "VPC Endpoint Service AZ Provider."
1636
+ },
1637
+ "name": "ENDPOINT_SERVICE_AVAILABILITY_ZONE_PROVIDER"
1638
+ },
1639
+ {
1640
+ "docs": {
1641
+ "stability": "stable",
1642
+ "summary": "Load balancer provider."
1643
+ },
1644
+ "name": "LOAD_BALANCER_PROVIDER"
1645
+ },
1646
+ {
1647
+ "docs": {
1648
+ "stability": "stable",
1649
+ "summary": "Load balancer listener provider."
1650
+ },
1651
+ "name": "LOAD_BALANCER_LISTENER_PROVIDER"
1652
+ },
1653
+ {
1654
+ "docs": {
1655
+ "stability": "stable",
1656
+ "summary": "Security group provider."
1657
+ },
1658
+ "name": "SECURITY_GROUP_PROVIDER"
1659
+ },
1660
+ {
1661
+ "docs": {
1662
+ "stability": "stable",
1663
+ "summary": "KMS Key Provider."
1664
+ },
1665
+ "name": "KEY_PROVIDER"
1666
+ },
1667
+ {
1668
+ "docs": {
1669
+ "stability": "stable",
1670
+ "summary": "A plugin provider (the actual plugin name will be in the properties)."
1671
+ },
1672
+ "name": "PLUGIN"
1673
+ }
1674
+ ],
1675
+ "name": "ContextProvider",
1676
+ "symbolId": "lib/cloud-assembly/context-queries:ContextProvider"
1677
+ },
1678
+ "@aws-cdk/cloud-assembly-schema.DefaultCdkOptions": {
1679
+ "assembly": "@aws-cdk/cloud-assembly-schema",
1680
+ "datatype": true,
1681
+ "docs": {
1682
+ "stability": "stable",
1683
+ "summary": "Default CDK CLI options that apply to all commands.",
1684
+ "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 defaultCdkOptions: cloud_assembly_schema.DefaultCdkOptions = {\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 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};",
1685
+ "custom": {
1686
+ "exampleMetadata": "fixture=_generated"
1687
+ }
1688
+ },
1689
+ "fqn": "@aws-cdk/cloud-assembly-schema.DefaultCdkOptions",
1690
+ "kind": "interface",
1691
+ "locationInModule": {
1692
+ "filename": "lib/integ-tests/commands/common.ts",
1693
+ "line": 24
1694
+ },
1695
+ "name": "DefaultCdkOptions",
1696
+ "properties": [
1697
+ {
1698
+ "abstract": true,
1699
+ "docs": {
1700
+ "default": "- false",
1701
+ "remarks": "Requried if `stacks` is not set",
1702
+ "stability": "stable",
1703
+ "summary": "Deploy all stacks."
1704
+ },
1705
+ "immutable": true,
1706
+ "locationInModule": {
1707
+ "filename": "lib/integ-tests/commands/common.ts",
1708
+ "line": 41
1709
+ },
1710
+ "name": "all",
1711
+ "optional": true,
1712
+ "type": {
1713
+ "primitive": "boolean"
1714
+ }
1715
+ },
1716
+ {
1717
+ "abstract": true,
1718
+ "docs": {
1719
+ "default": "- read from cdk.json",
1720
+ "stability": "stable",
1721
+ "summary": "command-line for executing your app or a cloud assembly directory e.g. \"node bin/my-app.js\" or \"cdk.out\"."
1722
+ },
1723
+ "immutable": true,
1724
+ "locationInModule": {
1725
+ "filename": "lib/integ-tests/commands/common.ts",
1726
+ "line": 51
1727
+ },
1728
+ "name": "app",
1729
+ "optional": true,
1730
+ "type": {
1731
+ "primitive": "string"
1732
+ }
1733
+ },
1734
+ {
1735
+ "abstract": true,
1736
+ "docs": {
1737
+ "default": "true",
1738
+ "stability": "stable",
1739
+ "summary": "Include \"aws:asset:*\" CloudFormation metadata for resources that use assets."
1740
+ },
1741
+ "immutable": true,
1742
+ "locationInModule": {
1743
+ "filename": "lib/integ-tests/commands/common.ts",
1744
+ "line": 171
1745
+ },
1746
+ "name": "assetMetadata",
1747
+ "optional": true,
1748
+ "type": {
1749
+ "primitive": "boolean"
1750
+ }
1751
+ },
1752
+ {
1753
+ "abstract": true,
1754
+ "docs": {
1755
+ "default": "- read from AWS_CA_BUNDLE environment variable",
1756
+ "stability": "stable",
1757
+ "summary": "Path to CA certificate to use when validating HTTPS requests."
1758
+ },
1759
+ "immutable": true,
1760
+ "locationInModule": {
1761
+ "filename": "lib/integ-tests/commands/common.ts",
1762
+ "line": 143
1763
+ },
1764
+ "name": "caBundlePath",
1765
+ "optional": true,
1766
+ "type": {
1767
+ "primitive": "string"
1768
+ }
1769
+ },
1770
+ {
1771
+ "abstract": true,
1772
+ "docs": {
1773
+ "default": "true",
1774
+ "stability": "stable",
1775
+ "summary": "Show colors and other style from console output."
1776
+ },
1777
+ "immutable": true,
1778
+ "locationInModule": {
1779
+ "filename": "lib/integ-tests/commands/common.ts",
1780
+ "line": 201
1781
+ },
1782
+ "name": "color",
1783
+ "optional": true,
1784
+ "type": {
1785
+ "primitive": "boolean"
1786
+ }
1787
+ },
1788
+ {
1789
+ "abstract": true,
1790
+ "docs": {
1791
+ "default": "- no additional context",
1792
+ "stability": "stable",
1793
+ "summary": "Additional context."
1794
+ },
1795
+ "immutable": true,
1796
+ "locationInModule": {
1797
+ "filename": "lib/integ-tests/commands/common.ts",
1798
+ "line": 66
1799
+ },
1800
+ "name": "context",
1801
+ "optional": true,
1802
+ "type": {
1803
+ "collection": {
1804
+ "elementtype": {
1805
+ "primitive": "string"
1806
+ },
1807
+ "kind": "map"
1808
+ }
1809
+ }
1810
+ },
1811
+ {
1812
+ "abstract": true,
1813
+ "docs": {
1814
+ "default": "false",
1815
+ "stability": "stable",
1816
+ "summary": "enable emission of additional debugging information, such as creation stack traces of tokens."
1817
+ },
1818
+ "immutable": true,
1819
+ "locationInModule": {
1820
+ "filename": "lib/integ-tests/commands/common.ts",
1821
+ "line": 120
1822
+ },
1823
+ "name": "debug",
1824
+ "optional": true,
1825
+ "type": {
1826
+ "primitive": "boolean"
1827
+ }
1828
+ },
1829
+ {
1830
+ "abstract": true,
1831
+ "docs": {
1832
+ "default": "- guess EC2 instance status",
1833
+ "stability": "stable",
1834
+ "summary": "Force trying to fetch EC2 instance credentials."
1835
+ },
1836
+ "immutable": true,
1837
+ "locationInModule": {
1838
+ "filename": "lib/integ-tests/commands/common.ts",
1839
+ "line": 150
1840
+ },
1841
+ "name": "ec2Creds",
1842
+ "optional": true,
1843
+ "type": {
1844
+ "primitive": "boolean"
1845
+ }
1846
+ },
1847
+ {
1848
+ "abstract": true,
1849
+ "docs": {
1850
+ "default": "false",
1851
+ "stability": "stable",
1852
+ "summary": "Ignores synthesis errors, which will likely produce an invalid output."
1853
+ },
1854
+ "immutable": true,
1855
+ "locationInModule": {
1856
+ "filename": "lib/integ-tests/commands/common.ts",
1857
+ "line": 97
1858
+ },
1859
+ "name": "ignoreErrors",
1860
+ "optional": true,
1861
+ "type": {
1862
+ "primitive": "boolean"
1863
+ }
1864
+ },
1865
+ {
1866
+ "abstract": true,
1867
+ "docs": {
1868
+ "default": "false",
1869
+ "stability": "stable",
1870
+ "summary": "Use JSON output instead of YAML when templates are printed to STDOUT."
1871
+ },
1872
+ "immutable": true,
1873
+ "locationInModule": {
1874
+ "filename": "lib/integ-tests/commands/common.ts",
1875
+ "line": 105
1876
+ },
1877
+ "name": "json",
1878
+ "optional": true,
1879
+ "type": {
1880
+ "primitive": "boolean"
1881
+ }
1882
+ },
1883
+ {
1884
+ "abstract": true,
1885
+ "docs": {
1886
+ "default": "true",
1887
+ "remarks": "Synthesis fails if this is disabled and context lookups need\nto be performed",
1888
+ "stability": "stable",
1889
+ "summary": "Perform context lookups."
1890
+ },
1891
+ "immutable": true,
1892
+ "locationInModule": {
1893
+ "filename": "lib/integ-tests/commands/common.ts",
1894
+ "line": 90
1895
+ },
1896
+ "name": "lookups",
1897
+ "optional": true,
1898
+ "type": {
1899
+ "primitive": "boolean"
1900
+ }
1901
+ },
1902
+ {
1903
+ "abstract": true,
1904
+ "docs": {
1905
+ "default": "true",
1906
+ "stability": "stable",
1907
+ "summary": "Show relevant notices."
1908
+ },
1909
+ "immutable": true,
1910
+ "locationInModule": {
1911
+ "filename": "lib/integ-tests/commands/common.ts",
1912
+ "line": 194
1913
+ },
1914
+ "name": "notices",
1915
+ "optional": true,
1916
+ "type": {
1917
+ "primitive": "boolean"
1918
+ }
1919
+ },
1920
+ {
1921
+ "abstract": true,
1922
+ "docs": {
1923
+ "default": "cdk.out",
1924
+ "stability": "stable",
1925
+ "summary": "Emits the synthesized cloud assembly into a directory."
1926
+ },
1927
+ "immutable": true,
1928
+ "locationInModule": {
1929
+ "filename": "lib/integ-tests/commands/common.ts",
1930
+ "line": 187
1931
+ },
1932
+ "name": "output",
1933
+ "optional": true,
1934
+ "type": {
1935
+ "primitive": "string"
1936
+ }
1937
+ },
1938
+ {
1939
+ "abstract": true,
1940
+ "docs": {
1941
+ "default": "true",
1942
+ "stability": "stable",
1943
+ "summary": "Include \"aws:cdk:path\" CloudFormation metadata for each resource."
1944
+ },
1945
+ "immutable": true,
1946
+ "locationInModule": {
1947
+ "filename": "lib/integ-tests/commands/common.ts",
1948
+ "line": 164
1949
+ },
1950
+ "name": "pathMetadata",
1951
+ "optional": true,
1952
+ "type": {
1953
+ "primitive": "boolean"
1954
+ }
1955
+ },
1956
+ {
1957
+ "abstract": true,
1958
+ "docs": {
1959
+ "default": "- no profile is used",
1960
+ "stability": "stable",
1961
+ "summary": "Use the indicated AWS profile as the default environment."
1962
+ },
1963
+ "immutable": true,
1964
+ "locationInModule": {
1965
+ "filename": "lib/integ-tests/commands/common.ts",
1966
+ "line": 127
1967
+ },
1968
+ "name": "profile",
1969
+ "optional": true,
1970
+ "type": {
1971
+ "primitive": "string"
1972
+ }
1973
+ },
1974
+ {
1975
+ "abstract": true,
1976
+ "docs": {
1977
+ "default": "- no proxy",
1978
+ "remarks": "Will read from\nHTTPS_PROXY environment if specified",
1979
+ "stability": "stable",
1980
+ "summary": "Use the indicated proxy."
1981
+ },
1982
+ "immutable": true,
1983
+ "locationInModule": {
1984
+ "filename": "lib/integ-tests/commands/common.ts",
1985
+ "line": 135
1986
+ },
1987
+ "name": "proxy",
1988
+ "optional": true,
1989
+ "type": {
1990
+ "primitive": "string"
1991
+ }
1992
+ },
1993
+ {
1994
+ "abstract": true,
1995
+ "docs": {
1996
+ "default": "- use the bootstrap cfn-exec role",
1997
+ "stability": "stable",
1998
+ "summary": "Role to pass to CloudFormation for deployment."
1999
+ },
2000
+ "immutable": true,
2001
+ "locationInModule": {
2002
+ "filename": "lib/integ-tests/commands/common.ts",
2003
+ "line": 59
2004
+ },
2005
+ "name": "roleArn",
2006
+ "optional": true,
2007
+ "type": {
2008
+ "primitive": "string"
2009
+ }
2010
+ },
2011
+ {
2012
+ "abstract": true,
2013
+ "docs": {
2014
+ "default": "- []",
2015
+ "remarks": "Requried if `all` is not set",
2016
+ "stability": "stable",
2017
+ "summary": "List of stacks to deploy."
2018
+ },
2019
+ "immutable": true,
2020
+ "locationInModule": {
2021
+ "filename": "lib/integ-tests/commands/common.ts",
2022
+ "line": 32
2023
+ },
2024
+ "name": "stacks",
2025
+ "optional": true,
2026
+ "type": {
2027
+ "collection": {
2028
+ "elementtype": {
2029
+ "primitive": "string"
2030
+ },
2031
+ "kind": "array"
2032
+ }
2033
+ }
2034
+ },
2035
+ {
2036
+ "abstract": true,
2037
+ "docs": {
2038
+ "default": "false",
2039
+ "remarks": "Needed for local debugging the source files with SAM CLI",
2040
+ "stability": "stable",
2041
+ "summary": "Copy assets to the output directory."
2042
+ },
2043
+ "immutable": true,
2044
+ "locationInModule": {
2045
+ "filename": "lib/integ-tests/commands/common.ts",
2046
+ "line": 180
2047
+ },
2048
+ "name": "staging",
2049
+ "optional": true,
2050
+ "type": {
2051
+ "primitive": "boolean"
2052
+ }
2053
+ },
2054
+ {
2055
+ "abstract": true,
2056
+ "docs": {
2057
+ "default": "false",
2058
+ "stability": "stable",
2059
+ "summary": "Do not construct stacks with warnings."
2060
+ },
2061
+ "immutable": true,
2062
+ "locationInModule": {
2063
+ "filename": "lib/integ-tests/commands/common.ts",
2064
+ "line": 80
2065
+ },
2066
+ "name": "strict",
2067
+ "optional": true,
2068
+ "type": {
2069
+ "primitive": "boolean"
2070
+ }
2071
+ },
2072
+ {
2073
+ "abstract": true,
2074
+ "docs": {
2075
+ "default": "false",
2076
+ "stability": "stable",
2077
+ "summary": "Print trace for stack warnings."
2078
+ },
2079
+ "immutable": true,
2080
+ "locationInModule": {
2081
+ "filename": "lib/integ-tests/commands/common.ts",
2082
+ "line": 73
2083
+ },
2084
+ "name": "trace",
2085
+ "optional": true,
2086
+ "type": {
2087
+ "primitive": "boolean"
2088
+ }
2089
+ },
2090
+ {
2091
+ "abstract": true,
2092
+ "docs": {
2093
+ "default": "false",
2094
+ "stability": "stable",
2095
+ "summary": "show debug logs."
2096
+ },
2097
+ "immutable": true,
2098
+ "locationInModule": {
2099
+ "filename": "lib/integ-tests/commands/common.ts",
2100
+ "line": 112
2101
+ },
2102
+ "name": "verbose",
2103
+ "optional": true,
2104
+ "type": {
2105
+ "primitive": "boolean"
2106
+ }
2107
+ },
2108
+ {
2109
+ "abstract": true,
2110
+ "docs": {
2111
+ "default": "true",
2112
+ "stability": "stable",
2113
+ "summary": "Include \"AWS::CDK::Metadata\" resource in synthesized templates."
2114
+ },
2115
+ "immutable": true,
2116
+ "locationInModule": {
2117
+ "filename": "lib/integ-tests/commands/common.ts",
2118
+ "line": 157
2119
+ },
2120
+ "name": "versionReporting",
2121
+ "optional": true,
2122
+ "type": {
2123
+ "primitive": "boolean"
2124
+ }
2125
+ }
2126
+ ],
2127
+ "symbolId": "lib/integ-tests/commands/common:DefaultCdkOptions"
2128
+ },
2129
+ "@aws-cdk/cloud-assembly-schema.DeployCommand": {
2130
+ "assembly": "@aws-cdk/cloud-assembly-schema",
2131
+ "datatype": true,
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
+ "custom": {
2137
+ "exampleMetadata": "fixture=_generated"
2138
+ }
2139
+ },
2140
+ "fqn": "@aws-cdk/cloud-assembly-schema.DeployCommand",
2141
+ "interfaces": [
2142
+ "@aws-cdk/cloud-assembly-schema.CdkCommand"
2143
+ ],
2144
+ "kind": "interface",
2145
+ "locationInModule": {
2146
+ "filename": "lib/integ-tests/test-case.ts",
2147
+ "line": 150
2148
+ },
2149
+ "name": "DeployCommand",
2150
+ "properties": [
2151
+ {
2152
+ "abstract": true,
2153
+ "docs": {
2154
+ "default": "- only default args are used",
2155
+ "stability": "stable",
2156
+ "summary": "Additional arguments to pass to the command This can be used to test specific CLI functionality."
2157
+ },
2158
+ "immutable": true,
2159
+ "locationInModule": {
2160
+ "filename": "lib/integ-tests/test-case.ts",
2161
+ "line": 157
2162
+ },
2163
+ "name": "args",
2164
+ "optional": true,
2165
+ "type": {
2166
+ "fqn": "@aws-cdk/cloud-assembly-schema.DeployOptions"
2167
+ }
2168
+ }
2169
+ ],
2170
+ "symbolId": "lib/integ-tests/test-case:DeployCommand"
2171
+ },
2172
+ "@aws-cdk/cloud-assembly-schema.DeployOptions": {
2173
+ "assembly": "@aws-cdk/cloud-assembly-schema",
2174
+ "datatype": true,
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
+ "custom": {
2180
+ "exampleMetadata": "fixture=_generated"
2181
+ }
2182
+ },
2183
+ "fqn": "@aws-cdk/cloud-assembly-schema.DeployOptions",
2184
+ "interfaces": [
2185
+ "@aws-cdk/cloud-assembly-schema.DefaultCdkOptions"
2186
+ ],
2187
+ "kind": "interface",
2188
+ "locationInModule": {
2189
+ "filename": "lib/integ-tests/commands/deploy.ts",
2190
+ "line": 6
2191
+ },
2192
+ "name": "DeployOptions",
2193
+ "properties": [
2194
+ {
2195
+ "abstract": true,
2196
+ "docs": {
2197
+ "default": "- auto generate a name",
2198
+ "remarks": "If not provided, a name will be generated automatically.",
2199
+ "stability": "stable",
2200
+ "summary": "Optional name to use for the CloudFormation change set."
2201
+ },
2202
+ "immutable": true,
2203
+ "locationInModule": {
2204
+ "filename": "lib/integ-tests/commands/deploy.ts",
2205
+ "line": 34
2206
+ },
2207
+ "name": "changeSetName",
2208
+ "optional": true,
2209
+ "type": {
2210
+ "primitive": "string"
2211
+ }
2212
+ },
2213
+ {
2214
+ "abstract": true,
2215
+ "docs": {
2216
+ "default": "false",
2217
+ "stability": "stable",
2218
+ "summary": "Whether we are on a CI system."
2219
+ },
2220
+ "immutable": true,
2221
+ "locationInModule": {
2222
+ "filename": "lib/integ-tests/commands/deploy.ts",
2223
+ "line": 96
2224
+ },
2225
+ "name": "ci",
2226
+ "optional": true,
2227
+ "type": {
2228
+ "primitive": "boolean"
2229
+ }
2230
+ },
2231
+ {
2232
+ "abstract": true,
2233
+ "docs": {
2234
+ "default": "false",
2235
+ "stability": "stable",
2236
+ "summary": "Only perform action on the given stack."
2237
+ },
2238
+ "immutable": true,
2239
+ "locationInModule": {
2240
+ "filename": "lib/integ-tests/commands/deploy.ts",
2241
+ "line": 12
2242
+ },
2243
+ "name": "exclusively",
2244
+ "optional": true,
2245
+ "type": {
2246
+ "primitive": "boolean"
2247
+ }
2248
+ },
2249
+ {
2250
+ "abstract": true,
2251
+ "docs": {
2252
+ "default": "true",
2253
+ "stability": "stable",
2254
+ "summary": "Whether to execute the ChangeSet Not providing `execute` parameter will result in execution of ChangeSet."
2255
+ },
2256
+ "immutable": true,
2257
+ "locationInModule": {
2258
+ "filename": "lib/integ-tests/commands/deploy.ts",
2259
+ "line": 68
2260
+ },
2261
+ "name": "execute",
2262
+ "optional": true,
2263
+ "type": {
2264
+ "primitive": "boolean"
2265
+ }
2266
+ },
2267
+ {
2268
+ "abstract": true,
2269
+ "docs": {
2270
+ "default": "false",
2271
+ "stability": "stable",
2272
+ "summary": "Always deploy, even if templates are identical."
2273
+ },
2274
+ "immutable": true,
2275
+ "locationInModule": {
2276
+ "filename": "lib/integ-tests/commands/deploy.ts",
2277
+ "line": 40
2278
+ },
2279
+ "name": "force",
2280
+ "optional": true,
2281
+ "type": {
2282
+ "primitive": "boolean"
2283
+ }
2284
+ },
2285
+ {
2286
+ "abstract": true,
2287
+ "docs": {
2288
+ "default": "- no notifications",
2289
+ "stability": "stable",
2290
+ "summary": "ARNs of SNS topics that CloudFormation will notify with stack related events."
2291
+ },
2292
+ "immutable": true,
2293
+ "locationInModule": {
2294
+ "filename": "lib/integ-tests/commands/deploy.ts",
2295
+ "line": 54
2296
+ },
2297
+ "name": "notificationArns",
2298
+ "optional": true,
2299
+ "type": {
2300
+ "collection": {
2301
+ "elementtype": {
2302
+ "primitive": "string"
2303
+ },
2304
+ "kind": "array"
2305
+ }
2306
+ }
2307
+ },
2308
+ {
2309
+ "abstract": true,
2310
+ "docs": {
2311
+ "default": "- Outputs are not written to any file",
2312
+ "stability": "stable",
2313
+ "summary": "Path to file where stack outputs will be written after a successful deploy as JSON."
2314
+ },
2315
+ "immutable": true,
2316
+ "locationInModule": {
2317
+ "filename": "lib/integ-tests/commands/deploy.ts",
2318
+ "line": 89
2319
+ },
2320
+ "name": "outputsFile",
2321
+ "optional": true,
2322
+ "type": {
2323
+ "primitive": "string"
2324
+ }
2325
+ },
2326
+ {
2327
+ "abstract": true,
2328
+ "docs": {
2329
+ "default": "{}",
2330
+ "stability": "stable",
2331
+ "summary": "Additional parameters for CloudFormation at deploy time."
2332
+ },
2333
+ "immutable": true,
2334
+ "locationInModule": {
2335
+ "filename": "lib/integ-tests/commands/deploy.ts",
2336
+ "line": 74
2337
+ },
2338
+ "name": "parameters",
2339
+ "optional": true,
2340
+ "type": {
2341
+ "collection": {
2342
+ "elementtype": {
2343
+ "primitive": "string"
2344
+ },
2345
+ "kind": "map"
2346
+ }
2347
+ }
2348
+ },
2349
+ {
2350
+ "abstract": true,
2351
+ "docs": {
2352
+ "default": "RequireApproval.Never",
2353
+ "stability": "stable",
2354
+ "summary": "What kind of security changes require approval."
2355
+ },
2356
+ "immutable": true,
2357
+ "locationInModule": {
2358
+ "filename": "lib/integ-tests/commands/deploy.ts",
2359
+ "line": 61
2360
+ },
2361
+ "name": "requireApproval",
2362
+ "optional": true,
2363
+ "type": {
2364
+ "fqn": "@aws-cdk/cloud-assembly-schema.RequireApproval"
2365
+ }
2366
+ },
2367
+ {
2368
+ "abstract": true,
2369
+ "docs": {
2370
+ "default": "- do not reuse assets",
2371
+ "stability": "stable",
2372
+ "summary": "Reuse the assets with the given asset IDs."
2373
+ },
2374
+ "immutable": true,
2375
+ "locationInModule": {
2376
+ "filename": "lib/integ-tests/commands/deploy.ts",
2377
+ "line": 26
2378
+ },
2379
+ "name": "reuseAssets",
2380
+ "optional": true,
2381
+ "type": {
2382
+ "collection": {
2383
+ "elementtype": {
2384
+ "primitive": "string"
2385
+ },
2386
+ "kind": "array"
2387
+ }
2388
+ }
2389
+ },
2390
+ {
2391
+ "abstract": true,
2392
+ "docs": {
2393
+ "default": "true",
2394
+ "stability": "stable",
2395
+ "summary": "Rollback failed deployments."
1502
2396
  },
1503
- "name": "ENDPOINT_SERVICE_AVAILABILITY_ZONE_PROVIDER"
2397
+ "immutable": true,
2398
+ "locationInModule": {
2399
+ "filename": "lib/integ-tests/commands/deploy.ts",
2400
+ "line": 47
2401
+ },
2402
+ "name": "rollback",
2403
+ "optional": true,
2404
+ "type": {
2405
+ "primitive": "boolean"
2406
+ }
1504
2407
  },
1505
2408
  {
2409
+ "abstract": true,
1506
2410
  "docs": {
2411
+ "default": "CDKToolkit",
1507
2412
  "stability": "stable",
1508
- "summary": "Load balancer provider."
2413
+ "summary": "Name of the toolkit stack to use/deploy."
1509
2414
  },
1510
- "name": "LOAD_BALANCER_PROVIDER"
2415
+ "immutable": true,
2416
+ "locationInModule": {
2417
+ "filename": "lib/integ-tests/commands/deploy.ts",
2418
+ "line": 19
2419
+ },
2420
+ "name": "toolkitStackName",
2421
+ "optional": true,
2422
+ "type": {
2423
+ "primitive": "string"
2424
+ }
1511
2425
  },
1512
2426
  {
2427
+ "abstract": true,
1513
2428
  "docs": {
2429
+ "default": "true",
2430
+ "remarks": "If not set, all parameters must be specified for every deployment.",
1514
2431
  "stability": "stable",
1515
- "summary": "Load balancer listener provider."
2432
+ "summary": "Use previous values for unspecified parameters."
1516
2433
  },
1517
- "name": "LOAD_BALANCER_LISTENER_PROVIDER"
1518
- },
2434
+ "immutable": true,
2435
+ "locationInModule": {
2436
+ "filename": "lib/integ-tests/commands/deploy.ts",
2437
+ "line": 83
2438
+ },
2439
+ "name": "usePreviousParameters",
2440
+ "optional": true,
2441
+ "type": {
2442
+ "primitive": "boolean"
2443
+ }
2444
+ }
2445
+ ],
2446
+ "symbolId": "lib/integ-tests/commands/deploy:DeployOptions"
2447
+ },
2448
+ "@aws-cdk/cloud-assembly-schema.DestroyCommand": {
2449
+ "assembly": "@aws-cdk/cloud-assembly-schema",
2450
+ "datatype": true,
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
+ "custom": {
2456
+ "exampleMetadata": "fixture=_generated"
2457
+ }
2458
+ },
2459
+ "fqn": "@aws-cdk/cloud-assembly-schema.DestroyCommand",
2460
+ "interfaces": [
2461
+ "@aws-cdk/cloud-assembly-schema.CdkCommand"
2462
+ ],
2463
+ "kind": "interface",
2464
+ "locationInModule": {
2465
+ "filename": "lib/integ-tests/test-case.ts",
2466
+ "line": 163
2467
+ },
2468
+ "name": "DestroyCommand",
2469
+ "properties": [
1519
2470
  {
2471
+ "abstract": true,
1520
2472
  "docs": {
2473
+ "default": "- only default args are used",
1521
2474
  "stability": "stable",
1522
- "summary": "Security group provider."
2475
+ "summary": "Additional arguments to pass to the command This can be used to test specific CLI functionality."
1523
2476
  },
1524
- "name": "SECURITY_GROUP_PROVIDER"
1525
- },
2477
+ "immutable": true,
2478
+ "locationInModule": {
2479
+ "filename": "lib/integ-tests/test-case.ts",
2480
+ "line": 170
2481
+ },
2482
+ "name": "args",
2483
+ "optional": true,
2484
+ "type": {
2485
+ "fqn": "@aws-cdk/cloud-assembly-schema.DestroyOptions"
2486
+ }
2487
+ }
2488
+ ],
2489
+ "symbolId": "lib/integ-tests/test-case:DestroyCommand"
2490
+ },
2491
+ "@aws-cdk/cloud-assembly-schema.DestroyOptions": {
2492
+ "assembly": "@aws-cdk/cloud-assembly-schema",
2493
+ "datatype": true,
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
+ "custom": {
2499
+ "exampleMetadata": "fixture=_generated"
2500
+ }
2501
+ },
2502
+ "fqn": "@aws-cdk/cloud-assembly-schema.DestroyOptions",
2503
+ "interfaces": [
2504
+ "@aws-cdk/cloud-assembly-schema.DefaultCdkOptions"
2505
+ ],
2506
+ "kind": "interface",
2507
+ "locationInModule": {
2508
+ "filename": "lib/integ-tests/commands/destroy.ts",
2509
+ "line": 6
2510
+ },
2511
+ "name": "DestroyOptions",
2512
+ "properties": [
1526
2513
  {
2514
+ "abstract": true,
1527
2515
  "docs": {
2516
+ "default": "false",
1528
2517
  "stability": "stable",
1529
- "summary": "KMS Key Provider."
2518
+ "summary": "Only destroy the given stack."
1530
2519
  },
1531
- "name": "KEY_PROVIDER"
2520
+ "immutable": true,
2521
+ "locationInModule": {
2522
+ "filename": "lib/integ-tests/commands/destroy.ts",
2523
+ "line": 19
2524
+ },
2525
+ "name": "exclusively",
2526
+ "optional": true,
2527
+ "type": {
2528
+ "primitive": "boolean"
2529
+ }
1532
2530
  },
1533
2531
  {
2532
+ "abstract": true,
1534
2533
  "docs": {
2534
+ "default": "false",
1535
2535
  "stability": "stable",
1536
- "summary": "A plugin provider (the actual plugin name will be in the properties)."
2536
+ "summary": "Do not ask for permission before destroying stacks."
1537
2537
  },
1538
- "name": "PLUGIN"
2538
+ "immutable": true,
2539
+ "locationInModule": {
2540
+ "filename": "lib/integ-tests/commands/destroy.ts",
2541
+ "line": 12
2542
+ },
2543
+ "name": "force",
2544
+ "optional": true,
2545
+ "type": {
2546
+ "primitive": "boolean"
2547
+ }
1539
2548
  }
1540
2549
  ],
1541
- "name": "ContextProvider",
1542
- "symbolId": "lib/cloud-assembly/context-queries:ContextProvider"
2550
+ "symbolId": "lib/integ-tests/commands/destroy:DestroyOptions"
1543
2551
  },
1544
2552
  "@aws-cdk/cloud-assembly-schema.DockerImageAsset": {
1545
2553
  "assembly": "@aws-cdk/cloud-assembly-schema",
@@ -2254,6 +3262,120 @@
2254
3262
  ],
2255
3263
  "symbolId": "lib/assets/file-asset:FileSource"
2256
3264
  },
3265
+ "@aws-cdk/cloud-assembly-schema.Hooks": {
3266
+ "assembly": "@aws-cdk/cloud-assembly-schema",
3267
+ "datatype": true,
3268
+ "docs": {
3269
+ "stability": "stable",
3270
+ "summary": "Commands to run at predefined points during the integration test workflow.",
3271
+ "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 hooks: cloud_assembly_schema.Hooks = {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n};",
3272
+ "custom": {
3273
+ "exampleMetadata": "fixture=_generated"
3274
+ }
3275
+ },
3276
+ "fqn": "@aws-cdk/cloud-assembly-schema.Hooks",
3277
+ "kind": "interface",
3278
+ "locationInModule": {
3279
+ "filename": "lib/integ-tests/test-case.ts",
3280
+ "line": 82
3281
+ },
3282
+ "name": "Hooks",
3283
+ "properties": [
3284
+ {
3285
+ "abstract": true,
3286
+ "docs": {
3287
+ "default": "- no commands",
3288
+ "stability": "stable",
3289
+ "summary": "Commands to run prior after deploying the cdk stacks in the integration test."
3290
+ },
3291
+ "immutable": true,
3292
+ "locationInModule": {
3293
+ "filename": "lib/integ-tests/test-case.ts",
3294
+ "line": 97
3295
+ },
3296
+ "name": "postDeploy",
3297
+ "optional": true,
3298
+ "type": {
3299
+ "collection": {
3300
+ "elementtype": {
3301
+ "primitive": "string"
3302
+ },
3303
+ "kind": "array"
3304
+ }
3305
+ }
3306
+ },
3307
+ {
3308
+ "abstract": true,
3309
+ "docs": {
3310
+ "default": "- no commands",
3311
+ "stability": "stable",
3312
+ "summary": "Commands to run after destroying the cdk stacks in the integration test."
3313
+ },
3314
+ "immutable": true,
3315
+ "locationInModule": {
3316
+ "filename": "lib/integ-tests/test-case.ts",
3317
+ "line": 113
3318
+ },
3319
+ "name": "postDestroy",
3320
+ "optional": true,
3321
+ "type": {
3322
+ "collection": {
3323
+ "elementtype": {
3324
+ "primitive": "string"
3325
+ },
3326
+ "kind": "array"
3327
+ }
3328
+ }
3329
+ },
3330
+ {
3331
+ "abstract": true,
3332
+ "docs": {
3333
+ "default": "- no commands",
3334
+ "stability": "stable",
3335
+ "summary": "Commands to run prior to deploying the cdk stacks in the integration test."
3336
+ },
3337
+ "immutable": true,
3338
+ "locationInModule": {
3339
+ "filename": "lib/integ-tests/test-case.ts",
3340
+ "line": 89
3341
+ },
3342
+ "name": "preDeploy",
3343
+ "optional": true,
3344
+ "type": {
3345
+ "collection": {
3346
+ "elementtype": {
3347
+ "primitive": "string"
3348
+ },
3349
+ "kind": "array"
3350
+ }
3351
+ }
3352
+ },
3353
+ {
3354
+ "abstract": true,
3355
+ "docs": {
3356
+ "default": "- no commands",
3357
+ "stability": "stable",
3358
+ "summary": "Commands to run prior to destroying the cdk stacks in the integration test."
3359
+ },
3360
+ "immutable": true,
3361
+ "locationInModule": {
3362
+ "filename": "lib/integ-tests/test-case.ts",
3363
+ "line": 105
3364
+ },
3365
+ "name": "preDestroy",
3366
+ "optional": true,
3367
+ "type": {
3368
+ "collection": {
3369
+ "elementtype": {
3370
+ "primitive": "string"
3371
+ },
3372
+ "kind": "array"
3373
+ }
3374
+ }
3375
+ }
3376
+ ],
3377
+ "symbolId": "lib/integ-tests/test-case:Hooks"
3378
+ },
2257
3379
  "@aws-cdk/cloud-assembly-schema.HostedZoneContextQuery": {
2258
3380
  "assembly": "@aws-cdk/cloud-assembly-schema",
2259
3381
  "datatype": true,
@@ -2333,51 +3455,129 @@
2333
3455
  "filename": "lib/cloud-assembly/context-queries.ts",
2334
3456
  "line": 139
2335
3457
  },
2336
- "name": "lookupRoleArn",
2337
- "optional": true,
3458
+ "name": "lookupRoleArn",
3459
+ "optional": true,
3460
+ "type": {
3461
+ "primitive": "string"
3462
+ }
3463
+ },
3464
+ {
3465
+ "abstract": true,
3466
+ "docs": {
3467
+ "default": "false",
3468
+ "stability": "stable",
3469
+ "summary": "True if the zone you want to find is a private hosted zone."
3470
+ },
3471
+ "immutable": true,
3472
+ "locationInModule": {
3473
+ "filename": "lib/cloud-assembly/context-queries.ts",
3474
+ "line": 151
3475
+ },
3476
+ "name": "privateZone",
3477
+ "optional": true,
3478
+ "type": {
3479
+ "primitive": "boolean"
3480
+ }
3481
+ },
3482
+ {
3483
+ "abstract": true,
3484
+ "docs": {
3485
+ "default": "- Required if privateZone=true",
3486
+ "remarks": "If you provide VPC ID and privateZone is false, this will return no results\nand raise an error.",
3487
+ "stability": "stable",
3488
+ "summary": "The VPC ID to that the private zone must be associated with."
3489
+ },
3490
+ "immutable": true,
3491
+ "locationInModule": {
3492
+ "filename": "lib/cloud-assembly/context-queries.ts",
3493
+ "line": 161
3494
+ },
3495
+ "name": "vpcId",
3496
+ "optional": true,
3497
+ "type": {
3498
+ "primitive": "string"
3499
+ }
3500
+ }
3501
+ ],
3502
+ "symbolId": "lib/cloud-assembly/context-queries:HostedZoneContextQuery"
3503
+ },
3504
+ "@aws-cdk/cloud-assembly-schema.IntegManifest": {
3505
+ "assembly": "@aws-cdk/cloud-assembly-schema",
3506
+ "datatype": true,
3507
+ "docs": {
3508
+ "stability": "stable",
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};",
3511
+ "custom": {
3512
+ "exampleMetadata": "fixture=_generated"
3513
+ }
3514
+ },
3515
+ "fqn": "@aws-cdk/cloud-assembly-schema.IntegManifest",
3516
+ "kind": "interface",
3517
+ "locationInModule": {
3518
+ "filename": "lib/integ-tests/schema.ts",
3519
+ "line": 5
3520
+ },
3521
+ "name": "IntegManifest",
3522
+ "properties": [
3523
+ {
3524
+ "abstract": true,
3525
+ "docs": {
3526
+ "stability": "stable",
3527
+ "summary": "test cases."
3528
+ },
3529
+ "immutable": true,
3530
+ "locationInModule": {
3531
+ "filename": "lib/integ-tests/schema.ts",
3532
+ "line": 24
3533
+ },
3534
+ "name": "testCases",
2338
3535
  "type": {
2339
- "primitive": "string"
3536
+ "collection": {
3537
+ "elementtype": {
3538
+ "fqn": "@aws-cdk/cloud-assembly-schema.TestCase"
3539
+ },
3540
+ "kind": "map"
3541
+ }
2340
3542
  }
2341
3543
  },
2342
3544
  {
2343
3545
  "abstract": true,
2344
3546
  "docs": {
2345
- "default": "false",
2346
3547
  "stability": "stable",
2347
- "summary": "True if the zone you want to find is a private hosted zone."
3548
+ "summary": "Version of the manifest."
2348
3549
  },
2349
3550
  "immutable": true,
2350
3551
  "locationInModule": {
2351
- "filename": "lib/cloud-assembly/context-queries.ts",
2352
- "line": 151
3552
+ "filename": "lib/integ-tests/schema.ts",
3553
+ "line": 9
2353
3554
  },
2354
- "name": "privateZone",
2355
- "optional": true,
3555
+ "name": "version",
2356
3556
  "type": {
2357
- "primitive": "boolean"
3557
+ "primitive": "string"
2358
3558
  }
2359
3559
  },
2360
3560
  {
2361
3561
  "abstract": true,
2362
3562
  "docs": {
2363
- "default": "- Required if privateZone=true",
2364
- "remarks": "If you provide VPC ID and privateZone is false, this will return no results\nand raise an error.",
3563
+ "default": "false",
3564
+ "remarks": "If lookups are enabled\nthen `stackUpdateWorkflow` must be set to false.\nLookups should only be enabled when you are explicitely testing\nlookups.",
2365
3565
  "stability": "stable",
2366
- "summary": "The VPC ID to that the private zone must be associated with."
3566
+ "summary": "Enable lookups for this test."
2367
3567
  },
2368
3568
  "immutable": true,
2369
3569
  "locationInModule": {
2370
- "filename": "lib/cloud-assembly/context-queries.ts",
2371
- "line": 161
3570
+ "filename": "lib/integ-tests/schema.ts",
3571
+ "line": 19
2372
3572
  },
2373
- "name": "vpcId",
3573
+ "name": "enableLookups",
2374
3574
  "optional": true,
2375
3575
  "type": {
2376
- "primitive": "string"
3576
+ "primitive": "boolean"
2377
3577
  }
2378
3578
  }
2379
3579
  ],
2380
- "symbolId": "lib/cloud-assembly/context-queries:HostedZoneContextQuery"
3580
+ "symbolId": "lib/integ-tests/schema:IntegManifest"
2381
3581
  },
2382
3582
  "@aws-cdk/cloud-assembly-schema.KeyContextQuery": {
2383
3583
  "assembly": "@aws-cdk/cloud-assembly-schema",
@@ -2855,7 +4055,7 @@
2855
4055
  "kind": "interface",
2856
4056
  "locationInModule": {
2857
4057
  "filename": "lib/manifest.ts",
2858
- "line": 27
4058
+ "line": 30
2859
4059
  },
2860
4060
  "name": "LoadManifestOptions",
2861
4061
  "properties": [
@@ -2870,7 +4070,7 @@
2870
4070
  "immutable": true,
2871
4071
  "locationInModule": {
2872
4072
  "filename": "lib/manifest.ts",
2873
- "line": 47
4073
+ "line": 50
2874
4074
  },
2875
4075
  "name": "skipEnumCheck",
2876
4076
  "optional": true,
@@ -2889,7 +4089,7 @@
2889
4089
  "immutable": true,
2890
4090
  "locationInModule": {
2891
4091
  "filename": "lib/manifest.ts",
2892
- "line": 37
4092
+ "line": 40
2893
4093
  },
2894
4094
  "name": "skipVersionCheck",
2895
4095
  "optional": true,
@@ -2910,7 +4110,7 @@
2910
4110
  "kind": "class",
2911
4111
  "locationInModule": {
2912
4112
  "filename": "lib/manifest.ts",
2913
- "line": 53
4113
+ "line": 56
2914
4114
  },
2915
4115
  "methods": [
2916
4116
  {
@@ -2921,7 +4121,7 @@
2921
4121
  },
2922
4122
  "locationInModule": {
2923
4123
  "filename": "lib/manifest.ts",
2924
- "line": 109
4124
+ "line": 131
2925
4125
  },
2926
4126
  "name": "load",
2927
4127
  "parameters": [
@@ -2946,7 +4146,7 @@
2946
4146
  },
2947
4147
  "locationInModule": {
2948
4148
  "filename": "lib/manifest.ts",
2949
- "line": 69
4149
+ "line": 72
2950
4150
  },
2951
4151
  "name": "loadAssemblyManifest",
2952
4152
  "parameters": [
@@ -2981,7 +4181,7 @@
2981
4181
  },
2982
4182
  "locationInModule": {
2983
4183
  "filename": "lib/manifest.ts",
2984
- "line": 88
4184
+ "line": 91
2985
4185
  },
2986
4186
  "name": "loadAssetManifest",
2987
4187
  "parameters": [
@@ -3002,6 +4202,34 @@
3002
4202
  },
3003
4203
  "static": true
3004
4204
  },
4205
+ {
4206
+ "docs": {
4207
+ "stability": "stable",
4208
+ "summary": "Load and validates the integ manifest from file."
4209
+ },
4210
+ "locationInModule": {
4211
+ "filename": "lib/manifest.ts",
4212
+ "line": 110
4213
+ },
4214
+ "name": "loadIntegManifest",
4215
+ "parameters": [
4216
+ {
4217
+ "docs": {
4218
+ "summary": "- path to the manifest file."
4219
+ },
4220
+ "name": "filePath",
4221
+ "type": {
4222
+ "primitive": "string"
4223
+ }
4224
+ }
4225
+ ],
4226
+ "returns": {
4227
+ "type": {
4228
+ "fqn": "@aws-cdk/cloud-assembly-schema.IntegManifest"
4229
+ }
4230
+ },
4231
+ "static": true
4232
+ },
3005
4233
  {
3006
4234
  "docs": {
3007
4235
  "deprecated": "use `saveAssemblyManifest()`",
@@ -3010,7 +4238,7 @@
3010
4238
  },
3011
4239
  "locationInModule": {
3012
4240
  "filename": "lib/manifest.ts",
3013
- "line": 103
4241
+ "line": 125
3014
4242
  },
3015
4243
  "name": "save",
3016
4244
  "parameters": [
@@ -3036,7 +4264,7 @@
3036
4264
  },
3037
4265
  "locationInModule": {
3038
4266
  "filename": "lib/manifest.ts",
3039
- "line": 60
4267
+ "line": 63
3040
4268
  },
3041
4269
  "name": "saveAssemblyManifest",
3042
4270
  "parameters": [
@@ -3068,7 +4296,7 @@
3068
4296
  },
3069
4297
  "locationInModule": {
3070
4298
  "filename": "lib/manifest.ts",
3071
- "line": 79
4299
+ "line": 82
3072
4300
  },
3073
4301
  "name": "saveAssetManifest",
3074
4302
  "parameters": [
@@ -3093,6 +4321,38 @@
3093
4321
  ],
3094
4322
  "static": true
3095
4323
  },
4324
+ {
4325
+ "docs": {
4326
+ "stability": "stable",
4327
+ "summary": "Validates and saves the integ manifest to file."
4328
+ },
4329
+ "locationInModule": {
4330
+ "filename": "lib/manifest.ts",
4331
+ "line": 101
4332
+ },
4333
+ "name": "saveIntegManifest",
4334
+ "parameters": [
4335
+ {
4336
+ "docs": {
4337
+ "summary": "- manifest."
4338
+ },
4339
+ "name": "manifest",
4340
+ "type": {
4341
+ "fqn": "@aws-cdk/cloud-assembly-schema.IntegManifest"
4342
+ }
4343
+ },
4344
+ {
4345
+ "docs": {
4346
+ "summary": "- output file path."
4347
+ },
4348
+ "name": "filePath",
4349
+ "type": {
4350
+ "primitive": "string"
4351
+ }
4352
+ }
4353
+ ],
4354
+ "static": true
4355
+ },
3096
4356
  {
3097
4357
  "docs": {
3098
4358
  "stability": "stable",
@@ -3100,7 +4360,7 @@
3100
4360
  },
3101
4361
  "locationInModule": {
3102
4362
  "filename": "lib/manifest.ts",
3103
- "line": 95
4363
+ "line": 117
3104
4364
  },
3105
4365
  "name": "version",
3106
4366
  "returns": {
@@ -3414,6 +4674,44 @@
3414
4674
  ],
3415
4675
  "symbolId": "lib/cloud-assembly/context-queries:PluginContextQuery"
3416
4676
  },
4677
+ "@aws-cdk/cloud-assembly-schema.RequireApproval": {
4678
+ "assembly": "@aws-cdk/cloud-assembly-schema",
4679
+ "docs": {
4680
+ "stability": "stable",
4681
+ "summary": "In what scenarios should the CLI ask for approval."
4682
+ },
4683
+ "fqn": "@aws-cdk/cloud-assembly-schema.RequireApproval",
4684
+ "kind": "enum",
4685
+ "locationInModule": {
4686
+ "filename": "lib/integ-tests/commands/common.ts",
4687
+ "line": 4
4688
+ },
4689
+ "members": [
4690
+ {
4691
+ "docs": {
4692
+ "stability": "stable",
4693
+ "summary": "Never ask for approval."
4694
+ },
4695
+ "name": "NEVER"
4696
+ },
4697
+ {
4698
+ "docs": {
4699
+ "stability": "stable",
4700
+ "summary": "Prompt for approval for any type of change to the stack."
4701
+ },
4702
+ "name": "ANYCHANGE"
4703
+ },
4704
+ {
4705
+ "docs": {
4706
+ "stability": "stable",
4707
+ "summary": "Only prompt for approval if there are security related changes."
4708
+ },
4709
+ "name": "BROADENING"
4710
+ }
4711
+ ],
4712
+ "name": "RequireApproval",
4713
+ "symbolId": "lib/integ-tests/commands/common:RequireApproval"
4714
+ },
3417
4715
  "@aws-cdk/cloud-assembly-schema.RuntimeInfo": {
3418
4716
  "assembly": "@aws-cdk/cloud-assembly-schema",
3419
4717
  "datatype": true,
@@ -3727,6 +5025,195 @@
3727
5025
  ],
3728
5026
  "symbolId": "lib/cloud-assembly/metadata-schema:Tag"
3729
5027
  },
5028
+ "@aws-cdk/cloud-assembly-schema.TestCase": {
5029
+ "assembly": "@aws-cdk/cloud-assembly-schema",
5030
+ "datatype": true,
5031
+ "docs": {
5032
+ "stability": "stable",
5033
+ "summary": "Represents an integration test case.",
5034
+ "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
+ "custom": {
5036
+ "exampleMetadata": "fixture=_generated"
5037
+ }
5038
+ },
5039
+ "fqn": "@aws-cdk/cloud-assembly-schema.TestCase",
5040
+ "interfaces": [
5041
+ "@aws-cdk/cloud-assembly-schema.TestOptions"
5042
+ ],
5043
+ "kind": "interface",
5044
+ "locationInModule": {
5045
+ "filename": "lib/integ-tests/test-case.ts",
5046
+ "line": 68
5047
+ },
5048
+ "name": "TestCase",
5049
+ "properties": [
5050
+ {
5051
+ "abstract": true,
5052
+ "docs": {
5053
+ "stability": "stable",
5054
+ "summary": "Stacks that should be tested as part of this test case The stackNames will be passed as args to the cdk commands so dependent stacks will be automatically deployed unless `exclusively` is passed."
5055
+ },
5056
+ "immutable": true,
5057
+ "locationInModule": {
5058
+ "filename": "lib/integ-tests/test-case.ts",
5059
+ "line": 75
5060
+ },
5061
+ "name": "stacks",
5062
+ "type": {
5063
+ "collection": {
5064
+ "elementtype": {
5065
+ "primitive": "string"
5066
+ },
5067
+ "kind": "array"
5068
+ }
5069
+ }
5070
+ }
5071
+ ],
5072
+ "symbolId": "lib/integ-tests/test-case:TestCase"
5073
+ },
5074
+ "@aws-cdk/cloud-assembly-schema.TestOptions": {
5075
+ "assembly": "@aws-cdk/cloud-assembly-schema",
5076
+ "datatype": true,
5077
+ "docs": {
5078
+ "stability": "stable",
5079
+ "summary": "The set of options to control the workflow of the test runner.",
5080
+ "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};",
5081
+ "custom": {
5082
+ "exampleMetadata": "fixture=_generated"
5083
+ }
5084
+ },
5085
+ "fqn": "@aws-cdk/cloud-assembly-schema.TestOptions",
5086
+ "kind": "interface",
5087
+ "locationInModule": {
5088
+ "filename": "lib/integ-tests/test-case.ts",
5089
+ "line": 6
5090
+ },
5091
+ "name": "TestOptions",
5092
+ "properties": [
5093
+ {
5094
+ "abstract": true,
5095
+ "docs": {
5096
+ "default": "- do not allow destruction of any resources on update",
5097
+ "remarks": "This list should only include resources that for this specific\nintegration test we are sure will not cause errors or an outage if\ndestroyed. For example, maybe we know that a new resource will be created\nfirst before the old resource is destroyed which prevents any outage.\n\ne.g. ['AWS::IAM::Role']",
5098
+ "stability": "stable",
5099
+ "summary": "List of CloudFormation resource types in this stack that can be destroyed as part of an update without failing the test."
5100
+ },
5101
+ "immutable": true,
5102
+ "locationInModule": {
5103
+ "filename": "lib/integ-tests/test-case.ts",
5104
+ "line": 55
5105
+ },
5106
+ "name": "allowDestroy",
5107
+ "optional": true,
5108
+ "type": {
5109
+ "collection": {
5110
+ "elementtype": {
5111
+ "primitive": "string"
5112
+ },
5113
+ "kind": "array"
5114
+ }
5115
+ }
5116
+ },
5117
+ {
5118
+ "abstract": true,
5119
+ "docs": {
5120
+ "default": "- runner default options",
5121
+ "stability": "stable",
5122
+ "summary": "Additional options to use for each CDK command."
5123
+ },
5124
+ "immutable": true,
5125
+ "locationInModule": {
5126
+ "filename": "lib/integ-tests/test-case.ts",
5127
+ "line": 21
5128
+ },
5129
+ "name": "cdkCommandOptions",
5130
+ "optional": true,
5131
+ "type": {
5132
+ "fqn": "@aws-cdk/cloud-assembly-schema.CdkCommands"
5133
+ }
5134
+ },
5135
+ {
5136
+ "abstract": true,
5137
+ "docs": {
5138
+ "default": "false",
5139
+ "remarks": "For example\nany tests involving custom resources or bundling",
5140
+ "stability": "stable",
5141
+ "summary": "Whether or not to include asset hashes in the diff Asset hashes can introduces a lot of unneccessary noise into tests, but there are some cases where asset hashes _should_ be included."
5142
+ },
5143
+ "immutable": true,
5144
+ "locationInModule": {
5145
+ "filename": "lib/integ-tests/test-case.ts",
5146
+ "line": 40
5147
+ },
5148
+ "name": "diffAssets",
5149
+ "optional": true,
5150
+ "type": {
5151
+ "primitive": "boolean"
5152
+ }
5153
+ },
5154
+ {
5155
+ "abstract": true,
5156
+ "docs": {
5157
+ "default": "- no hooks",
5158
+ "remarks": "e.g. { postDeploy: ['yarn', 'test'] }",
5159
+ "stability": "stable",
5160
+ "summary": "Additional commands to run at predefined points in the test workflow."
5161
+ },
5162
+ "immutable": true,
5163
+ "locationInModule": {
5164
+ "filename": "lib/integ-tests/test-case.ts",
5165
+ "line": 30
5166
+ },
5167
+ "name": "hooks",
5168
+ "optional": true,
5169
+ "type": {
5170
+ "fqn": "@aws-cdk/cloud-assembly-schema.Hooks"
5171
+ }
5172
+ },
5173
+ {
5174
+ "abstract": true,
5175
+ "docs": {
5176
+ "default": "- can run in any region",
5177
+ "stability": "stable",
5178
+ "summary": "Limit deployment to these regions."
5179
+ },
5180
+ "immutable": true,
5181
+ "locationInModule": {
5182
+ "filename": "lib/integ-tests/test-case.ts",
5183
+ "line": 62
5184
+ },
5185
+ "name": "regions",
5186
+ "optional": true,
5187
+ "type": {
5188
+ "collection": {
5189
+ "elementtype": {
5190
+ "primitive": "string"
5191
+ },
5192
+ "kind": "array"
5193
+ }
5194
+ }
5195
+ },
5196
+ {
5197
+ "abstract": true,
5198
+ "docs": {
5199
+ "default": "true",
5200
+ "stability": "stable",
5201
+ "summary": "Run update workflow on this test case This should only be set to false to test scenarios that are not possible to test as part of the update workflow."
5202
+ },
5203
+ "immutable": true,
5204
+ "locationInModule": {
5205
+ "filename": "lib/integ-tests/test-case.ts",
5206
+ "line": 14
5207
+ },
5208
+ "name": "stackUpdateWorkflow",
5209
+ "optional": true,
5210
+ "type": {
5211
+ "primitive": "boolean"
5212
+ }
5213
+ }
5214
+ ],
5215
+ "symbolId": "lib/integ-tests/test-case:TestOptions"
5216
+ },
3730
5217
  "@aws-cdk/cloud-assembly-schema.TreeArtifactProperties": {
3731
5218
  "assembly": "@aws-cdk/cloud-assembly-schema",
3732
5219
  "datatype": true,
@@ -3898,6 +5385,6 @@
3898
5385
  "symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
3899
5386
  }
3900
5387
  },
3901
- "version": "2.19.0",
5388
+ "version": "2.21.1",
3902
5389
  "fingerprint": "**********"
3903
5390
  }