@aws-cdk/cloud-assembly-schema 1.157.0 → 1.160.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "bundled": {
11
- "jsonschema": "^1.4.0",
11
+ "jsonschema": "^1.4.1",
12
12
  "semver": "^7.3.7"
13
13
  },
14
14
  "description": "Cloud Assembly Schema",
@@ -16,7 +16,7 @@
16
16
  "stability": "stable"
17
17
  },
18
18
  "homepage": "https://github.com/aws/aws-cdk",
19
- "jsiiVersion": "1.58.0 (build f8ba112)",
19
+ "jsiiVersion": "1.60.0 (build ebcefe6)",
20
20
  "keywords": [
21
21
  "aws",
22
22
  "cdk"
@@ -359,7 +359,7 @@
359
359
  "kind": "enum",
360
360
  "locationInModule": {
361
361
  "filename": "lib/cloud-assembly/metadata-schema.ts",
362
- "line": 176
362
+ "line": 183
363
363
  },
364
364
  "members": [
365
365
  {
@@ -569,7 +569,7 @@
569
569
  "docs": {
570
570
  "stability": "stable",
571
571
  "summary": "Definitions for the asset manifest.",
572
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst assetManifest: cloud_assembly_schema.AssetManifest = {\n version: 'version',\n\n // the properties below are optional\n dockerImages: {\n dockerImagesKey: {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n },\n },\n },\n files: {\n filesKey: {\n destinations: {\n destinationsKey: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n executable: ['executable'],\n packaging: cloud_assembly_schema.FileAssetPackaging.FILE,\n path: 'path',\n },\n },\n },\n};",
572
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst assetManifest: cloud_assembly_schema.AssetManifest = {\n version: 'version',\n\n // the properties below are optional\n dockerImages: {\n dockerImagesKey: {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n platform: 'platform',\n },\n },\n },\n files: {\n filesKey: {\n destinations: {\n destinationsKey: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n executable: ['executable'],\n packaging: cloud_assembly_schema.FileAssetPackaging.FILE,\n path: 'path',\n },\n },\n },\n};",
573
573
  "custom": {
574
574
  "exampleMetadata": "fixture=_generated"
575
575
  }
@@ -1367,7 +1367,7 @@
1367
1367
  "docs": {
1368
1368
  "stability": "stable",
1369
1369
  "summary": "Metadata Entry spec for container images.",
1370
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst containerImageAssetMetadataEntry: cloud_assembly_schema.ContainerImageAssetMetadataEntry = {\n id: 'id',\n packaging: 'packaging',\n path: 'path',\n sourceHash: 'sourceHash',\n\n // the properties below are optional\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n file: 'file',\n imageNameParameter: 'imageNameParameter',\n imageTag: 'imageTag',\n networkMode: 'networkMode',\n repositoryName: 'repositoryName',\n target: 'target',\n};",
1370
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst containerImageAssetMetadataEntry: cloud_assembly_schema.ContainerImageAssetMetadataEntry = {\n id: 'id',\n packaging: 'packaging',\n path: 'path',\n sourceHash: 'sourceHash',\n\n // the properties below are optional\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n file: 'file',\n imageNameParameter: 'imageNameParameter',\n imageTag: 'imageTag',\n networkMode: 'networkMode',\n platform: 'platform',\n repositoryName: 'repositoryName',\n target: 'target',\n};",
1371
1371
  "custom": {
1372
1372
  "exampleMetadata": "fixture=_generated"
1373
1373
  }
@@ -1541,6 +1541,25 @@
1541
1541
  "primitive": "string"
1542
1542
  }
1543
1543
  },
1544
+ {
1545
+ "abstract": true,
1546
+ "docs": {
1547
+ "default": "- current machine platform",
1548
+ "remarks": "_Requires Docker Buildx_.",
1549
+ "stability": "stable",
1550
+ "summary": "Platform to build for."
1551
+ },
1552
+ "immutable": true,
1553
+ "locationInModule": {
1554
+ "filename": "lib/cloud-assembly/metadata-schema.ts",
1555
+ "line": 147
1556
+ },
1557
+ "name": "platform",
1558
+ "optional": true,
1559
+ "type": {
1560
+ "primitive": "string"
1561
+ }
1562
+ },
1544
1563
  {
1545
1564
  "abstract": true,
1546
1565
  "docs": {
@@ -2555,7 +2574,7 @@
2555
2574
  "docs": {
2556
2575
  "stability": "stable",
2557
2576
  "summary": "A file asset.",
2558
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst dockerImageAsset: cloud_assembly_schema.DockerImageAsset = {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n },\n};",
2577
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst dockerImageAsset: cloud_assembly_schema.DockerImageAsset = {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n platform: 'platform',\n },\n};",
2559
2578
  "custom": {
2560
2579
  "exampleMetadata": "fixture=_generated"
2561
2580
  }
@@ -2626,7 +2645,7 @@
2626
2645
  "kind": "interface",
2627
2646
  "locationInModule": {
2628
2647
  "filename": "lib/assets/docker-image-asset.ts",
2629
- "line": 79
2648
+ "line": 88
2630
2649
  },
2631
2650
  "name": "DockerImageDestination",
2632
2651
  "properties": [
@@ -2639,7 +2658,7 @@
2639
2658
  "immutable": true,
2640
2659
  "locationInModule": {
2641
2660
  "filename": "lib/assets/docker-image-asset.ts",
2642
- "line": 88
2661
+ "line": 97
2643
2662
  },
2644
2663
  "name": "imageTag",
2645
2664
  "type": {
@@ -2655,7 +2674,7 @@
2655
2674
  "immutable": true,
2656
2675
  "locationInModule": {
2657
2676
  "filename": "lib/assets/docker-image-asset.ts",
2658
- "line": 83
2677
+ "line": 92
2659
2678
  },
2660
2679
  "name": "repositoryName",
2661
2680
  "type": {
@@ -2671,7 +2690,7 @@
2671
2690
  "docs": {
2672
2691
  "stability": "stable",
2673
2692
  "summary": "Properties for how to produce a Docker image from a source.",
2674
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst dockerImageSource: cloud_assembly_schema.DockerImageSource = {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n};",
2693
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst dockerImageSource: cloud_assembly_schema.DockerImageSource = {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n platform: 'platform',\n};",
2675
2694
  "custom": {
2676
2695
  "exampleMetadata": "fixture=_generated"
2677
2696
  }
@@ -2806,6 +2825,25 @@
2806
2825
  "type": {
2807
2826
  "primitive": "string"
2808
2827
  }
2828
+ },
2829
+ {
2830
+ "abstract": true,
2831
+ "docs": {
2832
+ "default": "- current machine platform",
2833
+ "remarks": "Specify this property to build images on a specific platform/architecture.",
2834
+ "stability": "stable",
2835
+ "summary": "Platform to build for. _Requires Docker Buildx_."
2836
+ },
2837
+ "immutable": true,
2838
+ "locationInModule": {
2839
+ "filename": "lib/assets/docker-image-asset.ts",
2840
+ "line": 82
2841
+ },
2842
+ "name": "platform",
2843
+ "optional": true,
2844
+ "type": {
2845
+ "primitive": "string"
2846
+ }
2809
2847
  }
2810
2848
  ],
2811
2849
  "symbolId": "lib/assets/docker-image-asset:DockerImageSource"
@@ -4413,7 +4451,7 @@
4413
4451
  "kind": "interface",
4414
4452
  "locationInModule": {
4415
4453
  "filename": "lib/cloud-assembly/metadata-schema.ts",
4416
- "line": 211
4454
+ "line": 218
4417
4455
  },
4418
4456
  "name": "MetadataEntry",
4419
4457
  "properties": [
@@ -4426,7 +4464,7 @@
4426
4464
  "immutable": true,
4427
4465
  "locationInModule": {
4428
4466
  "filename": "lib/cloud-assembly/metadata-schema.ts",
4429
- "line": 215
4467
+ "line": 222
4430
4468
  },
4431
4469
  "name": "type",
4432
4470
  "type": {
@@ -4443,7 +4481,7 @@
4443
4481
  "immutable": true,
4444
4482
  "locationInModule": {
4445
4483
  "filename": "lib/cloud-assembly/metadata-schema.ts",
4446
- "line": 222
4484
+ "line": 229
4447
4485
  },
4448
4486
  "name": "data",
4449
4487
  "optional": true,
@@ -4481,7 +4519,7 @@
4481
4519
  "immutable": true,
4482
4520
  "locationInModule": {
4483
4521
  "filename": "lib/cloud-assembly/metadata-schema.ts",
4484
- "line": 229
4522
+ "line": 236
4485
4523
  },
4486
4524
  "name": "trace",
4487
4525
  "optional": true,
@@ -5431,6 +5469,6 @@
5431
5469
  "symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
5432
5470
  }
5433
5471
  },
5434
- "version": "1.157.0",
5472
+ "version": "1.160.0",
5435
5473
  "fingerprint": "**********"
5436
5474
  }