cdktn 0.25.0-pre.6 → 0.25.0-pre.60
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 +2187 -422
- package/lib/annotations.js +4 -4
- package/lib/app.js +54 -5
- package/lib/aspect.js +3 -4
- package/lib/asset-hash.d.ts +75 -0
- package/lib/asset-hash.js +129 -0
- package/lib/asset-staging.d.ts +180 -0
- package/lib/asset-staging.js +464 -0
- package/lib/assets.d.ts +401 -0
- package/lib/assets.js +333 -0
- package/lib/backends/azurerm-backend.js +4 -6
- package/lib/backends/cloud-backend.js +15 -12
- package/lib/backends/consul-backend.js +4 -6
- package/lib/backends/cos-backend.js +4 -6
- package/lib/backends/gcs-backend.js +4 -6
- package/lib/backends/http-backend.js +4 -6
- package/lib/backends/local-backend.js +38 -7
- package/lib/backends/oss-backend.js +4 -6
- package/lib/backends/pg-backend.js +4 -6
- package/lib/backends/remote-backend.js +8 -10
- package/lib/backends/s3-backend.js +4 -6
- package/lib/backends/swift-backend.js +4 -6
- package/lib/complex-computed-list.js +114 -65
- package/lib/errors.d.ts +16 -0
- package/lib/errors.js +51 -3
- package/lib/functions/provider-function.js +2 -4
- package/lib/functions/terraform-functions.generated.js +2 -4
- package/lib/ignore-strategy.d.ts +82 -0
- package/lib/ignore-strategy.js +29 -0
- package/lib/importable-resource.js +8 -6
- package/lib/index.d.ts +4 -0
- package/lib/index.js +28 -2
- package/lib/manifest.js +49 -11
- package/lib/private/fs.d.ts +74 -2
- package/lib/private/fs.js +129 -17
- package/lib/private/unique.js +35 -2
- package/lib/resource.js +3 -4
- package/lib/synthesize/synthesizer.js +51 -25
- package/lib/terraform-asset.d.ts +68 -5
- package/lib/terraform-asset.js +127 -40
- package/lib/terraform-backend.js +3 -4
- package/lib/terraform-count.js +3 -4
- package/lib/terraform-data-resource.d.ts +1 -1
- package/lib/terraform-data-resource.js +18 -13
- package/lib/terraform-data-source.js +10 -4
- package/lib/terraform-dynamic-block.js +5 -2
- package/lib/terraform-dynamic-expression.js +4 -1
- package/lib/terraform-element.js +34 -6
- package/lib/terraform-ephemeral-resource.js +10 -4
- package/lib/terraform-functions.js +2 -4
- package/lib/terraform-hcl-module.js +3 -4
- package/lib/terraform-iterator.js +11 -12
- package/lib/terraform-local.js +3 -4
- package/lib/terraform-module-asset.js +39 -4
- package/lib/terraform-module.js +8 -4
- package/lib/terraform-operators.js +2 -4
- package/lib/terraform-output.js +7 -4
- package/lib/terraform-provider.js +5 -4
- package/lib/terraform-provisioner.js +2 -4
- package/lib/terraform-remote-state.js +5 -5
- package/lib/terraform-resource-targets.js +3 -7
- package/lib/terraform-resource.js +23 -7
- package/lib/terraform-stack.js +38 -38
- package/lib/terraform-variable.js +25 -22
- package/lib/testing/adapters/jest.d.ts +2 -1
- package/lib/testing/adapters/jest.js +3 -3
- package/lib/testing/index.js +42 -8
- package/lib/testing/matchers.d.ts +34 -30
- package/lib/testing/matchers.js +329 -93
- package/lib/tfExpression.js +25 -8
- package/lib/tokens/lazy.js +11 -7
- package/lib/tokens/private/dependency.js +2 -2
- package/lib/tokens/private/encoding.js +6 -1
- package/lib/tokens/private/intrinsic.js +6 -1
- package/lib/tokens/private/resolve.js +2 -5
- package/lib/tokens/private/token-map.js +4 -6
- package/lib/tokens/private/uniqueid.js +35 -2
- package/lib/tokens/resolvable.js +4 -6
- package/lib/tokens/string-fragments.js +6 -10
- package/lib/tokens/token.js +15 -18
- package/lib/upgrade-id-aspect.js +37 -6
- package/lib/validations/index.d.ts +0 -1
- package/lib/validations/index.js +1 -2
- package/lib/validations/target-versions.js +39 -2
- package/lib/validations/validate-function-version-support.js +2 -1
- package/lib/validations/validate-provider-function-target-support.js +2 -1
- package/lib/validations/validate-provider-presence.js +10 -9
- package/package.json +15 -6
- package/scripts/pack.mjs +27 -12
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/validations/validate-binary-version.d.ts +0 -23
- package/lib/validations/validate-binary-version.js +0 -54
- package/lib/validations/validate-terraform-version.d.ts +0 -13
- package/lib/validations/validate-terraform-version.js +0 -21
- package/tsconfig.json +0 -40
- package/tsconfig.test.json +0 -12
package/.jsii
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"semver": "7.8.5"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"constructs": "
|
|
15
|
+
"constructs": "^10.6.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencyClosure": {
|
|
18
18
|
"constructs": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"stability": "experimental"
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://github.com/open-constructs/cdk-terrain",
|
|
49
|
-
"jsiiVersion": "
|
|
49
|
+
"jsiiVersion": "6.0.12",
|
|
50
50
|
"keywords": [
|
|
51
51
|
"cdk",
|
|
52
52
|
"cdktf",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"hasDefaultInterfaces": true
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
+
"tscOutDir": "lib",
|
|
63
64
|
"tscRootDir": "src"
|
|
64
65
|
},
|
|
65
66
|
"name": "cdktn",
|
|
@@ -1407,6 +1408,577 @@
|
|
|
1407
1408
|
],
|
|
1408
1409
|
"symbolId": "src/aspect:Aspects"
|
|
1409
1410
|
},
|
|
1411
|
+
"cdktn.AssetHash": {
|
|
1412
|
+
"assembly": "cdktn",
|
|
1413
|
+
"docs": {
|
|
1414
|
+
"remarks": "Providers that read a local path directly — a Docker build `context`, for\nexample — need a content hash to drive `triggers`, but have no use for a\nstaged copy of the source. `Asset` and `TerraformAsset` always produce a\nstaged copy; this is the identity half without the staging half.",
|
|
1415
|
+
"stability": "experimental",
|
|
1416
|
+
"summary": "Computes a content hash of a file or directory without staging it."
|
|
1417
|
+
},
|
|
1418
|
+
"fqn": "cdktn.AssetHash",
|
|
1419
|
+
"kind": "class",
|
|
1420
|
+
"locationInModule": {
|
|
1421
|
+
"filename": "src/asset-hash.ts",
|
|
1422
|
+
"line": 49
|
|
1423
|
+
},
|
|
1424
|
+
"methods": [
|
|
1425
|
+
{
|
|
1426
|
+
"docs": {
|
|
1427
|
+
"remarks": "This is a hash of the source tree, and it does not depend on how the\nsource is later packaged. `hashPath` is always called with `archive`\nunset, so directory records are part of the digest; the hash of a given\ntree is therefore the same whether it is later copied, zipped, or packed\nby a custom `IAssetPackaging` such as `tar.bz2`.\n\nA consequence worth stating: this does not equal\n`TerraformAsset(dir, { type: ARCHIVE }).assetHash` for a directory with\nsubdirectories. That asset frames its hash to the emitted ZIP, which has\nno directory entries (see #323), so directory-only changes move it and\nnot this. It equals a `FILE` / `DIRECTORY` `TerraformAsset` hash only\nwhen the `canonicalAssetHashes` flag is enabled, since that flag is what\nputs the asset on this same canonical scheme.\n\nA relative `filePath` is resolved against the directory containing\n`cdktf.json`, the same base `TerraformAsset` uses, so both hash the same\nsource regardless of the process working directory. Absolute paths are\nused as-is. Throws if `filePath` is relative and no `cdktf.json` is found\nabove the working directory.",
|
|
1428
|
+
"stability": "experimental",
|
|
1429
|
+
"summary": "Content hash of a file or directory, without staging it."
|
|
1430
|
+
},
|
|
1431
|
+
"locationInModule": {
|
|
1432
|
+
"filename": "src/asset-hash.ts",
|
|
1433
|
+
"line": 75
|
|
1434
|
+
},
|
|
1435
|
+
"name": "of",
|
|
1436
|
+
"parameters": [
|
|
1437
|
+
{
|
|
1438
|
+
"docs": {
|
|
1439
|
+
"summary": "- path to a file or directory to hash."
|
|
1440
|
+
},
|
|
1441
|
+
"name": "filePath",
|
|
1442
|
+
"type": {
|
|
1443
|
+
"primitive": "string"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"docs": {
|
|
1448
|
+
"summary": "- see {@link AssetHashOptions}."
|
|
1449
|
+
},
|
|
1450
|
+
"name": "options",
|
|
1451
|
+
"optional": true,
|
|
1452
|
+
"type": {
|
|
1453
|
+
"fqn": "cdktn.AssetHashOptions"
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
],
|
|
1457
|
+
"returns": {
|
|
1458
|
+
"type": {
|
|
1459
|
+
"primitive": "string"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
"static": true
|
|
1463
|
+
}
|
|
1464
|
+
],
|
|
1465
|
+
"name": "AssetHash",
|
|
1466
|
+
"symbolId": "src/asset-hash:AssetHash"
|
|
1467
|
+
},
|
|
1468
|
+
"cdktn.AssetHashOptions": {
|
|
1469
|
+
"assembly": "cdktn",
|
|
1470
|
+
"datatype": true,
|
|
1471
|
+
"docs": {
|
|
1472
|
+
"stability": "experimental",
|
|
1473
|
+
"summary": "Options for {@link AssetHash.of}."
|
|
1474
|
+
},
|
|
1475
|
+
"fqn": "cdktn.AssetHashOptions",
|
|
1476
|
+
"kind": "interface",
|
|
1477
|
+
"locationInModule": {
|
|
1478
|
+
"filename": "src/asset-hash.ts",
|
|
1479
|
+
"line": 15
|
|
1480
|
+
},
|
|
1481
|
+
"name": "AssetHashOptions",
|
|
1482
|
+
"properties": [
|
|
1483
|
+
{
|
|
1484
|
+
"abstract": true,
|
|
1485
|
+
"docs": {
|
|
1486
|
+
"default": "- nothing is excluded",
|
|
1487
|
+
"remarks": "Cannot be combined with\n`ignoreStrategy`, which replaces this matcher rather than layering on\ntop of it.",
|
|
1488
|
+
"stability": "experimental",
|
|
1489
|
+
"summary": "Paths to exclude, relative to the hashed path."
|
|
1490
|
+
},
|
|
1491
|
+
"immutable": true,
|
|
1492
|
+
"locationInModule": {
|
|
1493
|
+
"filename": "src/asset-hash.ts",
|
|
1494
|
+
"line": 23
|
|
1495
|
+
},
|
|
1496
|
+
"name": "exclude",
|
|
1497
|
+
"optional": true,
|
|
1498
|
+
"type": {
|
|
1499
|
+
"collection": {
|
|
1500
|
+
"elementtype": {
|
|
1501
|
+
"primitive": "string"
|
|
1502
|
+
},
|
|
1503
|
+
"kind": "array"
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"abstract": true,
|
|
1509
|
+
"docs": {
|
|
1510
|
+
"default": "- no extra data",
|
|
1511
|
+
"stability": "experimental",
|
|
1512
|
+
"summary": "Extra information to fold into the hash."
|
|
1513
|
+
},
|
|
1514
|
+
"immutable": true,
|
|
1515
|
+
"locationInModule": {
|
|
1516
|
+
"filename": "src/asset-hash.ts",
|
|
1517
|
+
"line": 30
|
|
1518
|
+
},
|
|
1519
|
+
"name": "extraHash",
|
|
1520
|
+
"optional": true,
|
|
1521
|
+
"type": {
|
|
1522
|
+
"primitive": "string"
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"abstract": true,
|
|
1527
|
+
"docs": {
|
|
1528
|
+
"default": "- `exclude` is used with the built-in matcher",
|
|
1529
|
+
"stability": "experimental",
|
|
1530
|
+
"summary": "Exclusion matching, for callers that need `.gitignore` / `.dockerignore` parity rather than the built-in exact-path / suffix / directory matcher."
|
|
1531
|
+
},
|
|
1532
|
+
"immutable": true,
|
|
1533
|
+
"locationInModule": {
|
|
1534
|
+
"filename": "src/asset-hash.ts",
|
|
1535
|
+
"line": 38
|
|
1536
|
+
},
|
|
1537
|
+
"name": "ignoreStrategy",
|
|
1538
|
+
"optional": true,
|
|
1539
|
+
"type": {
|
|
1540
|
+
"fqn": "cdktn.IIgnoreStrategy"
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
],
|
|
1544
|
+
"symbolId": "src/asset-hash:AssetHashOptions"
|
|
1545
|
+
},
|
|
1546
|
+
"cdktn.AssetHashType": {
|
|
1547
|
+
"assembly": "cdktn",
|
|
1548
|
+
"docs": {
|
|
1549
|
+
"remarks": "The hash identifies a specific revision of the asset and caches deployment\nwork such as packaging and uploading.",
|
|
1550
|
+
"stability": "experimental",
|
|
1551
|
+
"summary": "The type of asset hash."
|
|
1552
|
+
},
|
|
1553
|
+
"fqn": "cdktn.AssetHashType",
|
|
1554
|
+
"kind": "enum",
|
|
1555
|
+
"locationInModule": {
|
|
1556
|
+
"filename": "src/assets.ts",
|
|
1557
|
+
"line": 63
|
|
1558
|
+
},
|
|
1559
|
+
"members": [
|
|
1560
|
+
{
|
|
1561
|
+
"docs": {
|
|
1562
|
+
"remarks": "Use `SOURCE` to track changes to the source files directly.",
|
|
1563
|
+
"stability": "experimental",
|
|
1564
|
+
"summary": "Based on the content of the source path."
|
|
1565
|
+
},
|
|
1566
|
+
"name": "SOURCE"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"docs": {
|
|
1570
|
+
"remarks": "Use `OUTPUT` when the source is a top-level folder holding code and/or\ndependencies not directly linked to the asset.",
|
|
1571
|
+
"stability": "experimental",
|
|
1572
|
+
"summary": "Based on the content of the bundling output."
|
|
1573
|
+
},
|
|
1574
|
+
"name": "OUTPUT"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"docs": {
|
|
1578
|
+
"stability": "experimental",
|
|
1579
|
+
"summary": "Use a custom hash."
|
|
1580
|
+
},
|
|
1581
|
+
"name": "CUSTOM"
|
|
1582
|
+
}
|
|
1583
|
+
],
|
|
1584
|
+
"name": "AssetHashType",
|
|
1585
|
+
"symbolId": "src/assets:AssetHashType"
|
|
1586
|
+
},
|
|
1587
|
+
"cdktn.AssetOptions": {
|
|
1588
|
+
"assembly": "cdktn",
|
|
1589
|
+
"datatype": true,
|
|
1590
|
+
"docs": {
|
|
1591
|
+
"stability": "experimental",
|
|
1592
|
+
"summary": "Options controlling how an asset's hash is derived."
|
|
1593
|
+
},
|
|
1594
|
+
"fqn": "cdktn.AssetOptions",
|
|
1595
|
+
"kind": "interface",
|
|
1596
|
+
"locationInModule": {
|
|
1597
|
+
"filename": "src/assets.ts",
|
|
1598
|
+
"line": 30
|
|
1599
|
+
},
|
|
1600
|
+
"name": "AssetOptions",
|
|
1601
|
+
"properties": [
|
|
1602
|
+
{
|
|
1603
|
+
"abstract": true,
|
|
1604
|
+
"docs": {
|
|
1605
|
+
"default": "- based on `assetHashType`",
|
|
1606
|
+
"remarks": "If `assetHashType` is set it must\nbe set to `AssetHashType.CUSTOM`. The value is used verbatim as the asset\nhash, and because it names the staged asset file it may only contain\nletters, digits, `_`, `.` and `-`.\n\nThe hash identifies a specific revision of the asset and caches deployment\nwork (packaging, uploading). A custom hash must be updated whenever the\nasset changes, or some deployments will not be invalidated.",
|
|
1607
|
+
"stability": "experimental",
|
|
1608
|
+
"summary": "Specify a custom hash for this asset."
|
|
1609
|
+
},
|
|
1610
|
+
"immutable": true,
|
|
1611
|
+
"locationInModule": {
|
|
1612
|
+
"filename": "src/assets.ts",
|
|
1613
|
+
"line": 43
|
|
1614
|
+
},
|
|
1615
|
+
"name": "assetHash",
|
|
1616
|
+
"optional": true,
|
|
1617
|
+
"type": {
|
|
1618
|
+
"primitive": "string"
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"abstract": true,
|
|
1623
|
+
"docs": {
|
|
1624
|
+
"default": "- the default is `AssetHashType.SOURCE`, but if `assetHash` is\nexplicitly specified this value defaults to `AssetHashType.CUSTOM`.",
|
|
1625
|
+
"remarks": "If `assetHash` is configured, this option must be `undefined` or\n`AssetHashType.CUSTOM`.",
|
|
1626
|
+
"stability": "experimental",
|
|
1627
|
+
"summary": "Specifies the type of hash to calculate for this asset."
|
|
1628
|
+
},
|
|
1629
|
+
"immutable": true,
|
|
1630
|
+
"locationInModule": {
|
|
1631
|
+
"filename": "src/assets.ts",
|
|
1632
|
+
"line": 54
|
|
1633
|
+
},
|
|
1634
|
+
"name": "assetHashType",
|
|
1635
|
+
"optional": true,
|
|
1636
|
+
"type": {
|
|
1637
|
+
"fqn": "cdktn.AssetHashType"
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
"symbolId": "src/assets:AssetOptions"
|
|
1642
|
+
},
|
|
1643
|
+
"cdktn.AssetPackaging": {
|
|
1644
|
+
"assembly": "cdktn",
|
|
1645
|
+
"docs": {
|
|
1646
|
+
"remarks": "Custom formats implement `IAssetPackaging`\ndirectly rather than extending this class.",
|
|
1647
|
+
"stability": "experimental",
|
|
1648
|
+
"summary": "Built-in packaging strategies."
|
|
1649
|
+
},
|
|
1650
|
+
"fqn": "cdktn.AssetPackaging",
|
|
1651
|
+
"kind": "class",
|
|
1652
|
+
"locationInModule": {
|
|
1653
|
+
"filename": "src/assets.ts",
|
|
1654
|
+
"line": 223
|
|
1655
|
+
},
|
|
1656
|
+
"name": "AssetPackaging",
|
|
1657
|
+
"properties": [
|
|
1658
|
+
{
|
|
1659
|
+
"const": true,
|
|
1660
|
+
"docs": {
|
|
1661
|
+
"stability": "experimental",
|
|
1662
|
+
"summary": "Copy a directory tree as-is, without archiving."
|
|
1663
|
+
},
|
|
1664
|
+
"immutable": true,
|
|
1665
|
+
"locationInModule": {
|
|
1666
|
+
"filename": "src/assets.ts",
|
|
1667
|
+
"line": 232
|
|
1668
|
+
},
|
|
1669
|
+
"name": "DIRECTORY",
|
|
1670
|
+
"static": true,
|
|
1671
|
+
"type": {
|
|
1672
|
+
"fqn": "cdktn.IAssetPackaging"
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"const": true,
|
|
1677
|
+
"docs": {
|
|
1678
|
+
"stability": "experimental",
|
|
1679
|
+
"summary": "Copy a single file as-is."
|
|
1680
|
+
},
|
|
1681
|
+
"immutable": true,
|
|
1682
|
+
"locationInModule": {
|
|
1683
|
+
"filename": "src/assets.ts",
|
|
1684
|
+
"line": 227
|
|
1685
|
+
},
|
|
1686
|
+
"name": "FILE",
|
|
1687
|
+
"static": true,
|
|
1688
|
+
"type": {
|
|
1689
|
+
"fqn": "cdktn.IAssetPackaging"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"const": true,
|
|
1694
|
+
"docs": {
|
|
1695
|
+
"stability": "experimental",
|
|
1696
|
+
"summary": "Archive a directory tree into a single zip file."
|
|
1697
|
+
},
|
|
1698
|
+
"immutable": true,
|
|
1699
|
+
"locationInModule": {
|
|
1700
|
+
"filename": "src/assets.ts",
|
|
1701
|
+
"line": 237
|
|
1702
|
+
},
|
|
1703
|
+
"name": "ZIP",
|
|
1704
|
+
"static": true,
|
|
1705
|
+
"type": {
|
|
1706
|
+
"fqn": "cdktn.IAssetPackaging"
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
],
|
|
1710
|
+
"symbolId": "src/assets:AssetPackaging"
|
|
1711
|
+
},
|
|
1712
|
+
"cdktn.AssetStaging": {
|
|
1713
|
+
"assembly": "cdktn",
|
|
1714
|
+
"base": "constructs.Construct",
|
|
1715
|
+
"docs": {
|
|
1716
|
+
"remarks": "The hash is available immediately after construction; the filesystem write\nis deferred to `stage()`, the one window where it is safe. Hashing is\ncached per synth (see {@link hashCachesByRoot}) so an asset referenced from\nseveral places is walked once. Without a bundler, `SOURCE` and `OUTPUT` both\nhash the source; with one they diverge, as `AssetStagingOptions.bundler`\ndescribes.",
|
|
1717
|
+
"stability": "experimental",
|
|
1718
|
+
"summary": "Resolves an asset's identity and stages its content to disk."
|
|
1719
|
+
},
|
|
1720
|
+
"fqn": "cdktn.AssetStaging",
|
|
1721
|
+
"initializer": {
|
|
1722
|
+
"docs": {
|
|
1723
|
+
"stability": "experimental"
|
|
1724
|
+
},
|
|
1725
|
+
"locationInModule": {
|
|
1726
|
+
"filename": "src/asset-staging.ts",
|
|
1727
|
+
"line": 231
|
|
1728
|
+
},
|
|
1729
|
+
"parameters": [
|
|
1730
|
+
{
|
|
1731
|
+
"name": "scope",
|
|
1732
|
+
"type": {
|
|
1733
|
+
"fqn": "constructs.Construct"
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "id",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"primitive": "string"
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"name": "props",
|
|
1744
|
+
"type": {
|
|
1745
|
+
"fqn": "cdktn.AssetStagingOptions"
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
]
|
|
1749
|
+
},
|
|
1750
|
+
"interfaces": [
|
|
1751
|
+
"cdktn.IAsset"
|
|
1752
|
+
],
|
|
1753
|
+
"kind": "class",
|
|
1754
|
+
"locationInModule": {
|
|
1755
|
+
"filename": "src/asset-staging.ts",
|
|
1756
|
+
"line": 200
|
|
1757
|
+
},
|
|
1758
|
+
"methods": [
|
|
1759
|
+
{
|
|
1760
|
+
"docs": {
|
|
1761
|
+
"remarks": "Called from the owning construct's `onSynthesize` hook. Without a bundler\nthe source is packaged verbatim; with one, the bundler's output is, built\neagerly for `OUTPUT` hashing or deferred to here for `SOURCE`.",
|
|
1762
|
+
"stability": "experimental",
|
|
1763
|
+
"summary": "Stage the asset's content to `targetPath`."
|
|
1764
|
+
},
|
|
1765
|
+
"locationInModule": {
|
|
1766
|
+
"filename": "src/asset-staging.ts",
|
|
1767
|
+
"line": 502
|
|
1768
|
+
},
|
|
1769
|
+
"name": "stage",
|
|
1770
|
+
"parameters": [
|
|
1771
|
+
{
|
|
1772
|
+
"name": "targetPath",
|
|
1773
|
+
"type": {
|
|
1774
|
+
"primitive": "string"
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
]
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"name": "AssetStaging",
|
|
1781
|
+
"properties": [
|
|
1782
|
+
{
|
|
1783
|
+
"docs": {
|
|
1784
|
+
"remarks": "Being a plain string, it can be used in construct IDs to force a new\nresource when the content hash changes.",
|
|
1785
|
+
"stability": "experimental",
|
|
1786
|
+
"summary": "A hash of this asset, available at construction time."
|
|
1787
|
+
},
|
|
1788
|
+
"immutable": true,
|
|
1789
|
+
"locationInModule": {
|
|
1790
|
+
"filename": "src/asset-staging.ts",
|
|
1791
|
+
"line": 229
|
|
1792
|
+
},
|
|
1793
|
+
"name": "assetHash",
|
|
1794
|
+
"overrides": "cdktn.IAsset",
|
|
1795
|
+
"type": {
|
|
1796
|
+
"primitive": "string"
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"docs": {
|
|
1801
|
+
"stability": "experimental"
|
|
1802
|
+
},
|
|
1803
|
+
"immutable": true,
|
|
1804
|
+
"locationInModule": {
|
|
1805
|
+
"filename": "src/asset-staging.ts",
|
|
1806
|
+
"line": 228
|
|
1807
|
+
},
|
|
1808
|
+
"name": "isDirectory",
|
|
1809
|
+
"type": {
|
|
1810
|
+
"primitive": "boolean"
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"docs": {
|
|
1815
|
+
"stability": "experimental"
|
|
1816
|
+
},
|
|
1817
|
+
"immutable": true,
|
|
1818
|
+
"locationInModule": {
|
|
1819
|
+
"filename": "src/asset-staging.ts",
|
|
1820
|
+
"line": 227
|
|
1821
|
+
},
|
|
1822
|
+
"name": "packaging",
|
|
1823
|
+
"type": {
|
|
1824
|
+
"fqn": "cdktn.IAssetPackaging"
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
],
|
|
1828
|
+
"symbolId": "src/asset-staging:AssetStaging"
|
|
1829
|
+
},
|
|
1830
|
+
"cdktn.AssetStagingOptions": {
|
|
1831
|
+
"assembly": "cdktn",
|
|
1832
|
+
"datatype": true,
|
|
1833
|
+
"docs": {
|
|
1834
|
+
"stability": "experimental",
|
|
1835
|
+
"summary": "Options for {@link AssetStaging}."
|
|
1836
|
+
},
|
|
1837
|
+
"fqn": "cdktn.AssetStagingOptions",
|
|
1838
|
+
"interfaces": [
|
|
1839
|
+
"cdktn.AssetOptions"
|
|
1840
|
+
],
|
|
1841
|
+
"kind": "interface",
|
|
1842
|
+
"locationInModule": {
|
|
1843
|
+
"filename": "src/asset-staging.ts",
|
|
1844
|
+
"line": 128
|
|
1845
|
+
},
|
|
1846
|
+
"name": "AssetStagingOptions",
|
|
1847
|
+
"properties": [
|
|
1848
|
+
{
|
|
1849
|
+
"abstract": true,
|
|
1850
|
+
"docs": {
|
|
1851
|
+
"remarks": "The caller decides this\n(e.g. from its own `AssetType`) — `AssetStaging` never infers or changes\nit based on `exclude`/`extraHash`.",
|
|
1852
|
+
"stability": "experimental",
|
|
1853
|
+
"summary": "How the staged result is produced and shaped."
|
|
1854
|
+
},
|
|
1855
|
+
"immutable": true,
|
|
1856
|
+
"locationInModule": {
|
|
1857
|
+
"filename": "src/asset-staging.ts",
|
|
1858
|
+
"line": 140
|
|
1859
|
+
},
|
|
1860
|
+
"name": "packaging",
|
|
1861
|
+
"type": {
|
|
1862
|
+
"fqn": "cdktn.IAssetPackaging"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"abstract": true,
|
|
1867
|
+
"docs": {
|
|
1868
|
+
"remarks": "Resolving a relative path\nagainst `cdktf.json` is the caller's responsibility.",
|
|
1869
|
+
"stability": "experimental",
|
|
1870
|
+
"summary": "Absolute path to the source file or directory."
|
|
1871
|
+
},
|
|
1872
|
+
"immutable": true,
|
|
1873
|
+
"locationInModule": {
|
|
1874
|
+
"filename": "src/asset-staging.ts",
|
|
1875
|
+
"line": 133
|
|
1876
|
+
},
|
|
1877
|
+
"name": "sourcePath",
|
|
1878
|
+
"type": {
|
|
1879
|
+
"primitive": "string"
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"abstract": true,
|
|
1884
|
+
"docs": {
|
|
1885
|
+
"default": "- the source is staged verbatim, with no build step",
|
|
1886
|
+
"remarks": "Under the default `SOURCE` hashing the build is deferred to `stage()` and\nstays skippable; `OUTPUT` hashing builds eagerly at construction time to\nhash the artifact, forgoing skippability. The bundler's declared output\nshape must match the packaging: a `BundleResult.directory` needs a\ndirectory-accepting packaging, a `BundleResult.file` a single-file one\n(`AssetType.FILE`). The mismatch is caught once the build runs.",
|
|
1887
|
+
"stability": "experimental",
|
|
1888
|
+
"summary": "A bundler that builds the source into an artifact before staging."
|
|
1889
|
+
},
|
|
1890
|
+
"immutable": true,
|
|
1891
|
+
"locationInModule": {
|
|
1892
|
+
"filename": "src/asset-staging.ts",
|
|
1893
|
+
"line": 179
|
|
1894
|
+
},
|
|
1895
|
+
"name": "bundler",
|
|
1896
|
+
"optional": true,
|
|
1897
|
+
"type": {
|
|
1898
|
+
"fqn": "cdktn.IAssetBundler"
|
|
1899
|
+
}
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"abstract": true,
|
|
1903
|
+
"docs": {
|
|
1904
|
+
"default": "- the staging construct's own id",
|
|
1905
|
+
"stability": "experimental",
|
|
1906
|
+
"summary": "Identifier used in error messages, so they name the user-facing construct (e.g. the `TerraformAsset`) rather than this internal staging child."
|
|
1907
|
+
},
|
|
1908
|
+
"immutable": true,
|
|
1909
|
+
"locationInModule": {
|
|
1910
|
+
"filename": "src/asset-staging.ts",
|
|
1911
|
+
"line": 187
|
|
1912
|
+
},
|
|
1913
|
+
"name": "displayName",
|
|
1914
|
+
"optional": true,
|
|
1915
|
+
"type": {
|
|
1916
|
+
"primitive": "string"
|
|
1917
|
+
}
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"abstract": true,
|
|
1921
|
+
"docs": {
|
|
1922
|
+
"default": "- nothing is excluded",
|
|
1923
|
+
"remarks": "Cannot be combined with\n`ignoreStrategy`, which replaces this matcher rather than layering on\ntop of it.",
|
|
1924
|
+
"stability": "experimental",
|
|
1925
|
+
"summary": "Paths to exclude, relative to `sourcePath`."
|
|
1926
|
+
},
|
|
1927
|
+
"immutable": true,
|
|
1928
|
+
"locationInModule": {
|
|
1929
|
+
"filename": "src/asset-staging.ts",
|
|
1930
|
+
"line": 149
|
|
1931
|
+
},
|
|
1932
|
+
"name": "exclude",
|
|
1933
|
+
"optional": true,
|
|
1934
|
+
"type": {
|
|
1935
|
+
"collection": {
|
|
1936
|
+
"elementtype": {
|
|
1937
|
+
"primitive": "string"
|
|
1938
|
+
},
|
|
1939
|
+
"kind": "array"
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"abstract": true,
|
|
1945
|
+
"docs": {
|
|
1946
|
+
"default": "- no extra hash",
|
|
1947
|
+
"stability": "experimental",
|
|
1948
|
+
"summary": "Extra information to fold into the hash (e.g. build instructions and other inputs)."
|
|
1949
|
+
},
|
|
1950
|
+
"immutable": true,
|
|
1951
|
+
"locationInModule": {
|
|
1952
|
+
"filename": "src/asset-staging.ts",
|
|
1953
|
+
"line": 165
|
|
1954
|
+
},
|
|
1955
|
+
"name": "extraHash",
|
|
1956
|
+
"optional": true,
|
|
1957
|
+
"type": {
|
|
1958
|
+
"primitive": "string"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"abstract": true,
|
|
1963
|
+
"docs": {
|
|
1964
|
+
"default": "- `exclude` is used with the built-in matcher",
|
|
1965
|
+
"stability": "experimental",
|
|
1966
|
+
"summary": "Exclusion matching, for callers that need `.gitignore` / `.dockerignore` parity rather than the built-in exact-path / suffix / directory matcher."
|
|
1967
|
+
},
|
|
1968
|
+
"immutable": true,
|
|
1969
|
+
"locationInModule": {
|
|
1970
|
+
"filename": "src/asset-staging.ts",
|
|
1971
|
+
"line": 157
|
|
1972
|
+
},
|
|
1973
|
+
"name": "ignoreStrategy",
|
|
1974
|
+
"optional": true,
|
|
1975
|
+
"type": {
|
|
1976
|
+
"fqn": "cdktn.IIgnoreStrategy"
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
],
|
|
1980
|
+
"symbolId": "src/asset-staging:AssetStagingOptions"
|
|
1981
|
+
},
|
|
1410
1982
|
"cdktn.AssetType": {
|
|
1411
1983
|
"assembly": "cdktn",
|
|
1412
1984
|
"docs": {
|
|
@@ -1416,7 +1988,7 @@
|
|
|
1416
1988
|
"kind": "enum",
|
|
1417
1989
|
"locationInModule": {
|
|
1418
1990
|
"filename": "src/terraform-asset.ts",
|
|
1419
|
-
"line":
|
|
1991
|
+
"line": 95
|
|
1420
1992
|
},
|
|
1421
1993
|
"members": [
|
|
1422
1994
|
{
|
|
@@ -2021,22 +2593,138 @@
|
|
|
2021
2593
|
}
|
|
2022
2594
|
}
|
|
2023
2595
|
],
|
|
2024
|
-
"symbolId": "src/backends/azurerm-backend:AzurermBackendConfig"
|
|
2596
|
+
"symbolId": "src/backends/azurerm-backend:AzurermBackendConfig"
|
|
2597
|
+
},
|
|
2598
|
+
"cdktn.BooleanList": {
|
|
2599
|
+
"assembly": "cdktn",
|
|
2600
|
+
"base": "cdktn.ComplexList",
|
|
2601
|
+
"docs": {
|
|
2602
|
+
"stability": "experimental"
|
|
2603
|
+
},
|
|
2604
|
+
"fqn": "cdktn.BooleanList",
|
|
2605
|
+
"initializer": {
|
|
2606
|
+
"docs": {
|
|
2607
|
+
"stability": "experimental"
|
|
2608
|
+
},
|
|
2609
|
+
"locationInModule": {
|
|
2610
|
+
"filename": "src/complex-computed-list.ts",
|
|
2611
|
+
"line": 421
|
|
2612
|
+
},
|
|
2613
|
+
"parameters": [
|
|
2614
|
+
{
|
|
2615
|
+
"name": "terraformResource",
|
|
2616
|
+
"type": {
|
|
2617
|
+
"fqn": "cdktn.IInterpolatingParent"
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
"name": "terraformAttribute",
|
|
2622
|
+
"type": {
|
|
2623
|
+
"primitive": "string"
|
|
2624
|
+
}
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"name": "wrapsSet",
|
|
2628
|
+
"type": {
|
|
2629
|
+
"primitive": "boolean"
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
]
|
|
2633
|
+
},
|
|
2634
|
+
"kind": "class",
|
|
2635
|
+
"locationInModule": {
|
|
2636
|
+
"filename": "src/complex-computed-list.ts",
|
|
2637
|
+
"line": 420
|
|
2638
|
+
},
|
|
2639
|
+
"methods": [
|
|
2640
|
+
{
|
|
2641
|
+
"docs": {
|
|
2642
|
+
"stability": "experimental"
|
|
2643
|
+
},
|
|
2644
|
+
"locationInModule": {
|
|
2645
|
+
"filename": "src/complex-computed-list.ts",
|
|
2646
|
+
"line": 429
|
|
2647
|
+
},
|
|
2648
|
+
"name": "get",
|
|
2649
|
+
"parameters": [
|
|
2650
|
+
{
|
|
2651
|
+
"name": "index",
|
|
2652
|
+
"type": {
|
|
2653
|
+
"primitive": "number"
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
],
|
|
2657
|
+
"returns": {
|
|
2658
|
+
"type": {
|
|
2659
|
+
"fqn": "cdktn.IResolvable"
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
],
|
|
2664
|
+
"name": "BooleanList",
|
|
2665
|
+
"properties": [
|
|
2666
|
+
{
|
|
2667
|
+
"docs": {
|
|
2668
|
+
"stability": "experimental"
|
|
2669
|
+
},
|
|
2670
|
+
"locationInModule": {
|
|
2671
|
+
"filename": "src/complex-computed-list.ts",
|
|
2672
|
+
"line": 423
|
|
2673
|
+
},
|
|
2674
|
+
"name": "terraformAttribute",
|
|
2675
|
+
"overrides": "cdktn.ComplexList",
|
|
2676
|
+
"protected": true,
|
|
2677
|
+
"type": {
|
|
2678
|
+
"primitive": "string"
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"docs": {
|
|
2683
|
+
"stability": "experimental"
|
|
2684
|
+
},
|
|
2685
|
+
"locationInModule": {
|
|
2686
|
+
"filename": "src/complex-computed-list.ts",
|
|
2687
|
+
"line": 422
|
|
2688
|
+
},
|
|
2689
|
+
"name": "terraformResource",
|
|
2690
|
+
"overrides": "cdktn.ComplexList",
|
|
2691
|
+
"protected": true,
|
|
2692
|
+
"type": {
|
|
2693
|
+
"fqn": "cdktn.IInterpolatingParent"
|
|
2694
|
+
}
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"docs": {
|
|
2698
|
+
"stability": "experimental"
|
|
2699
|
+
},
|
|
2700
|
+
"locationInModule": {
|
|
2701
|
+
"filename": "src/complex-computed-list.ts",
|
|
2702
|
+
"line": 424
|
|
2703
|
+
},
|
|
2704
|
+
"name": "wrapsSet",
|
|
2705
|
+
"overrides": "cdktn.ComplexList",
|
|
2706
|
+
"protected": true,
|
|
2707
|
+
"type": {
|
|
2708
|
+
"primitive": "boolean"
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
],
|
|
2712
|
+
"symbolId": "src/complex-computed-list:BooleanList"
|
|
2025
2713
|
},
|
|
2026
|
-
"cdktn.
|
|
2714
|
+
"cdktn.BooleanListList": {
|
|
2027
2715
|
"assembly": "cdktn",
|
|
2028
2716
|
"base": "cdktn.ComplexList",
|
|
2029
2717
|
"docs": {
|
|
2030
2718
|
"stability": "experimental"
|
|
2031
2719
|
},
|
|
2032
|
-
"fqn": "cdktn.
|
|
2720
|
+
"fqn": "cdktn.BooleanListList",
|
|
2033
2721
|
"initializer": {
|
|
2034
2722
|
"docs": {
|
|
2035
2723
|
"stability": "experimental"
|
|
2036
2724
|
},
|
|
2037
2725
|
"locationInModule": {
|
|
2038
2726
|
"filename": "src/complex-computed-list.ts",
|
|
2039
|
-
"line":
|
|
2727
|
+
"line": 474
|
|
2040
2728
|
},
|
|
2041
2729
|
"parameters": [
|
|
2042
2730
|
{
|
|
@@ -2062,7 +2750,7 @@
|
|
|
2062
2750
|
"kind": "class",
|
|
2063
2751
|
"locationInModule": {
|
|
2064
2752
|
"filename": "src/complex-computed-list.ts",
|
|
2065
|
-
"line":
|
|
2753
|
+
"line": 473
|
|
2066
2754
|
},
|
|
2067
2755
|
"methods": [
|
|
2068
2756
|
{
|
|
@@ -2071,7 +2759,7 @@
|
|
|
2071
2759
|
},
|
|
2072
2760
|
"locationInModule": {
|
|
2073
2761
|
"filename": "src/complex-computed-list.ts",
|
|
2074
|
-
"line":
|
|
2762
|
+
"line": 482
|
|
2075
2763
|
},
|
|
2076
2764
|
"name": "get",
|
|
2077
2765
|
"parameters": [
|
|
@@ -2089,7 +2777,7 @@
|
|
|
2089
2777
|
}
|
|
2090
2778
|
}
|
|
2091
2779
|
],
|
|
2092
|
-
"name": "
|
|
2780
|
+
"name": "BooleanListList",
|
|
2093
2781
|
"properties": [
|
|
2094
2782
|
{
|
|
2095
2783
|
"docs": {
|
|
@@ -2097,7 +2785,7 @@
|
|
|
2097
2785
|
},
|
|
2098
2786
|
"locationInModule": {
|
|
2099
2787
|
"filename": "src/complex-computed-list.ts",
|
|
2100
|
-
"line":
|
|
2788
|
+
"line": 476
|
|
2101
2789
|
},
|
|
2102
2790
|
"name": "terraformAttribute",
|
|
2103
2791
|
"overrides": "cdktn.ComplexList",
|
|
@@ -2112,7 +2800,7 @@
|
|
|
2112
2800
|
},
|
|
2113
2801
|
"locationInModule": {
|
|
2114
2802
|
"filename": "src/complex-computed-list.ts",
|
|
2115
|
-
"line":
|
|
2803
|
+
"line": 475
|
|
2116
2804
|
},
|
|
2117
2805
|
"name": "terraformResource",
|
|
2118
2806
|
"overrides": "cdktn.ComplexList",
|
|
@@ -2127,7 +2815,7 @@
|
|
|
2127
2815
|
},
|
|
2128
2816
|
"locationInModule": {
|
|
2129
2817
|
"filename": "src/complex-computed-list.ts",
|
|
2130
|
-
"line":
|
|
2818
|
+
"line": 477
|
|
2131
2819
|
},
|
|
2132
2820
|
"name": "wrapsSet",
|
|
2133
2821
|
"overrides": "cdktn.ComplexList",
|
|
@@ -2137,22 +2825,22 @@
|
|
|
2137
2825
|
}
|
|
2138
2826
|
}
|
|
2139
2827
|
],
|
|
2140
|
-
"symbolId": "src/complex-computed-list:
|
|
2828
|
+
"symbolId": "src/complex-computed-list:BooleanListList"
|
|
2141
2829
|
},
|
|
2142
|
-
"cdktn.
|
|
2830
|
+
"cdktn.BooleanListMap": {
|
|
2143
2831
|
"assembly": "cdktn",
|
|
2144
|
-
"base": "cdktn.
|
|
2832
|
+
"base": "cdktn.ComplexMap",
|
|
2145
2833
|
"docs": {
|
|
2146
2834
|
"stability": "experimental"
|
|
2147
2835
|
},
|
|
2148
|
-
"fqn": "cdktn.
|
|
2836
|
+
"fqn": "cdktn.BooleanListMap",
|
|
2149
2837
|
"initializer": {
|
|
2150
2838
|
"docs": {
|
|
2151
2839
|
"stability": "experimental"
|
|
2152
2840
|
},
|
|
2153
2841
|
"locationInModule": {
|
|
2154
2842
|
"filename": "src/complex-computed-list.ts",
|
|
2155
|
-
"line":
|
|
2843
|
+
"line": 751
|
|
2156
2844
|
},
|
|
2157
2845
|
"parameters": [
|
|
2158
2846
|
{
|
|
@@ -2166,19 +2854,13 @@
|
|
|
2166
2854
|
"type": {
|
|
2167
2855
|
"primitive": "string"
|
|
2168
2856
|
}
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"name": "wrapsSet",
|
|
2172
|
-
"type": {
|
|
2173
|
-
"primitive": "boolean"
|
|
2174
|
-
}
|
|
2175
2857
|
}
|
|
2176
2858
|
]
|
|
2177
2859
|
},
|
|
2178
2860
|
"kind": "class",
|
|
2179
2861
|
"locationInModule": {
|
|
2180
2862
|
"filename": "src/complex-computed-list.ts",
|
|
2181
|
-
"line":
|
|
2863
|
+
"line": 750
|
|
2182
2864
|
},
|
|
2183
2865
|
"methods": [
|
|
2184
2866
|
{
|
|
@@ -2187,14 +2869,14 @@
|
|
|
2187
2869
|
},
|
|
2188
2870
|
"locationInModule": {
|
|
2189
2871
|
"filename": "src/complex-computed-list.ts",
|
|
2190
|
-
"line":
|
|
2872
|
+
"line": 758
|
|
2191
2873
|
},
|
|
2192
2874
|
"name": "get",
|
|
2193
2875
|
"parameters": [
|
|
2194
2876
|
{
|
|
2195
|
-
"name": "
|
|
2877
|
+
"name": "key",
|
|
2196
2878
|
"type": {
|
|
2197
|
-
"primitive": "
|
|
2879
|
+
"primitive": "string"
|
|
2198
2880
|
}
|
|
2199
2881
|
}
|
|
2200
2882
|
],
|
|
@@ -2205,7 +2887,7 @@
|
|
|
2205
2887
|
}
|
|
2206
2888
|
}
|
|
2207
2889
|
],
|
|
2208
|
-
"name": "
|
|
2890
|
+
"name": "BooleanListMap",
|
|
2209
2891
|
"properties": [
|
|
2210
2892
|
{
|
|
2211
2893
|
"docs": {
|
|
@@ -2213,10 +2895,10 @@
|
|
|
2213
2895
|
},
|
|
2214
2896
|
"locationInModule": {
|
|
2215
2897
|
"filename": "src/complex-computed-list.ts",
|
|
2216
|
-
"line":
|
|
2898
|
+
"line": 753
|
|
2217
2899
|
},
|
|
2218
2900
|
"name": "terraformAttribute",
|
|
2219
|
-
"overrides": "cdktn.
|
|
2901
|
+
"overrides": "cdktn.ComplexMap",
|
|
2220
2902
|
"protected": true,
|
|
2221
2903
|
"type": {
|
|
2222
2904
|
"primitive": "string"
|
|
@@ -2228,14 +2910,71 @@
|
|
|
2228
2910
|
},
|
|
2229
2911
|
"locationInModule": {
|
|
2230
2912
|
"filename": "src/complex-computed-list.ts",
|
|
2231
|
-
"line":
|
|
2913
|
+
"line": 752
|
|
2232
2914
|
},
|
|
2233
2915
|
"name": "terraformResource",
|
|
2234
|
-
"overrides": "cdktn.
|
|
2916
|
+
"overrides": "cdktn.ComplexMap",
|
|
2235
2917
|
"protected": true,
|
|
2236
2918
|
"type": {
|
|
2237
2919
|
"fqn": "cdktn.IInterpolatingParent"
|
|
2238
2920
|
}
|
|
2921
|
+
}
|
|
2922
|
+
],
|
|
2923
|
+
"symbolId": "src/complex-computed-list:BooleanListMap"
|
|
2924
|
+
},
|
|
2925
|
+
"cdktn.BooleanMap": {
|
|
2926
|
+
"assembly": "cdktn",
|
|
2927
|
+
"docs": {
|
|
2928
|
+
"stability": "experimental"
|
|
2929
|
+
},
|
|
2930
|
+
"fqn": "cdktn.BooleanMap",
|
|
2931
|
+
"initializer": {
|
|
2932
|
+
"docs": {
|
|
2933
|
+
"stability": "experimental"
|
|
2934
|
+
},
|
|
2935
|
+
"locationInModule": {
|
|
2936
|
+
"filename": "src/complex-computed-list.ts",
|
|
2937
|
+
"line": 170
|
|
2938
|
+
},
|
|
2939
|
+
"parameters": [
|
|
2940
|
+
{
|
|
2941
|
+
"name": "terraformResource",
|
|
2942
|
+
"type": {
|
|
2943
|
+
"fqn": "cdktn.IInterpolatingParent"
|
|
2944
|
+
}
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"name": "terraformAttribute",
|
|
2948
|
+
"type": {
|
|
2949
|
+
"primitive": "string"
|
|
2950
|
+
}
|
|
2951
|
+
}
|
|
2952
|
+
]
|
|
2953
|
+
},
|
|
2954
|
+
"interfaces": [
|
|
2955
|
+
"cdktn.ITerraformAddressable",
|
|
2956
|
+
"cdktn.IResolvable"
|
|
2957
|
+
],
|
|
2958
|
+
"kind": "class",
|
|
2959
|
+
"locationInModule": {
|
|
2960
|
+
"filename": "src/complex-computed-list.ts",
|
|
2961
|
+
"line": 166
|
|
2962
|
+
},
|
|
2963
|
+
"methods": [
|
|
2964
|
+
{
|
|
2965
|
+
"docs": {
|
|
2966
|
+
"stability": "experimental"
|
|
2967
|
+
},
|
|
2968
|
+
"locationInModule": {
|
|
2969
|
+
"filename": "src/complex-computed-list.ts",
|
|
2970
|
+
"line": 183
|
|
2971
|
+
},
|
|
2972
|
+
"name": "computeFqn",
|
|
2973
|
+
"returns": {
|
|
2974
|
+
"type": {
|
|
2975
|
+
"primitive": "string"
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2239
2978
|
},
|
|
2240
2979
|
{
|
|
2241
2980
|
"docs": {
|
|
@@ -2243,32 +2982,151 @@
|
|
|
2243
2982
|
},
|
|
2244
2983
|
"locationInModule": {
|
|
2245
2984
|
"filename": "src/complex-computed-list.ts",
|
|
2246
|
-
"line":
|
|
2985
|
+
"line": 177
|
|
2247
2986
|
},
|
|
2248
|
-
"name": "
|
|
2249
|
-
"
|
|
2987
|
+
"name": "lookup",
|
|
2988
|
+
"parameters": [
|
|
2989
|
+
{
|
|
2990
|
+
"name": "key",
|
|
2991
|
+
"type": {
|
|
2992
|
+
"primitive": "string"
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
],
|
|
2996
|
+
"returns": {
|
|
2997
|
+
"type": {
|
|
2998
|
+
"fqn": "cdktn.IResolvable"
|
|
2999
|
+
}
|
|
3000
|
+
}
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"docs": {
|
|
3004
|
+
"stability": "experimental",
|
|
3005
|
+
"summary": "Produce the Token's value at resolution time."
|
|
3006
|
+
},
|
|
3007
|
+
"locationInModule": {
|
|
3008
|
+
"filename": "src/complex-computed-list.ts",
|
|
3009
|
+
"line": 43
|
|
3010
|
+
},
|
|
3011
|
+
"name": "resolve",
|
|
3012
|
+
"overrides": "cdktn.IResolvable",
|
|
3013
|
+
"parameters": [
|
|
3014
|
+
{
|
|
3015
|
+
"name": "_context",
|
|
3016
|
+
"type": {
|
|
3017
|
+
"fqn": "cdktn.IResolveContext"
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
],
|
|
3021
|
+
"returns": {
|
|
3022
|
+
"type": {
|
|
3023
|
+
"primitive": "any"
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"docs": {
|
|
3029
|
+
"remarks": "Returns a reversible string representation.",
|
|
3030
|
+
"stability": "experimental",
|
|
3031
|
+
"summary": "Return a string representation of this resolvable object."
|
|
3032
|
+
},
|
|
3033
|
+
"locationInModule": {
|
|
3034
|
+
"filename": "src/complex-computed-list.ts",
|
|
3035
|
+
"line": 47
|
|
3036
|
+
},
|
|
3037
|
+
"name": "toString",
|
|
3038
|
+
"overrides": "cdktn.IResolvable",
|
|
3039
|
+
"returns": {
|
|
3040
|
+
"type": {
|
|
3041
|
+
"primitive": "string"
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
],
|
|
3046
|
+
"name": "BooleanMap",
|
|
3047
|
+
"properties": [
|
|
3048
|
+
{
|
|
3049
|
+
"docs": {
|
|
3050
|
+
"remarks": "If this returns an empty array the stack will not be attached.",
|
|
3051
|
+
"stability": "experimental",
|
|
3052
|
+
"summary": "The creation stack of this resolvable which will be appended to errors thrown during resolution."
|
|
3053
|
+
},
|
|
3054
|
+
"immutable": true,
|
|
3055
|
+
"locationInModule": {
|
|
3056
|
+
"filename": "src/complex-computed-list.ts",
|
|
3057
|
+
"line": 19
|
|
3058
|
+
},
|
|
3059
|
+
"name": "creationStack",
|
|
3060
|
+
"overrides": "cdktn.IResolvable",
|
|
3061
|
+
"type": {
|
|
3062
|
+
"collection": {
|
|
3063
|
+
"elementtype": {
|
|
3064
|
+
"primitive": "string"
|
|
3065
|
+
},
|
|
3066
|
+
"kind": "array"
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"docs": {
|
|
3072
|
+
"stability": "experimental"
|
|
3073
|
+
},
|
|
3074
|
+
"immutable": true,
|
|
3075
|
+
"locationInModule": {
|
|
3076
|
+
"filename": "src/complex-computed-list.ts",
|
|
3077
|
+
"line": 35
|
|
3078
|
+
},
|
|
3079
|
+
"name": "fqn",
|
|
3080
|
+
"overrides": "cdktn.ITerraformAddressable",
|
|
3081
|
+
"type": {
|
|
3082
|
+
"primitive": "string"
|
|
3083
|
+
}
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
"docs": {
|
|
3087
|
+
"stability": "experimental"
|
|
3088
|
+
},
|
|
3089
|
+
"locationInModule": {
|
|
3090
|
+
"filename": "src/complex-computed-list.ts",
|
|
3091
|
+
"line": 172
|
|
3092
|
+
},
|
|
3093
|
+
"name": "terraformAttribute",
|
|
2250
3094
|
"protected": true,
|
|
2251
3095
|
"type": {
|
|
2252
|
-
"primitive": "
|
|
3096
|
+
"primitive": "string"
|
|
3097
|
+
}
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
"docs": {
|
|
3101
|
+
"stability": "experimental"
|
|
3102
|
+
},
|
|
3103
|
+
"locationInModule": {
|
|
3104
|
+
"filename": "src/complex-computed-list.ts",
|
|
3105
|
+
"line": 171
|
|
3106
|
+
},
|
|
3107
|
+
"name": "terraformResource",
|
|
3108
|
+
"protected": true,
|
|
3109
|
+
"type": {
|
|
3110
|
+
"fqn": "cdktn.IInterpolatingParent"
|
|
2253
3111
|
}
|
|
2254
3112
|
}
|
|
2255
3113
|
],
|
|
2256
|
-
"symbolId": "src/complex-computed-list:
|
|
3114
|
+
"symbolId": "src/complex-computed-list:BooleanMap"
|
|
2257
3115
|
},
|
|
2258
|
-
"cdktn.
|
|
3116
|
+
"cdktn.BooleanMapList": {
|
|
2259
3117
|
"assembly": "cdktn",
|
|
2260
|
-
"base": "cdktn.
|
|
3118
|
+
"base": "cdktn.MapList",
|
|
2261
3119
|
"docs": {
|
|
2262
3120
|
"stability": "experimental"
|
|
2263
3121
|
},
|
|
2264
|
-
"fqn": "cdktn.
|
|
3122
|
+
"fqn": "cdktn.BooleanMapList",
|
|
2265
3123
|
"initializer": {
|
|
2266
3124
|
"docs": {
|
|
2267
3125
|
"stability": "experimental"
|
|
2268
3126
|
},
|
|
2269
3127
|
"locationInModule": {
|
|
2270
3128
|
"filename": "src/complex-computed-list.ts",
|
|
2271
|
-
"line":
|
|
3129
|
+
"line": 685
|
|
2272
3130
|
},
|
|
2273
3131
|
"parameters": [
|
|
2274
3132
|
{
|
|
@@ -2278,9 +3136,15 @@
|
|
|
2278
3136
|
}
|
|
2279
3137
|
},
|
|
2280
3138
|
{
|
|
2281
|
-
"name": "terraformAttribute",
|
|
3139
|
+
"name": "terraformAttribute",
|
|
3140
|
+
"type": {
|
|
3141
|
+
"primitive": "string"
|
|
3142
|
+
}
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
"name": "wrapsSet",
|
|
2282
3146
|
"type": {
|
|
2283
|
-
"primitive": "
|
|
3147
|
+
"primitive": "boolean"
|
|
2284
3148
|
}
|
|
2285
3149
|
}
|
|
2286
3150
|
]
|
|
@@ -2288,7 +3152,7 @@
|
|
|
2288
3152
|
"kind": "class",
|
|
2289
3153
|
"locationInModule": {
|
|
2290
3154
|
"filename": "src/complex-computed-list.ts",
|
|
2291
|
-
"line":
|
|
3155
|
+
"line": 684
|
|
2292
3156
|
},
|
|
2293
3157
|
"methods": [
|
|
2294
3158
|
{
|
|
@@ -2297,25 +3161,25 @@
|
|
|
2297
3161
|
},
|
|
2298
3162
|
"locationInModule": {
|
|
2299
3163
|
"filename": "src/complex-computed-list.ts",
|
|
2300
|
-
"line":
|
|
3164
|
+
"line": 693
|
|
2301
3165
|
},
|
|
2302
3166
|
"name": "get",
|
|
2303
3167
|
"parameters": [
|
|
2304
3168
|
{
|
|
2305
|
-
"name": "
|
|
3169
|
+
"name": "index",
|
|
2306
3170
|
"type": {
|
|
2307
|
-
"primitive": "
|
|
3171
|
+
"primitive": "number"
|
|
2308
3172
|
}
|
|
2309
3173
|
}
|
|
2310
3174
|
],
|
|
2311
3175
|
"returns": {
|
|
2312
3176
|
"type": {
|
|
2313
|
-
"fqn": "cdktn.
|
|
3177
|
+
"fqn": "cdktn.BooleanMap"
|
|
2314
3178
|
}
|
|
2315
3179
|
}
|
|
2316
3180
|
}
|
|
2317
3181
|
],
|
|
2318
|
-
"name": "
|
|
3182
|
+
"name": "BooleanMapList",
|
|
2319
3183
|
"properties": [
|
|
2320
3184
|
{
|
|
2321
3185
|
"docs": {
|
|
@@ -2323,10 +3187,10 @@
|
|
|
2323
3187
|
},
|
|
2324
3188
|
"locationInModule": {
|
|
2325
3189
|
"filename": "src/complex-computed-list.ts",
|
|
2326
|
-
"line":
|
|
3190
|
+
"line": 687
|
|
2327
3191
|
},
|
|
2328
3192
|
"name": "terraformAttribute",
|
|
2329
|
-
"overrides": "cdktn.
|
|
3193
|
+
"overrides": "cdktn.MapList",
|
|
2330
3194
|
"protected": true,
|
|
2331
3195
|
"type": {
|
|
2332
3196
|
"primitive": "string"
|
|
@@ -2338,31 +3202,46 @@
|
|
|
2338
3202
|
},
|
|
2339
3203
|
"locationInModule": {
|
|
2340
3204
|
"filename": "src/complex-computed-list.ts",
|
|
2341
|
-
"line":
|
|
3205
|
+
"line": 686
|
|
2342
3206
|
},
|
|
2343
3207
|
"name": "terraformResource",
|
|
2344
|
-
"overrides": "cdktn.
|
|
3208
|
+
"overrides": "cdktn.MapList",
|
|
2345
3209
|
"protected": true,
|
|
2346
3210
|
"type": {
|
|
2347
3211
|
"fqn": "cdktn.IInterpolatingParent"
|
|
2348
3212
|
}
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"docs": {
|
|
3216
|
+
"stability": "experimental"
|
|
3217
|
+
},
|
|
3218
|
+
"locationInModule": {
|
|
3219
|
+
"filename": "src/complex-computed-list.ts",
|
|
3220
|
+
"line": 688
|
|
3221
|
+
},
|
|
3222
|
+
"name": "wrapsSet",
|
|
3223
|
+
"overrides": "cdktn.MapList",
|
|
3224
|
+
"protected": true,
|
|
3225
|
+
"type": {
|
|
3226
|
+
"primitive": "boolean"
|
|
3227
|
+
}
|
|
2349
3228
|
}
|
|
2350
3229
|
],
|
|
2351
|
-
"symbolId": "src/complex-computed-list:
|
|
3230
|
+
"symbolId": "src/complex-computed-list:BooleanMapList"
|
|
2352
3231
|
},
|
|
2353
|
-
"cdktn.
|
|
3232
|
+
"cdktn.BooleanMapMap": {
|
|
2354
3233
|
"assembly": "cdktn",
|
|
2355
3234
|
"docs": {
|
|
2356
3235
|
"stability": "experimental"
|
|
2357
3236
|
},
|
|
2358
|
-
"fqn": "cdktn.
|
|
3237
|
+
"fqn": "cdktn.BooleanMapMap",
|
|
2359
3238
|
"initializer": {
|
|
2360
3239
|
"docs": {
|
|
2361
3240
|
"stability": "experimental"
|
|
2362
3241
|
},
|
|
2363
3242
|
"locationInModule": {
|
|
2364
3243
|
"filename": "src/complex-computed-list.ts",
|
|
2365
|
-
"line":
|
|
3244
|
+
"line": 271
|
|
2366
3245
|
},
|
|
2367
3246
|
"parameters": [
|
|
2368
3247
|
{
|
|
@@ -2386,7 +3265,7 @@
|
|
|
2386
3265
|
"kind": "class",
|
|
2387
3266
|
"locationInModule": {
|
|
2388
3267
|
"filename": "src/complex-computed-list.ts",
|
|
2389
|
-
"line":
|
|
3268
|
+
"line": 267
|
|
2390
3269
|
},
|
|
2391
3270
|
"methods": [
|
|
2392
3271
|
{
|
|
@@ -2395,7 +3274,7 @@
|
|
|
2395
3274
|
},
|
|
2396
3275
|
"locationInModule": {
|
|
2397
3276
|
"filename": "src/complex-computed-list.ts",
|
|
2398
|
-
"line":
|
|
3277
|
+
"line": 285
|
|
2399
3278
|
},
|
|
2400
3279
|
"name": "computeFqn",
|
|
2401
3280
|
"returns": {
|
|
@@ -2410,7 +3289,7 @@
|
|
|
2410
3289
|
},
|
|
2411
3290
|
"locationInModule": {
|
|
2412
3291
|
"filename": "src/complex-computed-list.ts",
|
|
2413
|
-
"line":
|
|
3292
|
+
"line": 278
|
|
2414
3293
|
},
|
|
2415
3294
|
"name": "lookup",
|
|
2416
3295
|
"parameters": [
|
|
@@ -2423,7 +3302,7 @@
|
|
|
2423
3302
|
],
|
|
2424
3303
|
"returns": {
|
|
2425
3304
|
"type": {
|
|
2426
|
-
"fqn": "cdktn.
|
|
3305
|
+
"fqn": "cdktn.BooleanMap"
|
|
2427
3306
|
}
|
|
2428
3307
|
}
|
|
2429
3308
|
},
|
|
@@ -2471,7 +3350,7 @@
|
|
|
2471
3350
|
}
|
|
2472
3351
|
}
|
|
2473
3352
|
],
|
|
2474
|
-
"name": "
|
|
3353
|
+
"name": "BooleanMapMap",
|
|
2475
3354
|
"properties": [
|
|
2476
3355
|
{
|
|
2477
3356
|
"docs": {
|
|
@@ -2516,7 +3395,7 @@
|
|
|
2516
3395
|
},
|
|
2517
3396
|
"locationInModule": {
|
|
2518
3397
|
"filename": "src/complex-computed-list.ts",
|
|
2519
|
-
"line":
|
|
3398
|
+
"line": 273
|
|
2520
3399
|
},
|
|
2521
3400
|
"name": "terraformAttribute",
|
|
2522
3401
|
"protected": true,
|
|
@@ -2530,7 +3409,7 @@
|
|
|
2530
3409
|
},
|
|
2531
3410
|
"locationInModule": {
|
|
2532
3411
|
"filename": "src/complex-computed-list.ts",
|
|
2533
|
-
"line":
|
|
3412
|
+
"line": 272
|
|
2534
3413
|
},
|
|
2535
3414
|
"name": "terraformResource",
|
|
2536
3415
|
"protected": true,
|
|
@@ -2539,314 +3418,459 @@
|
|
|
2539
3418
|
}
|
|
2540
3419
|
}
|
|
2541
3420
|
],
|
|
2542
|
-
"symbolId": "src/complex-computed-list:
|
|
3421
|
+
"symbolId": "src/complex-computed-list:BooleanMapMap"
|
|
2543
3422
|
},
|
|
2544
|
-
"cdktn.
|
|
3423
|
+
"cdktn.BundleOptions": {
|
|
2545
3424
|
"assembly": "cdktn",
|
|
2546
|
-
"
|
|
3425
|
+
"datatype": true,
|
|
2547
3426
|
"docs": {
|
|
2548
|
-
"
|
|
3427
|
+
"remarks": "A struct rather than positional parameters: adding a field is additive,\nadding a method parameter is not, and `bundle` is called through JSII where\nthat distinction is a breaking-change boundary.",
|
|
3428
|
+
"stability": "experimental",
|
|
3429
|
+
"summary": "Options handed to an {@link IAssetBundler} when it runs."
|
|
2549
3430
|
},
|
|
2550
|
-
"fqn": "cdktn.
|
|
2551
|
-
"
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
3431
|
+
"fqn": "cdktn.BundleOptions",
|
|
3432
|
+
"kind": "interface",
|
|
3433
|
+
"locationInModule": {
|
|
3434
|
+
"filename": "src/assets.ts",
|
|
3435
|
+
"line": 249
|
|
3436
|
+
},
|
|
3437
|
+
"name": "BundleOptions",
|
|
3438
|
+
"properties": [
|
|
3439
|
+
{
|
|
3440
|
+
"abstract": true,
|
|
3441
|
+
"docs": {
|
|
3442
|
+
"remarks": "The bundler produces its output here (or in a subdirectory) and\nreturns a {@link BundleResult} pointing at the finished artifact — see\n{@link IAssetBundler.bundle}.",
|
|
3443
|
+
"stability": "experimental",
|
|
3444
|
+
"summary": "A scratch directory the bundler may write into, owned and created by the caller."
|
|
3445
|
+
},
|
|
3446
|
+
"immutable": true,
|
|
3447
|
+
"locationInModule": {
|
|
3448
|
+
"filename": "src/assets.ts",
|
|
3449
|
+
"line": 266
|
|
3450
|
+
},
|
|
3451
|
+
"name": "outputDir",
|
|
3452
|
+
"type": {
|
|
3453
|
+
"primitive": "string"
|
|
3454
|
+
}
|
|
2558
3455
|
},
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
"
|
|
2563
|
-
|
|
2564
|
-
|
|
3456
|
+
{
|
|
3457
|
+
"abstract": true,
|
|
3458
|
+
"docs": {
|
|
3459
|
+
"remarks": "Exclusions (`exclude` / `ignoreStrategy`) are already applied: when any\nare configured this points at a filtered copy, not the original tree, so\nthe bundler reads exactly the file set the asset hash was taken over.",
|
|
3460
|
+
"stability": "experimental",
|
|
3461
|
+
"summary": "Absolute path to the asset's source file or directory. The bundler reads from here and must not modify it."
|
|
2565
3462
|
},
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
"
|
|
2569
|
-
|
|
2570
|
-
}
|
|
3463
|
+
"immutable": true,
|
|
3464
|
+
"locationInModule": {
|
|
3465
|
+
"filename": "src/assets.ts",
|
|
3466
|
+
"line": 258
|
|
2571
3467
|
},
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
"
|
|
2575
|
-
"primitive": "boolean"
|
|
2576
|
-
}
|
|
3468
|
+
"name": "source",
|
|
3469
|
+
"type": {
|
|
3470
|
+
"primitive": "string"
|
|
2577
3471
|
}
|
|
2578
|
-
|
|
3472
|
+
}
|
|
3473
|
+
],
|
|
3474
|
+
"symbolId": "src/assets:BundleOptions"
|
|
3475
|
+
},
|
|
3476
|
+
"cdktn.BundleOutputType": {
|
|
3477
|
+
"assembly": "cdktn",
|
|
3478
|
+
"docs": {
|
|
3479
|
+
"stability": "experimental",
|
|
3480
|
+
"summary": "The shape of a bundler's output, so staging and packaging can treat a single-file artifact (a tarball, a `.zip`) differently from a directory tree without inferring it from the path."
|
|
3481
|
+
},
|
|
3482
|
+
"fqn": "cdktn.BundleOutputType",
|
|
3483
|
+
"kind": "enum",
|
|
3484
|
+
"locationInModule": {
|
|
3485
|
+
"filename": "src/assets.ts",
|
|
3486
|
+
"line": 274
|
|
3487
|
+
},
|
|
3488
|
+
"members": [
|
|
3489
|
+
{
|
|
3490
|
+
"docs": {
|
|
3491
|
+
"remarks": "Packaged like an unbundled source directory. The default, and the only\nshape that predates archive support.",
|
|
3492
|
+
"stability": "experimental",
|
|
3493
|
+
"summary": "The output is a directory tree."
|
|
3494
|
+
},
|
|
3495
|
+
"name": "DIRECTORY"
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"docs": {
|
|
3499
|
+
"remarks": "A tarball or a deterministic `.zip`. Staged verbatim rather than\nre-archived, so `AssetType.FILE` no longer has to reject a bundler.",
|
|
3500
|
+
"stability": "experimental",
|
|
3501
|
+
"summary": "The output is a single file the bundler already produced in its final form."
|
|
3502
|
+
},
|
|
3503
|
+
"name": "FILE"
|
|
3504
|
+
}
|
|
3505
|
+
],
|
|
3506
|
+
"name": "BundleOutputType",
|
|
3507
|
+
"symbolId": "src/assets:BundleOutputType"
|
|
3508
|
+
},
|
|
3509
|
+
"cdktn.BundleResult": {
|
|
3510
|
+
"assembly": "cdktn",
|
|
3511
|
+
"docs": {
|
|
3512
|
+
"remarks": "Carries the artifact path and its shape, or a declined state signalling the\ncaller should fall back. See {@link declined} for the decline protocol.",
|
|
3513
|
+
"stability": "experimental",
|
|
3514
|
+
"summary": "What a bundler produced, returned from {@link IAssetBundler.bundle}."
|
|
2579
3515
|
},
|
|
3516
|
+
"fqn": "cdktn.BundleResult",
|
|
2580
3517
|
"kind": "class",
|
|
2581
3518
|
"locationInModule": {
|
|
2582
|
-
"filename": "src/
|
|
2583
|
-
"line":
|
|
3519
|
+
"filename": "src/assets.ts",
|
|
3520
|
+
"line": 299
|
|
2584
3521
|
},
|
|
2585
3522
|
"methods": [
|
|
2586
3523
|
{
|
|
2587
3524
|
"docs": {
|
|
2588
|
-
"
|
|
3525
|
+
"remarks": "Distinct from a thrown error, which is a hard failure.",
|
|
3526
|
+
"stability": "experimental",
|
|
3527
|
+
"summary": "The bundler declined to run here; the caller should fall back."
|
|
2589
3528
|
},
|
|
2590
3529
|
"locationInModule": {
|
|
2591
|
-
"filename": "src/
|
|
2592
|
-
"line":
|
|
3530
|
+
"filename": "src/assets.ts",
|
|
3531
|
+
"line": 319
|
|
2593
3532
|
},
|
|
2594
|
-
"name": "
|
|
3533
|
+
"name": "declined",
|
|
3534
|
+
"returns": {
|
|
3535
|
+
"type": {
|
|
3536
|
+
"fqn": "cdktn.BundleResult"
|
|
3537
|
+
}
|
|
3538
|
+
},
|
|
3539
|
+
"static": true
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"docs": {
|
|
3543
|
+
"stability": "experimental",
|
|
3544
|
+
"summary": "A directory-tree artifact at `path`."
|
|
3545
|
+
},
|
|
3546
|
+
"locationInModule": {
|
|
3547
|
+
"filename": "src/assets.ts",
|
|
3548
|
+
"line": 303
|
|
3549
|
+
},
|
|
3550
|
+
"name": "directory",
|
|
2595
3551
|
"parameters": [
|
|
2596
3552
|
{
|
|
2597
|
-
"name": "
|
|
3553
|
+
"name": "path",
|
|
2598
3554
|
"type": {
|
|
2599
|
-
"primitive": "
|
|
3555
|
+
"primitive": "string"
|
|
2600
3556
|
}
|
|
2601
3557
|
}
|
|
2602
3558
|
],
|
|
2603
3559
|
"returns": {
|
|
2604
3560
|
"type": {
|
|
2605
|
-
"fqn": "cdktn.
|
|
3561
|
+
"fqn": "cdktn.BundleResult"
|
|
2606
3562
|
}
|
|
2607
|
-
}
|
|
3563
|
+
},
|
|
3564
|
+
"static": true
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"docs": {
|
|
3568
|
+
"stability": "experimental",
|
|
3569
|
+
"summary": "A single-file artifact at `path` (a tarball, a `.zip`), staged verbatim."
|
|
3570
|
+
},
|
|
3571
|
+
"locationInModule": {
|
|
3572
|
+
"filename": "src/assets.ts",
|
|
3573
|
+
"line": 310
|
|
3574
|
+
},
|
|
3575
|
+
"name": "file",
|
|
3576
|
+
"parameters": [
|
|
3577
|
+
{
|
|
3578
|
+
"name": "path",
|
|
3579
|
+
"type": {
|
|
3580
|
+
"primitive": "string"
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
3583
|
+
],
|
|
3584
|
+
"returns": {
|
|
3585
|
+
"type": {
|
|
3586
|
+
"fqn": "cdktn.BundleResult"
|
|
3587
|
+
}
|
|
3588
|
+
},
|
|
3589
|
+
"static": true
|
|
2608
3590
|
}
|
|
2609
3591
|
],
|
|
2610
|
-
"name": "
|
|
3592
|
+
"name": "BundleResult",
|
|
2611
3593
|
"properties": [
|
|
2612
3594
|
{
|
|
2613
3595
|
"docs": {
|
|
2614
|
-
"stability": "experimental"
|
|
3596
|
+
"stability": "experimental",
|
|
3597
|
+
"summary": "Whether the bundler declined to run, signalling the caller to fall back."
|
|
2615
3598
|
},
|
|
3599
|
+
"immutable": true,
|
|
2616
3600
|
"locationInModule": {
|
|
2617
|
-
"filename": "src/
|
|
2618
|
-
"line":
|
|
3601
|
+
"filename": "src/assets.ts",
|
|
3602
|
+
"line": 336
|
|
2619
3603
|
},
|
|
2620
|
-
"name": "
|
|
2621
|
-
"overrides": "cdktn.MapList",
|
|
2622
|
-
"protected": true,
|
|
3604
|
+
"name": "isDeclined",
|
|
2623
3605
|
"type": {
|
|
2624
|
-
"primitive": "
|
|
3606
|
+
"primitive": "boolean"
|
|
2625
3607
|
}
|
|
2626
3608
|
},
|
|
2627
3609
|
{
|
|
2628
3610
|
"docs": {
|
|
2629
|
-
"stability": "experimental"
|
|
3611
|
+
"stability": "experimental",
|
|
3612
|
+
"summary": "The artifact's shape, or undefined when {@link isDeclined}."
|
|
2630
3613
|
},
|
|
3614
|
+
"immutable": true,
|
|
2631
3615
|
"locationInModule": {
|
|
2632
|
-
"filename": "src/
|
|
2633
|
-
"line":
|
|
3616
|
+
"filename": "src/assets.ts",
|
|
3617
|
+
"line": 326
|
|
2634
3618
|
},
|
|
2635
|
-
"name": "
|
|
2636
|
-
"
|
|
2637
|
-
"protected": true,
|
|
3619
|
+
"name": "outputType",
|
|
3620
|
+
"optional": true,
|
|
2638
3621
|
"type": {
|
|
2639
|
-
"fqn": "cdktn.
|
|
3622
|
+
"fqn": "cdktn.BundleOutputType"
|
|
2640
3623
|
}
|
|
2641
3624
|
},
|
|
2642
3625
|
{
|
|
2643
3626
|
"docs": {
|
|
2644
|
-
"stability": "experimental"
|
|
2645
|
-
|
|
2646
|
-
"locationInModule": {
|
|
2647
|
-
"filename": "src/complex-computed-list.ts",
|
|
2648
|
-
"line": 688
|
|
3627
|
+
"stability": "experimental",
|
|
3628
|
+
"summary": "The artifact path, or undefined when {@link isDeclined}."
|
|
2649
3629
|
},
|
|
2650
|
-
"
|
|
2651
|
-
"
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
"primitive": "boolean"
|
|
2655
|
-
}
|
|
2656
|
-
}
|
|
2657
|
-
],
|
|
2658
|
-
"symbolId": "src/complex-computed-list:BooleanMapList"
|
|
2659
|
-
},
|
|
2660
|
-
"cdktn.BooleanMapMap": {
|
|
2661
|
-
"assembly": "cdktn",
|
|
2662
|
-
"docs": {
|
|
2663
|
-
"stability": "experimental"
|
|
2664
|
-
},
|
|
2665
|
-
"fqn": "cdktn.BooleanMapMap",
|
|
2666
|
-
"initializer": {
|
|
2667
|
-
"docs": {
|
|
2668
|
-
"stability": "experimental"
|
|
2669
|
-
},
|
|
2670
|
-
"locationInModule": {
|
|
2671
|
-
"filename": "src/complex-computed-list.ts",
|
|
2672
|
-
"line": 271
|
|
2673
|
-
},
|
|
2674
|
-
"parameters": [
|
|
2675
|
-
{
|
|
2676
|
-
"name": "terraformResource",
|
|
2677
|
-
"type": {
|
|
2678
|
-
"fqn": "cdktn.IInterpolatingParent"
|
|
2679
|
-
}
|
|
3630
|
+
"immutable": true,
|
|
3631
|
+
"locationInModule": {
|
|
3632
|
+
"filename": "src/assets.ts",
|
|
3633
|
+
"line": 331
|
|
2680
3634
|
},
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
}
|
|
3635
|
+
"name": "path",
|
|
3636
|
+
"optional": true,
|
|
3637
|
+
"type": {
|
|
3638
|
+
"primitive": "string"
|
|
2686
3639
|
}
|
|
2687
|
-
|
|
2688
|
-
},
|
|
2689
|
-
"interfaces": [
|
|
2690
|
-
"cdktn.ITerraformAddressable",
|
|
2691
|
-
"cdktn.IResolvable"
|
|
3640
|
+
}
|
|
2692
3641
|
],
|
|
3642
|
+
"symbolId": "src/assets:BundleResult"
|
|
3643
|
+
},
|
|
3644
|
+
"cdktn.BundlerKey": {
|
|
3645
|
+
"assembly": "cdktn",
|
|
3646
|
+
"docs": {
|
|
3647
|
+
"example": "const key = BundlerKey.of(\"docker\", image, command)\n .withEnv({ NODE_ENV: nodeEnv })\n .toString();",
|
|
3648
|
+
"remarks": "A `bundlerKey` has to serialize everything that can move a build's output;\ndone ad hoc, every bundler invents its own delimiter and forgets an input\ndifferently. This gives the convention one implementation: parts are joined\nwith a separator that is escaped inside values, so distinct inputs cannot\ncollide into the same key.",
|
|
3649
|
+
"stability": "experimental",
|
|
3650
|
+
"summary": "Builds an {@link IAssetBundler.bundlerKey} from an ordered set of parts."
|
|
3651
|
+
},
|
|
3652
|
+
"fqn": "cdktn.BundlerKey",
|
|
2693
3653
|
"kind": "class",
|
|
2694
3654
|
"locationInModule": {
|
|
2695
|
-
"filename": "src/
|
|
2696
|
-
"line":
|
|
3655
|
+
"filename": "src/assets.ts",
|
|
3656
|
+
"line": 432
|
|
2697
3657
|
},
|
|
2698
3658
|
"methods": [
|
|
2699
3659
|
{
|
|
2700
3660
|
"docs": {
|
|
2701
|
-
"
|
|
3661
|
+
"remarks": "Order is significant: it is part of what the key identifies.",
|
|
3662
|
+
"stability": "experimental",
|
|
3663
|
+
"summary": "Start a key from an ordered list of parts."
|
|
2702
3664
|
},
|
|
2703
3665
|
"locationInModule": {
|
|
2704
|
-
"filename": "src/
|
|
2705
|
-
"line":
|
|
3666
|
+
"filename": "src/assets.ts",
|
|
3667
|
+
"line": 438
|
|
2706
3668
|
},
|
|
2707
|
-
"name": "
|
|
3669
|
+
"name": "of",
|
|
3670
|
+
"parameters": [
|
|
3671
|
+
{
|
|
3672
|
+
"name": "parts",
|
|
3673
|
+
"type": {
|
|
3674
|
+
"primitive": "string"
|
|
3675
|
+
},
|
|
3676
|
+
"variadic": true
|
|
3677
|
+
}
|
|
3678
|
+
],
|
|
2708
3679
|
"returns": {
|
|
2709
3680
|
"type": {
|
|
2710
|
-
"
|
|
3681
|
+
"fqn": "cdktn.BundlerKey"
|
|
2711
3682
|
}
|
|
2712
|
-
}
|
|
3683
|
+
},
|
|
3684
|
+
"static": true,
|
|
3685
|
+
"variadic": true
|
|
2713
3686
|
},
|
|
2714
3687
|
{
|
|
2715
3688
|
"docs": {
|
|
2716
|
-
"stability": "experimental"
|
|
3689
|
+
"stability": "experimental",
|
|
3690
|
+
"summary": "Append parts, returning a new key."
|
|
2717
3691
|
},
|
|
2718
3692
|
"locationInModule": {
|
|
2719
|
-
"filename": "src/
|
|
2720
|
-
"line":
|
|
3693
|
+
"filename": "src/assets.ts",
|
|
3694
|
+
"line": 451
|
|
2721
3695
|
},
|
|
2722
|
-
"name": "
|
|
3696
|
+
"name": "add",
|
|
2723
3697
|
"parameters": [
|
|
2724
3698
|
{
|
|
2725
|
-
"name": "
|
|
3699
|
+
"name": "parts",
|
|
2726
3700
|
"type": {
|
|
2727
3701
|
"primitive": "string"
|
|
2728
|
-
}
|
|
3702
|
+
},
|
|
3703
|
+
"variadic": true
|
|
2729
3704
|
}
|
|
2730
3705
|
],
|
|
2731
3706
|
"returns": {
|
|
2732
3707
|
"type": {
|
|
2733
|
-
"fqn": "cdktn.
|
|
3708
|
+
"fqn": "cdktn.BundlerKey"
|
|
2734
3709
|
}
|
|
2735
|
-
}
|
|
3710
|
+
},
|
|
3711
|
+
"variadic": true
|
|
2736
3712
|
},
|
|
2737
3713
|
{
|
|
2738
3714
|
"docs": {
|
|
2739
3715
|
"stability": "experimental",
|
|
2740
|
-
"summary": "
|
|
3716
|
+
"summary": "Render the collected parts to the string passed as `bundlerKey`."
|
|
2741
3717
|
},
|
|
2742
3718
|
"locationInModule": {
|
|
2743
|
-
"filename": "src/
|
|
2744
|
-
"line":
|
|
3719
|
+
"filename": "src/assets.ts",
|
|
3720
|
+
"line": 469
|
|
2745
3721
|
},
|
|
2746
|
-
"name": "
|
|
2747
|
-
"overrides": "cdktn.IResolvable",
|
|
2748
|
-
"parameters": [
|
|
2749
|
-
{
|
|
2750
|
-
"name": "_context",
|
|
2751
|
-
"type": {
|
|
2752
|
-
"fqn": "cdktn.IResolveContext"
|
|
2753
|
-
}
|
|
2754
|
-
}
|
|
2755
|
-
],
|
|
3722
|
+
"name": "toString",
|
|
2756
3723
|
"returns": {
|
|
2757
3724
|
"type": {
|
|
2758
|
-
"primitive": "
|
|
3725
|
+
"primitive": "string"
|
|
2759
3726
|
}
|
|
2760
3727
|
}
|
|
2761
3728
|
},
|
|
2762
3729
|
{
|
|
2763
3730
|
"docs": {
|
|
2764
|
-
"remarks": "Returns a reversible string representation.",
|
|
2765
3731
|
"stability": "experimental",
|
|
2766
|
-
"summary": "
|
|
3732
|
+
"summary": "Append `key=value` parts for a record, sorted by key so the result does not depend on property order."
|
|
2767
3733
|
},
|
|
2768
3734
|
"locationInModule": {
|
|
2769
|
-
"filename": "src/
|
|
2770
|
-
"line":
|
|
3735
|
+
"filename": "src/assets.ts",
|
|
3736
|
+
"line": 459
|
|
2771
3737
|
},
|
|
2772
|
-
"name": "
|
|
2773
|
-
"
|
|
3738
|
+
"name": "withEnv",
|
|
3739
|
+
"parameters": [
|
|
3740
|
+
{
|
|
3741
|
+
"name": "entries",
|
|
3742
|
+
"type": {
|
|
3743
|
+
"collection": {
|
|
3744
|
+
"elementtype": {
|
|
3745
|
+
"primitive": "string"
|
|
3746
|
+
},
|
|
3747
|
+
"kind": "map"
|
|
3748
|
+
}
|
|
3749
|
+
}
|
|
3750
|
+
}
|
|
3751
|
+
],
|
|
2774
3752
|
"returns": {
|
|
2775
3753
|
"type": {
|
|
2776
|
-
"
|
|
3754
|
+
"fqn": "cdktn.BundlerKey"
|
|
2777
3755
|
}
|
|
2778
3756
|
}
|
|
2779
3757
|
}
|
|
2780
3758
|
],
|
|
2781
|
-
"name": "
|
|
2782
|
-
"
|
|
3759
|
+
"name": "BundlerKey",
|
|
3760
|
+
"symbolId": "src/assets:BundlerKey"
|
|
3761
|
+
},
|
|
3762
|
+
"cdktn.ChainBundler": {
|
|
3763
|
+
"assembly": "cdktn",
|
|
3764
|
+
"docs": {
|
|
3765
|
+
"remarks": "This is how a local bundler and a Docker bundler compose without being\nrewritten as one: each leg declines (`BundleResult.declined()`) when it\ncannot run here, and the chain moves to the next. The first non-declining\nresult wins; if all decline, `bundle` throws, since staging has nothing to\nfall back to. Each leg builds into its own output directory, so a leg that\nwrites before declining cannot leak partial files into the leg that wins.\n\nThe chain's `bundlerKey` folds in *every* leg's key, so identity is the same\nregardless of which leg ends up running — a build that could have gone local\nor Docker is one asset, not two.\n\nThis makes the legs interchangeable only if they produce equivalent output.\nUnder `SOURCE` hashing they must: a machine with a host tool and one without\nrun different legs, and non-equivalent legs would stage different bytes under\nthe same hash. Use `OUTPUT` hashing when legs may diverge, so identity tracks\nthe artifact each leg actually produced.",
|
|
3766
|
+
"stability": "experimental",
|
|
3767
|
+
"summary": "Composes bundlers into a \"try each in order until one runs\" chain."
|
|
3768
|
+
},
|
|
3769
|
+
"fqn": "cdktn.ChainBundler",
|
|
3770
|
+
"interfaces": [
|
|
3771
|
+
"cdktn.IAssetBundler"
|
|
3772
|
+
],
|
|
3773
|
+
"kind": "class",
|
|
3774
|
+
"locationInModule": {
|
|
3775
|
+
"filename": "src/assets.ts",
|
|
3776
|
+
"line": 494
|
|
3777
|
+
},
|
|
3778
|
+
"methods": [
|
|
2783
3779
|
{
|
|
2784
3780
|
"docs": {
|
|
2785
|
-
"remarks": "
|
|
3781
|
+
"remarks": "earlier bundlers are preferred.",
|
|
2786
3782
|
"stability": "experimental",
|
|
2787
|
-
"summary": "
|
|
3783
|
+
"summary": "Chain bundlers in the order given;"
|
|
2788
3784
|
},
|
|
2789
|
-
"immutable": true,
|
|
2790
3785
|
"locationInModule": {
|
|
2791
|
-
"filename": "src/
|
|
2792
|
-
"line":
|
|
3786
|
+
"filename": "src/assets.ts",
|
|
3787
|
+
"line": 498
|
|
2793
3788
|
},
|
|
2794
|
-
"name": "
|
|
2795
|
-
"
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
"
|
|
2799
|
-
"
|
|
3789
|
+
"name": "of",
|
|
3790
|
+
"parameters": [
|
|
3791
|
+
{
|
|
3792
|
+
"name": "bundlers",
|
|
3793
|
+
"type": {
|
|
3794
|
+
"fqn": "cdktn.IAssetBundler"
|
|
2800
3795
|
},
|
|
2801
|
-
"
|
|
3796
|
+
"variadic": true
|
|
2802
3797
|
}
|
|
2803
|
-
|
|
3798
|
+
],
|
|
3799
|
+
"returns": {
|
|
3800
|
+
"type": {
|
|
3801
|
+
"fqn": "cdktn.ChainBundler"
|
|
3802
|
+
}
|
|
3803
|
+
},
|
|
3804
|
+
"static": true,
|
|
3805
|
+
"variadic": true
|
|
2804
3806
|
},
|
|
2805
3807
|
{
|
|
2806
3808
|
"docs": {
|
|
2807
|
-
"
|
|
3809
|
+
"remarks": "Implementations write into `options.outputDir` and never write back to\n`options.source`. The returned path must exist and match its declared\nshape, or staging rejects it.\n\nA bundler that cannot run in this environment returns\n`BundleResult.declined()` so a {@link ChainBundler} can fall through to\nthe next; a thrown error is a hard failure, not a decline.",
|
|
3810
|
+
"stability": "experimental",
|
|
3811
|
+
"summary": "Produce the artifact and return a {@link BundleResult} describing it."
|
|
2808
3812
|
},
|
|
2809
|
-
"immutable": true,
|
|
2810
3813
|
"locationInModule": {
|
|
2811
|
-
"filename": "src/
|
|
2812
|
-
"line":
|
|
3814
|
+
"filename": "src/assets.ts",
|
|
3815
|
+
"line": 532
|
|
2813
3816
|
},
|
|
2814
|
-
"name": "
|
|
2815
|
-
"overrides": "cdktn.
|
|
2816
|
-
"
|
|
2817
|
-
|
|
3817
|
+
"name": "bundle",
|
|
3818
|
+
"overrides": "cdktn.IAssetBundler",
|
|
3819
|
+
"parameters": [
|
|
3820
|
+
{
|
|
3821
|
+
"name": "options",
|
|
3822
|
+
"type": {
|
|
3823
|
+
"fqn": "cdktn.BundleOptions"
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
],
|
|
3827
|
+
"returns": {
|
|
3828
|
+
"type": {
|
|
3829
|
+
"fqn": "cdktn.BundleResult"
|
|
3830
|
+
}
|
|
2818
3831
|
}
|
|
2819
|
-
}
|
|
3832
|
+
}
|
|
3833
|
+
],
|
|
3834
|
+
"name": "ChainBundler",
|
|
3835
|
+
"properties": [
|
|
2820
3836
|
{
|
|
2821
3837
|
"docs": {
|
|
2822
|
-
"
|
|
3838
|
+
"remarks": "The source tree alone cannot see the build, so swapping a `node:18` base\nimage for `node:20` would otherwise leave identity unchanged. Under\n`SOURCE` hashing this is the only channel by which the build reaches\nidentity, so it must serialize every input that can move the output, or a\nchanged build silently reuses a stale artifact. {@link BundlerKey} builds\none from an ordered set of parts.\n\nMirrors {@link IIgnoreStrategy.cacheKey}: omit it when the build cannot be\nsummarized as a string, and fall back to `extraHash`.",
|
|
3839
|
+
"stability": "experimental",
|
|
3840
|
+
"summary": "A value identifying the build, folded into the asset hash."
|
|
2823
3841
|
},
|
|
3842
|
+
"immutable": true,
|
|
2824
3843
|
"locationInModule": {
|
|
2825
|
-
"filename": "src/
|
|
2826
|
-
"line":
|
|
3844
|
+
"filename": "src/assets.ts",
|
|
3845
|
+
"line": 502
|
|
2827
3846
|
},
|
|
2828
|
-
"name": "
|
|
2829
|
-
"
|
|
3847
|
+
"name": "bundlerKey",
|
|
3848
|
+
"optional": true,
|
|
3849
|
+
"overrides": "cdktn.IAssetBundler",
|
|
2830
3850
|
"type": {
|
|
2831
3851
|
"primitive": "string"
|
|
2832
3852
|
}
|
|
2833
3853
|
},
|
|
2834
3854
|
{
|
|
2835
3855
|
"docs": {
|
|
2836
|
-
"
|
|
3856
|
+
"remarks": "A file-producing bundler (`BundleResult.file`) staged with\n`AssetType.FILE` would otherwise take the source path's basename, which is\na directory name when the source is a directory. Declaring the name here\nlets the artifact reflect what the bundler produces. It is static\nconfiguration, needed at construction before a deferred `SOURCE` build\nruns, not the file's runtime name.\n\nValid only for a file-producing bundler: setting it with a directory\npackaging (anything but `AssetType.FILE`) is rejected at construction.",
|
|
3857
|
+
"stability": "experimental",
|
|
3858
|
+
"summary": "The name a single-file artifact is staged under (e.g. `archive.zip`)."
|
|
2837
3859
|
},
|
|
3860
|
+
"immutable": true,
|
|
2838
3861
|
"locationInModule": {
|
|
2839
|
-
"filename": "src/
|
|
2840
|
-
"line":
|
|
3862
|
+
"filename": "src/assets.ts",
|
|
3863
|
+
"line": 504
|
|
2841
3864
|
},
|
|
2842
|
-
"name": "
|
|
2843
|
-
"
|
|
3865
|
+
"name": "outputFileName",
|
|
3866
|
+
"optional": true,
|
|
3867
|
+
"overrides": "cdktn.IAssetBundler",
|
|
2844
3868
|
"type": {
|
|
2845
|
-
"
|
|
3869
|
+
"primitive": "string"
|
|
2846
3870
|
}
|
|
2847
3871
|
}
|
|
2848
3872
|
],
|
|
2849
|
-
"symbolId": "src/
|
|
3873
|
+
"symbolId": "src/assets:ChainBundler"
|
|
2850
3874
|
},
|
|
2851
3875
|
"cdktn.CloudBackend": {
|
|
2852
3876
|
"assembly": "cdktn",
|
|
@@ -5408,7 +6432,7 @@
|
|
|
5408
6432
|
"assembly": "cdktn",
|
|
5409
6433
|
"base": "cdktn.TerraformResource",
|
|
5410
6434
|
"docs": {
|
|
5411
|
-
"remarks": "You can use the DataResource resource without requiring or configuring a provider.\n\nThe DataResource resource is useful for storing values which need to follow a manage resource lifecycle, and for triggering provisioners when there is no other logical managed resource in which to place them.\n\nIt requires Terraform 1.4 or
|
|
6435
|
+
"remarks": "You can use the DataResource resource without requiring or configuring a provider.\n\nThe DataResource resource is useful for storing values which need to follow a manage resource lifecycle, and for triggering provisioners when there is no other logical managed resource in which to place them.\n\nIt requires Terraform >=1.4.0 or OpenTofu >=1.6.0.\n\nIt is also possible to generate these bindings by adding \"terraform.io/builtin/terraform\" to the \"terraformProviders\" key in your cdktf.json file and running \"cdktn get\".\n\nhttps://developer.hashicorp.com/terraform/language/resources/terraform-data",
|
|
5412
6436
|
"stability": "experimental",
|
|
5413
6437
|
"summary": "The DataResource implements the standard resource lifecycle, but does not directly take any other actions."
|
|
5414
6438
|
},
|
|
@@ -6686,7 +7710,7 @@
|
|
|
6686
7710
|
},
|
|
6687
7711
|
"locationInModule": {
|
|
6688
7712
|
"filename": "src/terraform-iterator.ts",
|
|
6689
|
-
"line":
|
|
7713
|
+
"line": 503
|
|
6690
7714
|
},
|
|
6691
7715
|
"parameters": [
|
|
6692
7716
|
{
|
|
@@ -6745,7 +7769,7 @@
|
|
|
6745
7769
|
"kind": "class",
|
|
6746
7770
|
"locationInModule": {
|
|
6747
7771
|
"filename": "src/terraform-iterator.ts",
|
|
6748
|
-
"line":
|
|
7772
|
+
"line": 502
|
|
6749
7773
|
},
|
|
6750
7774
|
"name": "DynamicListTerraformIterator",
|
|
6751
7775
|
"symbolId": "src/terraform-iterator:DynamicListTerraformIterator"
|
|
@@ -6766,25 +7790,130 @@
|
|
|
6766
7790
|
"name": "EncodingOptions",
|
|
6767
7791
|
"properties": [
|
|
6768
7792
|
{
|
|
6769
|
-
"abstract": true,
|
|
7793
|
+
"abstract": true,
|
|
7794
|
+
"docs": {
|
|
7795
|
+
"default": "- no display hint",
|
|
7796
|
+
"stability": "experimental",
|
|
7797
|
+
"summary": "A hint for the Token's purpose when stringifying it."
|
|
7798
|
+
},
|
|
7799
|
+
"immutable": true,
|
|
7800
|
+
"locationInModule": {
|
|
7801
|
+
"filename": "src/tokens/token.ts",
|
|
7802
|
+
"line": 345
|
|
7803
|
+
},
|
|
7804
|
+
"name": "displayHint",
|
|
7805
|
+
"optional": true,
|
|
7806
|
+
"type": {
|
|
7807
|
+
"primitive": "string"
|
|
7808
|
+
}
|
|
7809
|
+
}
|
|
7810
|
+
],
|
|
7811
|
+
"symbolId": "src/tokens/token:EncodingOptions"
|
|
7812
|
+
},
|
|
7813
|
+
"cdktn.ExcludeIgnoreStrategy": {
|
|
7814
|
+
"assembly": "cdktn",
|
|
7815
|
+
"docs": {
|
|
7816
|
+
"stability": "experimental",
|
|
7817
|
+
"summary": "The default ignore strategy: exact paths, `*.ext` suffixes, and directories (with everything inside them)."
|
|
7818
|
+
},
|
|
7819
|
+
"fqn": "cdktn.ExcludeIgnoreStrategy",
|
|
7820
|
+
"initializer": {
|
|
7821
|
+
"docs": {
|
|
7822
|
+
"stability": "experimental"
|
|
7823
|
+
},
|
|
7824
|
+
"locationInModule": {
|
|
7825
|
+
"filename": "src/ignore-strategy.ts",
|
|
7826
|
+
"line": 94
|
|
7827
|
+
},
|
|
7828
|
+
"parameters": [
|
|
7829
|
+
{
|
|
7830
|
+
"name": "exclude",
|
|
7831
|
+
"type": {
|
|
7832
|
+
"collection": {
|
|
7833
|
+
"elementtype": {
|
|
7834
|
+
"primitive": "string"
|
|
7835
|
+
},
|
|
7836
|
+
"kind": "array"
|
|
7837
|
+
}
|
|
7838
|
+
}
|
|
7839
|
+
}
|
|
7840
|
+
]
|
|
7841
|
+
},
|
|
7842
|
+
"interfaces": [
|
|
7843
|
+
"cdktn.IIgnoreStrategy"
|
|
7844
|
+
],
|
|
7845
|
+
"kind": "class",
|
|
7846
|
+
"locationInModule": {
|
|
7847
|
+
"filename": "src/ignore-strategy.ts",
|
|
7848
|
+
"line": 85
|
|
7849
|
+
},
|
|
7850
|
+
"methods": [
|
|
7851
|
+
{
|
|
7852
|
+
"docs": {
|
|
7853
|
+
"stability": "experimental",
|
|
7854
|
+
"summary": "Whether the given entry should be excluded."
|
|
7855
|
+
},
|
|
7856
|
+
"locationInModule": {
|
|
7857
|
+
"filename": "src/ignore-strategy.ts",
|
|
7858
|
+
"line": 99
|
|
7859
|
+
},
|
|
7860
|
+
"name": "ignores",
|
|
7861
|
+
"overrides": "cdktn.IIgnoreStrategy",
|
|
7862
|
+
"parameters": [
|
|
7863
|
+
{
|
|
7864
|
+
"name": "query",
|
|
7865
|
+
"type": {
|
|
7866
|
+
"fqn": "cdktn.IgnoreQuery"
|
|
7867
|
+
}
|
|
7868
|
+
}
|
|
7869
|
+
],
|
|
7870
|
+
"returns": {
|
|
7871
|
+
"type": {
|
|
7872
|
+
"primitive": "boolean"
|
|
7873
|
+
}
|
|
7874
|
+
}
|
|
7875
|
+
}
|
|
7876
|
+
],
|
|
7877
|
+
"name": "ExcludeIgnoreStrategy",
|
|
7878
|
+
"properties": [
|
|
7879
|
+
{
|
|
7880
|
+
"docs": {
|
|
7881
|
+
"remarks": "Two strategies that return the same\n`cacheKey` must exclude the same paths.\n\nCallers such as `AssetStaging`'s result cache key on a JSON-serializable\nrepresentation of their inputs, which a strategy instance is not. Omit\nthis when the strategy's behavior can't be summarized this way; the\ncaller then has to treat every call as uncacheable.",
|
|
7882
|
+
"stability": "experimental",
|
|
7883
|
+
"summary": "A value identifying this strategy's exclusion behavior, suitable for folding into a cache key."
|
|
7884
|
+
},
|
|
7885
|
+
"immutable": true,
|
|
7886
|
+
"locationInModule": {
|
|
7887
|
+
"filename": "src/ignore-strategy.ts",
|
|
7888
|
+
"line": 88
|
|
7889
|
+
},
|
|
7890
|
+
"name": "cacheKey",
|
|
7891
|
+
"optional": true,
|
|
7892
|
+
"overrides": "cdktn.IIgnoreStrategy",
|
|
7893
|
+
"type": {
|
|
7894
|
+
"primitive": "string"
|
|
7895
|
+
}
|
|
7896
|
+
},
|
|
7897
|
+
{
|
|
6770
7898
|
"docs": {
|
|
6771
|
-
"
|
|
7899
|
+
"remarks": "When `true` (the default), the walkers stop descending as soon as a\ndirectory is excluded — cheaper, and correct for a strategy whose\npatterns never re-include a path below an excluded parent.\n\nA strategy with negation patterns must set this to `false`:\n`.gitignore` / `.dockerignore` allow `node_modules` followed by\n`!node_modules/keep`, which is only reachable if the walk descends into\nthe excluded `node_modules` and asks about `node_modules/keep`. The\nexcluded directory entry itself is still omitted; only the descent\nchanges. Opting out costs a full walk of excluded subtrees.",
|
|
6772
7900
|
"stability": "experimental",
|
|
6773
|
-
"summary": "
|
|
7901
|
+
"summary": "Whether excluding a directory also excludes everything beneath it."
|
|
6774
7902
|
},
|
|
6775
7903
|
"immutable": true,
|
|
6776
7904
|
"locationInModule": {
|
|
6777
|
-
"filename": "src/
|
|
6778
|
-
"line":
|
|
7905
|
+
"filename": "src/ignore-strategy.ts",
|
|
7906
|
+
"line": 92
|
|
6779
7907
|
},
|
|
6780
|
-
"name": "
|
|
7908
|
+
"name": "pruneExcludedDirectories",
|
|
6781
7909
|
"optional": true,
|
|
7910
|
+
"overrides": "cdktn.IIgnoreStrategy",
|
|
6782
7911
|
"type": {
|
|
6783
|
-
"primitive": "
|
|
7912
|
+
"primitive": "boolean"
|
|
6784
7913
|
}
|
|
6785
7914
|
}
|
|
6786
7915
|
],
|
|
6787
|
-
"symbolId": "src/
|
|
7916
|
+
"symbolId": "src/ignore-strategy:ExcludeIgnoreStrategy"
|
|
6788
7917
|
},
|
|
6789
7918
|
"cdktn.FileProvisioner": {
|
|
6790
7919
|
"assembly": "cdktn",
|
|
@@ -11324,35 +12453,346 @@
|
|
|
11324
12453
|
],
|
|
11325
12454
|
"symbolId": "src/backends/http-backend:HttpBackendConfig"
|
|
11326
12455
|
},
|
|
11327
|
-
"cdktn.IAnyProducer": {
|
|
12456
|
+
"cdktn.IAnyProducer": {
|
|
12457
|
+
"assembly": "cdktn",
|
|
12458
|
+
"docs": {
|
|
12459
|
+
"stability": "experimental",
|
|
12460
|
+
"summary": "Interface for lazy untyped value producers."
|
|
12461
|
+
},
|
|
12462
|
+
"fqn": "cdktn.IAnyProducer",
|
|
12463
|
+
"kind": "interface",
|
|
12464
|
+
"locationInModule": {
|
|
12465
|
+
"filename": "src/tokens/lazy.ts",
|
|
12466
|
+
"line": 41
|
|
12467
|
+
},
|
|
12468
|
+
"methods": [
|
|
12469
|
+
{
|
|
12470
|
+
"abstract": true,
|
|
12471
|
+
"docs": {
|
|
12472
|
+
"stability": "experimental",
|
|
12473
|
+
"summary": "Produce the value."
|
|
12474
|
+
},
|
|
12475
|
+
"locationInModule": {
|
|
12476
|
+
"filename": "src/tokens/lazy.ts",
|
|
12477
|
+
"line": 45
|
|
12478
|
+
},
|
|
12479
|
+
"name": "produce",
|
|
12480
|
+
"parameters": [
|
|
12481
|
+
{
|
|
12482
|
+
"name": "context",
|
|
12483
|
+
"type": {
|
|
12484
|
+
"fqn": "cdktn.IResolveContext"
|
|
12485
|
+
}
|
|
12486
|
+
}
|
|
12487
|
+
],
|
|
12488
|
+
"returns": {
|
|
12489
|
+
"type": {
|
|
12490
|
+
"primitive": "any"
|
|
12491
|
+
}
|
|
12492
|
+
}
|
|
12493
|
+
}
|
|
12494
|
+
],
|
|
12495
|
+
"name": "IAnyProducer",
|
|
12496
|
+
"symbolId": "src/tokens/lazy:IAnyProducer"
|
|
12497
|
+
},
|
|
12498
|
+
"cdktn.IAspect": {
|
|
12499
|
+
"assembly": "cdktn",
|
|
12500
|
+
"docs": {
|
|
12501
|
+
"stability": "experimental",
|
|
12502
|
+
"summary": "Represents an Aspect."
|
|
12503
|
+
},
|
|
12504
|
+
"fqn": "cdktn.IAspect",
|
|
12505
|
+
"kind": "interface",
|
|
12506
|
+
"locationInModule": {
|
|
12507
|
+
"filename": "src/aspect.ts",
|
|
12508
|
+
"line": 12
|
|
12509
|
+
},
|
|
12510
|
+
"methods": [
|
|
12511
|
+
{
|
|
12512
|
+
"abstract": true,
|
|
12513
|
+
"docs": {
|
|
12514
|
+
"stability": "experimental",
|
|
12515
|
+
"summary": "All aspects can visit an IConstruct."
|
|
12516
|
+
},
|
|
12517
|
+
"locationInModule": {
|
|
12518
|
+
"filename": "src/aspect.ts",
|
|
12519
|
+
"line": 16
|
|
12520
|
+
},
|
|
12521
|
+
"name": "visit",
|
|
12522
|
+
"parameters": [
|
|
12523
|
+
{
|
|
12524
|
+
"name": "node",
|
|
12525
|
+
"type": {
|
|
12526
|
+
"fqn": "constructs.IConstruct"
|
|
12527
|
+
}
|
|
12528
|
+
}
|
|
12529
|
+
]
|
|
12530
|
+
}
|
|
12531
|
+
],
|
|
12532
|
+
"name": "IAspect",
|
|
12533
|
+
"symbolId": "src/aspect:IAspect"
|
|
12534
|
+
},
|
|
12535
|
+
"cdktn.IAsset": {
|
|
12536
|
+
"assembly": "cdktn",
|
|
12537
|
+
"docs": {
|
|
12538
|
+
"stability": "experimental",
|
|
12539
|
+
"summary": "Common interface for all assets."
|
|
12540
|
+
},
|
|
12541
|
+
"fqn": "cdktn.IAsset",
|
|
12542
|
+
"kind": "interface",
|
|
12543
|
+
"locationInModule": {
|
|
12544
|
+
"filename": "src/assets.ts",
|
|
12545
|
+
"line": 17
|
|
12546
|
+
},
|
|
12547
|
+
"name": "IAsset",
|
|
12548
|
+
"properties": [
|
|
12549
|
+
{
|
|
12550
|
+
"abstract": true,
|
|
12551
|
+
"docs": {
|
|
12552
|
+
"remarks": "Being a plain string, it can be used in construct IDs to force a new\nresource when the content hash changes.",
|
|
12553
|
+
"stability": "experimental",
|
|
12554
|
+
"summary": "A hash of this asset, available at construction time."
|
|
12555
|
+
},
|
|
12556
|
+
"immutable": true,
|
|
12557
|
+
"locationInModule": {
|
|
12558
|
+
"filename": "src/assets.ts",
|
|
12559
|
+
"line": 24
|
|
12560
|
+
},
|
|
12561
|
+
"name": "assetHash",
|
|
12562
|
+
"type": {
|
|
12563
|
+
"primitive": "string"
|
|
12564
|
+
}
|
|
12565
|
+
}
|
|
12566
|
+
],
|
|
12567
|
+
"symbolId": "src/assets:IAsset"
|
|
12568
|
+
},
|
|
12569
|
+
"cdktn.IAssetBundler": {
|
|
12570
|
+
"assembly": "cdktn",
|
|
12571
|
+
"docs": {
|
|
12572
|
+
"remarks": "This is the extension point for asset bundling: core ships no bundler.\nDocker, esbuild, pip, `go build`, and similar are an open-ended, non\ncloud-specific set, so each lives in its own package and implements this\none interface — the same way {@link IIgnoreStrategy} lets richer exclusion\nlive outside core. Users pass an instance via the consuming construct's\n`bundler` option.\n\n`bundle` runs during the owning construct's `onSynthesize` hook and may\ntouch the filesystem. Deferring it there keeps it skippable when the asset's\nstack is not being synthesized, which holds as long as the hash is taken\nover the source rather than the built output.\n\nBundlers compose through {@link ChainBundler} rather than a hierarchy: a\nbundler declines (see {@link BundleResult.declined}) instead of failing when\nit cannot run, and the chain falls through to the next.",
|
|
12573
|
+
"stability": "experimental",
|
|
12574
|
+
"summary": "Transforms a source tree into a built artifact. Runs at synth, before the output is packaged and staged."
|
|
12575
|
+
},
|
|
12576
|
+
"fqn": "cdktn.IAssetBundler",
|
|
12577
|
+
"kind": "interface",
|
|
12578
|
+
"locationInModule": {
|
|
12579
|
+
"filename": "src/assets.ts",
|
|
12580
|
+
"line": 369
|
|
12581
|
+
},
|
|
12582
|
+
"methods": [
|
|
12583
|
+
{
|
|
12584
|
+
"abstract": true,
|
|
12585
|
+
"docs": {
|
|
12586
|
+
"remarks": "Implementations write into `options.outputDir` and never write back to\n`options.source`. The returned path must exist and match its declared\nshape, or staging rejects it.\n\nA bundler that cannot run in this environment returns\n`BundleResult.declined()` so a {@link ChainBundler} can fall through to\nthe next; a thrown error is a hard failure, not a decline.",
|
|
12587
|
+
"stability": "experimental",
|
|
12588
|
+
"summary": "Produce the artifact and return a {@link BundleResult} describing it."
|
|
12589
|
+
},
|
|
12590
|
+
"locationInModule": {
|
|
12591
|
+
"filename": "src/assets.ts",
|
|
12592
|
+
"line": 415
|
|
12593
|
+
},
|
|
12594
|
+
"name": "bundle",
|
|
12595
|
+
"parameters": [
|
|
12596
|
+
{
|
|
12597
|
+
"name": "options",
|
|
12598
|
+
"type": {
|
|
12599
|
+
"fqn": "cdktn.BundleOptions"
|
|
12600
|
+
}
|
|
12601
|
+
}
|
|
12602
|
+
],
|
|
12603
|
+
"returns": {
|
|
12604
|
+
"type": {
|
|
12605
|
+
"fqn": "cdktn.BundleResult"
|
|
12606
|
+
}
|
|
12607
|
+
}
|
|
12608
|
+
}
|
|
12609
|
+
],
|
|
12610
|
+
"name": "IAssetBundler",
|
|
12611
|
+
"properties": [
|
|
12612
|
+
{
|
|
12613
|
+
"abstract": true,
|
|
12614
|
+
"docs": {
|
|
12615
|
+
"default": "- the build does not contribute to the hash",
|
|
12616
|
+
"remarks": "The source tree alone cannot see the build, so swapping a `node:18` base\nimage for `node:20` would otherwise leave identity unchanged. Under\n`SOURCE` hashing this is the only channel by which the build reaches\nidentity, so it must serialize every input that can move the output, or a\nchanged build silently reuses a stale artifact. {@link BundlerKey} builds\none from an ordered set of parts.\n\nMirrors {@link IIgnoreStrategy.cacheKey}: omit it when the build cannot be\nsummarized as a string, and fall back to `extraHash`.",
|
|
12617
|
+
"stability": "experimental",
|
|
12618
|
+
"summary": "A value identifying the build, folded into the asset hash."
|
|
12619
|
+
},
|
|
12620
|
+
"immutable": true,
|
|
12621
|
+
"locationInModule": {
|
|
12622
|
+
"filename": "src/assets.ts",
|
|
12623
|
+
"line": 385
|
|
12624
|
+
},
|
|
12625
|
+
"name": "bundlerKey",
|
|
12626
|
+
"optional": true,
|
|
12627
|
+
"type": {
|
|
12628
|
+
"primitive": "string"
|
|
12629
|
+
}
|
|
12630
|
+
},
|
|
12631
|
+
{
|
|
12632
|
+
"abstract": true,
|
|
12633
|
+
"docs": {
|
|
12634
|
+
"default": "- the source path's basename",
|
|
12635
|
+
"remarks": "A file-producing bundler (`BundleResult.file`) staged with\n`AssetType.FILE` would otherwise take the source path's basename, which is\na directory name when the source is a directory. Declaring the name here\nlets the artifact reflect what the bundler produces. It is static\nconfiguration, needed at construction before a deferred `SOURCE` build\nruns, not the file's runtime name.\n\nValid only for a file-producing bundler: setting it with a directory\npackaging (anything but `AssetType.FILE`) is rejected at construction.",
|
|
12636
|
+
"stability": "experimental",
|
|
12637
|
+
"summary": "The name a single-file artifact is staged under (e.g. `archive.zip`)."
|
|
12638
|
+
},
|
|
12639
|
+
"immutable": true,
|
|
12640
|
+
"locationInModule": {
|
|
12641
|
+
"filename": "src/assets.ts",
|
|
12642
|
+
"line": 402
|
|
12643
|
+
},
|
|
12644
|
+
"name": "outputFileName",
|
|
12645
|
+
"optional": true,
|
|
12646
|
+
"type": {
|
|
12647
|
+
"primitive": "string"
|
|
12648
|
+
}
|
|
12649
|
+
}
|
|
12650
|
+
],
|
|
12651
|
+
"symbolId": "src/assets:IAssetBundler"
|
|
12652
|
+
},
|
|
12653
|
+
"cdktn.IAssetPackaging": {
|
|
12654
|
+
"assembly": "cdktn",
|
|
12655
|
+
"docs": {
|
|
12656
|
+
"remarks": "Packaging answers two independent questions: how the artifact is produced\n(copy, zip, tar.gz, ...) and whether the result is a directory or a single\nfile. A closed enum can only ever answer the second one, so it is an\ninterface rather than an enum — custom formats (e.g. `tar.bz2`) need no\ncore change.",
|
|
12657
|
+
"stability": "experimental",
|
|
12658
|
+
"summary": "How a staged asset is produced and what shape it takes on disk."
|
|
12659
|
+
},
|
|
12660
|
+
"fqn": "cdktn.IAssetPackaging",
|
|
12661
|
+
"kind": "interface",
|
|
12662
|
+
"locationInModule": {
|
|
12663
|
+
"filename": "src/assets.ts",
|
|
12664
|
+
"line": 94
|
|
12665
|
+
},
|
|
12666
|
+
"methods": [
|
|
12667
|
+
{
|
|
12668
|
+
"abstract": true,
|
|
12669
|
+
"docs": {
|
|
12670
|
+
"stability": "experimental",
|
|
12671
|
+
"summary": "Write the packaged result to `options.target`."
|
|
12672
|
+
},
|
|
12673
|
+
"locationInModule": {
|
|
12674
|
+
"filename": "src/assets.ts",
|
|
12675
|
+
"line": 134
|
|
12676
|
+
},
|
|
12677
|
+
"name": "pack",
|
|
12678
|
+
"parameters": [
|
|
12679
|
+
{
|
|
12680
|
+
"name": "options",
|
|
12681
|
+
"type": {
|
|
12682
|
+
"fqn": "cdktn.PackOptions"
|
|
12683
|
+
}
|
|
12684
|
+
}
|
|
12685
|
+
]
|
|
12686
|
+
}
|
|
12687
|
+
],
|
|
12688
|
+
"name": "IAssetPackaging",
|
|
12689
|
+
"properties": [
|
|
12690
|
+
{
|
|
12691
|
+
"abstract": true,
|
|
12692
|
+
"docs": {
|
|
12693
|
+
"remarks": "Independent of `producesDirectory` and `omitsDirectoryEntries`, both of\nwhich describe the output: a `tar.gz` packaging takes a directory source\nyet emits a single file. Bundler output is always a directory, so a\npackaging that is `false` here cannot stage it.",
|
|
12694
|
+
"stability": "experimental",
|
|
12695
|
+
"summary": "Whether `pack` accepts a directory as its `source`."
|
|
12696
|
+
},
|
|
12697
|
+
"immutable": true,
|
|
12698
|
+
"locationInModule": {
|
|
12699
|
+
"filename": "src/assets.ts",
|
|
12700
|
+
"line": 116
|
|
12701
|
+
},
|
|
12702
|
+
"name": "acceptsDirectorySource",
|
|
12703
|
+
"type": {
|
|
12704
|
+
"primitive": "boolean"
|
|
12705
|
+
}
|
|
12706
|
+
},
|
|
12707
|
+
{
|
|
12708
|
+
"abstract": true,
|
|
12709
|
+
"docs": {
|
|
12710
|
+
"stability": "experimental",
|
|
12711
|
+
"summary": "Appended to the staged artifact name, e.g. \".zip\", \"\", \".tar.bz2\"."
|
|
12712
|
+
},
|
|
12713
|
+
"immutable": true,
|
|
12714
|
+
"locationInModule": {
|
|
12715
|
+
"filename": "src/assets.ts",
|
|
12716
|
+
"line": 98
|
|
12717
|
+
},
|
|
12718
|
+
"name": "extension",
|
|
12719
|
+
"type": {
|
|
12720
|
+
"primitive": "string"
|
|
12721
|
+
}
|
|
12722
|
+
},
|
|
12723
|
+
{
|
|
12724
|
+
"abstract": true,
|
|
12725
|
+
"docs": {
|
|
12726
|
+
"remarks": "`hashPath`'s `archive` frame\nmust agree with this or the hash and the artifact describe different\nfile sets.\n\n`ZipPackaging` sets this because `archiveSync` never emits ZIP directory\nentries. A directory-producing packaging that mirrors the source tree\n(e.g. `DirectoryPackaging`) leaves this false, since its directories are\nreal entries on disk.",
|
|
12727
|
+
"stability": "experimental",
|
|
12728
|
+
"summary": "Whether `pack` emits an artifact with no directory entries of its own — only the ignore-strategy-aware source walk."
|
|
12729
|
+
},
|
|
12730
|
+
"immutable": true,
|
|
12731
|
+
"locationInModule": {
|
|
12732
|
+
"filename": "src/assets.ts",
|
|
12733
|
+
"line": 129
|
|
12734
|
+
},
|
|
12735
|
+
"name": "omitsDirectoryEntries",
|
|
12736
|
+
"type": {
|
|
12737
|
+
"primitive": "boolean"
|
|
12738
|
+
}
|
|
12739
|
+
},
|
|
12740
|
+
{
|
|
12741
|
+
"abstract": true,
|
|
12742
|
+
"docs": {
|
|
12743
|
+
"remarks": "Publishers branch on this to decide whether they upload one object or\nsync a tree.",
|
|
12744
|
+
"stability": "experimental",
|
|
12745
|
+
"summary": "Whether the staged result is a directory rather than a single file."
|
|
12746
|
+
},
|
|
12747
|
+
"immutable": true,
|
|
12748
|
+
"locationInModule": {
|
|
12749
|
+
"filename": "src/assets.ts",
|
|
12750
|
+
"line": 106
|
|
12751
|
+
},
|
|
12752
|
+
"name": "producesDirectory",
|
|
12753
|
+
"type": {
|
|
12754
|
+
"primitive": "boolean"
|
|
12755
|
+
}
|
|
12756
|
+
}
|
|
12757
|
+
],
|
|
12758
|
+
"symbolId": "src/assets:IAssetPackaging"
|
|
12759
|
+
},
|
|
12760
|
+
"cdktn.IFragmentConcatenator": {
|
|
11328
12761
|
"assembly": "cdktn",
|
|
11329
12762
|
"docs": {
|
|
12763
|
+
"remarks": "Interface so it could potentially be exposed over jsii.",
|
|
11330
12764
|
"stability": "experimental",
|
|
11331
|
-
"summary": "
|
|
12765
|
+
"summary": "Function used to concatenate symbols in the target document language."
|
|
11332
12766
|
},
|
|
11333
|
-
"fqn": "cdktn.
|
|
12767
|
+
"fqn": "cdktn.IFragmentConcatenator",
|
|
11334
12768
|
"kind": "interface",
|
|
11335
12769
|
"locationInModule": {
|
|
11336
|
-
"filename": "src/tokens/
|
|
11337
|
-
"line":
|
|
12770
|
+
"filename": "src/tokens/resolvable.ts",
|
|
12771
|
+
"line": 144
|
|
11338
12772
|
},
|
|
11339
12773
|
"methods": [
|
|
11340
12774
|
{
|
|
11341
12775
|
"abstract": true,
|
|
11342
12776
|
"docs": {
|
|
11343
12777
|
"stability": "experimental",
|
|
11344
|
-
"summary": "
|
|
12778
|
+
"summary": "Join the fragment on the left and on the right."
|
|
11345
12779
|
},
|
|
11346
12780
|
"locationInModule": {
|
|
11347
|
-
"filename": "src/tokens/
|
|
11348
|
-
"line":
|
|
12781
|
+
"filename": "src/tokens/resolvable.ts",
|
|
12782
|
+
"line": 148
|
|
11349
12783
|
},
|
|
11350
|
-
"name": "
|
|
12784
|
+
"name": "join",
|
|
11351
12785
|
"parameters": [
|
|
11352
12786
|
{
|
|
11353
|
-
"name": "
|
|
12787
|
+
"name": "left",
|
|
11354
12788
|
"type": {
|
|
11355
|
-
"
|
|
12789
|
+
"primitive": "any"
|
|
12790
|
+
}
|
|
12791
|
+
},
|
|
12792
|
+
{
|
|
12793
|
+
"name": "right",
|
|
12794
|
+
"type": {
|
|
12795
|
+
"primitive": "any"
|
|
11356
12796
|
}
|
|
11357
12797
|
}
|
|
11358
12798
|
],
|
|
@@ -11363,94 +12803,94 @@
|
|
|
11363
12803
|
}
|
|
11364
12804
|
}
|
|
11365
12805
|
],
|
|
11366
|
-
"name": "
|
|
11367
|
-
"symbolId": "src/tokens/
|
|
12806
|
+
"name": "IFragmentConcatenator",
|
|
12807
|
+
"symbolId": "src/tokens/resolvable:IFragmentConcatenator"
|
|
11368
12808
|
},
|
|
11369
|
-
"cdktn.
|
|
12809
|
+
"cdktn.IIgnoreStrategy": {
|
|
11370
12810
|
"assembly": "cdktn",
|
|
11371
12811
|
"docs": {
|
|
12812
|
+
"remarks": "Core ships only the exact-path / `*.ext` / directory matcher used by\n`exclude` today (`ExcludeIgnoreStrategy`). Full glob, `.gitignore`, and\n`.dockerignore` parity can be implemented against this interface without\ncore taking on a glob parser.",
|
|
11372
12813
|
"stability": "experimental",
|
|
11373
|
-
"summary": "
|
|
12814
|
+
"summary": "Decides whether a path relative to an asset root is excluded from staging and hashing."
|
|
11374
12815
|
},
|
|
11375
|
-
"fqn": "cdktn.
|
|
12816
|
+
"fqn": "cdktn.IIgnoreStrategy",
|
|
11376
12817
|
"kind": "interface",
|
|
11377
12818
|
"locationInModule": {
|
|
11378
|
-
"filename": "src/
|
|
11379
|
-
"line":
|
|
12819
|
+
"filename": "src/ignore-strategy.ts",
|
|
12820
|
+
"line": 41
|
|
11380
12821
|
},
|
|
11381
12822
|
"methods": [
|
|
11382
12823
|
{
|
|
11383
12824
|
"abstract": true,
|
|
11384
12825
|
"docs": {
|
|
11385
12826
|
"stability": "experimental",
|
|
11386
|
-
"summary": "
|
|
12827
|
+
"summary": "Whether the given entry should be excluded."
|
|
11387
12828
|
},
|
|
11388
12829
|
"locationInModule": {
|
|
11389
|
-
"filename": "src/
|
|
11390
|
-
"line":
|
|
12830
|
+
"filename": "src/ignore-strategy.ts",
|
|
12831
|
+
"line": 46
|
|
11391
12832
|
},
|
|
11392
|
-
"name": "
|
|
12833
|
+
"name": "ignores",
|
|
11393
12834
|
"parameters": [
|
|
11394
12835
|
{
|
|
11395
|
-
"
|
|
12836
|
+
"docs": {
|
|
12837
|
+
"summary": "- the entry under consideration, see {@link IgnoreQuery}."
|
|
12838
|
+
},
|
|
12839
|
+
"name": "query",
|
|
11396
12840
|
"type": {
|
|
11397
|
-
"fqn": "
|
|
12841
|
+
"fqn": "cdktn.IgnoreQuery"
|
|
11398
12842
|
}
|
|
11399
12843
|
}
|
|
11400
|
-
]
|
|
12844
|
+
],
|
|
12845
|
+
"returns": {
|
|
12846
|
+
"type": {
|
|
12847
|
+
"primitive": "boolean"
|
|
12848
|
+
}
|
|
12849
|
+
}
|
|
11401
12850
|
}
|
|
11402
12851
|
],
|
|
11403
|
-
"name": "
|
|
11404
|
-
"
|
|
11405
|
-
},
|
|
11406
|
-
"cdktn.IFragmentConcatenator": {
|
|
11407
|
-
"assembly": "cdktn",
|
|
11408
|
-
"docs": {
|
|
11409
|
-
"remarks": "Interface so it could potentially be exposed over jsii.",
|
|
11410
|
-
"stability": "experimental",
|
|
11411
|
-
"summary": "Function used to concatenate symbols in the target document language."
|
|
11412
|
-
},
|
|
11413
|
-
"fqn": "cdktn.IFragmentConcatenator",
|
|
11414
|
-
"kind": "interface",
|
|
11415
|
-
"locationInModule": {
|
|
11416
|
-
"filename": "src/tokens/resolvable.ts",
|
|
11417
|
-
"line": 144
|
|
11418
|
-
},
|
|
11419
|
-
"methods": [
|
|
12852
|
+
"name": "IIgnoreStrategy",
|
|
12853
|
+
"properties": [
|
|
11420
12854
|
{
|
|
11421
12855
|
"abstract": true,
|
|
11422
12856
|
"docs": {
|
|
12857
|
+
"default": "- this strategy cannot be represented in a cache key",
|
|
12858
|
+
"remarks": "Two strategies that return the same\n`cacheKey` must exclude the same paths.\n\nCallers such as `AssetStaging`'s result cache key on a JSON-serializable\nrepresentation of their inputs, which a strategy instance is not. Omit\nthis when the strategy's behavior can't be summarized this way; the\ncaller then has to treat every call as uncacheable.",
|
|
11423
12859
|
"stability": "experimental",
|
|
11424
|
-
"summary": "
|
|
12860
|
+
"summary": "A value identifying this strategy's exclusion behavior, suitable for folding into a cache key."
|
|
11425
12861
|
},
|
|
12862
|
+
"immutable": true,
|
|
11426
12863
|
"locationInModule": {
|
|
11427
|
-
"filename": "src/
|
|
11428
|
-
"line":
|
|
12864
|
+
"filename": "src/ignore-strategy.ts",
|
|
12865
|
+
"line": 78
|
|
11429
12866
|
},
|
|
11430
|
-
"name": "
|
|
11431
|
-
"
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
"
|
|
11446
|
-
"
|
|
11447
|
-
|
|
11448
|
-
|
|
12867
|
+
"name": "cacheKey",
|
|
12868
|
+
"optional": true,
|
|
12869
|
+
"type": {
|
|
12870
|
+
"primitive": "string"
|
|
12871
|
+
}
|
|
12872
|
+
},
|
|
12873
|
+
{
|
|
12874
|
+
"abstract": true,
|
|
12875
|
+
"docs": {
|
|
12876
|
+
"default": "true",
|
|
12877
|
+
"remarks": "When `true` (the default), the walkers stop descending as soon as a\ndirectory is excluded — cheaper, and correct for a strategy whose\npatterns never re-include a path below an excluded parent.\n\nA strategy with negation patterns must set this to `false`:\n`.gitignore` / `.dockerignore` allow `node_modules` followed by\n`!node_modules/keep`, which is only reachable if the walk descends into\nthe excluded `node_modules` and asks about `node_modules/keep`. The\nexcluded directory entry itself is still omitted; only the descent\nchanges. Opting out costs a full walk of excluded subtrees.",
|
|
12878
|
+
"stability": "experimental",
|
|
12879
|
+
"summary": "Whether excluding a directory also excludes everything beneath it."
|
|
12880
|
+
},
|
|
12881
|
+
"immutable": true,
|
|
12882
|
+
"locationInModule": {
|
|
12883
|
+
"filename": "src/ignore-strategy.ts",
|
|
12884
|
+
"line": 64
|
|
12885
|
+
},
|
|
12886
|
+
"name": "pruneExcludedDirectories",
|
|
12887
|
+
"optional": true,
|
|
12888
|
+
"type": {
|
|
12889
|
+
"primitive": "boolean"
|
|
11449
12890
|
}
|
|
11450
12891
|
}
|
|
11451
12892
|
],
|
|
11452
|
-
"
|
|
11453
|
-
"symbolId": "src/tokens/resolvable:IFragmentConcatenator"
|
|
12893
|
+
"symbolId": "src/ignore-strategy:IIgnoreStrategy"
|
|
11454
12894
|
},
|
|
11455
12895
|
"cdktn.IImportableConfig": {
|
|
11456
12896
|
"assembly": "cdktn",
|
|
@@ -12652,7 +14092,7 @@
|
|
|
12652
14092
|
"kind": "interface",
|
|
12653
14093
|
"locationInModule": {
|
|
12654
14094
|
"filename": "src/tokens/string-fragments.ts",
|
|
12655
|
-
"line":
|
|
14095
|
+
"line": 215
|
|
12656
14096
|
},
|
|
12657
14097
|
"methods": [
|
|
12658
14098
|
{
|
|
@@ -12663,7 +14103,7 @@
|
|
|
12663
14103
|
},
|
|
12664
14104
|
"locationInModule": {
|
|
12665
14105
|
"filename": "src/tokens/string-fragments.ts",
|
|
12666
|
-
"line":
|
|
14106
|
+
"line": 219
|
|
12667
14107
|
},
|
|
12668
14108
|
"name": "mapToken",
|
|
12669
14109
|
"parameters": [
|
|
@@ -12878,6 +14318,58 @@
|
|
|
12878
14318
|
"name": "ITokenResolver",
|
|
12879
14319
|
"symbolId": "src/tokens/resolvable:ITokenResolver"
|
|
12880
14320
|
},
|
|
14321
|
+
"cdktn.IgnoreQuery": {
|
|
14322
|
+
"assembly": "cdktn",
|
|
14323
|
+
"datatype": true,
|
|
14324
|
+
"docs": {
|
|
14325
|
+
"remarks": "A struct rather than a positional `relativePath` string so the shape can\nevolve. `isDirectory` is carried from the outset because `.gitignore` /\n`.dockerignore` semantics turn on it: a `foo/` pattern matches a\ndirectory but not a file named `foo`, and a matcher cannot recover\nthat distinction from the path text alone.",
|
|
14326
|
+
"stability": "experimental",
|
|
14327
|
+
"summary": "A single entry presented to an {@link IIgnoreStrategy}."
|
|
14328
|
+
},
|
|
14329
|
+
"fqn": "cdktn.IgnoreQuery",
|
|
14330
|
+
"kind": "interface",
|
|
14331
|
+
"locationInModule": {
|
|
14332
|
+
"filename": "src/ignore-strategy.ts",
|
|
14333
|
+
"line": 14
|
|
14334
|
+
},
|
|
14335
|
+
"name": "IgnoreQuery",
|
|
14336
|
+
"properties": [
|
|
14337
|
+
{
|
|
14338
|
+
"abstract": true,
|
|
14339
|
+
"docs": {
|
|
14340
|
+
"remarks": "The tree walkers set this from `lstat`, so a strategy can honor\ndirectory-only patterns without stat-ing the path itself (which it has\nno root to resolve against). Excluding a directory also excludes\neverything below it, since the walkers stop descending once a directory\nis excluded.",
|
|
14341
|
+
"stability": "experimental",
|
|
14342
|
+
"summary": "Whether this entry is a directory rather than a file or symlink."
|
|
14343
|
+
},
|
|
14344
|
+
"immutable": true,
|
|
14345
|
+
"locationInModule": {
|
|
14346
|
+
"filename": "src/ignore-strategy.ts",
|
|
14347
|
+
"line": 29
|
|
14348
|
+
},
|
|
14349
|
+
"name": "isDirectory",
|
|
14350
|
+
"type": {
|
|
14351
|
+
"primitive": "boolean"
|
|
14352
|
+
}
|
|
14353
|
+
},
|
|
14354
|
+
{
|
|
14355
|
+
"abstract": true,
|
|
14356
|
+
"docs": {
|
|
14357
|
+
"stability": "experimental",
|
|
14358
|
+
"summary": "`/`-separated path relative to the asset root."
|
|
14359
|
+
},
|
|
14360
|
+
"immutable": true,
|
|
14361
|
+
"locationInModule": {
|
|
14362
|
+
"filename": "src/ignore-strategy.ts",
|
|
14363
|
+
"line": 18
|
|
14364
|
+
},
|
|
14365
|
+
"name": "relativePath",
|
|
14366
|
+
"type": {
|
|
14367
|
+
"primitive": "string"
|
|
14368
|
+
}
|
|
14369
|
+
}
|
|
14370
|
+
],
|
|
14371
|
+
"symbolId": "src/ignore-strategy:IgnoreQuery"
|
|
14372
|
+
},
|
|
12881
14373
|
"cdktn.ImportableResource": {
|
|
12882
14374
|
"assembly": "cdktn",
|
|
12883
14375
|
"base": "cdktn.TerraformElement",
|
|
@@ -13456,7 +14948,7 @@
|
|
|
13456
14948
|
},
|
|
13457
14949
|
"locationInModule": {
|
|
13458
14950
|
"filename": "src/terraform-iterator.ts",
|
|
13459
|
-
"line":
|
|
14951
|
+
"line": 403
|
|
13460
14952
|
},
|
|
13461
14953
|
"parameters": [
|
|
13462
14954
|
{
|
|
@@ -13509,7 +15001,7 @@
|
|
|
13509
15001
|
"kind": "class",
|
|
13510
15002
|
"locationInModule": {
|
|
13511
15003
|
"filename": "src/terraform-iterator.ts",
|
|
13512
|
-
"line":
|
|
15004
|
+
"line": 402
|
|
13513
15005
|
},
|
|
13514
15006
|
"name": "ListTerraformIterator",
|
|
13515
15007
|
"properties": [
|
|
@@ -13522,7 +15014,7 @@
|
|
|
13522
15014
|
"immutable": true,
|
|
13523
15015
|
"locationInModule": {
|
|
13524
15016
|
"filename": "src/terraform-iterator.ts",
|
|
13525
|
-
"line":
|
|
15017
|
+
"line": 413
|
|
13526
15018
|
},
|
|
13527
15019
|
"name": "key",
|
|
13528
15020
|
"type": {
|
|
@@ -13537,7 +15029,7 @@
|
|
|
13537
15029
|
"immutable": true,
|
|
13538
15030
|
"locationInModule": {
|
|
13539
15031
|
"filename": "src/terraform-iterator.ts",
|
|
13540
|
-
"line":
|
|
15032
|
+
"line": 420
|
|
13541
15033
|
},
|
|
13542
15034
|
"name": "value",
|
|
13543
15035
|
"type": {
|
|
@@ -14306,7 +15798,7 @@
|
|
|
14306
15798
|
},
|
|
14307
15799
|
"locationInModule": {
|
|
14308
15800
|
"filename": "src/terraform-iterator.ts",
|
|
14309
|
-
"line":
|
|
15801
|
+
"line": 435
|
|
14310
15802
|
},
|
|
14311
15803
|
"parameters": [
|
|
14312
15804
|
{
|
|
@@ -14362,7 +15854,7 @@
|
|
|
14362
15854
|
"kind": "class",
|
|
14363
15855
|
"locationInModule": {
|
|
14364
15856
|
"filename": "src/terraform-iterator.ts",
|
|
14365
|
-
"line":
|
|
15857
|
+
"line": 434
|
|
14366
15858
|
},
|
|
14367
15859
|
"name": "MapTerraformIterator",
|
|
14368
15860
|
"properties": [
|
|
@@ -14374,7 +15866,7 @@
|
|
|
14374
15866
|
"immutable": true,
|
|
14375
15867
|
"locationInModule": {
|
|
14376
15868
|
"filename": "src/terraform-iterator.ts",
|
|
14377
|
-
"line":
|
|
15869
|
+
"line": 450
|
|
14378
15870
|
},
|
|
14379
15871
|
"name": "key",
|
|
14380
15872
|
"type": {
|
|
@@ -14389,7 +15881,7 @@
|
|
|
14389
15881
|
"immutable": true,
|
|
14390
15882
|
"locationInModule": {
|
|
14391
15883
|
"filename": "src/terraform-iterator.ts",
|
|
14392
|
-
"line":
|
|
15884
|
+
"line": 457
|
|
14393
15885
|
},
|
|
14394
15886
|
"name": "value",
|
|
14395
15887
|
"type": {
|
|
@@ -16373,6 +17865,76 @@
|
|
|
16373
17865
|
],
|
|
16374
17866
|
"symbolId": "src/backends/oss-backend:OssBackendConfig"
|
|
16375
17867
|
},
|
|
17868
|
+
"cdktn.PackOptions": {
|
|
17869
|
+
"assembly": "cdktn",
|
|
17870
|
+
"datatype": true,
|
|
17871
|
+
"docs": {
|
|
17872
|
+
"remarks": "A struct rather than positional parameters: adding a struct field is\nadditive, adding a method parameter is not, and `pack` is called through\nJSII where that distinction is a breaking-change boundary.",
|
|
17873
|
+
"stability": "experimental",
|
|
17874
|
+
"summary": "Options for {@link IAssetPackaging.pack}."
|
|
17875
|
+
},
|
|
17876
|
+
"fqn": "cdktn.PackOptions",
|
|
17877
|
+
"kind": "interface",
|
|
17878
|
+
"locationInModule": {
|
|
17879
|
+
"filename": "src/assets.ts",
|
|
17880
|
+
"line": 144
|
|
17881
|
+
},
|
|
17882
|
+
"name": "PackOptions",
|
|
17883
|
+
"properties": [
|
|
17884
|
+
{
|
|
17885
|
+
"abstract": true,
|
|
17886
|
+
"docs": {
|
|
17887
|
+
"stability": "experimental",
|
|
17888
|
+
"summary": "Path to the resolved (already bundled, if applicable) source."
|
|
17889
|
+
},
|
|
17890
|
+
"immutable": true,
|
|
17891
|
+
"locationInModule": {
|
|
17892
|
+
"filename": "src/assets.ts",
|
|
17893
|
+
"line": 148
|
|
17894
|
+
},
|
|
17895
|
+
"name": "source",
|
|
17896
|
+
"type": {
|
|
17897
|
+
"primitive": "string"
|
|
17898
|
+
}
|
|
17899
|
+
},
|
|
17900
|
+
{
|
|
17901
|
+
"abstract": true,
|
|
17902
|
+
"docs": {
|
|
17903
|
+
"stability": "experimental",
|
|
17904
|
+
"summary": "Path the packaged result should be written to."
|
|
17905
|
+
},
|
|
17906
|
+
"immutable": true,
|
|
17907
|
+
"locationInModule": {
|
|
17908
|
+
"filename": "src/assets.ts",
|
|
17909
|
+
"line": 153
|
|
17910
|
+
},
|
|
17911
|
+
"name": "target",
|
|
17912
|
+
"type": {
|
|
17913
|
+
"primitive": "string"
|
|
17914
|
+
}
|
|
17915
|
+
},
|
|
17916
|
+
{
|
|
17917
|
+
"abstract": true,
|
|
17918
|
+
"docs": {
|
|
17919
|
+
"default": "- nothing is excluded",
|
|
17920
|
+
"remarks": "Must match the strategy used\nto hash the same source, or the hash and the artifact describe\ndifferent sets of files.",
|
|
17921
|
+
"stability": "experimental",
|
|
17922
|
+
"summary": "Entries to omit from the packaged result."
|
|
17923
|
+
},
|
|
17924
|
+
"immutable": true,
|
|
17925
|
+
"locationInModule": {
|
|
17926
|
+
"filename": "src/assets.ts",
|
|
17927
|
+
"line": 162
|
|
17928
|
+
},
|
|
17929
|
+
"name": "ignoreStrategy",
|
|
17930
|
+
"optional": true,
|
|
17931
|
+
"type": {
|
|
17932
|
+
"fqn": "cdktn.IIgnoreStrategy"
|
|
17933
|
+
}
|
|
17934
|
+
}
|
|
17935
|
+
],
|
|
17936
|
+
"symbolId": "src/assets:PackOptions"
|
|
17937
|
+
},
|
|
16376
17938
|
"cdktn.PgBackend": {
|
|
16377
17939
|
"assembly": "cdktn",
|
|
16378
17940
|
"base": "cdktn.TerraformBackend",
|
|
@@ -17219,7 +18781,7 @@
|
|
|
17219
18781
|
},
|
|
17220
18782
|
"locationInModule": {
|
|
17221
18783
|
"filename": "src/terraform-iterator.ts",
|
|
17222
|
-
"line":
|
|
18784
|
+
"line": 464
|
|
17223
18785
|
},
|
|
17224
18786
|
"parameters": [
|
|
17225
18787
|
{
|
|
@@ -17233,7 +18795,7 @@
|
|
|
17233
18795
|
"kind": "class",
|
|
17234
18796
|
"locationInModule": {
|
|
17235
18797
|
"filename": "src/terraform-iterator.ts",
|
|
17236
|
-
"line":
|
|
18798
|
+
"line": 463
|
|
17237
18799
|
},
|
|
17238
18800
|
"name": "ResourceTerraformIterator",
|
|
17239
18801
|
"properties": [
|
|
@@ -17246,7 +18808,7 @@
|
|
|
17246
18808
|
"immutable": true,
|
|
17247
18809
|
"locationInModule": {
|
|
17248
18810
|
"filename": "src/terraform-iterator.ts",
|
|
17249
|
-
"line":
|
|
18811
|
+
"line": 482
|
|
17250
18812
|
},
|
|
17251
18813
|
"name": "key",
|
|
17252
18814
|
"type": {
|
|
@@ -17261,7 +18823,7 @@
|
|
|
17261
18823
|
"immutable": true,
|
|
17262
18824
|
"locationInModule": {
|
|
17263
18825
|
"filename": "src/terraform-iterator.ts",
|
|
17264
|
-
"line":
|
|
18826
|
+
"line": 489
|
|
17265
18827
|
},
|
|
17266
18828
|
"name": "value",
|
|
17267
18829
|
"type": {
|
|
@@ -19420,18 +20982,84 @@
|
|
|
19420
20982
|
"type": {
|
|
19421
20983
|
"primitive": "string"
|
|
19422
20984
|
}
|
|
19423
|
-
},
|
|
20985
|
+
},
|
|
20986
|
+
{
|
|
20987
|
+
"abstract": true,
|
|
20988
|
+
"docs": {
|
|
20989
|
+
"stability": "experimental"
|
|
20990
|
+
},
|
|
20991
|
+
"immutable": true,
|
|
20992
|
+
"locationInModule": {
|
|
20993
|
+
"filename": "src/manifest.ts",
|
|
20994
|
+
"line": 20
|
|
20995
|
+
},
|
|
20996
|
+
"name": "stackMetadataPath",
|
|
20997
|
+
"type": {
|
|
20998
|
+
"primitive": "string"
|
|
20999
|
+
}
|
|
21000
|
+
},
|
|
21001
|
+
{
|
|
21002
|
+
"abstract": true,
|
|
21003
|
+
"docs": {
|
|
21004
|
+
"stability": "experimental"
|
|
21005
|
+
},
|
|
21006
|
+
"immutable": true,
|
|
21007
|
+
"locationInModule": {
|
|
21008
|
+
"filename": "src/manifest.ts",
|
|
21009
|
+
"line": 18
|
|
21010
|
+
},
|
|
21011
|
+
"name": "synthesizedStackPath",
|
|
21012
|
+
"type": {
|
|
21013
|
+
"primitive": "string"
|
|
21014
|
+
}
|
|
21015
|
+
},
|
|
21016
|
+
{
|
|
21017
|
+
"abstract": true,
|
|
21018
|
+
"docs": {
|
|
21019
|
+
"stability": "experimental"
|
|
21020
|
+
},
|
|
21021
|
+
"immutable": true,
|
|
21022
|
+
"locationInModule": {
|
|
21023
|
+
"filename": "src/manifest.ts",
|
|
21024
|
+
"line": 21
|
|
21025
|
+
},
|
|
21026
|
+
"name": "workingDirectory",
|
|
21027
|
+
"type": {
|
|
21028
|
+
"primitive": "string"
|
|
21029
|
+
}
|
|
21030
|
+
}
|
|
21031
|
+
],
|
|
21032
|
+
"symbolId": "src/manifest:StackManifest"
|
|
21033
|
+
},
|
|
21034
|
+
"cdktn.StagedAsset": {
|
|
21035
|
+
"assembly": "cdktn",
|
|
21036
|
+
"datatype": true,
|
|
21037
|
+
"docs": {
|
|
21038
|
+
"remarks": "Deliberately narrower than a location: `path` and `isDirectory` are known\nonce staging runs, at synth time, before anything is published. Where an\nasset ends up — a bucket name, an object key, a URL — is resolved at\napply time and belongs on the publisher's own reference type instead.",
|
|
21039
|
+
"stability": "experimental",
|
|
21040
|
+
"summary": "A staged artifact, ready to hand to an `IAssetPublisher`."
|
|
21041
|
+
},
|
|
21042
|
+
"fqn": "cdktn.StagedAsset",
|
|
21043
|
+
"kind": "interface",
|
|
21044
|
+
"locationInModule": {
|
|
21045
|
+
"filename": "src/assets.ts",
|
|
21046
|
+
"line": 560
|
|
21047
|
+
},
|
|
21048
|
+
"name": "StagedAsset",
|
|
21049
|
+
"properties": [
|
|
19424
21050
|
{
|
|
19425
21051
|
"abstract": true,
|
|
19426
21052
|
"docs": {
|
|
19427
|
-
"
|
|
21053
|
+
"remarks": "The asset is not rebuilt or republished while this value is unchanged.",
|
|
21054
|
+
"stability": "experimental",
|
|
21055
|
+
"summary": "A hash on the content source, uniquely identifying this asset."
|
|
19428
21056
|
},
|
|
19429
21057
|
"immutable": true,
|
|
19430
21058
|
"locationInModule": {
|
|
19431
|
-
"filename": "src/
|
|
19432
|
-
"line":
|
|
21059
|
+
"filename": "src/assets.ts",
|
|
21060
|
+
"line": 566
|
|
19433
21061
|
},
|
|
19434
|
-
"name": "
|
|
21062
|
+
"name": "assetHash",
|
|
19435
21063
|
"type": {
|
|
19436
21064
|
"primitive": "string"
|
|
19437
21065
|
}
|
|
@@ -19439,35 +21067,38 @@
|
|
|
19439
21067
|
{
|
|
19440
21068
|
"abstract": true,
|
|
19441
21069
|
"docs": {
|
|
19442
|
-
"
|
|
21070
|
+
"remarks": "Publishers branch on this to decide whether they upload one object or\nsync a tree; see `IAssetPackaging.producesDirectory`.",
|
|
21071
|
+
"stability": "experimental",
|
|
21072
|
+
"summary": "Whether the staged artifact is a directory rather than a single file."
|
|
19443
21073
|
},
|
|
19444
21074
|
"immutable": true,
|
|
19445
21075
|
"locationInModule": {
|
|
19446
|
-
"filename": "src/
|
|
19447
|
-
"line":
|
|
21076
|
+
"filename": "src/assets.ts",
|
|
21077
|
+
"line": 579
|
|
19448
21078
|
},
|
|
19449
|
-
"name": "
|
|
21079
|
+
"name": "isDirectory",
|
|
19450
21080
|
"type": {
|
|
19451
|
-
"primitive": "
|
|
21081
|
+
"primitive": "boolean"
|
|
19452
21082
|
}
|
|
19453
21083
|
},
|
|
19454
21084
|
{
|
|
19455
21085
|
"abstract": true,
|
|
19456
21086
|
"docs": {
|
|
19457
|
-
"stability": "experimental"
|
|
21087
|
+
"stability": "experimental",
|
|
21088
|
+
"summary": "The path to the staged artifact, relative to the stack directory."
|
|
19458
21089
|
},
|
|
19459
21090
|
"immutable": true,
|
|
19460
21091
|
"locationInModule": {
|
|
19461
|
-
"filename": "src/
|
|
19462
|
-
"line":
|
|
21092
|
+
"filename": "src/assets.ts",
|
|
21093
|
+
"line": 571
|
|
19463
21094
|
},
|
|
19464
|
-
"name": "
|
|
21095
|
+
"name": "path",
|
|
19465
21096
|
"type": {
|
|
19466
21097
|
"primitive": "string"
|
|
19467
21098
|
}
|
|
19468
21099
|
}
|
|
19469
21100
|
],
|
|
19470
|
-
"symbolId": "src/
|
|
21101
|
+
"symbolId": "src/assets:StagedAsset"
|
|
19471
21102
|
},
|
|
19472
21103
|
"cdktn.StringConcat": {
|
|
19473
21104
|
"assembly": "cdktn",
|
|
@@ -20944,7 +22575,7 @@
|
|
|
20944
22575
|
},
|
|
20945
22576
|
"locationInModule": {
|
|
20946
22577
|
"filename": "src/terraform-asset.ts",
|
|
20947
|
-
"line":
|
|
22578
|
+
"line": 142
|
|
20948
22579
|
},
|
|
20949
22580
|
"parameters": [
|
|
20950
22581
|
{
|
|
@@ -20967,24 +22598,29 @@
|
|
|
20967
22598
|
}
|
|
20968
22599
|
]
|
|
20969
22600
|
},
|
|
22601
|
+
"interfaces": [
|
|
22602
|
+
"cdktn.IAsset"
|
|
22603
|
+
],
|
|
20970
22604
|
"kind": "class",
|
|
20971
22605
|
"locationInModule": {
|
|
20972
22606
|
"filename": "src/terraform-asset.ts",
|
|
20973
|
-
"line":
|
|
22607
|
+
"line": 125
|
|
20974
22608
|
},
|
|
20975
22609
|
"name": "TerraformAsset",
|
|
20976
22610
|
"properties": [
|
|
20977
22611
|
{
|
|
20978
22612
|
"docs": {
|
|
22613
|
+
"remarks": "Being a plain string, it can be used in construct IDs to force a new\nresource when the content hash changes.",
|
|
20979
22614
|
"stability": "experimental",
|
|
20980
|
-
"summary": "
|
|
22615
|
+
"summary": "A hash of this asset, available at construction time."
|
|
20981
22616
|
},
|
|
20982
22617
|
"immutable": true,
|
|
20983
22618
|
"locationInModule": {
|
|
20984
22619
|
"filename": "src/terraform-asset.ts",
|
|
20985
|
-
"line":
|
|
22620
|
+
"line": 129
|
|
20986
22621
|
},
|
|
20987
|
-
"name": "
|
|
22622
|
+
"name": "assetHash",
|
|
22623
|
+
"overrides": "cdktn.IAsset",
|
|
20988
22624
|
"type": {
|
|
20989
22625
|
"primitive": "string"
|
|
20990
22626
|
}
|
|
@@ -20992,27 +22628,29 @@
|
|
|
20992
22628
|
{
|
|
20993
22629
|
"docs": {
|
|
20994
22630
|
"stability": "experimental",
|
|
20995
|
-
"summary": "
|
|
22631
|
+
"summary": "Name of the asset."
|
|
20996
22632
|
},
|
|
20997
22633
|
"immutable": true,
|
|
20998
22634
|
"locationInModule": {
|
|
20999
22635
|
"filename": "src/terraform-asset.ts",
|
|
21000
|
-
"line":
|
|
22636
|
+
"line": 248
|
|
21001
22637
|
},
|
|
21002
|
-
"name": "
|
|
22638
|
+
"name": "fileName",
|
|
21003
22639
|
"type": {
|
|
21004
22640
|
"primitive": "string"
|
|
21005
22641
|
}
|
|
21006
22642
|
},
|
|
21007
22643
|
{
|
|
21008
22644
|
"docs": {
|
|
21009
|
-
"stability": "experimental"
|
|
22645
|
+
"stability": "experimental",
|
|
22646
|
+
"summary": "The path relative to the root of the terraform directory in posix format Use this property to reference the asset."
|
|
21010
22647
|
},
|
|
22648
|
+
"immutable": true,
|
|
21011
22649
|
"locationInModule": {
|
|
21012
22650
|
"filename": "src/terraform-asset.ts",
|
|
21013
|
-
"line":
|
|
22651
|
+
"line": 235
|
|
21014
22652
|
},
|
|
21015
|
-
"name": "
|
|
22653
|
+
"name": "path",
|
|
21016
22654
|
"type": {
|
|
21017
22655
|
"primitive": "string"
|
|
21018
22656
|
}
|
|
@@ -21023,7 +22661,7 @@
|
|
|
21023
22661
|
},
|
|
21024
22662
|
"locationInModule": {
|
|
21025
22663
|
"filename": "src/terraform-asset.ts",
|
|
21026
|
-
"line":
|
|
22664
|
+
"line": 131
|
|
21027
22665
|
},
|
|
21028
22666
|
"name": "type",
|
|
21029
22667
|
"type": {
|
|
@@ -21043,7 +22681,7 @@
|
|
|
21043
22681
|
"kind": "interface",
|
|
21044
22682
|
"locationInModule": {
|
|
21045
22683
|
"filename": "src/terraform-asset.ts",
|
|
21046
|
-
"line":
|
|
22684
|
+
"line": 27
|
|
21047
22685
|
},
|
|
21048
22686
|
"name": "TerraformAssetConfig",
|
|
21049
22687
|
"properties": [
|
|
@@ -21055,7 +22693,7 @@
|
|
|
21055
22693
|
"immutable": true,
|
|
21056
22694
|
"locationInModule": {
|
|
21057
22695
|
"filename": "src/terraform-asset.ts",
|
|
21058
|
-
"line":
|
|
22696
|
+
"line": 29
|
|
21059
22697
|
},
|
|
21060
22698
|
"name": "path",
|
|
21061
22699
|
"type": {
|
|
@@ -21070,7 +22708,7 @@
|
|
|
21070
22708
|
"immutable": true,
|
|
21071
22709
|
"locationInModule": {
|
|
21072
22710
|
"filename": "src/terraform-asset.ts",
|
|
21073
|
-
"line":
|
|
22711
|
+
"line": 33
|
|
21074
22712
|
},
|
|
21075
22713
|
"name": "assetHash",
|
|
21076
22714
|
"optional": true,
|
|
@@ -21078,6 +22716,105 @@
|
|
|
21078
22716
|
"primitive": "string"
|
|
21079
22717
|
}
|
|
21080
22718
|
},
|
|
22719
|
+
{
|
|
22720
|
+
"abstract": true,
|
|
22721
|
+
"docs": {
|
|
22722
|
+
"default": "AssetHashType.SOURCE",
|
|
22723
|
+
"remarks": "`SOURCE` (the default) hashes the source path. `CUSTOM` uses the\n`assetHash` value verbatim and requires it to be set. `OUTPUT` hashes the\nsource too, unless a `bundler` is set — then it hashes the bundler's\nbuilt output, which forces an eager build (see `bundler`).\n\nIf `assetHash` is set, this must be `undefined` or `AssetHashType.CUSTOM`.",
|
|
22724
|
+
"stability": "experimental",
|
|
22725
|
+
"summary": "How the `assetHash` is derived."
|
|
22726
|
+
},
|
|
22727
|
+
"immutable": true,
|
|
22728
|
+
"locationInModule": {
|
|
22729
|
+
"filename": "src/terraform-asset.ts",
|
|
22730
|
+
"line": 46
|
|
22731
|
+
},
|
|
22732
|
+
"name": "assetHashType",
|
|
22733
|
+
"optional": true,
|
|
22734
|
+
"type": {
|
|
22735
|
+
"fqn": "cdktn.AssetHashType"
|
|
22736
|
+
}
|
|
22737
|
+
},
|
|
22738
|
+
{
|
|
22739
|
+
"abstract": true,
|
|
22740
|
+
"docs": {
|
|
22741
|
+
"default": "- the source is staged verbatim, with no build step",
|
|
22742
|
+
"remarks": "Core ships no bundler; implement `IAssetBundler` or use one from a bundler\npackage. Under the default `SOURCE` hashing the build is deferred to synth\nand stays skippable; `OUTPUT` hashing builds eagerly to hash the artifact.\nThe bundler's output shape must match `type`. See\n`AssetStagingOptions.bundler`.",
|
|
22743
|
+
"stability": "experimental",
|
|
22744
|
+
"summary": "A bundler that builds the source into an artifact before staging."
|
|
22745
|
+
},
|
|
22746
|
+
"immutable": true,
|
|
22747
|
+
"locationInModule": {
|
|
22748
|
+
"filename": "src/terraform-asset.ts",
|
|
22749
|
+
"line": 92
|
|
22750
|
+
},
|
|
22751
|
+
"name": "bundler",
|
|
22752
|
+
"optional": true,
|
|
22753
|
+
"type": {
|
|
22754
|
+
"fqn": "cdktn.IAssetBundler"
|
|
22755
|
+
}
|
|
22756
|
+
},
|
|
22757
|
+
{
|
|
22758
|
+
"abstract": true,
|
|
22759
|
+
"docs": {
|
|
22760
|
+
"default": "- nothing is excluded",
|
|
22761
|
+
"remarks": "See\n`AssetStagingOptions.exclude` for the accepted forms. Both the computed\nhash and the staged/packed content honor the exclusion. Cannot be\ncombined with `ignoreStrategy`, which replaces this matcher rather than\nlayering on top of it.",
|
|
22762
|
+
"stability": "experimental",
|
|
22763
|
+
"summary": "Paths to exclude from the asset, relative to `path`."
|
|
22764
|
+
},
|
|
22765
|
+
"immutable": true,
|
|
22766
|
+
"locationInModule": {
|
|
22767
|
+
"filename": "src/terraform-asset.ts",
|
|
22768
|
+
"line": 57
|
|
22769
|
+
},
|
|
22770
|
+
"name": "exclude",
|
|
22771
|
+
"optional": true,
|
|
22772
|
+
"type": {
|
|
22773
|
+
"collection": {
|
|
22774
|
+
"elementtype": {
|
|
22775
|
+
"primitive": "string"
|
|
22776
|
+
},
|
|
22777
|
+
"kind": "array"
|
|
22778
|
+
}
|
|
22779
|
+
}
|
|
22780
|
+
},
|
|
22781
|
+
{
|
|
22782
|
+
"abstract": true,
|
|
22783
|
+
"docs": {
|
|
22784
|
+
"default": "- no extra hash",
|
|
22785
|
+
"stability": "experimental",
|
|
22786
|
+
"summary": "Extra information to fold into the hash (e.g. build instructions and other inputs)."
|
|
22787
|
+
},
|
|
22788
|
+
"immutable": true,
|
|
22789
|
+
"locationInModule": {
|
|
22790
|
+
"filename": "src/terraform-asset.ts",
|
|
22791
|
+
"line": 79
|
|
22792
|
+
},
|
|
22793
|
+
"name": "extraHash",
|
|
22794
|
+
"optional": true,
|
|
22795
|
+
"type": {
|
|
22796
|
+
"primitive": "string"
|
|
22797
|
+
}
|
|
22798
|
+
},
|
|
22799
|
+
{
|
|
22800
|
+
"abstract": true,
|
|
22801
|
+
"docs": {
|
|
22802
|
+
"default": "- `exclude` is used with the built-in matcher",
|
|
22803
|
+
"remarks": "`!`-negation only takes effect if the strategy also sets\n`pruneExcludedDirectories: false`; otherwise an excluded directory is\npruned before its contents are ever checked against a re-include\npattern. See `IIgnoreStrategy.pruneExcludedDirectories`.",
|
|
22804
|
+
"stability": "experimental",
|
|
22805
|
+
"summary": "Exclusion matching, for callers that need `.gitignore` / `.dockerignore` parity (including `!`-negation) rather than the built-in exact-path / suffix / directory matcher. See `AssetStagingOptions.ignoreStrategy`."
|
|
22806
|
+
},
|
|
22807
|
+
"immutable": true,
|
|
22808
|
+
"locationInModule": {
|
|
22809
|
+
"filename": "src/terraform-asset.ts",
|
|
22810
|
+
"line": 71
|
|
22811
|
+
},
|
|
22812
|
+
"name": "ignoreStrategy",
|
|
22813
|
+
"optional": true,
|
|
22814
|
+
"type": {
|
|
22815
|
+
"fqn": "cdktn.IIgnoreStrategy"
|
|
22816
|
+
}
|
|
22817
|
+
},
|
|
21081
22818
|
{
|
|
21082
22819
|
"abstract": true,
|
|
21083
22820
|
"docs": {
|
|
@@ -21086,7 +22823,7 @@
|
|
|
21086
22823
|
"immutable": true,
|
|
21087
22824
|
"locationInModule": {
|
|
21088
22825
|
"filename": "src/terraform-asset.ts",
|
|
21089
|
-
"line":
|
|
22826
|
+
"line": 31
|
|
21090
22827
|
},
|
|
21091
22828
|
"name": "type",
|
|
21092
22829
|
"optional": true,
|
|
@@ -23465,7 +25202,7 @@
|
|
|
23465
25202
|
"kind": "class",
|
|
23466
25203
|
"locationInModule": {
|
|
23467
25204
|
"filename": "src/terraform-iterator.ts",
|
|
23468
|
-
"line":
|
|
25205
|
+
"line": 67
|
|
23469
25206
|
},
|
|
23470
25207
|
"methods": [
|
|
23471
25208
|
{
|
|
@@ -23477,7 +25214,7 @@
|
|
|
23477
25214
|
},
|
|
23478
25215
|
"locationInModule": {
|
|
23479
25216
|
"filename": "src/terraform-iterator.ts",
|
|
23480
|
-
"line":
|
|
25217
|
+
"line": 122
|
|
23481
25218
|
},
|
|
23482
25219
|
"name": "fromComplexList",
|
|
23483
25220
|
"parameters": [
|
|
@@ -23536,7 +25273,7 @@
|
|
|
23536
25273
|
},
|
|
23537
25274
|
"locationInModule": {
|
|
23538
25275
|
"filename": "src/terraform-iterator.ts",
|
|
23539
|
-
"line":
|
|
25276
|
+
"line": 157
|
|
23540
25277
|
},
|
|
23541
25278
|
"name": "fromDataSources",
|
|
23542
25279
|
"parameters": [
|
|
@@ -23561,7 +25298,7 @@
|
|
|
23561
25298
|
},
|
|
23562
25299
|
"locationInModule": {
|
|
23563
25300
|
"filename": "src/terraform-iterator.ts",
|
|
23564
|
-
"line":
|
|
25301
|
+
"line": 87
|
|
23565
25302
|
},
|
|
23566
25303
|
"name": "fromList",
|
|
23567
25304
|
"parameters": [
|
|
@@ -23625,7 +25362,7 @@
|
|
|
23625
25362
|
},
|
|
23626
25363
|
"locationInModule": {
|
|
23627
25364
|
"filename": "src/terraform-iterator.ts",
|
|
23628
|
-
"line":
|
|
25365
|
+
"line": 132
|
|
23629
25366
|
},
|
|
23630
25367
|
"name": "fromMap",
|
|
23631
25368
|
"parameters": [
|
|
@@ -23688,7 +25425,7 @@
|
|
|
23688
25425
|
},
|
|
23689
25426
|
"locationInModule": {
|
|
23690
25427
|
"filename": "src/terraform-iterator.ts",
|
|
23691
|
-
"line":
|
|
25428
|
+
"line": 147
|
|
23692
25429
|
},
|
|
23693
25430
|
"name": "fromResources",
|
|
23694
25431
|
"parameters": [
|
|
@@ -23714,7 +25451,7 @@
|
|
|
23714
25451
|
},
|
|
23715
25452
|
"locationInModule": {
|
|
23716
25453
|
"filename": "src/terraform-iterator.ts",
|
|
23717
|
-
"line":
|
|
25454
|
+
"line": 304
|
|
23718
25455
|
},
|
|
23719
25456
|
"name": "dynamic",
|
|
23720
25457
|
"parameters": [
|
|
@@ -23744,7 +25481,7 @@
|
|
|
23744
25481
|
},
|
|
23745
25482
|
"locationInModule": {
|
|
23746
25483
|
"filename": "src/terraform-iterator.ts",
|
|
23747
|
-
"line":
|
|
25484
|
+
"line": 366
|
|
23748
25485
|
},
|
|
23749
25486
|
"name": "forExpressionForList",
|
|
23750
25487
|
"parameters": [
|
|
@@ -23781,7 +25518,7 @@
|
|
|
23781
25518
|
},
|
|
23782
25519
|
"locationInModule": {
|
|
23783
25520
|
"filename": "src/terraform-iterator.ts",
|
|
23784
|
-
"line":
|
|
25521
|
+
"line": 387
|
|
23785
25522
|
},
|
|
23786
25523
|
"name": "forExpressionForMap",
|
|
23787
25524
|
"parameters": [
|
|
@@ -23835,7 +25572,7 @@
|
|
|
23835
25572
|
},
|
|
23836
25573
|
"locationInModule": {
|
|
23837
25574
|
"filename": "src/terraform-iterator.ts",
|
|
23838
|
-
"line":
|
|
25575
|
+
"line": 191
|
|
23839
25576
|
},
|
|
23840
25577
|
"name": "getAny",
|
|
23841
25578
|
"parameters": [
|
|
@@ -23862,7 +25599,7 @@
|
|
|
23862
25599
|
},
|
|
23863
25600
|
"locationInModule": {
|
|
23864
25601
|
"filename": "src/terraform-iterator.ts",
|
|
23865
|
-
"line":
|
|
25602
|
+
"line": 247
|
|
23866
25603
|
},
|
|
23867
25604
|
"name": "getAnyMap",
|
|
23868
25605
|
"parameters": [
|
|
@@ -23894,7 +25631,7 @@
|
|
|
23894
25631
|
},
|
|
23895
25632
|
"locationInModule": {
|
|
23896
25633
|
"filename": "src/terraform-iterator.ts",
|
|
23897
|
-
"line":
|
|
25634
|
+
"line": 183
|
|
23898
25635
|
},
|
|
23899
25636
|
"name": "getBoolean",
|
|
23900
25637
|
"parameters": [
|
|
@@ -23921,7 +25658,7 @@
|
|
|
23921
25658
|
},
|
|
23922
25659
|
"locationInModule": {
|
|
23923
25660
|
"filename": "src/terraform-iterator.ts",
|
|
23924
|
-
"line":
|
|
25661
|
+
"line": 239
|
|
23925
25662
|
},
|
|
23926
25663
|
"name": "getBooleanMap",
|
|
23927
25664
|
"parameters": [
|
|
@@ -23953,7 +25690,7 @@
|
|
|
23953
25690
|
},
|
|
23954
25691
|
"locationInModule": {
|
|
23955
25692
|
"filename": "src/terraform-iterator.ts",
|
|
23956
|
-
"line":
|
|
25693
|
+
"line": 199
|
|
23957
25694
|
},
|
|
23958
25695
|
"name": "getList",
|
|
23959
25696
|
"parameters": [
|
|
@@ -23985,7 +25722,7 @@
|
|
|
23985
25722
|
},
|
|
23986
25723
|
"locationInModule": {
|
|
23987
25724
|
"filename": "src/terraform-iterator.ts",
|
|
23988
|
-
"line":
|
|
25725
|
+
"line": 215
|
|
23989
25726
|
},
|
|
23990
25727
|
"name": "getMap",
|
|
23991
25728
|
"parameters": [
|
|
@@ -24017,7 +25754,7 @@
|
|
|
24017
25754
|
},
|
|
24018
25755
|
"locationInModule": {
|
|
24019
25756
|
"filename": "src/terraform-iterator.ts",
|
|
24020
|
-
"line":
|
|
25757
|
+
"line": 175
|
|
24021
25758
|
},
|
|
24022
25759
|
"name": "getNumber",
|
|
24023
25760
|
"parameters": [
|
|
@@ -24044,7 +25781,7 @@
|
|
|
24044
25781
|
},
|
|
24045
25782
|
"locationInModule": {
|
|
24046
25783
|
"filename": "src/terraform-iterator.ts",
|
|
24047
|
-
"line":
|
|
25784
|
+
"line": 207
|
|
24048
25785
|
},
|
|
24049
25786
|
"name": "getNumberList",
|
|
24050
25787
|
"parameters": [
|
|
@@ -24076,7 +25813,7 @@
|
|
|
24076
25813
|
},
|
|
24077
25814
|
"locationInModule": {
|
|
24078
25815
|
"filename": "src/terraform-iterator.ts",
|
|
24079
|
-
"line":
|
|
25816
|
+
"line": 231
|
|
24080
25817
|
},
|
|
24081
25818
|
"name": "getNumberMap",
|
|
24082
25819
|
"parameters": [
|
|
@@ -24108,7 +25845,7 @@
|
|
|
24108
25845
|
},
|
|
24109
25846
|
"locationInModule": {
|
|
24110
25847
|
"filename": "src/terraform-iterator.ts",
|
|
24111
|
-
"line":
|
|
25848
|
+
"line": 167
|
|
24112
25849
|
},
|
|
24113
25850
|
"name": "getString",
|
|
24114
25851
|
"parameters": [
|
|
@@ -24135,7 +25872,7 @@
|
|
|
24135
25872
|
},
|
|
24136
25873
|
"locationInModule": {
|
|
24137
25874
|
"filename": "src/terraform-iterator.ts",
|
|
24138
|
-
"line":
|
|
25875
|
+
"line": 223
|
|
24139
25876
|
},
|
|
24140
25877
|
"name": "getStringMap",
|
|
24141
25878
|
"parameters": [
|
|
@@ -24168,7 +25905,7 @@
|
|
|
24168
25905
|
},
|
|
24169
25906
|
"locationInModule": {
|
|
24170
25907
|
"filename": "src/terraform-iterator.ts",
|
|
24171
|
-
"line":
|
|
25908
|
+
"line": 319
|
|
24172
25909
|
},
|
|
24173
25910
|
"name": "keys",
|
|
24174
25911
|
"returns": {
|
|
@@ -24185,7 +25922,7 @@
|
|
|
24185
25922
|
},
|
|
24186
25923
|
"locationInModule": {
|
|
24187
25924
|
"filename": "src/terraform-iterator.ts",
|
|
24188
|
-
"line":
|
|
25925
|
+
"line": 343
|
|
24189
25926
|
},
|
|
24190
25927
|
"name": "pluckProperty",
|
|
24191
25928
|
"parameters": [
|
|
@@ -24213,7 +25950,7 @@
|
|
|
24213
25950
|
},
|
|
24214
25951
|
"locationInModule": {
|
|
24215
25952
|
"filename": "src/terraform-iterator.ts",
|
|
24216
|
-
"line":
|
|
25953
|
+
"line": 331
|
|
24217
25954
|
},
|
|
24218
25955
|
"name": "values",
|
|
24219
25956
|
"returns": {
|
|
@@ -26328,7 +28065,7 @@
|
|
|
26328
28065
|
},
|
|
26329
28066
|
"locationInModule": {
|
|
26330
28067
|
"filename": "src/terraform-resource.ts",
|
|
26331
|
-
"line":
|
|
28068
|
+
"line": 561
|
|
26332
28069
|
},
|
|
26333
28070
|
"name": "addMoveTarget",
|
|
26334
28071
|
"parameters": [
|
|
@@ -26688,7 +28425,7 @@
|
|
|
26688
28425
|
},
|
|
26689
28426
|
"locationInModule": {
|
|
26690
28427
|
"filename": "src/terraform-resource.ts",
|
|
26691
|
-
"line":
|
|
28428
|
+
"line": 592
|
|
26692
28429
|
},
|
|
26693
28430
|
"name": "moveFromId",
|
|
26694
28431
|
"parameters": [
|
|
@@ -26710,7 +28447,7 @@
|
|
|
26710
28447
|
},
|
|
26711
28448
|
"locationInModule": {
|
|
26712
28449
|
"filename": "src/terraform-resource.ts",
|
|
26713
|
-
"line":
|
|
28450
|
+
"line": 545
|
|
26714
28451
|
},
|
|
26715
28452
|
"name": "moveTo",
|
|
26716
28453
|
"parameters": [
|
|
@@ -26751,7 +28488,7 @@
|
|
|
26751
28488
|
},
|
|
26752
28489
|
"locationInModule": {
|
|
26753
28490
|
"filename": "src/terraform-resource.ts",
|
|
26754
|
-
"line":
|
|
28491
|
+
"line": 569
|
|
26755
28492
|
},
|
|
26756
28493
|
"name": "moveToId",
|
|
26757
28494
|
"parameters": [
|
|
@@ -29944,7 +31681,7 @@
|
|
|
29944
31681
|
"kind": "class",
|
|
29945
31682
|
"locationInModule": {
|
|
29946
31683
|
"filename": "src/tokens/string-fragments.ts",
|
|
29947
|
-
"line":
|
|
31684
|
+
"line": 27
|
|
29948
31685
|
},
|
|
29949
31686
|
"methods": [
|
|
29950
31687
|
{
|
|
@@ -29953,7 +31690,7 @@
|
|
|
29953
31690
|
},
|
|
29954
31691
|
"locationInModule": {
|
|
29955
31692
|
"filename": "src/tokens/string-fragments.ts",
|
|
29956
|
-
"line":
|
|
31693
|
+
"line": 82
|
|
29957
31694
|
},
|
|
29958
31695
|
"name": "addEscape",
|
|
29959
31696
|
"parameters": [
|
|
@@ -29972,7 +31709,7 @@
|
|
|
29972
31709
|
},
|
|
29973
31710
|
"locationInModule": {
|
|
29974
31711
|
"filename": "src/tokens/string-fragments.ts",
|
|
29975
|
-
"line":
|
|
31712
|
+
"line": 78
|
|
29976
31713
|
},
|
|
29977
31714
|
"name": "addIntrinsic",
|
|
29978
31715
|
"parameters": [
|
|
@@ -29994,7 +31731,7 @@
|
|
|
29994
31731
|
},
|
|
29995
31732
|
"locationInModule": {
|
|
29996
31733
|
"filename": "src/tokens/string-fragments.ts",
|
|
29997
|
-
"line":
|
|
31734
|
+
"line": 62
|
|
29998
31735
|
},
|
|
29999
31736
|
"name": "addLiteral",
|
|
30000
31737
|
"parameters": [
|
|
@@ -30016,7 +31753,7 @@
|
|
|
30016
31753
|
},
|
|
30017
31754
|
"locationInModule": {
|
|
30018
31755
|
"filename": "src/tokens/string-fragments.ts",
|
|
30019
|
-
"line":
|
|
31756
|
+
"line": 70
|
|
30020
31757
|
},
|
|
30021
31758
|
"name": "addToken",
|
|
30022
31759
|
"parameters": [
|
|
@@ -30037,7 +31774,7 @@
|
|
|
30037
31774
|
},
|
|
30038
31775
|
"locationInModule": {
|
|
30039
31776
|
"filename": "src/tokens/string-fragments.ts",
|
|
30040
|
-
"line":
|
|
31777
|
+
"line": 86
|
|
30041
31778
|
},
|
|
30042
31779
|
"name": "concat",
|
|
30043
31780
|
"parameters": [
|
|
@@ -30057,7 +31794,7 @@
|
|
|
30057
31794
|
},
|
|
30058
31795
|
"locationInModule": {
|
|
30059
31796
|
"filename": "src/tokens/string-fragments.ts",
|
|
30060
|
-
"line":
|
|
31797
|
+
"line": 191
|
|
30061
31798
|
},
|
|
30062
31799
|
"name": "join",
|
|
30063
31800
|
"parameters": [
|
|
@@ -30081,7 +31818,7 @@
|
|
|
30081
31818
|
},
|
|
30082
31819
|
"locationInModule": {
|
|
30083
31820
|
"filename": "src/tokens/string-fragments.ts",
|
|
30084
|
-
"line":
|
|
31821
|
+
"line": 146
|
|
30085
31822
|
},
|
|
30086
31823
|
"name": "mapTokens",
|
|
30087
31824
|
"parameters": [
|
|
@@ -30109,7 +31846,7 @@
|
|
|
30109
31846
|
"immutable": true,
|
|
30110
31847
|
"locationInModule": {
|
|
30111
31848
|
"filename": "src/tokens/string-fragments.ts",
|
|
30112
|
-
"line":
|
|
31849
|
+
"line": 132
|
|
30113
31850
|
},
|
|
30114
31851
|
"name": "escapes",
|
|
30115
31852
|
"type": {
|
|
@@ -30129,7 +31866,7 @@
|
|
|
30129
31866
|
"immutable": true,
|
|
30130
31867
|
"locationInModule": {
|
|
30131
31868
|
"filename": "src/tokens/string-fragments.ts",
|
|
30132
|
-
"line":
|
|
31869
|
+
"line": 47
|
|
30133
31870
|
},
|
|
30134
31871
|
"name": "firstValue",
|
|
30135
31872
|
"type": {
|
|
@@ -30144,7 +31881,7 @@
|
|
|
30144
31881
|
"immutable": true,
|
|
30145
31882
|
"locationInModule": {
|
|
30146
31883
|
"filename": "src/tokens/string-fragments.ts",
|
|
30147
|
-
"line":
|
|
31884
|
+
"line": 119
|
|
30148
31885
|
},
|
|
30149
31886
|
"name": "intrinsic",
|
|
30150
31887
|
"type": {
|
|
@@ -30164,7 +31901,7 @@
|
|
|
30164
31901
|
"immutable": true,
|
|
30165
31902
|
"locationInModule": {
|
|
30166
31903
|
"filename": "src/tokens/string-fragments.ts",
|
|
30167
|
-
"line":
|
|
31904
|
+
"line": 54
|
|
30168
31905
|
},
|
|
30169
31906
|
"name": "length",
|
|
30170
31907
|
"type": {
|
|
@@ -30179,7 +31916,7 @@
|
|
|
30179
31916
|
"immutable": true,
|
|
30180
31917
|
"locationInModule": {
|
|
30181
31918
|
"filename": "src/tokens/string-fragments.ts",
|
|
30182
|
-
"line":
|
|
31919
|
+
"line": 106
|
|
30183
31920
|
},
|
|
30184
31921
|
"name": "literals",
|
|
30185
31922
|
"type": {
|
|
@@ -30199,7 +31936,7 @@
|
|
|
30199
31936
|
"immutable": true,
|
|
30200
31937
|
"locationInModule": {
|
|
30201
31938
|
"filename": "src/tokens/string-fragments.ts",
|
|
30202
|
-
"line":
|
|
31939
|
+
"line": 93
|
|
30203
31940
|
},
|
|
30204
31941
|
"name": "tokens",
|
|
30205
31942
|
"type": {
|
|
@@ -30219,7 +31956,7 @@
|
|
|
30219
31956
|
"immutable": true,
|
|
30220
31957
|
"locationInModule": {
|
|
30221
31958
|
"filename": "src/tokens/string-fragments.ts",
|
|
30222
|
-
"line":
|
|
31959
|
+
"line": 36
|
|
30223
31960
|
},
|
|
30224
31961
|
"name": "firstToken",
|
|
30225
31962
|
"optional": true,
|
|
@@ -30852,32 +32589,25 @@
|
|
|
30852
32589
|
"assembly": "cdktn",
|
|
30853
32590
|
"docs": {
|
|
30854
32591
|
"stability": "experimental",
|
|
30855
|
-
"summary": "
|
|
32592
|
+
"summary": "The result of a testing matcher assertion."
|
|
30856
32593
|
},
|
|
30857
32594
|
"fqn": "cdktn.testingMatchers.AssertionReturn",
|
|
30858
32595
|
"initializer": {
|
|
30859
32596
|
"docs": {
|
|
30860
|
-
"stability": "experimental"
|
|
30861
|
-
"summary": "Create an AssertionReturn."
|
|
32597
|
+
"stability": "experimental"
|
|
30862
32598
|
},
|
|
30863
32599
|
"locationInModule": {
|
|
30864
32600
|
"filename": "src/testing/matchers.ts",
|
|
30865
|
-
"line":
|
|
32601
|
+
"line": 29
|
|
30866
32602
|
},
|
|
30867
32603
|
"parameters": [
|
|
30868
32604
|
{
|
|
30869
|
-
"docs": {
|
|
30870
|
-
"summary": "- String message containing information about the result of the assertion."
|
|
30871
|
-
},
|
|
30872
32605
|
"name": "message",
|
|
30873
32606
|
"type": {
|
|
30874
32607
|
"primitive": "string"
|
|
30875
32608
|
}
|
|
30876
32609
|
},
|
|
30877
32610
|
{
|
|
30878
|
-
"docs": {
|
|
30879
|
-
"summary": "- Boolean pass denoting the success of the assertion."
|
|
30880
|
-
},
|
|
30881
32611
|
"name": "pass",
|
|
30882
32612
|
"type": {
|
|
30883
32613
|
"primitive": "boolean"
|
|
@@ -30888,20 +32618,19 @@
|
|
|
30888
32618
|
"kind": "class",
|
|
30889
32619
|
"locationInModule": {
|
|
30890
32620
|
"filename": "src/testing/matchers.ts",
|
|
30891
|
-
"line":
|
|
32621
|
+
"line": 28
|
|
30892
32622
|
},
|
|
30893
32623
|
"name": "AssertionReturn",
|
|
30894
32624
|
"namespace": "testingMatchers",
|
|
30895
32625
|
"properties": [
|
|
30896
32626
|
{
|
|
30897
32627
|
"docs": {
|
|
30898
|
-
"stability": "experimental"
|
|
30899
|
-
"summary": "- String message containing information about the result of the assertion."
|
|
32628
|
+
"stability": "experimental"
|
|
30900
32629
|
},
|
|
30901
32630
|
"immutable": true,
|
|
30902
32631
|
"locationInModule": {
|
|
30903
32632
|
"filename": "src/testing/matchers.ts",
|
|
30904
|
-
"line":
|
|
32633
|
+
"line": 30
|
|
30905
32634
|
},
|
|
30906
32635
|
"name": "message",
|
|
30907
32636
|
"type": {
|
|
@@ -30910,13 +32639,12 @@
|
|
|
30910
32639
|
},
|
|
30911
32640
|
{
|
|
30912
32641
|
"docs": {
|
|
30913
|
-
"stability": "experimental"
|
|
30914
|
-
"summary": "- Boolean pass denoting the success of the assertion."
|
|
32642
|
+
"stability": "experimental"
|
|
30915
32643
|
},
|
|
30916
32644
|
"immutable": true,
|
|
30917
32645
|
"locationInModule": {
|
|
30918
32646
|
"filename": "src/testing/matchers.ts",
|
|
30919
|
-
"line":
|
|
32647
|
+
"line": 31
|
|
30920
32648
|
},
|
|
30921
32649
|
"name": "pass",
|
|
30922
32650
|
"type": {
|
|
@@ -30936,7 +32664,7 @@
|
|
|
30936
32664
|
"kind": "interface",
|
|
30937
32665
|
"locationInModule": {
|
|
30938
32666
|
"filename": "src/testing/matchers.ts",
|
|
30939
|
-
"line":
|
|
32667
|
+
"line": 15
|
|
30940
32668
|
},
|
|
30941
32669
|
"name": "TerraformConstructor",
|
|
30942
32670
|
"namespace": "testingMatchers",
|
|
@@ -30949,7 +32677,7 @@
|
|
|
30949
32677
|
"immutable": true,
|
|
30950
32678
|
"locationInModule": {
|
|
30951
32679
|
"filename": "src/testing/matchers.ts",
|
|
30952
|
-
"line":
|
|
32680
|
+
"line": 16
|
|
30953
32681
|
},
|
|
30954
32682
|
"name": "tfResourceType",
|
|
30955
32683
|
"type": {
|
|
@@ -30958,8 +32686,45 @@
|
|
|
30958
32686
|
}
|
|
30959
32687
|
],
|
|
30960
32688
|
"symbolId": "src/testing/matchers:TerraformConstructor"
|
|
32689
|
+
},
|
|
32690
|
+
"cdktn.testingMatchers.ToPlanSuccessfullyOptions": {
|
|
32691
|
+
"assembly": "cdktn",
|
|
32692
|
+
"datatype": true,
|
|
32693
|
+
"docs": {
|
|
32694
|
+
"stability": "experimental"
|
|
32695
|
+
},
|
|
32696
|
+
"fqn": "cdktn.testingMatchers.ToPlanSuccessfullyOptions",
|
|
32697
|
+
"kind": "interface",
|
|
32698
|
+
"locationInModule": {
|
|
32699
|
+
"filename": "src/testing/matchers.ts",
|
|
32700
|
+
"line": 600
|
|
32701
|
+
},
|
|
32702
|
+
"name": "ToPlanSuccessfullyOptions",
|
|
32703
|
+
"namespace": "testingMatchers",
|
|
32704
|
+
"properties": [
|
|
32705
|
+
{
|
|
32706
|
+
"abstract": true,
|
|
32707
|
+
"docs": {
|
|
32708
|
+
"default": "true",
|
|
32709
|
+
"remarks": "Disable this for stacks whose\nbackend (e.g. s3, remote) is not reachable in the test environment and whose plan does not\ndepend on existing state.",
|
|
32710
|
+
"stability": "experimental",
|
|
32711
|
+
"summary": "Whether `init`/`plan` should use the stack's real backend."
|
|
32712
|
+
},
|
|
32713
|
+
"immutable": true,
|
|
32714
|
+
"locationInModule": {
|
|
32715
|
+
"filename": "src/testing/matchers.ts",
|
|
32716
|
+
"line": 607
|
|
32717
|
+
},
|
|
32718
|
+
"name": "backend",
|
|
32719
|
+
"optional": true,
|
|
32720
|
+
"type": {
|
|
32721
|
+
"primitive": "boolean"
|
|
32722
|
+
}
|
|
32723
|
+
}
|
|
32724
|
+
],
|
|
32725
|
+
"symbolId": "src/testing/matchers:ToPlanSuccessfullyOptions"
|
|
30961
32726
|
}
|
|
30962
32727
|
},
|
|
30963
|
-
"version": "0.25.0-pre.
|
|
30964
|
-
"fingerprint": "
|
|
32728
|
+
"version": "0.25.0-pre.60",
|
|
32729
|
+
"fingerprint": "8P1OmUCrq03GkRkHn+U9J4YUZa7aXhO3OUdHe7ca4FI="
|
|
30965
32730
|
}
|