@aws-cdk/cloud-assembly-schema 1.143.0 → 1.146.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 +163 -77
- package/.jsii.tabl.json +95 -45
- package/.warnings.jsii.js +13 -11
- package/CONTRIBUTING.md +1 -1
- package/lib/assets/aws-destination.d.ts +4 -9
- package/lib/assets/aws-destination.js +1 -1
- package/lib/assets/docker-image-asset.d.ts +20 -30
- package/lib/assets/docker-image-asset.js +1 -1
- package/lib/assets/file-asset.d.ts +12 -35
- package/lib/assets/file-asset.js +8 -4
- package/lib/assets/schema.d.ts +4 -10
- package/lib/assets/schema.js +1 -1
- package/lib/cloud-assembly/artifact-schema.d.ts +30 -67
- package/lib/cloud-assembly/artifact-schema.js +1 -1
- package/lib/cloud-assembly/context-queries.d.ts +106 -231
- package/lib/cloud-assembly/context-queries.js +62 -10
- package/lib/cloud-assembly/metadata-schema.d.ts +19 -66
- package/lib/cloud-assembly/metadata-schema.js +19 -3
- package/lib/cloud-assembly/schema.d.ts +6 -50
- package/lib/cloud-assembly/schema.js +16 -3
- package/lib/manifest.d.ts +2 -12
- package/lib/manifest.js +4 -14
- package/package.json +5 -5
- package/schema/assets.schema.json +4 -0
- package/schema/cloud-assembly.schema.json +22 -0
- package/schema/cloud-assembly.version.json +1 -1
package/.jsii.tabl.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.54.0",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"cecc4b6be0cf4accc3e46f1670579b731439bd3e3b6efffdbd431eb0130d724c": {
|
|
6
6
|
"translations": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"281": 29,
|
|
109
109
|
"290": 1
|
|
110
110
|
},
|
|
111
|
-
"fqnsFingerprint": "
|
|
111
|
+
"fqnsFingerprint": "a8b47472c8757ec7b1e584f2bfd85ad8e87afde70769323b70dbed3823e90150"
|
|
112
112
|
},
|
|
113
113
|
"51b9f560219f00280c95ce85c64fec1e95f59ed1de150b9a0323d891c0d9870c": {
|
|
114
114
|
"translations": {
|
|
@@ -169,24 +169,24 @@
|
|
|
169
169
|
"281": 45,
|
|
170
170
|
"290": 1
|
|
171
171
|
},
|
|
172
|
-
"fqnsFingerprint": "
|
|
172
|
+
"fqnsFingerprint": "4516a1c6237b5b9f8bff36e346080d4641352277019b903283b7cc1337e12a34"
|
|
173
173
|
},
|
|
174
|
-
"
|
|
174
|
+
"6df1b98937a707781cf94ec9a6b0757a31a1f33fc71d2562322f714d5f10d2b3": {
|
|
175
175
|
"translations": {
|
|
176
176
|
"python": {
|
|
177
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\nasset_manifest = cloud_assembly_schema.AssetManifest(\n version=\"version\",\n\n # the properties below are optional\n docker_images={\n \"docker_images_key\": cloud_assembly_schema.DockerImageAsset(\n destinations={\n \"destinations_key\": cloud_assembly_schema.DockerImageDestination(\n image_tag=\"imageTag\",\n repository_name=\"repositoryName\",\n\n # the properties below are optional\n assume_role_arn=\"assumeRoleArn\",\n assume_role_external_id=\"assumeRoleExternalId\",\n region=\"region\"\n )\n },\n source=cloud_assembly_schema.DockerImageSource(\n directory=\"directory\",\n docker_build_args={\n \"docker_build_args_key\": \"dockerBuildArgs\"\n },\n docker_build_target=\"dockerBuildTarget\",\n docker_file=\"dockerFile\",\n executable=[\"executable\"]\n )\n )\n },\n files={\n \"files_key\": cloud_assembly_schema.FileAsset(\n destinations={\n \"destinations_key\": cloud_assembly_schema.FileDestination(\n bucket_name=\"bucketName\",\n object_key=\"objectKey\",\n\n # the properties below are optional\n assume_role_arn=\"assumeRoleArn\",\n assume_role_external_id=\"assumeRoleExternalId\",\n region=\"region\"\n )\n },\n source=cloud_assembly_schema.FileSource(\n executable=[\"executable\"],\n packaging=cloud_assembly_schema.FileAssetPackaging.FILE,\n path=\"path\"\n )\n )\n }\n)",
|
|
177
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\nasset_manifest = cloud_assembly_schema.AssetManifest(\n version=\"version\",\n\n # the properties below are optional\n docker_images={\n \"docker_images_key\": cloud_assembly_schema.DockerImageAsset(\n destinations={\n \"destinations_key\": cloud_assembly_schema.DockerImageDestination(\n image_tag=\"imageTag\",\n repository_name=\"repositoryName\",\n\n # the properties below are optional\n assume_role_arn=\"assumeRoleArn\",\n assume_role_external_id=\"assumeRoleExternalId\",\n region=\"region\"\n )\n },\n source=cloud_assembly_schema.DockerImageSource(\n directory=\"directory\",\n docker_build_args={\n \"docker_build_args_key\": \"dockerBuildArgs\"\n },\n docker_build_target=\"dockerBuildTarget\",\n docker_file=\"dockerFile\",\n executable=[\"executable\"],\n network_mode=\"networkMode\"\n )\n )\n },\n files={\n \"files_key\": cloud_assembly_schema.FileAsset(\n destinations={\n \"destinations_key\": cloud_assembly_schema.FileDestination(\n bucket_name=\"bucketName\",\n object_key=\"objectKey\",\n\n # the properties below are optional\n assume_role_arn=\"assumeRoleArn\",\n assume_role_external_id=\"assumeRoleExternalId\",\n region=\"region\"\n )\n },\n source=cloud_assembly_schema.FileSource(\n executable=[\"executable\"],\n packaging=cloud_assembly_schema.FileAssetPackaging.FILE,\n path=\"path\"\n )\n )\n }\n)",
|
|
178
178
|
"version": "2"
|
|
179
179
|
},
|
|
180
180
|
"csharp": {
|
|
181
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nAssetManifest assetManifest = new AssetManifest {\n Version = \"version\",\n\n // the properties below are optional\n DockerImages = new Dictionary<string, DockerImageAsset> {\n { \"dockerImagesKey\", new DockerImageAsset {\n Destinations = new Dictionary<string, DockerImageDestination> {\n { \"destinationsKey\", new DockerImageDestination {\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 = new DockerImageSource {\n Directory = \"directory\",\n DockerBuildArgs = new Dictionary<string, string> {\n { \"dockerBuildArgsKey\", \"dockerBuildArgs\" }\n },\n DockerBuildTarget = \"dockerBuildTarget\",\n DockerFile = \"dockerFile\",\n Executable = new [] { \"executable\" }\n }\n } }\n },\n Files = new Dictionary<string, FileAsset> {\n { \"filesKey\", new FileAsset {\n Destinations = new Dictionary<string, FileDestination> {\n { \"destinationsKey\", new FileDestination {\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 = new FileSource {\n Executable = new [] { \"executable\" },\n Packaging = FileAssetPackaging.FILE,\n Path = \"path\"\n }\n } }\n }\n};",
|
|
181
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nAssetManifest assetManifest = new AssetManifest {\n Version = \"version\",\n\n // the properties below are optional\n DockerImages = new Dictionary<string, DockerImageAsset> {\n { \"dockerImagesKey\", new DockerImageAsset {\n Destinations = new Dictionary<string, DockerImageDestination> {\n { \"destinationsKey\", new DockerImageDestination {\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 = new DockerImageSource {\n Directory = \"directory\",\n DockerBuildArgs = new Dictionary<string, string> {\n { \"dockerBuildArgsKey\", \"dockerBuildArgs\" }\n },\n DockerBuildTarget = \"dockerBuildTarget\",\n DockerFile = \"dockerFile\",\n Executable = new [] { \"executable\" },\n NetworkMode = \"networkMode\"\n }\n } }\n },\n Files = new Dictionary<string, FileAsset> {\n { \"filesKey\", new FileAsset {\n Destinations = new Dictionary<string, FileDestination> {\n { \"destinationsKey\", new FileDestination {\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 = new FileSource {\n Executable = new [] { \"executable\" },\n Packaging = FileAssetPackaging.FILE,\n Path = \"path\"\n }\n } }\n }\n};",
|
|
182
182
|
"version": "1"
|
|
183
183
|
},
|
|
184
184
|
"java": {
|
|
185
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nAssetManifest assetManifest = AssetManifest.builder()\n .version(\"version\")\n\n // the properties below are optional\n .dockerImages(Map.of(\n \"dockerImagesKey\", DockerImageAsset.builder()\n .destinations(Map.of(\n \"destinationsKey\", DockerImageDestination.builder()\n .imageTag(\"imageTag\")\n .repositoryName(\"repositoryName\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build()))\n .source(DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .build())\n .build()))\n .files(Map.of(\n \"filesKey\", FileAsset.builder()\n .destinations(Map.of(\n \"destinationsKey\", FileDestination.builder()\n .bucketName(\"bucketName\")\n .objectKey(\"objectKey\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build()))\n .source(FileSource.builder()\n .executable(List.of(\"executable\"))\n .packaging(FileAssetPackaging.FILE)\n .path(\"path\")\n .build())\n .build()))\n .build();",
|
|
185
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nAssetManifest assetManifest = AssetManifest.builder()\n .version(\"version\")\n\n // the properties below are optional\n .dockerImages(Map.of(\n \"dockerImagesKey\", DockerImageAsset.builder()\n .destinations(Map.of(\n \"destinationsKey\", DockerImageDestination.builder()\n .imageTag(\"imageTag\")\n .repositoryName(\"repositoryName\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build()))\n .source(DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .networkMode(\"networkMode\")\n .build())\n .build()))\n .files(Map.of(\n \"filesKey\", FileAsset.builder()\n .destinations(Map.of(\n \"destinationsKey\", FileDestination.builder()\n .bucketName(\"bucketName\")\n .objectKey(\"objectKey\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build()))\n .source(FileSource.builder()\n .executable(List.of(\"executable\"))\n .packaging(FileAssetPackaging.FILE)\n .path(\"path\")\n .build())\n .build()))\n .build();",
|
|
186
186
|
"version": "1"
|
|
187
187
|
},
|
|
188
188
|
"$": {
|
|
189
|
-
"source": "// 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 },\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};",
|
|
189
|
+
"source": "// 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};",
|
|
190
190
|
"version": "0"
|
|
191
191
|
}
|
|
192
192
|
},
|
|
@@ -211,10 +211,10 @@
|
|
|
211
211
|
"@aws-cdk/cloud-assembly-schema.FileDestination",
|
|
212
212
|
"@aws-cdk/cloud-assembly-schema.FileSource"
|
|
213
213
|
],
|
|
214
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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 },\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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
214
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
215
215
|
"syntaxKindCounter": {
|
|
216
|
-
"10":
|
|
217
|
-
"75":
|
|
216
|
+
"10": 20,
|
|
217
|
+
"75": 38,
|
|
218
218
|
"153": 1,
|
|
219
219
|
"169": 1,
|
|
220
220
|
"192": 2,
|
|
@@ -226,10 +226,10 @@
|
|
|
226
226
|
"254": 1,
|
|
227
227
|
"255": 1,
|
|
228
228
|
"256": 1,
|
|
229
|
-
"281":
|
|
229
|
+
"281": 31,
|
|
230
230
|
"290": 1
|
|
231
231
|
},
|
|
232
|
-
"fqnsFingerprint": "
|
|
232
|
+
"fqnsFingerprint": "7058b4b67d53c9e07e86bf7b1fab26149729e86f31bace665e0990dff1ecb764"
|
|
233
233
|
},
|
|
234
234
|
"473cefad1aeafa51cd5283cec6bdb716fbc338d433ea32231c51139c95227a6d": {
|
|
235
235
|
"translations": {
|
|
@@ -486,22 +486,22 @@
|
|
|
486
486
|
},
|
|
487
487
|
"fqnsFingerprint": "3b7fe1842f0cc0f13ad1684247b5b04a45b80ce59b32df4f294894aeb087781b"
|
|
488
488
|
},
|
|
489
|
-
"
|
|
489
|
+
"8f7e2b076b4d344fbaa2cffd1d4b6826a6b768f06ff4f268b7962397ae513f96": {
|
|
490
490
|
"translations": {
|
|
491
491
|
"python": {
|
|
492
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\ncontainer_image_asset_metadata_entry = cloud_assembly_schema.ContainerImageAssetMetadataEntry(\n id=\"id\",\n packaging=\"packaging\",\n path=\"path\",\n source_hash=\"sourceHash\",\n\n # the properties below are optional\n build_args={\n \"build_args_key\": \"buildArgs\"\n },\n file=\"file\",\n image_name_parameter=\"imageNameParameter\",\n image_tag=\"imageTag\",\n repository_name=\"repositoryName\",\n target=\"target\"\n)",
|
|
492
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\ncontainer_image_asset_metadata_entry = cloud_assembly_schema.ContainerImageAssetMetadataEntry(\n id=\"id\",\n packaging=\"packaging\",\n path=\"path\",\n source_hash=\"sourceHash\",\n\n # the properties below are optional\n build_args={\n \"build_args_key\": \"buildArgs\"\n },\n file=\"file\",\n image_name_parameter=\"imageNameParameter\",\n image_tag=\"imageTag\",\n network_mode=\"networkMode\",\n repository_name=\"repositoryName\",\n target=\"target\"\n)",
|
|
493
493
|
"version": "2"
|
|
494
494
|
},
|
|
495
495
|
"csharp": {
|
|
496
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nContainerImageAssetMetadataEntry containerImageAssetMetadataEntry = new ContainerImageAssetMetadataEntry {\n Id = \"id\",\n Packaging = \"packaging\",\n Path = \"path\",\n SourceHash = \"sourceHash\",\n\n // the properties below are optional\n BuildArgs = new Dictionary<string, string> {\n { \"buildArgsKey\", \"buildArgs\" }\n },\n File = \"file\",\n ImageNameParameter = \"imageNameParameter\",\n ImageTag = \"imageTag\",\n RepositoryName = \"repositoryName\",\n Target = \"target\"\n};",
|
|
496
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nContainerImageAssetMetadataEntry containerImageAssetMetadataEntry = new ContainerImageAssetMetadataEntry {\n Id = \"id\",\n Packaging = \"packaging\",\n Path = \"path\",\n SourceHash = \"sourceHash\",\n\n // the properties below are optional\n BuildArgs = new Dictionary<string, string> {\n { \"buildArgsKey\", \"buildArgs\" }\n },\n File = \"file\",\n ImageNameParameter = \"imageNameParameter\",\n ImageTag = \"imageTag\",\n NetworkMode = \"networkMode\",\n RepositoryName = \"repositoryName\",\n Target = \"target\"\n};",
|
|
497
497
|
"version": "1"
|
|
498
498
|
},
|
|
499
499
|
"java": {
|
|
500
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nContainerImageAssetMetadataEntry containerImageAssetMetadataEntry = ContainerImageAssetMetadataEntry.builder()\n .id(\"id\")\n .packaging(\"packaging\")\n .path(\"path\")\n .sourceHash(\"sourceHash\")\n\n // the properties below are optional\n .buildArgs(Map.of(\n \"buildArgsKey\", \"buildArgs\"))\n .file(\"file\")\n .imageNameParameter(\"imageNameParameter\")\n .imageTag(\"imageTag\")\n .repositoryName(\"repositoryName\")\n .target(\"target\")\n .build();",
|
|
500
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nContainerImageAssetMetadataEntry containerImageAssetMetadataEntry = ContainerImageAssetMetadataEntry.builder()\n .id(\"id\")\n .packaging(\"packaging\")\n .path(\"path\")\n .sourceHash(\"sourceHash\")\n\n // the properties below are optional\n .buildArgs(Map.of(\n \"buildArgsKey\", \"buildArgs\"))\n .file(\"file\")\n .imageNameParameter(\"imageNameParameter\")\n .imageTag(\"imageTag\")\n .networkMode(\"networkMode\")\n .repositoryName(\"repositoryName\")\n .target(\"target\")\n .build();",
|
|
501
501
|
"version": "1"
|
|
502
502
|
},
|
|
503
503
|
"$": {
|
|
504
|
-
"source": "// 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 repositoryName: 'repositoryName',\n target: 'target',\n};",
|
|
504
|
+
"source": "// 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};",
|
|
505
505
|
"version": "0"
|
|
506
506
|
}
|
|
507
507
|
},
|
|
@@ -518,10 +518,10 @@
|
|
|
518
518
|
"fqnsReferenced": [
|
|
519
519
|
"@aws-cdk/cloud-assembly-schema.ContainerImageAssetMetadataEntry"
|
|
520
520
|
],
|
|
521
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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 repositoryName: 'repositoryName',\n target: 'target',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
521
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
522
522
|
"syntaxKindCounter": {
|
|
523
|
-
"10":
|
|
524
|
-
"75":
|
|
523
|
+
"10": 12,
|
|
524
|
+
"75": 16,
|
|
525
525
|
"153": 1,
|
|
526
526
|
"169": 1,
|
|
527
527
|
"193": 2,
|
|
@@ -531,27 +531,27 @@
|
|
|
531
531
|
"254": 1,
|
|
532
532
|
"255": 1,
|
|
533
533
|
"256": 1,
|
|
534
|
-
"281":
|
|
534
|
+
"281": 12,
|
|
535
535
|
"290": 1
|
|
536
536
|
},
|
|
537
|
-
"fqnsFingerprint": "
|
|
537
|
+
"fqnsFingerprint": "24a489bf1e77b25f5586308f2061ec7e9cdbfa0e142cd270d57fc56b6e9dc64d"
|
|
538
538
|
},
|
|
539
|
-
"
|
|
539
|
+
"13514bf756685ec4825817ac806f4a7510034d11baa93291d3d8749ecc9bc6e2": {
|
|
540
540
|
"translations": {
|
|
541
541
|
"python": {
|
|
542
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\ndocker_image_asset = cloud_assembly_schema.DockerImageAsset(\n destinations={\n \"destinations_key\": cloud_assembly_schema.DockerImageDestination(\n image_tag=\"imageTag\",\n repository_name=\"repositoryName\",\n\n # the properties below are optional\n assume_role_arn=\"assumeRoleArn\",\n assume_role_external_id=\"assumeRoleExternalId\",\n region=\"region\"\n )\n },\n source=cloud_assembly_schema.DockerImageSource(\n directory=\"directory\",\n docker_build_args={\n \"docker_build_args_key\": \"dockerBuildArgs\"\n },\n docker_build_target=\"dockerBuildTarget\",\n docker_file=\"dockerFile\",\n executable=[\"executable\"]\n )\n)",
|
|
542
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\ndocker_image_asset = cloud_assembly_schema.DockerImageAsset(\n destinations={\n \"destinations_key\": cloud_assembly_schema.DockerImageDestination(\n image_tag=\"imageTag\",\n repository_name=\"repositoryName\",\n\n # the properties below are optional\n assume_role_arn=\"assumeRoleArn\",\n assume_role_external_id=\"assumeRoleExternalId\",\n region=\"region\"\n )\n },\n source=cloud_assembly_schema.DockerImageSource(\n directory=\"directory\",\n docker_build_args={\n \"docker_build_args_key\": \"dockerBuildArgs\"\n },\n docker_build_target=\"dockerBuildTarget\",\n docker_file=\"dockerFile\",\n executable=[\"executable\"],\n network_mode=\"networkMode\"\n )\n)",
|
|
543
543
|
"version": "2"
|
|
544
544
|
},
|
|
545
545
|
"csharp": {
|
|
546
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nDockerImageAsset dockerImageAsset = new DockerImageAsset {\n Destinations = new Dictionary<string, DockerImageDestination> {\n { \"destinationsKey\", new DockerImageDestination {\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 = new DockerImageSource {\n Directory = \"directory\",\n DockerBuildArgs = new Dictionary<string, string> {\n { \"dockerBuildArgsKey\", \"dockerBuildArgs\" }\n },\n DockerBuildTarget = \"dockerBuildTarget\",\n DockerFile = \"dockerFile\",\n Executable = new [] { \"executable\" }\n }\n};",
|
|
546
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nDockerImageAsset dockerImageAsset = new DockerImageAsset {\n Destinations = new Dictionary<string, DockerImageDestination> {\n { \"destinationsKey\", new DockerImageDestination {\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 = new DockerImageSource {\n Directory = \"directory\",\n DockerBuildArgs = new Dictionary<string, string> {\n { \"dockerBuildArgsKey\", \"dockerBuildArgs\" }\n },\n DockerBuildTarget = \"dockerBuildTarget\",\n DockerFile = \"dockerFile\",\n Executable = new [] { \"executable\" },\n NetworkMode = \"networkMode\"\n }\n};",
|
|
547
547
|
"version": "1"
|
|
548
548
|
},
|
|
549
549
|
"java": {
|
|
550
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nDockerImageAsset dockerImageAsset = DockerImageAsset.builder()\n .destinations(Map.of(\n \"destinationsKey\", DockerImageDestination.builder()\n .imageTag(\"imageTag\")\n .repositoryName(\"repositoryName\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build()))\n .source(DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .build())\n .build();",
|
|
550
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nDockerImageAsset dockerImageAsset = DockerImageAsset.builder()\n .destinations(Map.of(\n \"destinationsKey\", DockerImageDestination.builder()\n .imageTag(\"imageTag\")\n .repositoryName(\"repositoryName\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build()))\n .source(DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .networkMode(\"networkMode\")\n .build())\n .build();",
|
|
551
551
|
"version": "1"
|
|
552
552
|
},
|
|
553
553
|
"$": {
|
|
554
|
-
"source": "// 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 },\n};",
|
|
554
|
+
"source": "// 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};",
|
|
555
555
|
"version": "0"
|
|
556
556
|
}
|
|
557
557
|
},
|
|
@@ -570,10 +570,10 @@
|
|
|
570
570
|
"@aws-cdk/cloud-assembly-schema.DockerImageDestination",
|
|
571
571
|
"@aws-cdk/cloud-assembly-schema.DockerImageSource"
|
|
572
572
|
],
|
|
573
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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 },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
573
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
574
574
|
"syntaxKindCounter": {
|
|
575
|
-
"10":
|
|
576
|
-
"75":
|
|
575
|
+
"10": 12,
|
|
576
|
+
"75": 19,
|
|
577
577
|
"153": 1,
|
|
578
578
|
"169": 1,
|
|
579
579
|
"192": 1,
|
|
@@ -584,10 +584,10 @@
|
|
|
584
584
|
"254": 1,
|
|
585
585
|
"255": 1,
|
|
586
586
|
"256": 1,
|
|
587
|
-
"281":
|
|
587
|
+
"281": 15,
|
|
588
588
|
"290": 1
|
|
589
589
|
},
|
|
590
|
-
"fqnsFingerprint": "
|
|
590
|
+
"fqnsFingerprint": "cd7668ec20caebc3429cd02aadcee1b235511c02c467e738177ec3363609f597"
|
|
591
591
|
},
|
|
592
592
|
"3eceaa7485ff32425f456723bd17685f9967b2fd99d81dec3e5d5d4a319ceca7": {
|
|
593
593
|
"translations": {
|
|
@@ -639,22 +639,22 @@
|
|
|
639
639
|
},
|
|
640
640
|
"fqnsFingerprint": "74ca46abe27a67d74e65971a313c5675034ad3a7703423467a3ca0db3dba8568"
|
|
641
641
|
},
|
|
642
|
-
"
|
|
642
|
+
"3fc97b6f2fd582e233ddca867b3bbda48da9db940935286de08bc96be825b224": {
|
|
643
643
|
"translations": {
|
|
644
644
|
"python": {
|
|
645
|
-
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\ndocker_image_source = cloud_assembly_schema.DockerImageSource(\n directory=\"directory\",\n docker_build_args={\n \"docker_build_args_key\": \"dockerBuildArgs\"\n },\n docker_build_target=\"dockerBuildTarget\",\n docker_file=\"dockerFile\",\n executable=[\"executable\"]\n)",
|
|
645
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\ndocker_image_source = cloud_assembly_schema.DockerImageSource(\n directory=\"directory\",\n docker_build_args={\n \"docker_build_args_key\": \"dockerBuildArgs\"\n },\n docker_build_target=\"dockerBuildTarget\",\n docker_file=\"dockerFile\",\n executable=[\"executable\"],\n network_mode=\"networkMode\"\n)",
|
|
646
646
|
"version": "2"
|
|
647
647
|
},
|
|
648
648
|
"csharp": {
|
|
649
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nDockerImageSource dockerImageSource = new DockerImageSource {\n Directory = \"directory\",\n DockerBuildArgs = new Dictionary<string, string> {\n { \"dockerBuildArgsKey\", \"dockerBuildArgs\" }\n },\n DockerBuildTarget = \"dockerBuildTarget\",\n DockerFile = \"dockerFile\",\n Executable = new [] { \"executable\" }\n};",
|
|
649
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nDockerImageSource dockerImageSource = new DockerImageSource {\n Directory = \"directory\",\n DockerBuildArgs = new Dictionary<string, string> {\n { \"dockerBuildArgsKey\", \"dockerBuildArgs\" }\n },\n DockerBuildTarget = \"dockerBuildTarget\",\n DockerFile = \"dockerFile\",\n Executable = new [] { \"executable\" },\n NetworkMode = \"networkMode\"\n};",
|
|
650
650
|
"version": "1"
|
|
651
651
|
},
|
|
652
652
|
"java": {
|
|
653
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nDockerImageSource dockerImageSource = DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .build();",
|
|
653
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nDockerImageSource dockerImageSource = DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .networkMode(\"networkMode\")\n .build();",
|
|
654
654
|
"version": "1"
|
|
655
655
|
},
|
|
656
656
|
"$": {
|
|
657
|
-
"source": "// 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};",
|
|
657
|
+
"source": "// 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};",
|
|
658
658
|
"version": "0"
|
|
659
659
|
}
|
|
660
660
|
},
|
|
@@ -671,10 +671,10 @@
|
|
|
671
671
|
"fqnsReferenced": [
|
|
672
672
|
"@aws-cdk/cloud-assembly-schema.DockerImageSource"
|
|
673
673
|
],
|
|
674
|
-
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
674
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
675
675
|
"syntaxKindCounter": {
|
|
676
|
-
"10":
|
|
677
|
-
"75":
|
|
676
|
+
"10": 7,
|
|
677
|
+
"75": 11,
|
|
678
678
|
"153": 1,
|
|
679
679
|
"169": 1,
|
|
680
680
|
"192": 1,
|
|
@@ -685,10 +685,10 @@
|
|
|
685
685
|
"254": 1,
|
|
686
686
|
"255": 1,
|
|
687
687
|
"256": 1,
|
|
688
|
-
"281":
|
|
688
|
+
"281": 7,
|
|
689
689
|
"290": 1
|
|
690
690
|
},
|
|
691
|
-
"fqnsFingerprint": "
|
|
691
|
+
"fqnsFingerprint": "179ff1e0b5761ca798c6708ca3a322c7e22138ddce2772c2e7f34693fd921278"
|
|
692
692
|
},
|
|
693
693
|
"d47b9785bf52ba93f36631c9ec90abc31b341035fc16b8ce1b605671d78ebf8e": {
|
|
694
694
|
"translations": {
|
|
@@ -1265,7 +1265,7 @@
|
|
|
1265
1265
|
"281": 3,
|
|
1266
1266
|
"290": 1
|
|
1267
1267
|
},
|
|
1268
|
-
"fqnsFingerprint": "
|
|
1268
|
+
"fqnsFingerprint": "0ef3a172862eaaf834ebf4301fa6ff1b1d4f0a4f34cd995c804b61032a66b546"
|
|
1269
1269
|
},
|
|
1270
1270
|
"d45096ab2fa854fa21866ba05726b072043c135cd833a8a74c547f2dd6848774": {
|
|
1271
1271
|
"translations": {
|
|
@@ -1319,7 +1319,7 @@
|
|
|
1319
1319
|
"281": 9,
|
|
1320
1320
|
"290": 1
|
|
1321
1321
|
},
|
|
1322
|
-
"fqnsFingerprint": "
|
|
1322
|
+
"fqnsFingerprint": "e1278ed7c25ed4966b1c67b46acd60ba543211490815d3eaad8717391eaa6e4a"
|
|
1323
1323
|
},
|
|
1324
1324
|
"c072d6aeb3761e717f260e268e9489c671d49c5238a894644e585339cd2cdb51": {
|
|
1325
1325
|
"translations": {
|
|
@@ -1371,6 +1371,56 @@
|
|
|
1371
1371
|
},
|
|
1372
1372
|
"fqnsFingerprint": "a2173c283cb64060479843c115c8c666eb95500aea80726108661b7eab1c919d"
|
|
1373
1373
|
},
|
|
1374
|
+
"2285b026ede7cf814a4d6f18a11dd7394d2b253eecd4b8c6ec91f0b4cecfa6f3": {
|
|
1375
|
+
"translations": {
|
|
1376
|
+
"python": {
|
|
1377
|
+
"source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.cloud_assembly_schema as cloud_assembly_schema\n\nplugin_context_query = cloud_assembly_schema.PluginContextQuery(\n plugin_name=\"pluginName\"\n)",
|
|
1378
|
+
"version": "2"
|
|
1379
|
+
},
|
|
1380
|
+
"csharp": {
|
|
1381
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.CloudAssembly.Schema;\n\nPluginContextQuery pluginContextQuery = new PluginContextQuery {\n PluginName = \"pluginName\"\n};",
|
|
1382
|
+
"version": "1"
|
|
1383
|
+
},
|
|
1384
|
+
"java": {
|
|
1385
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nPluginContextQuery pluginContextQuery = PluginContextQuery.builder()\n .pluginName(\"pluginName\")\n .build();",
|
|
1386
|
+
"version": "1"
|
|
1387
|
+
},
|
|
1388
|
+
"$": {
|
|
1389
|
+
"source": "// 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 pluginContextQuery: cloud_assembly_schema.PluginContextQuery = {\n pluginName: 'pluginName',\n};",
|
|
1390
|
+
"version": "0"
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
"location": {
|
|
1394
|
+
"api": {
|
|
1395
|
+
"api": "type",
|
|
1396
|
+
"fqn": "@aws-cdk/cloud-assembly-schema.PluginContextQuery"
|
|
1397
|
+
},
|
|
1398
|
+
"field": {
|
|
1399
|
+
"field": "example"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
"didCompile": true,
|
|
1403
|
+
"fqnsReferenced": [
|
|
1404
|
+
"@aws-cdk/cloud-assembly-schema.PluginContextQuery"
|
|
1405
|
+
],
|
|
1406
|
+
"fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// 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';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst pluginContextQuery: cloud_assembly_schema.PluginContextQuery = {\n pluginName: 'pluginName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1407
|
+
"syntaxKindCounter": {
|
|
1408
|
+
"10": 2,
|
|
1409
|
+
"75": 5,
|
|
1410
|
+
"153": 1,
|
|
1411
|
+
"169": 1,
|
|
1412
|
+
"193": 1,
|
|
1413
|
+
"225": 1,
|
|
1414
|
+
"242": 1,
|
|
1415
|
+
"243": 1,
|
|
1416
|
+
"254": 1,
|
|
1417
|
+
"255": 1,
|
|
1418
|
+
"256": 1,
|
|
1419
|
+
"281": 1,
|
|
1420
|
+
"290": 1
|
|
1421
|
+
},
|
|
1422
|
+
"fqnsFingerprint": "78d074e4d2b470a75f833cbc617f3e6d2667991e1805d63d741a9e7cc7fdf8fe"
|
|
1423
|
+
},
|
|
1374
1424
|
"e327fc98591a1ca4bf6867147aeb8b7a1d27221cb2c89501caa802b5a19cd818": {
|
|
1375
1425
|
"translations": {
|
|
1376
1426
|
"python": {
|
package/.warnings.jsii.js
CHANGED
|
@@ -12,6 +12,8 @@ function _aws_cdk_cloud_assembly_schema_FileAssetPackaging(p) {
|
|
|
12
12
|
}
|
|
13
13
|
function _aws_cdk_cloud_assembly_schema_TreeArtifactProperties(p) {
|
|
14
14
|
}
|
|
15
|
+
function _aws_cdk_cloud_assembly_schema_PluginContextQuery(p) {
|
|
16
|
+
}
|
|
15
17
|
function _aws_cdk_cloud_assembly_schema_Tag(p) {
|
|
16
18
|
}
|
|
17
19
|
function _aws_cdk_cloud_assembly_schema_RuntimeInfo(p) {
|
|
@@ -74,6 +76,16 @@ function _aws_cdk_cloud_assembly_schema_AwsCloudFormationStackProperties(p) {
|
|
|
74
76
|
_aws_cdk_cloud_assembly_schema_BootstrapRole(p.lookupRole);
|
|
75
77
|
visitedObjects.delete(p);
|
|
76
78
|
}
|
|
79
|
+
function _aws_cdk_cloud_assembly_schema_LoadBalancerFilter(p) {
|
|
80
|
+
if (p == null)
|
|
81
|
+
return;
|
|
82
|
+
visitedObjects.add(p);
|
|
83
|
+
if (!visitedObjects.has(p.loadBalancerType))
|
|
84
|
+
_aws_cdk_cloud_assembly_schema_LoadBalancerType(p.loadBalancerType);
|
|
85
|
+
if (!visitedObjects.has(p.loadBalancerTags))
|
|
86
|
+
_aws_cdk_cloud_assembly_schema_Tag(p.loadBalancerTags);
|
|
87
|
+
visitedObjects.delete(p);
|
|
88
|
+
}
|
|
77
89
|
function _aws_cdk_cloud_assembly_schema_DockerImageAsset(p) {
|
|
78
90
|
if (p == null)
|
|
79
91
|
return;
|
|
@@ -94,16 +106,6 @@ function _aws_cdk_cloud_assembly_schema_FileAsset(p) {
|
|
|
94
106
|
_aws_cdk_cloud_assembly_schema_FileSource(p.source);
|
|
95
107
|
visitedObjects.delete(p);
|
|
96
108
|
}
|
|
97
|
-
function _aws_cdk_cloud_assembly_schema_LoadBalancerFilter(p) {
|
|
98
|
-
if (p == null)
|
|
99
|
-
return;
|
|
100
|
-
visitedObjects.add(p);
|
|
101
|
-
if (!visitedObjects.has(p.loadBalancerType))
|
|
102
|
-
_aws_cdk_cloud_assembly_schema_LoadBalancerType(p.loadBalancerType);
|
|
103
|
-
if (!visitedObjects.has(p.loadBalancerTags))
|
|
104
|
-
_aws_cdk_cloud_assembly_schema_Tag(p.loadBalancerTags);
|
|
105
|
-
visitedObjects.delete(p);
|
|
106
|
-
}
|
|
107
109
|
function _aws_cdk_cloud_assembly_schema_AssetManifest(p) {
|
|
108
110
|
if (p == null)
|
|
109
111
|
return;
|
|
@@ -185,5 +187,5 @@ function print(name, deprecationMessage) {
|
|
|
185
187
|
const visitedObjects = new Set();
|
|
186
188
|
class DeprecationError extends Error {
|
|
187
189
|
}
|
|
188
|
-
module.exports = { print, _aws_cdk_cloud_assembly_schema_ArtifactType, _aws_cdk_cloud_assembly_schema_ArtifactMetadataEntryType, _aws_cdk_cloud_assembly_schema_ContextProvider, _aws_cdk_cloud_assembly_schema_LoadBalancerType, _aws_cdk_cloud_assembly_schema_LoadBalancerListenerProtocol, _aws_cdk_cloud_assembly_schema_FileAssetPackaging, _aws_cdk_cloud_assembly_schema_TreeArtifactProperties, _aws_cdk_cloud_assembly_schema_Tag, _aws_cdk_cloud_assembly_schema_RuntimeInfo, _aws_cdk_cloud_assembly_schema_NestedCloudAssemblyProperties, _aws_cdk_cloud_assembly_schema_AvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_SSMParameterContextQuery, _aws_cdk_cloud_assembly_schema_EndpointServiceAvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_KeyContextQuery, _aws_cdk_cloud_assembly_schema_AssetManifestProperties, _aws_cdk_cloud_assembly_schema_AwsDestination, _aws_cdk_cloud_assembly_schema_BootstrapRole, _aws_cdk_cloud_assembly_schema_FileAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_HostedZoneContextQuery, _aws_cdk_cloud_assembly_schema_SecurityGroupContextQuery, _aws_cdk_cloud_assembly_schema_AmiContextQuery, _aws_cdk_cloud_assembly_schema_VpcContextQuery, _aws_cdk_cloud_assembly_schema_DockerImageSource, _aws_cdk_cloud_assembly_schema_ContainerImageAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_LoadBalancerContextQuery, _aws_cdk_cloud_assembly_schema_FileDestination, _aws_cdk_cloud_assembly_schema_DockerImageDestination, _aws_cdk_cloud_assembly_schema_AwsCloudFormationStackProperties, _aws_cdk_cloud_assembly_schema_DockerImageAsset, _aws_cdk_cloud_assembly_schema_FileAsset,
|
|
190
|
+
module.exports = { print, _aws_cdk_cloud_assembly_schema_ArtifactType, _aws_cdk_cloud_assembly_schema_ArtifactMetadataEntryType, _aws_cdk_cloud_assembly_schema_ContextProvider, _aws_cdk_cloud_assembly_schema_LoadBalancerType, _aws_cdk_cloud_assembly_schema_LoadBalancerListenerProtocol, _aws_cdk_cloud_assembly_schema_FileAssetPackaging, _aws_cdk_cloud_assembly_schema_TreeArtifactProperties, _aws_cdk_cloud_assembly_schema_PluginContextQuery, _aws_cdk_cloud_assembly_schema_Tag, _aws_cdk_cloud_assembly_schema_RuntimeInfo, _aws_cdk_cloud_assembly_schema_NestedCloudAssemblyProperties, _aws_cdk_cloud_assembly_schema_AvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_SSMParameterContextQuery, _aws_cdk_cloud_assembly_schema_EndpointServiceAvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_KeyContextQuery, _aws_cdk_cloud_assembly_schema_AssetManifestProperties, _aws_cdk_cloud_assembly_schema_AwsDestination, _aws_cdk_cloud_assembly_schema_BootstrapRole, _aws_cdk_cloud_assembly_schema_FileAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_HostedZoneContextQuery, _aws_cdk_cloud_assembly_schema_SecurityGroupContextQuery, _aws_cdk_cloud_assembly_schema_AmiContextQuery, _aws_cdk_cloud_assembly_schema_VpcContextQuery, _aws_cdk_cloud_assembly_schema_DockerImageSource, _aws_cdk_cloud_assembly_schema_ContainerImageAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_LoadBalancerContextQuery, _aws_cdk_cloud_assembly_schema_FileDestination, _aws_cdk_cloud_assembly_schema_DockerImageDestination, _aws_cdk_cloud_assembly_schema_AwsCloudFormationStackProperties, _aws_cdk_cloud_assembly_schema_LoadBalancerFilter, _aws_cdk_cloud_assembly_schema_DockerImageAsset, _aws_cdk_cloud_assembly_schema_FileAsset, _aws_cdk_cloud_assembly_schema_AssetManifest, _aws_cdk_cloud_assembly_schema_FileSource, _aws_cdk_cloud_assembly_schema_AssemblyManifest, _aws_cdk_cloud_assembly_schema_MetadataEntry, _aws_cdk_cloud_assembly_schema_Manifest, _aws_cdk_cloud_assembly_schema_ArtifactManifest, _aws_cdk_cloud_assembly_schema_LoadBalancerListenerContextQuery, _aws_cdk_cloud_assembly_schema_MissingContext };
|
|
189
191
|
module.exports.DeprecationError = DeprecationError;
|
package/CONTRIBUTING.md
CHANGED
|
@@ -59,7 +59,7 @@ This means that breaking changes will be rejected. These include:
|
|
|
59
59
|
- Changing the type of the property.
|
|
60
60
|
|
|
61
61
|
In addition, the interfaces defined here are programatically exposed to users, via the `manifest`
|
|
62
|
-
property of the [`CloudAssembly`](
|
|
62
|
+
property of the [`CloudAssembly`](../cx-api/lib/cloud-assembly.ts) class. This means that the following are
|
|
63
63
|
also considered breaking changes:
|
|
64
64
|
|
|
65
65
|
- Changing a property from *required* to *optional*.
|
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Destination for assets that need to be uploaded to AWS
|
|
3
|
-
*
|
|
4
|
-
* @stability stable
|
|
2
|
+
* Destination for assets that need to be uploaded to AWS
|
|
5
3
|
*/
|
|
6
4
|
export interface AwsDestination {
|
|
7
5
|
/**
|
|
8
|
-
* The region where this asset will need to be published
|
|
6
|
+
* The region where this asset will need to be published
|
|
9
7
|
*
|
|
10
8
|
* @default - Current region
|
|
11
|
-
* @stability stable
|
|
12
9
|
*/
|
|
13
10
|
readonly region?: string;
|
|
14
11
|
/**
|
|
15
|
-
* The role that needs to be assumed while publishing this asset
|
|
12
|
+
* The role that needs to be assumed while publishing this asset
|
|
16
13
|
*
|
|
17
14
|
* @default - No role will be assumed
|
|
18
|
-
* @stability stable
|
|
19
15
|
*/
|
|
20
16
|
readonly assumeRoleArn?: string;
|
|
21
17
|
/**
|
|
22
|
-
* The ExternalId that needs to be supplied while assuming this role
|
|
18
|
+
* The ExternalId that needs to be supplied while assuming this role
|
|
23
19
|
*
|
|
24
20
|
* @default - No ExternalId will be supplied
|
|
25
|
-
* @stability stable
|
|
26
21
|
*/
|
|
27
22
|
readonly assumeRoleExternalId?: string;
|
|
28
23
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzLWRlc3RpbmF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXdzLWRlc3RpbmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERlc3RpbmF0aW9uIGZvciBhc3NldHMgdGhhdCBuZWVkIHRvIGJlIHVwbG9hZGVkIHRvIEFXU1xuICovXG5leHBvcnQgaW50ZXJmYWNlIEF3c0Rlc3RpbmF0aW9uIHtcbiAgLyoqXG4gICAqIFRoZSByZWdpb24gd2hlcmUgdGhpcyBhc3NldCB3aWxsIG5lZWQgdG8gYmUgcHVibGlzaGVkXG4gICAqXG4gICAqIEBkZWZhdWx0IC0gQ3VycmVudCByZWdpb25cbiAgICovXG4gIHJlYWRvbmx5IHJlZ2lvbj86IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHJvbGUgdGhhdCBuZWVkcyB0byBiZSBhc3N1bWVkIHdoaWxlIHB1Ymxpc2hpbmcgdGhpcyBhc3NldFxuICAgKlxuICAgKiBAZGVmYXVsdCAtIE5vIHJvbGUgd2lsbCBiZSBhc3N1bWVkXG4gICAqL1xuICByZWFkb25seSBhc3N1bWVSb2xlQXJuPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgRXh0ZXJuYWxJZCB0aGF0IG5lZWRzIHRvIGJlIHN1cHBsaWVkIHdoaWxlIGFzc3VtaW5nIHRoaXMgcm9sZVxuICAgKlxuICAgKiBAZGVmYXVsdCAtIE5vIEV4dGVybmFsSWQgd2lsbCBiZSBzdXBwbGllZFxuICAgKi9cbiAgcmVhZG9ubHkgYXNzdW1lUm9sZUV4dGVybmFsSWQ/OiBzdHJpbmc7XG59Il19
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
import { AwsDestination } from './aws-destination';
|
|
2
2
|
/**
|
|
3
|
-
* A file asset
|
|
4
|
-
*
|
|
5
|
-
* @stability stable
|
|
3
|
+
* A file asset
|
|
6
4
|
*/
|
|
7
5
|
export interface DockerImageAsset {
|
|
8
6
|
/**
|
|
9
|
-
* Source description for file assets
|
|
10
|
-
*
|
|
11
|
-
* @stability stable
|
|
7
|
+
* Source description for file assets
|
|
12
8
|
*/
|
|
13
9
|
readonly source: DockerImageSource;
|
|
14
10
|
/**
|
|
15
|
-
* Destinations for this file asset
|
|
16
|
-
*
|
|
17
|
-
* @stability stable
|
|
11
|
+
* Destinations for this file asset
|
|
18
12
|
*/
|
|
19
13
|
readonly destinations: {
|
|
20
14
|
[id: string]: DockerImageDestination;
|
|
21
15
|
};
|
|
22
16
|
}
|
|
23
17
|
/**
|
|
24
|
-
* Properties for how to produce a Docker image from a source
|
|
25
|
-
*
|
|
26
|
-
* @stability stable
|
|
18
|
+
* Properties for how to produce a Docker image from a source
|
|
27
19
|
*/
|
|
28
20
|
export interface DockerImageSource {
|
|
29
21
|
/**
|
|
@@ -32,62 +24,60 @@ export interface DockerImageSource {
|
|
|
32
24
|
* This path is relative to the asset manifest location.
|
|
33
25
|
*
|
|
34
26
|
* @default - Exactly one of `directory` and `executable` is required
|
|
35
|
-
* @stability stable
|
|
36
27
|
*/
|
|
37
28
|
readonly directory?: string;
|
|
38
29
|
/**
|
|
39
|
-
* A command-line executable that returns the name of a local
|
|
30
|
+
* A command-line executable that returns the name of a local
|
|
31
|
+
* Docker image on stdout after being run.
|
|
40
32
|
*
|
|
41
33
|
* @default - Exactly one of `directory` and `executable` is required
|
|
42
|
-
* @stability stable
|
|
43
34
|
*/
|
|
44
35
|
readonly executable?: string[];
|
|
45
36
|
/**
|
|
46
|
-
* The name of the file with build instructions
|
|
37
|
+
* The name of the file with build instructions
|
|
47
38
|
*
|
|
48
39
|
* Only allowed when `directory` is set.
|
|
49
40
|
*
|
|
50
41
|
* @default "Dockerfile"
|
|
51
|
-
* @stability stable
|
|
52
42
|
*/
|
|
53
43
|
readonly dockerFile?: string;
|
|
54
44
|
/**
|
|
55
|
-
* Target build stage in a Dockerfile with multiple build stages
|
|
45
|
+
* Target build stage in a Dockerfile with multiple build stages
|
|
56
46
|
*
|
|
57
47
|
* Only allowed when `directory` is set.
|
|
58
48
|
*
|
|
59
49
|
* @default - The last stage in the Dockerfile
|
|
60
|
-
* @stability stable
|
|
61
50
|
*/
|
|
62
51
|
readonly dockerBuildTarget?: string;
|
|
63
52
|
/**
|
|
64
|
-
* Additional build arguments
|
|
53
|
+
* Additional build arguments
|
|
65
54
|
*
|
|
66
55
|
* Only allowed when `directory` is set.
|
|
67
56
|
*
|
|
68
57
|
* @default - No additional build arguments
|
|
69
|
-
* @stability stable
|
|
70
58
|
*/
|
|
71
59
|
readonly dockerBuildArgs?: {
|
|
72
60
|
[name: string]: string;
|
|
73
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Networking mode for the RUN commands during build. _Requires Docker Engine API v1.25+_.
|
|
64
|
+
*
|
|
65
|
+
* Specify this property to build images on a specific networking mode.
|
|
66
|
+
*
|
|
67
|
+
* @default - no networking mode specified
|
|
68
|
+
*/
|
|
69
|
+
readonly networkMode?: string;
|
|
74
70
|
}
|
|
75
71
|
/**
|
|
76
|
-
* Where to publish docker images
|
|
77
|
-
*
|
|
78
|
-
* @stability stable
|
|
72
|
+
* Where to publish docker images
|
|
79
73
|
*/
|
|
80
74
|
export interface DockerImageDestination extends AwsDestination {
|
|
81
75
|
/**
|
|
82
|
-
* Name of the ECR repository to publish to
|
|
83
|
-
*
|
|
84
|
-
* @stability stable
|
|
76
|
+
* Name of the ECR repository to publish to
|
|
85
77
|
*/
|
|
86
78
|
readonly repositoryName: string;
|
|
87
79
|
/**
|
|
88
|
-
* Tag of the image to publish
|
|
89
|
-
*
|
|
90
|
-
* @stability stable
|
|
80
|
+
* Tag of the image to publish
|
|
91
81
|
*/
|
|
92
82
|
readonly imageTag: string;
|
|
93
83
|
}
|