@aws-cdk/cloud-assembly-schema 1.156.0 → 1.158.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 +93 -37
- package/.jsii.tabl.json +153 -177
- package/lib/assets/docker-image-asset.d.ts +8 -0
- package/lib/assets/docker-image-asset.js +1 -1
- package/lib/cloud-assembly/metadata-schema.d.ts +6 -0
- package/lib/cloud-assembly/metadata-schema.js +1 -1
- package/lib/integ-tests/test-case.d.ts +6 -0
- package/lib/integ-tests/test-case.js +1 -1
- package/lib/manifest.js +1 -1
- package/package.json +3 -3
- package/schema/assets.schema.json +4 -0
- package/schema/cloud-assembly.schema.json +4 -0
- package/schema/cloud-assembly.version.json +1 -1
- package/schema/integ.schema.json +4 -0
package/.jsii.tabl.json
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"281": 29,
|
|
117
117
|
"290": 1
|
|
118
118
|
},
|
|
119
|
-
"fqnsFingerprint": "
|
|
119
|
+
"fqnsFingerprint": "eb7788cf20261ea5e42f29f1f6680d6f1a2e4fc435ad2a88073aaded8027ff44"
|
|
120
120
|
},
|
|
121
121
|
"51b9f560219f00280c95ce85c64fec1e95f59ed1de150b9a0323d891c0d9870c": {
|
|
122
122
|
"translations": {
|
|
@@ -181,28 +181,28 @@
|
|
|
181
181
|
"281": 45,
|
|
182
182
|
"290": 1
|
|
183
183
|
},
|
|
184
|
-
"fqnsFingerprint": "
|
|
184
|
+
"fqnsFingerprint": "39f0c7160aca5b5fddc74e88da93416ff2c3bbc8c259d94ad11f42a956b2e3ba"
|
|
185
185
|
},
|
|
186
|
-
"
|
|
186
|
+
"6683729a413a63c601f246c117c382fc14f7a0e56614f8a6b8bfd9779c71590d": {
|
|
187
187
|
"translations": {
|
|
188
188
|
"python": {
|
|
189
|
-
"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)",
|
|
189
|
+
"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 platform=\"platform\"\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)",
|
|
190
190
|
"version": "2"
|
|
191
191
|
},
|
|
192
192
|
"csharp": {
|
|
193
|
-
"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};",
|
|
193
|
+
"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 Platform = \"platform\"\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};",
|
|
194
194
|
"version": "1"
|
|
195
195
|
},
|
|
196
196
|
"java": {
|
|
197
|
-
"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();",
|
|
197
|
+
"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 .platform(\"platform\")\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();",
|
|
198
198
|
"version": "1"
|
|
199
199
|
},
|
|
200
200
|
"go": {
|
|
201
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\nassetManifest := &assetManifest{\n\tversion: jsii.String(\"version\"),\n\n\t// the properties below are optional\n\tdockerImages: map[string]dockerImageAsset{\n\t\t\"dockerImagesKey\": &dockerImageAsset{\n\t\t\t\"destinations\": map[string]DockerImageDestination{\n\t\t\t\t\"destinationsKey\": &DockerImageDestination{\n\t\t\t\t\t\"imageTag\": jsii.String(\"imageTag\"),\n\t\t\t\t\t\"repositoryName\": jsii.String(\"repositoryName\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\"assumeRoleArn\": jsii.String(\"assumeRoleArn\"),\n\t\t\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\t\t\"region\": jsii.String(\"region\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"source\": &DockerImageSource{\n\t\t\t\t\"directory\": jsii.String(\"directory\"),\n\t\t\t\t\"dockerBuildArgs\": map[string]*string{\n\t\t\t\t\t\"dockerBuildArgsKey\": jsii.String(\"dockerBuildArgs\"),\n\t\t\t\t},\n\t\t\t\t\"dockerBuildTarget\": jsii.String(\"dockerBuildTarget\"),\n\t\t\t\t\"dockerFile\": jsii.String(\"dockerFile\"),\n\t\t\t\t\"executable\": []*string{\n\t\t\t\t\tjsii.String(\"executable\"),\n\t\t\t\t},\n\t\t\t\t\"networkMode\": jsii.String(\"networkMode\"),\n\t\t\t},\n\t\t},\n\t},\n\tfiles: map[string]fileAsset{\n\t\t\"filesKey\": &fileAsset{\n\t\t\t\"destinations\": map[string]FileDestination{\n\t\t\t\t\"destinationsKey\": &FileDestination{\n\t\t\t\t\t\"bucketName\": jsii.String(\"bucketName\"),\n\t\t\t\t\t\"objectKey\": jsii.String(\"objectKey\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\"assumeRoleArn\": jsii.String(\"assumeRoleArn\"),\n\t\t\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\t\t\"region\": jsii.String(\"region\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"source\": &FileSource{\n\t\t\t\t\"executable\": []*string{\n\t\t\t\t\tjsii.String(\"executable\"),\n\t\t\t\t},\n\t\t\t\t\"packaging\": cloud_assembly_schema.FileAssetPackaging_FILE,\n\t\t\t\t\"path\": jsii.String(\"path\"),\n\t\t\t},\n\t\t},\n\t},\n}",
|
|
201
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\nassetManifest := &assetManifest{\n\tversion: jsii.String(\"version\"),\n\n\t// the properties below are optional\n\tdockerImages: map[string]dockerImageAsset{\n\t\t\"dockerImagesKey\": &dockerImageAsset{\n\t\t\t\"destinations\": map[string]DockerImageDestination{\n\t\t\t\t\"destinationsKey\": &DockerImageDestination{\n\t\t\t\t\t\"imageTag\": jsii.String(\"imageTag\"),\n\t\t\t\t\t\"repositoryName\": jsii.String(\"repositoryName\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\"assumeRoleArn\": jsii.String(\"assumeRoleArn\"),\n\t\t\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\t\t\"region\": jsii.String(\"region\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"source\": &DockerImageSource{\n\t\t\t\t\"directory\": jsii.String(\"directory\"),\n\t\t\t\t\"dockerBuildArgs\": map[string]*string{\n\t\t\t\t\t\"dockerBuildArgsKey\": jsii.String(\"dockerBuildArgs\"),\n\t\t\t\t},\n\t\t\t\t\"dockerBuildTarget\": jsii.String(\"dockerBuildTarget\"),\n\t\t\t\t\"dockerFile\": jsii.String(\"dockerFile\"),\n\t\t\t\t\"executable\": []*string{\n\t\t\t\t\tjsii.String(\"executable\"),\n\t\t\t\t},\n\t\t\t\t\"networkMode\": jsii.String(\"networkMode\"),\n\t\t\t\t\"platform\": jsii.String(\"platform\"),\n\t\t\t},\n\t\t},\n\t},\n\tfiles: map[string]fileAsset{\n\t\t\"filesKey\": &fileAsset{\n\t\t\t\"destinations\": map[string]FileDestination{\n\t\t\t\t\"destinationsKey\": &FileDestination{\n\t\t\t\t\t\"bucketName\": jsii.String(\"bucketName\"),\n\t\t\t\t\t\"objectKey\": jsii.String(\"objectKey\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\"assumeRoleArn\": jsii.String(\"assumeRoleArn\"),\n\t\t\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\t\t\"region\": jsii.String(\"region\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"source\": &FileSource{\n\t\t\t\t\"executable\": []*string{\n\t\t\t\t\tjsii.String(\"executable\"),\n\t\t\t\t},\n\t\t\t\t\"packaging\": cloud_assembly_schema.FileAssetPackaging_FILE,\n\t\t\t\t\"path\": jsii.String(\"path\"),\n\t\t\t},\n\t\t},\n\t},\n}",
|
|
202
202
|
"version": "1"
|
|
203
203
|
},
|
|
204
204
|
"$": {
|
|
205
|
-
"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};",
|
|
205
|
+
"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 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};",
|
|
206
206
|
"version": "0"
|
|
207
207
|
}
|
|
208
208
|
},
|
|
@@ -227,10 +227,10 @@
|
|
|
227
227
|
"@aws-cdk/cloud-assembly-schema.FileDestination",
|
|
228
228
|
"@aws-cdk/cloud-assembly-schema.FileSource"
|
|
229
229
|
],
|
|
230
|
-
"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} }",
|
|
230
|
+
"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 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};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
231
231
|
"syntaxKindCounter": {
|
|
232
|
-
"10":
|
|
233
|
-
"75":
|
|
232
|
+
"10": 21,
|
|
233
|
+
"75": 39,
|
|
234
234
|
"153": 1,
|
|
235
235
|
"169": 1,
|
|
236
236
|
"192": 2,
|
|
@@ -242,10 +242,10 @@
|
|
|
242
242
|
"254": 1,
|
|
243
243
|
"255": 1,
|
|
244
244
|
"256": 1,
|
|
245
|
-
"281":
|
|
245
|
+
"281": 32,
|
|
246
246
|
"290": 1
|
|
247
247
|
},
|
|
248
|
-
"fqnsFingerprint": "
|
|
248
|
+
"fqnsFingerprint": "dbe2e4361bc0248570e34c9f444353d69d7002c4af38c4087497179cef7643dd"
|
|
249
249
|
},
|
|
250
250
|
"473cefad1aeafa51cd5283cec6bdb716fbc338d433ea32231c51139c95227a6d": {
|
|
251
251
|
"translations": {
|
|
@@ -577,26 +577,26 @@
|
|
|
577
577
|
},
|
|
578
578
|
"fqnsFingerprint": "865a836cb27f42e709ad29a1f033399133017c1b7613ee028434d7ef7255a9ee"
|
|
579
579
|
},
|
|
580
|
-
"
|
|
580
|
+
"3d5ed044bdcf88fb37a1df90c053ede6ecdfaab09db77590866856f0e8b7feb1": {
|
|
581
581
|
"translations": {
|
|
582
582
|
"python": {
|
|
583
|
-
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case =
|
|
583
|
+
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case = IntegTest(app, \"CustomizedDeploymentWorkflow\",\n test_cases=[stack_under_test],\n diff_assets=True,\n stack_update_workflow=True,\n cdk_command_options=CdkCommands(\n deploy=DeployCommand(\n args=DeployOptions(\n require_approval=RequireApproval.NEVER,\n json=True\n )\n ),\n destroy=DestroyCommand(\n args=DestroyOptions(\n force=True\n )\n )\n )\n)",
|
|
584
584
|
"version": "2"
|
|
585
585
|
},
|
|
586
586
|
"csharp": {
|
|
587
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
587
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = new IntegTest(app, \"CustomizedDeploymentWorkflow\", new IntegTestProps {\n TestCases = new [] { stackUnderTest },\n DiffAssets = true,\n StackUpdateWorkflow = true,\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n RequireApproval = RequireApproval.NEVER,\n Json = true\n }\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n Force = true\n }\n }\n }\n});",
|
|
588
588
|
"version": "1"
|
|
589
589
|
},
|
|
590
590
|
"java": {
|
|
591
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
591
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = IntegTest.Builder.create(app, \"CustomizedDeploymentWorkflow\")\n .testCases(List.of(stackUnderTest))\n .diffAssets(true)\n .stackUpdateWorkflow(true)\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .requireApproval(RequireApproval.NEVER)\n .json(true)\n .build())\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .force(true)\n .build())\n .build())\n .build())\n .build();",
|
|
592
592
|
"version": "1"
|
|
593
593
|
},
|
|
594
594
|
"go": {
|
|
595
|
-
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.
|
|
595
|
+
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.NewIntegTest(app, jsii.String(\"CustomizedDeploymentWorkflow\"), &integTestProps{\n\ttestCases: []stack{\n\t\tstackUnderTest,\n\t},\n\tdiffAssets: jsii.Boolean(true),\n\tstackUpdateWorkflow: jsii.Boolean(true),\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\trequireApproval: *awscdkcloudassemblyschema.RequireApproval_NEVER,\n\t\t\t\tjson: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tforce: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t},\n})",
|
|
596
596
|
"version": "1"
|
|
597
597
|
},
|
|
598
598
|
"$": {
|
|
599
|
-
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new
|
|
599
|
+
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});",
|
|
600
600
|
"version": "0"
|
|
601
601
|
}
|
|
602
602
|
},
|
|
@@ -619,51 +619,47 @@
|
|
|
619
619
|
"@aws-cdk/cloud-assembly-schema.RequireApproval",
|
|
620
620
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
621
621
|
"@aws-cdk/core.App",
|
|
622
|
-
"@aws-cdk/core.Construct",
|
|
623
622
|
"@aws-cdk/core.Stack",
|
|
624
623
|
"@aws-cdk/integ-tests.IntegTest",
|
|
625
|
-
"@aws-cdk/integ-tests.IntegTestCase",
|
|
626
|
-
"@aws-cdk/integ-tests.IntegTestCaseProps",
|
|
627
624
|
"@aws-cdk/integ-tests.IntegTestProps",
|
|
628
625
|
"constructs.Construct"
|
|
629
626
|
],
|
|
630
|
-
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {
|
|
627
|
+
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {\n IntegTestCase,\n IntegTest,\n IntegTestCaseStack,\n AwsApiCall,\n EqualsAssertion,\n ActualResult,\n ExpectedResult,\n InvocationType,\n AssertionType,\n LambdaInvokeFunction,\n Match,\n} from '@aws-cdk/integ-tests';\nimport {\n App,\n Construct,\n Stack,\n StackProps,\n CustomResource,\n} from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport { IStateMachine } from '@aws-cdk/aws-stepfunctions';\nimport { RequireApproval } from '@aws-cdk/cloud-assembly-schema';\n\n// Code snippet begins after !show marker below\n/// !show\nconst app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n",
|
|
631
628
|
"syntaxKindCounter": {
|
|
632
|
-
"10":
|
|
633
|
-
"75":
|
|
629
|
+
"10": 3,
|
|
630
|
+
"75": 25,
|
|
634
631
|
"106": 4,
|
|
635
|
-
"192":
|
|
636
|
-
"193":
|
|
632
|
+
"192": 1,
|
|
633
|
+
"193": 6,
|
|
637
634
|
"194": 1,
|
|
638
|
-
"197":
|
|
635
|
+
"197": 4,
|
|
639
636
|
"225": 4,
|
|
640
|
-
"226": 1,
|
|
641
637
|
"242": 4,
|
|
642
638
|
"243": 4,
|
|
643
|
-
"281":
|
|
639
|
+
"281": 11
|
|
644
640
|
},
|
|
645
|
-
"fqnsFingerprint": "
|
|
641
|
+
"fqnsFingerprint": "53814c55e44b23643d7e9d15afb75c4d24079ab37a50ebabea190d5665bf566b"
|
|
646
642
|
},
|
|
647
|
-
"
|
|
643
|
+
"21c0b42068c39ea6dc636100b83a0b506221a25d1b29f53cefc26648b7a43e6d": {
|
|
648
644
|
"translations": {
|
|
649
645
|
"python": {
|
|
650
|
-
"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)",
|
|
646
|
+
"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 platform=\"platform\",\n repository_name=\"repositoryName\",\n target=\"target\"\n)",
|
|
651
647
|
"version": "2"
|
|
652
648
|
},
|
|
653
649
|
"csharp": {
|
|
654
|
-
"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};",
|
|
650
|
+
"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 Platform = \"platform\",\n RepositoryName = \"repositoryName\",\n Target = \"target\"\n};",
|
|
655
651
|
"version": "1"
|
|
656
652
|
},
|
|
657
653
|
"java": {
|
|
658
|
-
"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();",
|
|
654
|
+
"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 .platform(\"platform\")\n .repositoryName(\"repositoryName\")\n .target(\"target\")\n .build();",
|
|
659
655
|
"version": "1"
|
|
660
656
|
},
|
|
661
657
|
"go": {
|
|
662
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ncontainerImageAssetMetadataEntry := &containerImageAssetMetadataEntry{\n\tid: jsii.String(\"id\"),\n\tpackaging: jsii.String(\"packaging\"),\n\tpath: jsii.String(\"path\"),\n\tsourceHash: jsii.String(\"sourceHash\"),\n\n\t// the properties below are optional\n\tbuildArgs: map[string]*string{\n\t\t\"buildArgsKey\": jsii.String(\"buildArgs\"),\n\t},\n\tfile: jsii.String(\"file\"),\n\timageNameParameter: jsii.String(\"imageNameParameter\"),\n\timageTag: jsii.String(\"imageTag\"),\n\tnetworkMode: jsii.String(\"networkMode\"),\n\trepositoryName: jsii.String(\"repositoryName\"),\n\ttarget: jsii.String(\"target\"),\n}",
|
|
658
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ncontainerImageAssetMetadataEntry := &containerImageAssetMetadataEntry{\n\tid: jsii.String(\"id\"),\n\tpackaging: jsii.String(\"packaging\"),\n\tpath: jsii.String(\"path\"),\n\tsourceHash: jsii.String(\"sourceHash\"),\n\n\t// the properties below are optional\n\tbuildArgs: map[string]*string{\n\t\t\"buildArgsKey\": jsii.String(\"buildArgs\"),\n\t},\n\tfile: jsii.String(\"file\"),\n\timageNameParameter: jsii.String(\"imageNameParameter\"),\n\timageTag: jsii.String(\"imageTag\"),\n\tnetworkMode: jsii.String(\"networkMode\"),\n\tplatform: jsii.String(\"platform\"),\n\trepositoryName: jsii.String(\"repositoryName\"),\n\ttarget: jsii.String(\"target\"),\n}",
|
|
663
659
|
"version": "1"
|
|
664
660
|
},
|
|
665
661
|
"$": {
|
|
666
|
-
"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};",
|
|
662
|
+
"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 platform: 'platform',\n repositoryName: 'repositoryName',\n target: 'target',\n};",
|
|
667
663
|
"version": "0"
|
|
668
664
|
}
|
|
669
665
|
},
|
|
@@ -680,10 +676,10 @@
|
|
|
680
676
|
"fqnsReferenced": [
|
|
681
677
|
"@aws-cdk/cloud-assembly-schema.ContainerImageAssetMetadataEntry"
|
|
682
678
|
],
|
|
683
|
-
"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} }",
|
|
679
|
+
"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 platform: 'platform',\n repositoryName: 'repositoryName',\n target: 'target',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
684
680
|
"syntaxKindCounter": {
|
|
685
|
-
"10":
|
|
686
|
-
"75":
|
|
681
|
+
"10": 13,
|
|
682
|
+
"75": 17,
|
|
687
683
|
"153": 1,
|
|
688
684
|
"169": 1,
|
|
689
685
|
"193": 2,
|
|
@@ -693,10 +689,10 @@
|
|
|
693
689
|
"254": 1,
|
|
694
690
|
"255": 1,
|
|
695
691
|
"256": 1,
|
|
696
|
-
"281":
|
|
692
|
+
"281": 13,
|
|
697
693
|
"290": 1
|
|
698
694
|
},
|
|
699
|
-
"fqnsFingerprint": "
|
|
695
|
+
"fqnsFingerprint": "b2b13cee1896c62359ff8fbcfc4ed6cb6f2c76d0c02497a8b8f7e5d4658929f1"
|
|
700
696
|
},
|
|
701
697
|
"446fbe4ef57d065169198f8cc45bb64f69409c17ca8b277fb2d2e8b9b84d44a1": {
|
|
702
698
|
"translations": {
|
|
@@ -754,26 +750,26 @@
|
|
|
754
750
|
},
|
|
755
751
|
"fqnsFingerprint": "f16cd9f149a62c877e1157dcab005757f63025a11ef35bfa96f204678c213aff"
|
|
756
752
|
},
|
|
757
|
-
"
|
|
753
|
+
"d6b74519d6cb68f45ad4cf8ed9c08cef975278a726624ded3b3a0cc0998cfc36": {
|
|
758
754
|
"translations": {
|
|
759
755
|
"python": {
|
|
760
|
-
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case =
|
|
756
|
+
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case = IntegTest(app, \"CustomizedDeploymentWorkflow\",\n test_cases=[stack_under_test],\n diff_assets=True,\n stack_update_workflow=True,\n cdk_command_options=CdkCommands(\n deploy=DeployCommand(\n args=DeployOptions(\n require_approval=RequireApproval.NEVER,\n json=True\n )\n ),\n destroy=DestroyCommand(\n args=DestroyOptions(\n force=True\n )\n )\n )\n)",
|
|
761
757
|
"version": "2"
|
|
762
758
|
},
|
|
763
759
|
"csharp": {
|
|
764
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
760
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = new IntegTest(app, \"CustomizedDeploymentWorkflow\", new IntegTestProps {\n TestCases = new [] { stackUnderTest },\n DiffAssets = true,\n StackUpdateWorkflow = true,\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n RequireApproval = RequireApproval.NEVER,\n Json = true\n }\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n Force = true\n }\n }\n }\n});",
|
|
765
761
|
"version": "1"
|
|
766
762
|
},
|
|
767
763
|
"java": {
|
|
768
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
764
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = IntegTest.Builder.create(app, \"CustomizedDeploymentWorkflow\")\n .testCases(List.of(stackUnderTest))\n .diffAssets(true)\n .stackUpdateWorkflow(true)\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .requireApproval(RequireApproval.NEVER)\n .json(true)\n .build())\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .force(true)\n .build())\n .build())\n .build())\n .build();",
|
|
769
765
|
"version": "1"
|
|
770
766
|
},
|
|
771
767
|
"go": {
|
|
772
|
-
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.
|
|
768
|
+
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.NewIntegTest(app, jsii.String(\"CustomizedDeploymentWorkflow\"), &integTestProps{\n\ttestCases: []stack{\n\t\tstackUnderTest,\n\t},\n\tdiffAssets: jsii.Boolean(true),\n\tstackUpdateWorkflow: jsii.Boolean(true),\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\trequireApproval: *awscdkcloudassemblyschema.RequireApproval_NEVER,\n\t\t\t\tjson: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tforce: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t},\n})",
|
|
773
769
|
"version": "1"
|
|
774
770
|
},
|
|
775
771
|
"$": {
|
|
776
|
-
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new
|
|
772
|
+
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});",
|
|
777
773
|
"version": "0"
|
|
778
774
|
}
|
|
779
775
|
},
|
|
@@ -796,51 +792,47 @@
|
|
|
796
792
|
"@aws-cdk/cloud-assembly-schema.RequireApproval",
|
|
797
793
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
798
794
|
"@aws-cdk/core.App",
|
|
799
|
-
"@aws-cdk/core.Construct",
|
|
800
795
|
"@aws-cdk/core.Stack",
|
|
801
796
|
"@aws-cdk/integ-tests.IntegTest",
|
|
802
|
-
"@aws-cdk/integ-tests.IntegTestCase",
|
|
803
|
-
"@aws-cdk/integ-tests.IntegTestCaseProps",
|
|
804
797
|
"@aws-cdk/integ-tests.IntegTestProps",
|
|
805
798
|
"constructs.Construct"
|
|
806
799
|
],
|
|
807
|
-
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {
|
|
800
|
+
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {\n IntegTestCase,\n IntegTest,\n IntegTestCaseStack,\n AwsApiCall,\n EqualsAssertion,\n ActualResult,\n ExpectedResult,\n InvocationType,\n AssertionType,\n LambdaInvokeFunction,\n Match,\n} from '@aws-cdk/integ-tests';\nimport {\n App,\n Construct,\n Stack,\n StackProps,\n CustomResource,\n} from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport { IStateMachine } from '@aws-cdk/aws-stepfunctions';\nimport { RequireApproval } from '@aws-cdk/cloud-assembly-schema';\n\n// Code snippet begins after !show marker below\n/// !show\nconst app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n",
|
|
808
801
|
"syntaxKindCounter": {
|
|
809
|
-
"10":
|
|
810
|
-
"75":
|
|
802
|
+
"10": 3,
|
|
803
|
+
"75": 25,
|
|
811
804
|
"106": 4,
|
|
812
|
-
"192":
|
|
813
|
-
"193":
|
|
805
|
+
"192": 1,
|
|
806
|
+
"193": 6,
|
|
814
807
|
"194": 1,
|
|
815
|
-
"197":
|
|
808
|
+
"197": 4,
|
|
816
809
|
"225": 4,
|
|
817
|
-
"226": 1,
|
|
818
810
|
"242": 4,
|
|
819
811
|
"243": 4,
|
|
820
|
-
"281":
|
|
812
|
+
"281": 11
|
|
821
813
|
},
|
|
822
|
-
"fqnsFingerprint": "
|
|
814
|
+
"fqnsFingerprint": "53814c55e44b23643d7e9d15afb75c4d24079ab37a50ebabea190d5665bf566b"
|
|
823
815
|
},
|
|
824
|
-
"
|
|
816
|
+
"2673320b69bd7acf00bfdfe07b01f03cdae5f8421567b389c1b3182754f8a165": {
|
|
825
817
|
"translations": {
|
|
826
818
|
"python": {
|
|
827
|
-
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case =
|
|
819
|
+
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case = IntegTest(app, \"CustomizedDeploymentWorkflow\",\n test_cases=[stack_under_test],\n diff_assets=True,\n stack_update_workflow=True,\n cdk_command_options=CdkCommands(\n deploy=DeployCommand(\n args=DeployOptions(\n require_approval=RequireApproval.NEVER,\n json=True\n )\n ),\n destroy=DestroyCommand(\n args=DestroyOptions(\n force=True\n )\n )\n )\n)",
|
|
828
820
|
"version": "2"
|
|
829
821
|
},
|
|
830
822
|
"csharp": {
|
|
831
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
823
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = new IntegTest(app, \"CustomizedDeploymentWorkflow\", new IntegTestProps {\n TestCases = new [] { stackUnderTest },\n DiffAssets = true,\n StackUpdateWorkflow = true,\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n RequireApproval = RequireApproval.NEVER,\n Json = true\n }\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n Force = true\n }\n }\n }\n});",
|
|
832
824
|
"version": "1"
|
|
833
825
|
},
|
|
834
826
|
"java": {
|
|
835
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
827
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = IntegTest.Builder.create(app, \"CustomizedDeploymentWorkflow\")\n .testCases(List.of(stackUnderTest))\n .diffAssets(true)\n .stackUpdateWorkflow(true)\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .requireApproval(RequireApproval.NEVER)\n .json(true)\n .build())\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .force(true)\n .build())\n .build())\n .build())\n .build();",
|
|
836
828
|
"version": "1"
|
|
837
829
|
},
|
|
838
830
|
"go": {
|
|
839
|
-
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.
|
|
831
|
+
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.NewIntegTest(app, jsii.String(\"CustomizedDeploymentWorkflow\"), &integTestProps{\n\ttestCases: []stack{\n\t\tstackUnderTest,\n\t},\n\tdiffAssets: jsii.Boolean(true),\n\tstackUpdateWorkflow: jsii.Boolean(true),\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\trequireApproval: *awscdkcloudassemblyschema.RequireApproval_NEVER,\n\t\t\t\tjson: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tforce: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t},\n})",
|
|
840
832
|
"version": "1"
|
|
841
833
|
},
|
|
842
834
|
"$": {
|
|
843
|
-
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new
|
|
835
|
+
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});",
|
|
844
836
|
"version": "0"
|
|
845
837
|
}
|
|
846
838
|
},
|
|
@@ -863,51 +855,47 @@
|
|
|
863
855
|
"@aws-cdk/cloud-assembly-schema.RequireApproval",
|
|
864
856
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
865
857
|
"@aws-cdk/core.App",
|
|
866
|
-
"@aws-cdk/core.Construct",
|
|
867
858
|
"@aws-cdk/core.Stack",
|
|
868
859
|
"@aws-cdk/integ-tests.IntegTest",
|
|
869
|
-
"@aws-cdk/integ-tests.IntegTestCase",
|
|
870
|
-
"@aws-cdk/integ-tests.IntegTestCaseProps",
|
|
871
860
|
"@aws-cdk/integ-tests.IntegTestProps",
|
|
872
861
|
"constructs.Construct"
|
|
873
862
|
],
|
|
874
|
-
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {
|
|
863
|
+
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {\n IntegTestCase,\n IntegTest,\n IntegTestCaseStack,\n AwsApiCall,\n EqualsAssertion,\n ActualResult,\n ExpectedResult,\n InvocationType,\n AssertionType,\n LambdaInvokeFunction,\n Match,\n} from '@aws-cdk/integ-tests';\nimport {\n App,\n Construct,\n Stack,\n StackProps,\n CustomResource,\n} from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport { IStateMachine } from '@aws-cdk/aws-stepfunctions';\nimport { RequireApproval } from '@aws-cdk/cloud-assembly-schema';\n\n// Code snippet begins after !show marker below\n/// !show\nconst app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n",
|
|
875
864
|
"syntaxKindCounter": {
|
|
876
|
-
"10":
|
|
877
|
-
"75":
|
|
865
|
+
"10": 3,
|
|
866
|
+
"75": 25,
|
|
878
867
|
"106": 4,
|
|
879
|
-
"192":
|
|
880
|
-
"193":
|
|
868
|
+
"192": 1,
|
|
869
|
+
"193": 6,
|
|
881
870
|
"194": 1,
|
|
882
|
-
"197":
|
|
871
|
+
"197": 4,
|
|
883
872
|
"225": 4,
|
|
884
|
-
"226": 1,
|
|
885
873
|
"242": 4,
|
|
886
874
|
"243": 4,
|
|
887
|
-
"281":
|
|
875
|
+
"281": 11
|
|
888
876
|
},
|
|
889
|
-
"fqnsFingerprint": "
|
|
877
|
+
"fqnsFingerprint": "53814c55e44b23643d7e9d15afb75c4d24079ab37a50ebabea190d5665bf566b"
|
|
890
878
|
},
|
|
891
|
-
"
|
|
879
|
+
"928ecab06d014029482ce667d4580acb8191ffe6c64a33eaf1e223491ab4002e": {
|
|
892
880
|
"translations": {
|
|
893
881
|
"python": {
|
|
894
|
-
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case =
|
|
882
|
+
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case = IntegTest(app, \"CustomizedDeploymentWorkflow\",\n test_cases=[stack_under_test],\n diff_assets=True,\n stack_update_workflow=True,\n cdk_command_options=CdkCommands(\n deploy=DeployCommand(\n args=DeployOptions(\n require_approval=RequireApproval.NEVER,\n json=True\n )\n ),\n destroy=DestroyCommand(\n args=DestroyOptions(\n force=True\n )\n )\n )\n)",
|
|
895
883
|
"version": "2"
|
|
896
884
|
},
|
|
897
885
|
"csharp": {
|
|
898
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
886
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = new IntegTest(app, \"CustomizedDeploymentWorkflow\", new IntegTestProps {\n TestCases = new [] { stackUnderTest },\n DiffAssets = true,\n StackUpdateWorkflow = true,\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n RequireApproval = RequireApproval.NEVER,\n Json = true\n }\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n Force = true\n }\n }\n }\n});",
|
|
899
887
|
"version": "1"
|
|
900
888
|
},
|
|
901
889
|
"java": {
|
|
902
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
890
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = IntegTest.Builder.create(app, \"CustomizedDeploymentWorkflow\")\n .testCases(List.of(stackUnderTest))\n .diffAssets(true)\n .stackUpdateWorkflow(true)\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .requireApproval(RequireApproval.NEVER)\n .json(true)\n .build())\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .force(true)\n .build())\n .build())\n .build())\n .build();",
|
|
903
891
|
"version": "1"
|
|
904
892
|
},
|
|
905
893
|
"go": {
|
|
906
|
-
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.
|
|
894
|
+
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.NewIntegTest(app, jsii.String(\"CustomizedDeploymentWorkflow\"), &integTestProps{\n\ttestCases: []stack{\n\t\tstackUnderTest,\n\t},\n\tdiffAssets: jsii.Boolean(true),\n\tstackUpdateWorkflow: jsii.Boolean(true),\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\trequireApproval: *awscdkcloudassemblyschema.RequireApproval_NEVER,\n\t\t\t\tjson: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tforce: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t},\n})",
|
|
907
895
|
"version": "1"
|
|
908
896
|
},
|
|
909
897
|
"$": {
|
|
910
|
-
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new
|
|
898
|
+
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});",
|
|
911
899
|
"version": "0"
|
|
912
900
|
}
|
|
913
901
|
},
|
|
@@ -930,51 +918,47 @@
|
|
|
930
918
|
"@aws-cdk/cloud-assembly-schema.RequireApproval",
|
|
931
919
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
932
920
|
"@aws-cdk/core.App",
|
|
933
|
-
"@aws-cdk/core.Construct",
|
|
934
921
|
"@aws-cdk/core.Stack",
|
|
935
922
|
"@aws-cdk/integ-tests.IntegTest",
|
|
936
|
-
"@aws-cdk/integ-tests.IntegTestCase",
|
|
937
|
-
"@aws-cdk/integ-tests.IntegTestCaseProps",
|
|
938
923
|
"@aws-cdk/integ-tests.IntegTestProps",
|
|
939
924
|
"constructs.Construct"
|
|
940
925
|
],
|
|
941
|
-
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {
|
|
926
|
+
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {\n IntegTestCase,\n IntegTest,\n IntegTestCaseStack,\n AwsApiCall,\n EqualsAssertion,\n ActualResult,\n ExpectedResult,\n InvocationType,\n AssertionType,\n LambdaInvokeFunction,\n Match,\n} from '@aws-cdk/integ-tests';\nimport {\n App,\n Construct,\n Stack,\n StackProps,\n CustomResource,\n} from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport { IStateMachine } from '@aws-cdk/aws-stepfunctions';\nimport { RequireApproval } from '@aws-cdk/cloud-assembly-schema';\n\n// Code snippet begins after !show marker below\n/// !show\nconst app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n",
|
|
942
927
|
"syntaxKindCounter": {
|
|
943
|
-
"10":
|
|
944
|
-
"75":
|
|
928
|
+
"10": 3,
|
|
929
|
+
"75": 25,
|
|
945
930
|
"106": 4,
|
|
946
|
-
"192":
|
|
947
|
-
"193":
|
|
931
|
+
"192": 1,
|
|
932
|
+
"193": 6,
|
|
948
933
|
"194": 1,
|
|
949
|
-
"197":
|
|
934
|
+
"197": 4,
|
|
950
935
|
"225": 4,
|
|
951
|
-
"226": 1,
|
|
952
936
|
"242": 4,
|
|
953
937
|
"243": 4,
|
|
954
|
-
"281":
|
|
938
|
+
"281": 11
|
|
955
939
|
},
|
|
956
|
-
"fqnsFingerprint": "
|
|
940
|
+
"fqnsFingerprint": "53814c55e44b23643d7e9d15afb75c4d24079ab37a50ebabea190d5665bf566b"
|
|
957
941
|
},
|
|
958
|
-
"
|
|
942
|
+
"59ac31ef21c661554ae7ad8fb696e3102218f40802c707103c458f6798fa0c50": {
|
|
959
943
|
"translations": {
|
|
960
944
|
"python": {
|
|
961
|
-
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case =
|
|
945
|
+
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case = IntegTest(app, \"CustomizedDeploymentWorkflow\",\n test_cases=[stack_under_test],\n diff_assets=True,\n stack_update_workflow=True,\n cdk_command_options=CdkCommands(\n deploy=DeployCommand(\n args=DeployOptions(\n require_approval=RequireApproval.NEVER,\n json=True\n )\n ),\n destroy=DestroyCommand(\n args=DestroyOptions(\n force=True\n )\n )\n )\n)",
|
|
962
946
|
"version": "2"
|
|
963
947
|
},
|
|
964
948
|
"csharp": {
|
|
965
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
949
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = new IntegTest(app, \"CustomizedDeploymentWorkflow\", new IntegTestProps {\n TestCases = new [] { stackUnderTest },\n DiffAssets = true,\n StackUpdateWorkflow = true,\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n RequireApproval = RequireApproval.NEVER,\n Json = true\n }\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n Force = true\n }\n }\n }\n});",
|
|
966
950
|
"version": "1"
|
|
967
951
|
},
|
|
968
952
|
"java": {
|
|
969
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
953
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = IntegTest.Builder.create(app, \"CustomizedDeploymentWorkflow\")\n .testCases(List.of(stackUnderTest))\n .diffAssets(true)\n .stackUpdateWorkflow(true)\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .requireApproval(RequireApproval.NEVER)\n .json(true)\n .build())\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .force(true)\n .build())\n .build())\n .build())\n .build();",
|
|
970
954
|
"version": "1"
|
|
971
955
|
},
|
|
972
956
|
"go": {
|
|
973
|
-
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.
|
|
957
|
+
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.NewIntegTest(app, jsii.String(\"CustomizedDeploymentWorkflow\"), &integTestProps{\n\ttestCases: []stack{\n\t\tstackUnderTest,\n\t},\n\tdiffAssets: jsii.Boolean(true),\n\tstackUpdateWorkflow: jsii.Boolean(true),\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\trequireApproval: *awscdkcloudassemblyschema.RequireApproval_NEVER,\n\t\t\t\tjson: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tforce: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t},\n})",
|
|
974
958
|
"version": "1"
|
|
975
959
|
},
|
|
976
960
|
"$": {
|
|
977
|
-
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new
|
|
961
|
+
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});",
|
|
978
962
|
"version": "0"
|
|
979
963
|
}
|
|
980
964
|
},
|
|
@@ -997,51 +981,47 @@
|
|
|
997
981
|
"@aws-cdk/cloud-assembly-schema.RequireApproval",
|
|
998
982
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
999
983
|
"@aws-cdk/core.App",
|
|
1000
|
-
"@aws-cdk/core.Construct",
|
|
1001
984
|
"@aws-cdk/core.Stack",
|
|
1002
985
|
"@aws-cdk/integ-tests.IntegTest",
|
|
1003
|
-
"@aws-cdk/integ-tests.IntegTestCase",
|
|
1004
|
-
"@aws-cdk/integ-tests.IntegTestCaseProps",
|
|
1005
986
|
"@aws-cdk/integ-tests.IntegTestProps",
|
|
1006
987
|
"constructs.Construct"
|
|
1007
988
|
],
|
|
1008
|
-
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {
|
|
989
|
+
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {\n IntegTestCase,\n IntegTest,\n IntegTestCaseStack,\n AwsApiCall,\n EqualsAssertion,\n ActualResult,\n ExpectedResult,\n InvocationType,\n AssertionType,\n LambdaInvokeFunction,\n Match,\n} from '@aws-cdk/integ-tests';\nimport {\n App,\n Construct,\n Stack,\n StackProps,\n CustomResource,\n} from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport { IStateMachine } from '@aws-cdk/aws-stepfunctions';\nimport { RequireApproval } from '@aws-cdk/cloud-assembly-schema';\n\n// Code snippet begins after !show marker below\n/// !show\nconst app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n",
|
|
1009
990
|
"syntaxKindCounter": {
|
|
1010
|
-
"10":
|
|
1011
|
-
"75":
|
|
991
|
+
"10": 3,
|
|
992
|
+
"75": 25,
|
|
1012
993
|
"106": 4,
|
|
1013
|
-
"192":
|
|
1014
|
-
"193":
|
|
994
|
+
"192": 1,
|
|
995
|
+
"193": 6,
|
|
1015
996
|
"194": 1,
|
|
1016
|
-
"197":
|
|
997
|
+
"197": 4,
|
|
1017
998
|
"225": 4,
|
|
1018
|
-
"226": 1,
|
|
1019
999
|
"242": 4,
|
|
1020
1000
|
"243": 4,
|
|
1021
|
-
"281":
|
|
1001
|
+
"281": 11
|
|
1022
1002
|
},
|
|
1023
|
-
"fqnsFingerprint": "
|
|
1003
|
+
"fqnsFingerprint": "53814c55e44b23643d7e9d15afb75c4d24079ab37a50ebabea190d5665bf566b"
|
|
1024
1004
|
},
|
|
1025
|
-
"
|
|
1005
|
+
"73eab5943bd737b91d438766d10fb9ffe674834b5b59cf68d5d34d851d6f9d9d": {
|
|
1026
1006
|
"translations": {
|
|
1027
1007
|
"python": {
|
|
1028
|
-
"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)",
|
|
1008
|
+
"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 platform=\"platform\"\n )\n)",
|
|
1029
1009
|
"version": "2"
|
|
1030
1010
|
},
|
|
1031
1011
|
"csharp": {
|
|
1032
|
-
"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};",
|
|
1012
|
+
"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 Platform = \"platform\"\n }\n};",
|
|
1033
1013
|
"version": "1"
|
|
1034
1014
|
},
|
|
1035
1015
|
"java": {
|
|
1036
|
-
"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();",
|
|
1016
|
+
"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 .platform(\"platform\")\n .build())\n .build();",
|
|
1037
1017
|
"version": "1"
|
|
1038
1018
|
},
|
|
1039
1019
|
"go": {
|
|
1040
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ndockerImageAsset := &dockerImageAsset{\n\tdestinations: map[string]dockerImageDestination{\n\t\t\"destinationsKey\": &dockerImageDestination{\n\t\t\t\"imageTag\": jsii.String(\"imageTag\"),\n\t\t\t\"repositoryName\": jsii.String(\"repositoryName\"),\n\n\t\t\t// the properties below are optional\n\t\t\t\"assumeRoleArn\": jsii.String(\"assumeRoleArn\"),\n\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\"region\": jsii.String(\"region\"),\n\t\t},\n\t},\n\tsource: &dockerImageSource{\n\t\tdirectory: jsii.String(\"directory\"),\n\t\tdockerBuildArgs: map[string]*string{\n\t\t\t\"dockerBuildArgsKey\": jsii.String(\"dockerBuildArgs\"),\n\t\t},\n\t\tdockerBuildTarget: jsii.String(\"dockerBuildTarget\"),\n\t\tdockerFile: jsii.String(\"dockerFile\"),\n\t\texecutable: []*string{\n\t\t\tjsii.String(\"executable\"),\n\t\t},\n\t\tnetworkMode: jsii.String(\"networkMode\"),\n\t},\n}",
|
|
1020
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ndockerImageAsset := &dockerImageAsset{\n\tdestinations: map[string]dockerImageDestination{\n\t\t\"destinationsKey\": &dockerImageDestination{\n\t\t\t\"imageTag\": jsii.String(\"imageTag\"),\n\t\t\t\"repositoryName\": jsii.String(\"repositoryName\"),\n\n\t\t\t// the properties below are optional\n\t\t\t\"assumeRoleArn\": jsii.String(\"assumeRoleArn\"),\n\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\"region\": jsii.String(\"region\"),\n\t\t},\n\t},\n\tsource: &dockerImageSource{\n\t\tdirectory: jsii.String(\"directory\"),\n\t\tdockerBuildArgs: map[string]*string{\n\t\t\t\"dockerBuildArgsKey\": jsii.String(\"dockerBuildArgs\"),\n\t\t},\n\t\tdockerBuildTarget: jsii.String(\"dockerBuildTarget\"),\n\t\tdockerFile: jsii.String(\"dockerFile\"),\n\t\texecutable: []*string{\n\t\t\tjsii.String(\"executable\"),\n\t\t},\n\t\tnetworkMode: jsii.String(\"networkMode\"),\n\t\tplatform: jsii.String(\"platform\"),\n\t},\n}",
|
|
1041
1021
|
"version": "1"
|
|
1042
1022
|
},
|
|
1043
1023
|
"$": {
|
|
1044
|
-
"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};",
|
|
1024
|
+
"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 platform: 'platform',\n },\n};",
|
|
1045
1025
|
"version": "0"
|
|
1046
1026
|
}
|
|
1047
1027
|
},
|
|
@@ -1060,10 +1040,10 @@
|
|
|
1060
1040
|
"@aws-cdk/cloud-assembly-schema.DockerImageDestination",
|
|
1061
1041
|
"@aws-cdk/cloud-assembly-schema.DockerImageSource"
|
|
1062
1042
|
],
|
|
1063
|
-
"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} }",
|
|
1043
|
+
"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 platform: 'platform',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1064
1044
|
"syntaxKindCounter": {
|
|
1065
|
-
"10":
|
|
1066
|
-
"75":
|
|
1045
|
+
"10": 13,
|
|
1046
|
+
"75": 20,
|
|
1067
1047
|
"153": 1,
|
|
1068
1048
|
"169": 1,
|
|
1069
1049
|
"192": 1,
|
|
@@ -1074,10 +1054,10 @@
|
|
|
1074
1054
|
"254": 1,
|
|
1075
1055
|
"255": 1,
|
|
1076
1056
|
"256": 1,
|
|
1077
|
-
"281":
|
|
1057
|
+
"281": 16,
|
|
1078
1058
|
"290": 1
|
|
1079
1059
|
},
|
|
1080
|
-
"fqnsFingerprint": "
|
|
1060
|
+
"fqnsFingerprint": "8a1602eeca08c4ba2477b56c3587f95b6e3ec86ff2bce6ee02148a4b87b240ec"
|
|
1081
1061
|
},
|
|
1082
1062
|
"3eceaa7485ff32425f456723bd17685f9967b2fd99d81dec3e5d5d4a319ceca7": {
|
|
1083
1063
|
"translations": {
|
|
@@ -1133,26 +1113,26 @@
|
|
|
1133
1113
|
},
|
|
1134
1114
|
"fqnsFingerprint": "74ca46abe27a67d74e65971a313c5675034ad3a7703423467a3ca0db3dba8568"
|
|
1135
1115
|
},
|
|
1136
|
-
"
|
|
1116
|
+
"8b1f08dcfd878af1db2ee227f2bc4934ea596e9038003db7e4fa83aa691c15e7": {
|
|
1137
1117
|
"translations": {
|
|
1138
1118
|
"python": {
|
|
1139
|
-
"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)",
|
|
1119
|
+
"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 platform=\"platform\"\n)",
|
|
1140
1120
|
"version": "2"
|
|
1141
1121
|
},
|
|
1142
1122
|
"csharp": {
|
|
1143
|
-
"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};",
|
|
1123
|
+
"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 Platform = \"platform\"\n};",
|
|
1144
1124
|
"version": "1"
|
|
1145
1125
|
},
|
|
1146
1126
|
"java": {
|
|
1147
|
-
"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();",
|
|
1127
|
+
"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 .platform(\"platform\")\n .build();",
|
|
1148
1128
|
"version": "1"
|
|
1149
1129
|
},
|
|
1150
1130
|
"go": {
|
|
1151
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ndockerImageSource := &dockerImageSource{\n\tdirectory: jsii.String(\"directory\"),\n\tdockerBuildArgs: map[string]*string{\n\t\t\"dockerBuildArgsKey\": jsii.String(\"dockerBuildArgs\"),\n\t},\n\tdockerBuildTarget: jsii.String(\"dockerBuildTarget\"),\n\tdockerFile: jsii.String(\"dockerFile\"),\n\texecutable: []*string{\n\t\tjsii.String(\"executable\"),\n\t},\n\tnetworkMode: jsii.String(\"networkMode\"),\n}",
|
|
1131
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ndockerImageSource := &dockerImageSource{\n\tdirectory: jsii.String(\"directory\"),\n\tdockerBuildArgs: map[string]*string{\n\t\t\"dockerBuildArgsKey\": jsii.String(\"dockerBuildArgs\"),\n\t},\n\tdockerBuildTarget: jsii.String(\"dockerBuildTarget\"),\n\tdockerFile: jsii.String(\"dockerFile\"),\n\texecutable: []*string{\n\t\tjsii.String(\"executable\"),\n\t},\n\tnetworkMode: jsii.String(\"networkMode\"),\n\tplatform: jsii.String(\"platform\"),\n}",
|
|
1152
1132
|
"version": "1"
|
|
1153
1133
|
},
|
|
1154
1134
|
"$": {
|
|
1155
|
-
"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};",
|
|
1135
|
+
"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 platform: 'platform',\n};",
|
|
1156
1136
|
"version": "0"
|
|
1157
1137
|
}
|
|
1158
1138
|
},
|
|
@@ -1169,10 +1149,10 @@
|
|
|
1169
1149
|
"fqnsReferenced": [
|
|
1170
1150
|
"@aws-cdk/cloud-assembly-schema.DockerImageSource"
|
|
1171
1151
|
],
|
|
1172
|
-
"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} }",
|
|
1152
|
+
"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 platform: 'platform',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1173
1153
|
"syntaxKindCounter": {
|
|
1174
|
-
"10":
|
|
1175
|
-
"75":
|
|
1154
|
+
"10": 8,
|
|
1155
|
+
"75": 12,
|
|
1176
1156
|
"153": 1,
|
|
1177
1157
|
"169": 1,
|
|
1178
1158
|
"192": 1,
|
|
@@ -1183,10 +1163,10 @@
|
|
|
1183
1163
|
"254": 1,
|
|
1184
1164
|
"255": 1,
|
|
1185
1165
|
"256": 1,
|
|
1186
|
-
"281":
|
|
1166
|
+
"281": 8,
|
|
1187
1167
|
"290": 1
|
|
1188
1168
|
},
|
|
1189
|
-
"fqnsFingerprint": "
|
|
1169
|
+
"fqnsFingerprint": "8d6d4a611218ac640147d1cbb602c5a98b57cf022a02d00a293d0c04c3fbf04d"
|
|
1190
1170
|
},
|
|
1191
1171
|
"d47b9785bf52ba93f36631c9ec90abc31b341035fc16b8ce1b605671d78ebf8e": {
|
|
1192
1172
|
"translations": {
|
|
@@ -1578,26 +1558,26 @@
|
|
|
1578
1558
|
},
|
|
1579
1559
|
"fqnsFingerprint": "047059be64704a685d7e0f39d3e38c24b1a7fc585a887bfdae03dfb15dbf38d9"
|
|
1580
1560
|
},
|
|
1581
|
-
"
|
|
1561
|
+
"7ba8cf6d19b675085a43393c9f587e88a6c36b981be83374366607c0fac6691b": {
|
|
1582
1562
|
"translations": {
|
|
1583
1563
|
"python": {
|
|
1584
|
-
"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\ninteg_manifest = cloud_assembly_schema.IntegManifest(\n test_cases={\n \"test_cases_key\": cloud_assembly_schema.TestCase(\n stacks=[\"stacks\"],\n\n # the properties below are optional\n allow_destroy=[\"allowDestroy\"],\n cdk_command_options=cloud_assembly_schema.CdkCommands(\n deploy=cloud_assembly_schema.DeployCommand(\n args=cloud_assembly_schema.DeployOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n change_set_name=\"changeSetName\",\n ci=False,\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n execute=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n notification_arns=[\"notificationArns\"],\n output=\"output\",\n outputs_file=\"outputsFile\",\n parameters={\n \"parameters_key\": \"parameters\"\n },\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n require_approval=cloud_assembly_schema.RequireApproval.NEVER,\n reuse_assets=[\"reuseAssets\"],\n role_arn=\"roleArn\",\n rollback=False,\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n toolkit_stack_name=\"toolkitStackName\",\n trace=False,\n use_previous_parameters=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n ),\n destroy=cloud_assembly_schema.DestroyCommand(\n args=cloud_assembly_schema.DestroyOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n output=\"output\",\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n role_arn=\"roleArn\",\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n trace=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n )\n ),\n diff_assets=False,\n hooks=cloud_assembly_schema.Hooks(\n post_deploy=[\"postDeploy\"],\n post_destroy=[\"postDestroy\"],\n pre_deploy=[\"preDeploy\"],\n pre_destroy=[\"preDestroy\"]\n ),\n regions=[\"regions\"],\n stack_update_workflow=False\n )\n },\n version=\"version\",\n\n # the properties below are optional\n enable_lookups=False,\n synth_context={\n \"synth_context_key\": \"synthContext\"\n }\n)",
|
|
1564
|
+
"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\ninteg_manifest = cloud_assembly_schema.IntegManifest(\n test_cases={\n \"test_cases_key\": cloud_assembly_schema.TestCase(\n stacks=[\"stacks\"],\n\n # the properties below are optional\n allow_destroy=[\"allowDestroy\"],\n assertion_stack=\"assertionStack\",\n cdk_command_options=cloud_assembly_schema.CdkCommands(\n deploy=cloud_assembly_schema.DeployCommand(\n args=cloud_assembly_schema.DeployOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n change_set_name=\"changeSetName\",\n ci=False,\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n execute=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n notification_arns=[\"notificationArns\"],\n output=\"output\",\n outputs_file=\"outputsFile\",\n parameters={\n \"parameters_key\": \"parameters\"\n },\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n require_approval=cloud_assembly_schema.RequireApproval.NEVER,\n reuse_assets=[\"reuseAssets\"],\n role_arn=\"roleArn\",\n rollback=False,\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n toolkit_stack_name=\"toolkitStackName\",\n trace=False,\n use_previous_parameters=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n ),\n destroy=cloud_assembly_schema.DestroyCommand(\n args=cloud_assembly_schema.DestroyOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n output=\"output\",\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n role_arn=\"roleArn\",\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n trace=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n )\n ),\n diff_assets=False,\n hooks=cloud_assembly_schema.Hooks(\n post_deploy=[\"postDeploy\"],\n post_destroy=[\"postDestroy\"],\n pre_deploy=[\"preDeploy\"],\n pre_destroy=[\"preDestroy\"]\n ),\n regions=[\"regions\"],\n stack_update_workflow=False\n )\n },\n version=\"version\",\n\n # the properties below are optional\n enable_lookups=False,\n synth_context={\n \"synth_context_key\": \"synthContext\"\n }\n)",
|
|
1585
1565
|
"version": "2"
|
|
1586
1566
|
},
|
|
1587
1567
|
"csharp": {
|
|
1588
|
-
"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\nIntegManifest integManifest = new IntegManifest {\n TestCases = new Dictionary<string, TestCase> {\n { \"testCasesKey\", new TestCase {\n Stacks = new [] { \"stacks\" },\n\n // the properties below are optional\n AllowDestroy = new [] { \"allowDestroy\" },\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n ChangeSetName = \"changeSetName\",\n Ci = false,\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Execute = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n NotificationArns = new [] { \"notificationArns\" },\n Output = \"output\",\n OutputsFile = \"outputsFile\",\n Parameters = new Dictionary<string, string> {\n { \"parametersKey\", \"parameters\" }\n },\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RequireApproval = RequireApproval.NEVER,\n ReuseAssets = new [] { \"reuseAssets\" },\n RoleArn = \"roleArn\",\n Rollback = false,\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n ToolkitStackName = \"toolkitStackName\",\n Trace = false,\n UsePreviousParameters = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n Output = \"output\",\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RoleArn = \"roleArn\",\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n Trace = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n }\n },\n DiffAssets = false,\n Hooks = new Hooks {\n PostDeploy = new [] { \"postDeploy\" },\n PostDestroy = new [] { \"postDestroy\" },\n PreDeploy = new [] { \"preDeploy\" },\n PreDestroy = new [] { \"preDestroy\" }\n },\n Regions = new [] { \"regions\" },\n StackUpdateWorkflow = false\n } }\n },\n Version = \"version\",\n\n // the properties below are optional\n EnableLookups = false,\n SynthContext = new Dictionary<string, string> {\n { \"synthContextKey\", \"synthContext\" }\n }\n};",
|
|
1568
|
+
"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\nIntegManifest integManifest = new IntegManifest {\n TestCases = new Dictionary<string, TestCase> {\n { \"testCasesKey\", new TestCase {\n Stacks = new [] { \"stacks\" },\n\n // the properties below are optional\n AllowDestroy = new [] { \"allowDestroy\" },\n AssertionStack = \"assertionStack\",\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n ChangeSetName = \"changeSetName\",\n Ci = false,\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Execute = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n NotificationArns = new [] { \"notificationArns\" },\n Output = \"output\",\n OutputsFile = \"outputsFile\",\n Parameters = new Dictionary<string, string> {\n { \"parametersKey\", \"parameters\" }\n },\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RequireApproval = RequireApproval.NEVER,\n ReuseAssets = new [] { \"reuseAssets\" },\n RoleArn = \"roleArn\",\n Rollback = false,\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n ToolkitStackName = \"toolkitStackName\",\n Trace = false,\n UsePreviousParameters = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n Output = \"output\",\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RoleArn = \"roleArn\",\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n Trace = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n }\n },\n DiffAssets = false,\n Hooks = new Hooks {\n PostDeploy = new [] { \"postDeploy\" },\n PostDestroy = new [] { \"postDestroy\" },\n PreDeploy = new [] { \"preDeploy\" },\n PreDestroy = new [] { \"preDestroy\" }\n },\n Regions = new [] { \"regions\" },\n StackUpdateWorkflow = false\n } }\n },\n Version = \"version\",\n\n // the properties below are optional\n EnableLookups = false,\n SynthContext = new Dictionary<string, string> {\n { \"synthContextKey\", \"synthContext\" }\n }\n};",
|
|
1589
1569
|
"version": "1"
|
|
1590
1570
|
},
|
|
1591
1571
|
"java": {
|
|
1592
|
-
"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\nIntegManifest integManifest = IntegManifest.builder()\n .testCases(Map.of(\n \"testCasesKey\", TestCase.builder()\n .stacks(List.of(\"stacks\"))\n\n // the properties below are optional\n .allowDestroy(List.of(\"allowDestroy\"))\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .changeSetName(\"changeSetName\")\n .ci(false)\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .execute(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .notificationArns(List.of(\"notificationArns\"))\n .output(\"output\")\n .outputsFile(\"outputsFile\")\n .parameters(Map.of(\n \"parametersKey\", \"parameters\"))\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .requireApproval(RequireApproval.NEVER)\n .reuseAssets(List.of(\"reuseAssets\"))\n .roleArn(\"roleArn\")\n .rollback(false)\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .toolkitStackName(\"toolkitStackName\")\n .trace(false)\n .usePreviousParameters(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .output(\"output\")\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .roleArn(\"roleArn\")\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .trace(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .build())\n .diffAssets(false)\n .hooks(Hooks.builder()\n .postDeploy(List.of(\"postDeploy\"))\n .postDestroy(List.of(\"postDestroy\"))\n .preDeploy(List.of(\"preDeploy\"))\n .preDestroy(List.of(\"preDestroy\"))\n .build())\n .regions(List.of(\"regions\"))\n .stackUpdateWorkflow(false)\n .build()))\n .version(\"version\")\n\n // the properties below are optional\n .enableLookups(false)\n .synthContext(Map.of(\n \"synthContextKey\", \"synthContext\"))\n .build();",
|
|
1572
|
+
"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\nIntegManifest integManifest = IntegManifest.builder()\n .testCases(Map.of(\n \"testCasesKey\", TestCase.builder()\n .stacks(List.of(\"stacks\"))\n\n // the properties below are optional\n .allowDestroy(List.of(\"allowDestroy\"))\n .assertionStack(\"assertionStack\")\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .changeSetName(\"changeSetName\")\n .ci(false)\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .execute(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .notificationArns(List.of(\"notificationArns\"))\n .output(\"output\")\n .outputsFile(\"outputsFile\")\n .parameters(Map.of(\n \"parametersKey\", \"parameters\"))\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .requireApproval(RequireApproval.NEVER)\n .reuseAssets(List.of(\"reuseAssets\"))\n .roleArn(\"roleArn\")\n .rollback(false)\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .toolkitStackName(\"toolkitStackName\")\n .trace(false)\n .usePreviousParameters(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .output(\"output\")\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .roleArn(\"roleArn\")\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .trace(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .build())\n .diffAssets(false)\n .hooks(Hooks.builder()\n .postDeploy(List.of(\"postDeploy\"))\n .postDestroy(List.of(\"postDestroy\"))\n .preDeploy(List.of(\"preDeploy\"))\n .preDestroy(List.of(\"preDestroy\"))\n .build())\n .regions(List.of(\"regions\"))\n .stackUpdateWorkflow(false)\n .build()))\n .version(\"version\")\n\n // the properties below are optional\n .enableLookups(false)\n .synthContext(Map.of(\n \"synthContextKey\", \"synthContext\"))\n .build();",
|
|
1593
1573
|
"version": "1"
|
|
1594
1574
|
},
|
|
1595
1575
|
"go": {
|
|
1596
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\nintegManifest := &integManifest{\n\ttestCases: map[string]testCase{\n\t\t\"testCasesKey\": &testCase{\n\t\t\t\"stacks\": []*string{\n\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\t\"allowDestroy\": []*string{\n\t\t\t\tjsii.String(\"allowDestroy\"),\n\t\t\t},\n\t\t\t\"cdkCommandOptions\": &CdkCommands{\n\t\t\t\t\"deploy\": &DeployCommand{\n\t\t\t\t\t\"args\": &DeployOptions{\n\t\t\t\t\t\t\"all\": jsii.Boolean(false),\n\t\t\t\t\t\t\"app\": jsii.String(\"app\"),\n\t\t\t\t\t\t\"assetMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"caBundlePath\": jsii.String(\"caBundlePath\"),\n\t\t\t\t\t\t\"changeSetName\": jsii.String(\"changeSetName\"),\n\t\t\t\t\t\t\"ci\": jsii.Boolean(false),\n\t\t\t\t\t\t\"color\": jsii.Boolean(false),\n\t\t\t\t\t\t\"context\": map[string]*string{\n\t\t\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"debug\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ec2Creds\": jsii.Boolean(false),\n\t\t\t\t\t\t\"exclusively\": jsii.Boolean(false),\n\t\t\t\t\t\t\"execute\": jsii.Boolean(false),\n\t\t\t\t\t\t\"force\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ignoreErrors\": jsii.Boolean(false),\n\t\t\t\t\t\t\"json\": jsii.Boolean(false),\n\t\t\t\t\t\t\"lookups\": jsii.Boolean(false),\n\t\t\t\t\t\t\"notices\": jsii.Boolean(false),\n\t\t\t\t\t\t\"notificationArns\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"notificationArns\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"output\": jsii.String(\"output\"),\n\t\t\t\t\t\t\"outputsFile\": jsii.String(\"outputsFile\"),\n\t\t\t\t\t\t\"parameters\": map[string]*string{\n\t\t\t\t\t\t\t\"parametersKey\": jsii.String(\"parameters\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"pathMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"profile\": jsii.String(\"profile\"),\n\t\t\t\t\t\t\"proxy\": jsii.String(\"proxy\"),\n\t\t\t\t\t\t\"requireApproval\": cloud_assembly_schema.RequireApproval_NEVER,\n\t\t\t\t\t\t\"reuseAssets\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"reuseAssets\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"roleArn\": jsii.String(\"roleArn\"),\n\t\t\t\t\t\t\"rollback\": jsii.Boolean(false),\n\t\t\t\t\t\t\"stacks\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"staging\": jsii.Boolean(false),\n\t\t\t\t\t\t\"strict\": jsii.Boolean(false),\n\t\t\t\t\t\t\"toolkitStackName\": jsii.String(\"toolkitStackName\"),\n\t\t\t\t\t\t\"trace\": jsii.Boolean(false),\n\t\t\t\t\t\t\"usePreviousParameters\": jsii.Boolean(false),\n\t\t\t\t\t\t\"verbose\": jsii.Boolean(false),\n\t\t\t\t\t\t\"versionReporting\": jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t\t\"enabled\": jsii.Boolean(false),\n\t\t\t\t\t\"expectedMessage\": jsii.String(\"expectedMessage\"),\n\t\t\t\t\t\"expectError\": jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t\t\"destroy\": &DestroyCommand{\n\t\t\t\t\t\"args\": &DestroyOptions{\n\t\t\t\t\t\t\"all\": jsii.Boolean(false),\n\t\t\t\t\t\t\"app\": jsii.String(\"app\"),\n\t\t\t\t\t\t\"assetMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"caBundlePath\": jsii.String(\"caBundlePath\"),\n\t\t\t\t\t\t\"color\": jsii.Boolean(false),\n\t\t\t\t\t\t\"context\": map[string]*string{\n\t\t\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"debug\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ec2Creds\": jsii.Boolean(false),\n\t\t\t\t\t\t\"exclusively\": jsii.Boolean(false),\n\t\t\t\t\t\t\"force\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ignoreErrors\": jsii.Boolean(false),\n\t\t\t\t\t\t\"json\": jsii.Boolean(false),\n\t\t\t\t\t\t\"lookups\": jsii.Boolean(false),\n\t\t\t\t\t\t\"notices\": jsii.Boolean(false),\n\t\t\t\t\t\t\"output\": jsii.String(\"output\"),\n\t\t\t\t\t\t\"pathMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"profile\": jsii.String(\"profile\"),\n\t\t\t\t\t\t\"proxy\": jsii.String(\"proxy\"),\n\t\t\t\t\t\t\"roleArn\": jsii.String(\"roleArn\"),\n\t\t\t\t\t\t\"stacks\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"staging\": jsii.Boolean(false),\n\t\t\t\t\t\t\"strict\": jsii.Boolean(false),\n\t\t\t\t\t\t\"trace\": jsii.Boolean(false),\n\t\t\t\t\t\t\"verbose\": jsii.Boolean(false),\n\t\t\t\t\t\t\"versionReporting\": jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t\t\"enabled\": jsii.Boolean(false),\n\t\t\t\t\t\"expectedMessage\": jsii.String(\"expectedMessage\"),\n\t\t\t\t\t\"expectError\": jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"diffAssets\": jsii.Boolean(false),\n\t\t\t\"hooks\": &Hooks{\n\t\t\t\t\"postDeploy\": []*string{\n\t\t\t\t\tjsii.String(\"postDeploy\"),\n\t\t\t\t},\n\t\t\t\t\"postDestroy\": []*string{\n\t\t\t\t\tjsii.String(\"postDestroy\"),\n\t\t\t\t},\n\t\t\t\t\"preDeploy\": []*string{\n\t\t\t\t\tjsii.String(\"preDeploy\"),\n\t\t\t\t},\n\t\t\t\t\"preDestroy\": []*string{\n\t\t\t\t\tjsii.String(\"preDestroy\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"regions\": []*string{\n\t\t\t\tjsii.String(\"regions\"),\n\t\t\t},\n\t\t\t\"stackUpdateWorkflow\": jsii.Boolean(false),\n\t\t},\n\t},\n\tversion: jsii.String(\"version\"),\n\n\t// the properties below are optional\n\tenableLookups: jsii.Boolean(false),\n\tsynthContext: map[string]*string{\n\t\t\"synthContextKey\": jsii.String(\"synthContext\"),\n\t},\n}",
|
|
1576
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\nintegManifest := &integManifest{\n\ttestCases: map[string]testCase{\n\t\t\"testCasesKey\": &testCase{\n\t\t\t\"stacks\": []*string{\n\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\t\"allowDestroy\": []*string{\n\t\t\t\tjsii.String(\"allowDestroy\"),\n\t\t\t},\n\t\t\t\"assertionStack\": jsii.String(\"assertionStack\"),\n\t\t\t\"cdkCommandOptions\": &CdkCommands{\n\t\t\t\t\"deploy\": &DeployCommand{\n\t\t\t\t\t\"args\": &DeployOptions{\n\t\t\t\t\t\t\"all\": jsii.Boolean(false),\n\t\t\t\t\t\t\"app\": jsii.String(\"app\"),\n\t\t\t\t\t\t\"assetMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"caBundlePath\": jsii.String(\"caBundlePath\"),\n\t\t\t\t\t\t\"changeSetName\": jsii.String(\"changeSetName\"),\n\t\t\t\t\t\t\"ci\": jsii.Boolean(false),\n\t\t\t\t\t\t\"color\": jsii.Boolean(false),\n\t\t\t\t\t\t\"context\": map[string]*string{\n\t\t\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"debug\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ec2Creds\": jsii.Boolean(false),\n\t\t\t\t\t\t\"exclusively\": jsii.Boolean(false),\n\t\t\t\t\t\t\"execute\": jsii.Boolean(false),\n\t\t\t\t\t\t\"force\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ignoreErrors\": jsii.Boolean(false),\n\t\t\t\t\t\t\"json\": jsii.Boolean(false),\n\t\t\t\t\t\t\"lookups\": jsii.Boolean(false),\n\t\t\t\t\t\t\"notices\": jsii.Boolean(false),\n\t\t\t\t\t\t\"notificationArns\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"notificationArns\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"output\": jsii.String(\"output\"),\n\t\t\t\t\t\t\"outputsFile\": jsii.String(\"outputsFile\"),\n\t\t\t\t\t\t\"parameters\": map[string]*string{\n\t\t\t\t\t\t\t\"parametersKey\": jsii.String(\"parameters\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"pathMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"profile\": jsii.String(\"profile\"),\n\t\t\t\t\t\t\"proxy\": jsii.String(\"proxy\"),\n\t\t\t\t\t\t\"requireApproval\": cloud_assembly_schema.RequireApproval_NEVER,\n\t\t\t\t\t\t\"reuseAssets\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"reuseAssets\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"roleArn\": jsii.String(\"roleArn\"),\n\t\t\t\t\t\t\"rollback\": jsii.Boolean(false),\n\t\t\t\t\t\t\"stacks\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"staging\": jsii.Boolean(false),\n\t\t\t\t\t\t\"strict\": jsii.Boolean(false),\n\t\t\t\t\t\t\"toolkitStackName\": jsii.String(\"toolkitStackName\"),\n\t\t\t\t\t\t\"trace\": jsii.Boolean(false),\n\t\t\t\t\t\t\"usePreviousParameters\": jsii.Boolean(false),\n\t\t\t\t\t\t\"verbose\": jsii.Boolean(false),\n\t\t\t\t\t\t\"versionReporting\": jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t\t\"enabled\": jsii.Boolean(false),\n\t\t\t\t\t\"expectedMessage\": jsii.String(\"expectedMessage\"),\n\t\t\t\t\t\"expectError\": jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t\t\"destroy\": &DestroyCommand{\n\t\t\t\t\t\"args\": &DestroyOptions{\n\t\t\t\t\t\t\"all\": jsii.Boolean(false),\n\t\t\t\t\t\t\"app\": jsii.String(\"app\"),\n\t\t\t\t\t\t\"assetMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"caBundlePath\": jsii.String(\"caBundlePath\"),\n\t\t\t\t\t\t\"color\": jsii.Boolean(false),\n\t\t\t\t\t\t\"context\": map[string]*string{\n\t\t\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"debug\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ec2Creds\": jsii.Boolean(false),\n\t\t\t\t\t\t\"exclusively\": jsii.Boolean(false),\n\t\t\t\t\t\t\"force\": jsii.Boolean(false),\n\t\t\t\t\t\t\"ignoreErrors\": jsii.Boolean(false),\n\t\t\t\t\t\t\"json\": jsii.Boolean(false),\n\t\t\t\t\t\t\"lookups\": jsii.Boolean(false),\n\t\t\t\t\t\t\"notices\": jsii.Boolean(false),\n\t\t\t\t\t\t\"output\": jsii.String(\"output\"),\n\t\t\t\t\t\t\"pathMetadata\": jsii.Boolean(false),\n\t\t\t\t\t\t\"profile\": jsii.String(\"profile\"),\n\t\t\t\t\t\t\"proxy\": jsii.String(\"proxy\"),\n\t\t\t\t\t\t\"roleArn\": jsii.String(\"roleArn\"),\n\t\t\t\t\t\t\"stacks\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"staging\": jsii.Boolean(false),\n\t\t\t\t\t\t\"strict\": jsii.Boolean(false),\n\t\t\t\t\t\t\"trace\": jsii.Boolean(false),\n\t\t\t\t\t\t\"verbose\": jsii.Boolean(false),\n\t\t\t\t\t\t\"versionReporting\": jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t\t\"enabled\": jsii.Boolean(false),\n\t\t\t\t\t\"expectedMessage\": jsii.String(\"expectedMessage\"),\n\t\t\t\t\t\"expectError\": jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"diffAssets\": jsii.Boolean(false),\n\t\t\t\"hooks\": &Hooks{\n\t\t\t\t\"postDeploy\": []*string{\n\t\t\t\t\tjsii.String(\"postDeploy\"),\n\t\t\t\t},\n\t\t\t\t\"postDestroy\": []*string{\n\t\t\t\t\tjsii.String(\"postDestroy\"),\n\t\t\t\t},\n\t\t\t\t\"preDeploy\": []*string{\n\t\t\t\t\tjsii.String(\"preDeploy\"),\n\t\t\t\t},\n\t\t\t\t\"preDestroy\": []*string{\n\t\t\t\t\tjsii.String(\"preDestroy\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"regions\": []*string{\n\t\t\t\tjsii.String(\"regions\"),\n\t\t\t},\n\t\t\t\"stackUpdateWorkflow\": jsii.Boolean(false),\n\t\t},\n\t},\n\tversion: jsii.String(\"version\"),\n\n\t// the properties below are optional\n\tenableLookups: jsii.Boolean(false),\n\tsynthContext: map[string]*string{\n\t\t\"synthContextKey\": jsii.String(\"synthContext\"),\n\t},\n}",
|
|
1597
1577
|
"version": "1"
|
|
1598
1578
|
},
|
|
1599
1579
|
"$": {
|
|
1600
|
-
"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 integManifest: cloud_assembly_schema.IntegManifest = {\n testCases: {\n testCasesKey: {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n },\n },\n version: 'version',\n\n // the properties below are optional\n enableLookups: false,\n synthContext: {\n synthContextKey: 'synthContext',\n },\n};",
|
|
1580
|
+
"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 integManifest: cloud_assembly_schema.IntegManifest = {\n testCases: {\n testCasesKey: {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n assertionStack: 'assertionStack',\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n },\n },\n version: 'version',\n\n // the properties below are optional\n enableLookups: false,\n synthContext: {\n synthContextKey: 'synthContext',\n },\n};",
|
|
1601
1581
|
"version": "0"
|
|
1602
1582
|
}
|
|
1603
1583
|
},
|
|
@@ -1623,10 +1603,10 @@
|
|
|
1623
1603
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
1624
1604
|
"@aws-cdk/cloud-assembly-schema.TestCase"
|
|
1625
1605
|
],
|
|
1626
|
-
"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 integManifest: cloud_assembly_schema.IntegManifest = {\n testCases: {\n testCasesKey: {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n },\n },\n version: 'version',\n\n // the properties below are optional\n enableLookups: false,\n synthContext: {\n synthContextKey: 'synthContext',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1606
|
+
"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 integManifest: cloud_assembly_schema.IntegManifest = {\n testCases: {\n testCasesKey: {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n assertionStack: 'assertionStack',\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n },\n },\n version: 'version',\n\n // the properties below are optional\n enableLookups: false,\n synthContext: {\n synthContextKey: 'synthContext',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
1627
1607
|
"syntaxKindCounter": {
|
|
1628
|
-
"10":
|
|
1629
|
-
"75":
|
|
1608
|
+
"10": 35,
|
|
1609
|
+
"75": 99,
|
|
1630
1610
|
"91": 45,
|
|
1631
1611
|
"153": 1,
|
|
1632
1612
|
"169": 1,
|
|
@@ -1639,10 +1619,10 @@
|
|
|
1639
1619
|
"254": 1,
|
|
1640
1620
|
"255": 1,
|
|
1641
1621
|
"256": 1,
|
|
1642
|
-
"281":
|
|
1622
|
+
"281": 92,
|
|
1643
1623
|
"290": 1
|
|
1644
1624
|
},
|
|
1645
|
-
"fqnsFingerprint": "
|
|
1625
|
+
"fqnsFingerprint": "c03403aac3fc76d5f61d8684fb9249d4f8a9fb2ba28ad81cf3756819d6278f14"
|
|
1646
1626
|
},
|
|
1647
1627
|
"ace2c0f8cefd8405e123e856adc09df724751fa6d2d4aaee28f73a730ea65155": {
|
|
1648
1628
|
"translations": {
|
|
@@ -1983,7 +1963,7 @@
|
|
|
1983
1963
|
"281": 3,
|
|
1984
1964
|
"290": 1
|
|
1985
1965
|
},
|
|
1986
|
-
"fqnsFingerprint": "
|
|
1966
|
+
"fqnsFingerprint": "f444d485ca5086505e5c321934f98cc6bddcd324bbc032306957fdeeb95b26ab"
|
|
1987
1967
|
},
|
|
1988
1968
|
"d45096ab2fa854fa21866ba05726b072043c135cd833a8a74c547f2dd6848774": {
|
|
1989
1969
|
"translations": {
|
|
@@ -2151,26 +2131,26 @@
|
|
|
2151
2131
|
},
|
|
2152
2132
|
"fqnsFingerprint": "78d074e4d2b470a75f833cbc617f3e6d2667991e1805d63d741a9e7cc7fdf8fe"
|
|
2153
2133
|
},
|
|
2154
|
-
"
|
|
2134
|
+
"f38525da9c20f63de9631257e32d488988af2d21b21100245f7562b0c245bc35": {
|
|
2155
2135
|
"translations": {
|
|
2156
2136
|
"python": {
|
|
2157
|
-
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case =
|
|
2137
|
+
"source": "app = App()\n\nstack_under_test = Stack(app, \"StackUnderTest\")\n\nstack = Stack(app, \"stack\")\n\ntest_case = IntegTest(app, \"CustomizedDeploymentWorkflow\",\n test_cases=[stack_under_test],\n diff_assets=True,\n stack_update_workflow=True,\n cdk_command_options=CdkCommands(\n deploy=DeployCommand(\n args=DeployOptions(\n require_approval=RequireApproval.NEVER,\n json=True\n )\n ),\n destroy=DestroyCommand(\n args=DestroyOptions(\n force=True\n )\n )\n )\n)",
|
|
2158
2138
|
"version": "2"
|
|
2159
2139
|
},
|
|
2160
2140
|
"csharp": {
|
|
2161
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
2141
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = new IntegTest(app, \"CustomizedDeploymentWorkflow\", new IntegTestProps {\n TestCases = new [] { stackUnderTest },\n DiffAssets = true,\n StackUpdateWorkflow = true,\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n RequireApproval = RequireApproval.NEVER,\n Json = true\n }\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n Force = true\n }\n }\n }\n});",
|
|
2162
2142
|
"version": "1"
|
|
2163
2143
|
},
|
|
2164
2144
|
"java": {
|
|
2165
|
-
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\
|
|
2145
|
+
"source": "App app = new App();\n\nStack stackUnderTest = new Stack(app, \"StackUnderTest\");\n\nStack stack = new Stack(app, \"stack\");\n\nIntegTest testCase = IntegTest.Builder.create(app, \"CustomizedDeploymentWorkflow\")\n .testCases(List.of(stackUnderTest))\n .diffAssets(true)\n .stackUpdateWorkflow(true)\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .requireApproval(RequireApproval.NEVER)\n .json(true)\n .build())\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .force(true)\n .build())\n .build())\n .build())\n .build();",
|
|
2166
2146
|
"version": "1"
|
|
2167
2147
|
},
|
|
2168
2148
|
"go": {
|
|
2169
|
-
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.
|
|
2149
|
+
"source": "app := awscdkcore.NewApp()\n\nstackUnderTest := awscdkcore.NewStack(app, jsii.String(\"StackUnderTest\"))\n\nstack := awscdkcore.NewStack(app, jsii.String(\"stack\"))\n\ntestCase := awscdkintegtests.NewIntegTest(app, jsii.String(\"CustomizedDeploymentWorkflow\"), &integTestProps{\n\ttestCases: []stack{\n\t\tstackUnderTest,\n\t},\n\tdiffAssets: jsii.Boolean(true),\n\tstackUpdateWorkflow: jsii.Boolean(true),\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\trequireApproval: *awscdkcloudassemblyschema.RequireApproval_NEVER,\n\t\t\t\tjson: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tforce: jsii.Boolean(true),\n\t\t\t},\n\t\t},\n\t},\n})",
|
|
2170
2150
|
"version": "1"
|
|
2171
2151
|
},
|
|
2172
2152
|
"$": {
|
|
2173
|
-
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new
|
|
2153
|
+
"source": "const app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});",
|
|
2174
2154
|
"version": "0"
|
|
2175
2155
|
}
|
|
2176
2156
|
},
|
|
@@ -2193,30 +2173,26 @@
|
|
|
2193
2173
|
"@aws-cdk/cloud-assembly-schema.RequireApproval",
|
|
2194
2174
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
2195
2175
|
"@aws-cdk/core.App",
|
|
2196
|
-
"@aws-cdk/core.Construct",
|
|
2197
2176
|
"@aws-cdk/core.Stack",
|
|
2198
2177
|
"@aws-cdk/integ-tests.IntegTest",
|
|
2199
|
-
"@aws-cdk/integ-tests.IntegTestCase",
|
|
2200
|
-
"@aws-cdk/integ-tests.IntegTestCaseProps",
|
|
2201
2178
|
"@aws-cdk/integ-tests.IntegTestProps",
|
|
2202
2179
|
"constructs.Construct"
|
|
2203
2180
|
],
|
|
2204
|
-
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {
|
|
2181
|
+
"fullSource": "import * as lambda from '@aws-cdk/aws-lambda';\nimport {\n IntegTestCase,\n IntegTest,\n IntegTestCaseStack,\n AwsApiCall,\n EqualsAssertion,\n ActualResult,\n ExpectedResult,\n InvocationType,\n AssertionType,\n LambdaInvokeFunction,\n Match,\n} from '@aws-cdk/integ-tests';\nimport {\n App,\n Construct,\n Stack,\n StackProps,\n CustomResource,\n} from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport { IStateMachine } from '@aws-cdk/aws-stepfunctions';\nimport { RequireApproval } from '@aws-cdk/cloud-assembly-schema';\n\n// Code snippet begins after !show marker below\n/// !show\nconst app = new App();\n\nconst stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);\n\nconst stack = new Stack(app, 'stack');\n\nconst testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {\n testCases: [stackUnderTest],\n diffAssets: true,\n stackUpdateWorkflow: true,\n cdkCommandOptions: {\n deploy: {\n args: {\n requireApproval: RequireApproval.NEVER,\n json: true,\n },\n\t },\n destroy: {\n args: {\n force: true,\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n",
|
|
2205
2182
|
"syntaxKindCounter": {
|
|
2206
|
-
"10":
|
|
2207
|
-
"75":
|
|
2183
|
+
"10": 3,
|
|
2184
|
+
"75": 25,
|
|
2208
2185
|
"106": 4,
|
|
2209
|
-
"192":
|
|
2210
|
-
"193":
|
|
2186
|
+
"192": 1,
|
|
2187
|
+
"193": 6,
|
|
2211
2188
|
"194": 1,
|
|
2212
|
-
"197":
|
|
2189
|
+
"197": 4,
|
|
2213
2190
|
"225": 4,
|
|
2214
|
-
"226": 1,
|
|
2215
2191
|
"242": 4,
|
|
2216
2192
|
"243": 4,
|
|
2217
|
-
"281":
|
|
2193
|
+
"281": 11
|
|
2218
2194
|
},
|
|
2219
|
-
"fqnsFingerprint": "
|
|
2195
|
+
"fqnsFingerprint": "53814c55e44b23643d7e9d15afb75c4d24079ab37a50ebabea190d5665bf566b"
|
|
2220
2196
|
},
|
|
2221
2197
|
"e327fc98591a1ca4bf6867147aeb8b7a1d27221cb2c89501caa802b5a19cd818": {
|
|
2222
2198
|
"translations": {
|
|
@@ -2434,26 +2410,26 @@
|
|
|
2434
2410
|
},
|
|
2435
2411
|
"fqnsFingerprint": "00a9c22e7f063f4897295481ff2ff2240c6dd977d4c3724da8d90f976831fe5d"
|
|
2436
2412
|
},
|
|
2437
|
-
"
|
|
2413
|
+
"a7aefe7e810442173f96e6e1af7e724ad6947865c1c4bf6cb26bd48a854a6e37": {
|
|
2438
2414
|
"translations": {
|
|
2439
2415
|
"python": {
|
|
2440
|
-
"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\ntest_case = cloud_assembly_schema.TestCase(\n stacks=[\"stacks\"],\n\n # the properties below are optional\n allow_destroy=[\"allowDestroy\"],\n cdk_command_options=cloud_assembly_schema.CdkCommands(\n deploy=cloud_assembly_schema.DeployCommand(\n args=cloud_assembly_schema.DeployOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n change_set_name=\"changeSetName\",\n ci=False,\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n execute=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n notification_arns=[\"notificationArns\"],\n output=\"output\",\n outputs_file=\"outputsFile\",\n parameters={\n \"parameters_key\": \"parameters\"\n },\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n require_approval=cloud_assembly_schema.RequireApproval.NEVER,\n reuse_assets=[\"reuseAssets\"],\n role_arn=\"roleArn\",\n rollback=False,\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n toolkit_stack_name=\"toolkitStackName\",\n trace=False,\n use_previous_parameters=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n ),\n destroy=cloud_assembly_schema.DestroyCommand(\n args=cloud_assembly_schema.DestroyOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n output=\"output\",\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n role_arn=\"roleArn\",\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n trace=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n )\n ),\n diff_assets=False,\n hooks=cloud_assembly_schema.Hooks(\n post_deploy=[\"postDeploy\"],\n post_destroy=[\"postDestroy\"],\n pre_deploy=[\"preDeploy\"],\n pre_destroy=[\"preDestroy\"]\n ),\n regions=[\"regions\"],\n stack_update_workflow=False\n)",
|
|
2416
|
+
"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\ntest_case = cloud_assembly_schema.TestCase(\n stacks=[\"stacks\"],\n\n # the properties below are optional\n allow_destroy=[\"allowDestroy\"],\n assertion_stack=\"assertionStack\",\n cdk_command_options=cloud_assembly_schema.CdkCommands(\n deploy=cloud_assembly_schema.DeployCommand(\n args=cloud_assembly_schema.DeployOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n change_set_name=\"changeSetName\",\n ci=False,\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n execute=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n notification_arns=[\"notificationArns\"],\n output=\"output\",\n outputs_file=\"outputsFile\",\n parameters={\n \"parameters_key\": \"parameters\"\n },\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n require_approval=cloud_assembly_schema.RequireApproval.NEVER,\n reuse_assets=[\"reuseAssets\"],\n role_arn=\"roleArn\",\n rollback=False,\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n toolkit_stack_name=\"toolkitStackName\",\n trace=False,\n use_previous_parameters=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n ),\n destroy=cloud_assembly_schema.DestroyCommand(\n args=cloud_assembly_schema.DestroyOptions(\n all=False,\n app=\"app\",\n asset_metadata=False,\n ca_bundle_path=\"caBundlePath\",\n color=False,\n context={\n \"context_key\": \"context\"\n },\n debug=False,\n ec2_creds=False,\n exclusively=False,\n force=False,\n ignore_errors=False,\n json=False,\n lookups=False,\n notices=False,\n output=\"output\",\n path_metadata=False,\n profile=\"profile\",\n proxy=\"proxy\",\n role_arn=\"roleArn\",\n stacks=[\"stacks\"],\n staging=False,\n strict=False,\n trace=False,\n verbose=False,\n version_reporting=False\n ),\n enabled=False,\n expected_message=\"expectedMessage\",\n expect_error=False\n )\n ),\n diff_assets=False,\n hooks=cloud_assembly_schema.Hooks(\n post_deploy=[\"postDeploy\"],\n post_destroy=[\"postDestroy\"],\n pre_deploy=[\"preDeploy\"],\n pre_destroy=[\"preDestroy\"]\n ),\n regions=[\"regions\"],\n stack_update_workflow=False\n)",
|
|
2441
2417
|
"version": "2"
|
|
2442
2418
|
},
|
|
2443
2419
|
"csharp": {
|
|
2444
|
-
"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\nTestCase testCase = new TestCase {\n Stacks = new [] { \"stacks\" },\n\n // the properties below are optional\n AllowDestroy = new [] { \"allowDestroy\" },\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n ChangeSetName = \"changeSetName\",\n Ci = false,\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Execute = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n NotificationArns = new [] { \"notificationArns\" },\n Output = \"output\",\n OutputsFile = \"outputsFile\",\n Parameters = new Dictionary<string, string> {\n { \"parametersKey\", \"parameters\" }\n },\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RequireApproval = RequireApproval.NEVER,\n ReuseAssets = new [] { \"reuseAssets\" },\n RoleArn = \"roleArn\",\n Rollback = false,\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n ToolkitStackName = \"toolkitStackName\",\n Trace = false,\n UsePreviousParameters = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n Output = \"output\",\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RoleArn = \"roleArn\",\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n Trace = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n }\n },\n DiffAssets = false,\n Hooks = new Hooks {\n PostDeploy = new [] { \"postDeploy\" },\n PostDestroy = new [] { \"postDestroy\" },\n PreDeploy = new [] { \"preDeploy\" },\n PreDestroy = new [] { \"preDestroy\" }\n },\n Regions = new [] { \"regions\" },\n StackUpdateWorkflow = false\n};",
|
|
2420
|
+
"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\nTestCase testCase = new TestCase {\n Stacks = new [] { \"stacks\" },\n\n // the properties below are optional\n AllowDestroy = new [] { \"allowDestroy\" },\n AssertionStack = \"assertionStack\",\n CdkCommandOptions = new CdkCommands {\n Deploy = new DeployCommand {\n Args = new DeployOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n ChangeSetName = \"changeSetName\",\n Ci = false,\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Execute = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n NotificationArns = new [] { \"notificationArns\" },\n Output = \"output\",\n OutputsFile = \"outputsFile\",\n Parameters = new Dictionary<string, string> {\n { \"parametersKey\", \"parameters\" }\n },\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RequireApproval = RequireApproval.NEVER,\n ReuseAssets = new [] { \"reuseAssets\" },\n RoleArn = \"roleArn\",\n Rollback = false,\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n ToolkitStackName = \"toolkitStackName\",\n Trace = false,\n UsePreviousParameters = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n },\n Destroy = new DestroyCommand {\n Args = new DestroyOptions {\n All = false,\n App = \"app\",\n AssetMetadata = false,\n CaBundlePath = \"caBundlePath\",\n Color = false,\n Context = new Dictionary<string, string> {\n { \"contextKey\", \"context\" }\n },\n Debug = false,\n Ec2Creds = false,\n Exclusively = false,\n Force = false,\n IgnoreErrors = false,\n Json = false,\n Lookups = false,\n Notices = false,\n Output = \"output\",\n PathMetadata = false,\n Profile = \"profile\",\n Proxy = \"proxy\",\n RoleArn = \"roleArn\",\n Stacks = new [] { \"stacks\" },\n Staging = false,\n Strict = false,\n Trace = false,\n Verbose = false,\n VersionReporting = false\n },\n Enabled = false,\n ExpectedMessage = \"expectedMessage\",\n ExpectError = false\n }\n },\n DiffAssets = false,\n Hooks = new Hooks {\n PostDeploy = new [] { \"postDeploy\" },\n PostDestroy = new [] { \"postDestroy\" },\n PreDeploy = new [] { \"preDeploy\" },\n PreDestroy = new [] { \"preDestroy\" }\n },\n Regions = new [] { \"regions\" },\n StackUpdateWorkflow = false\n};",
|
|
2445
2421
|
"version": "1"
|
|
2446
2422
|
},
|
|
2447
2423
|
"java": {
|
|
2448
|
-
"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\nTestCase testCase = TestCase.builder()\n .stacks(List.of(\"stacks\"))\n\n // the properties below are optional\n .allowDestroy(List.of(\"allowDestroy\"))\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .changeSetName(\"changeSetName\")\n .ci(false)\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .execute(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .notificationArns(List.of(\"notificationArns\"))\n .output(\"output\")\n .outputsFile(\"outputsFile\")\n .parameters(Map.of(\n \"parametersKey\", \"parameters\"))\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .requireApproval(RequireApproval.NEVER)\n .reuseAssets(List.of(\"reuseAssets\"))\n .roleArn(\"roleArn\")\n .rollback(false)\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .toolkitStackName(\"toolkitStackName\")\n .trace(false)\n .usePreviousParameters(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .output(\"output\")\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .roleArn(\"roleArn\")\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .trace(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .build())\n .diffAssets(false)\n .hooks(Hooks.builder()\n .postDeploy(List.of(\"postDeploy\"))\n .postDestroy(List.of(\"postDestroy\"))\n .preDeploy(List.of(\"preDeploy\"))\n .preDestroy(List.of(\"preDestroy\"))\n .build())\n .regions(List.of(\"regions\"))\n .stackUpdateWorkflow(false)\n .build();",
|
|
2424
|
+
"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\nTestCase testCase = TestCase.builder()\n .stacks(List.of(\"stacks\"))\n\n // the properties below are optional\n .allowDestroy(List.of(\"allowDestroy\"))\n .assertionStack(\"assertionStack\")\n .cdkCommandOptions(CdkCommands.builder()\n .deploy(DeployCommand.builder()\n .args(DeployOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .changeSetName(\"changeSetName\")\n .ci(false)\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .execute(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .notificationArns(List.of(\"notificationArns\"))\n .output(\"output\")\n .outputsFile(\"outputsFile\")\n .parameters(Map.of(\n \"parametersKey\", \"parameters\"))\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .requireApproval(RequireApproval.NEVER)\n .reuseAssets(List.of(\"reuseAssets\"))\n .roleArn(\"roleArn\")\n .rollback(false)\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .toolkitStackName(\"toolkitStackName\")\n .trace(false)\n .usePreviousParameters(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .destroy(DestroyCommand.builder()\n .args(DestroyOptions.builder()\n .all(false)\n .app(\"app\")\n .assetMetadata(false)\n .caBundlePath(\"caBundlePath\")\n .color(false)\n .context(Map.of(\n \"contextKey\", \"context\"))\n .debug(false)\n .ec2Creds(false)\n .exclusively(false)\n .force(false)\n .ignoreErrors(false)\n .json(false)\n .lookups(false)\n .notices(false)\n .output(\"output\")\n .pathMetadata(false)\n .profile(\"profile\")\n .proxy(\"proxy\")\n .roleArn(\"roleArn\")\n .stacks(List.of(\"stacks\"))\n .staging(false)\n .strict(false)\n .trace(false)\n .verbose(false)\n .versionReporting(false)\n .build())\n .enabled(false)\n .expectedMessage(\"expectedMessage\")\n .expectError(false)\n .build())\n .build())\n .diffAssets(false)\n .hooks(Hooks.builder()\n .postDeploy(List.of(\"postDeploy\"))\n .postDestroy(List.of(\"postDestroy\"))\n .preDeploy(List.of(\"preDeploy\"))\n .preDestroy(List.of(\"preDestroy\"))\n .build())\n .regions(List.of(\"regions\"))\n .stackUpdateWorkflow(false)\n .build();",
|
|
2449
2425
|
"version": "1"
|
|
2450
2426
|
},
|
|
2451
2427
|
"go": {
|
|
2452
|
-
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ntestCase := &testCase{\n\tstacks: []*string{\n\t\tjsii.String(\"stacks\"),\n\t},\n\n\t// the properties below are optional\n\tallowDestroy: []*string{\n\t\tjsii.String(\"allowDestroy\"),\n\t},\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\tall: jsii.Boolean(false),\n\t\t\t\tapp: jsii.String(\"app\"),\n\t\t\t\tassetMetadata: jsii.Boolean(false),\n\t\t\t\tcaBundlePath: jsii.String(\"caBundlePath\"),\n\t\t\t\tchangeSetName: jsii.String(\"changeSetName\"),\n\t\t\t\tci: jsii.Boolean(false),\n\t\t\t\tcolor: jsii.Boolean(false),\n\t\t\t\tcontext: map[string]*string{\n\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t},\n\t\t\t\tdebug: jsii.Boolean(false),\n\t\t\t\tec2Creds: jsii.Boolean(false),\n\t\t\t\texclusively: jsii.Boolean(false),\n\t\t\t\texecute: jsii.Boolean(false),\n\t\t\t\tforce: jsii.Boolean(false),\n\t\t\t\tignoreErrors: jsii.Boolean(false),\n\t\t\t\tjson: jsii.Boolean(false),\n\t\t\t\tlookups: jsii.Boolean(false),\n\t\t\t\tnotices: jsii.Boolean(false),\n\t\t\t\tnotificationArns: []*string{\n\t\t\t\t\tjsii.String(\"notificationArns\"),\n\t\t\t\t},\n\t\t\t\toutput: jsii.String(\"output\"),\n\t\t\t\toutputsFile: jsii.String(\"outputsFile\"),\n\t\t\t\tparameters: map[string]*string{\n\t\t\t\t\t\"parametersKey\": jsii.String(\"parameters\"),\n\t\t\t\t},\n\t\t\t\tpathMetadata: jsii.Boolean(false),\n\t\t\t\tprofile: jsii.String(\"profile\"),\n\t\t\t\tproxy: jsii.String(\"proxy\"),\n\t\t\t\trequireApproval: cloud_assembly_schema.requireApproval_NEVER,\n\t\t\t\treuseAssets: []*string{\n\t\t\t\t\tjsii.String(\"reuseAssets\"),\n\t\t\t\t},\n\t\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\t\trollback: jsii.Boolean(false),\n\t\t\t\tstacks: []*string{\n\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t},\n\t\t\t\tstaging: jsii.Boolean(false),\n\t\t\t\tstrict: jsii.Boolean(false),\n\t\t\t\ttoolkitStackName: jsii.String(\"toolkitStackName\"),\n\t\t\t\ttrace: jsii.Boolean(false),\n\t\t\t\tusePreviousParameters: jsii.Boolean(false),\n\t\t\t\tverbose: jsii.Boolean(false),\n\t\t\t\tversionReporting: jsii.Boolean(false),\n\t\t\t},\n\t\t\tenabled: jsii.Boolean(false),\n\t\t\texpectedMessage: jsii.String(\"expectedMessage\"),\n\t\t\texpectError: jsii.Boolean(false),\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tall: jsii.Boolean(false),\n\t\t\t\tapp: jsii.String(\"app\"),\n\t\t\t\tassetMetadata: jsii.Boolean(false),\n\t\t\t\tcaBundlePath: jsii.String(\"caBundlePath\"),\n\t\t\t\tcolor: jsii.Boolean(false),\n\t\t\t\tcontext: map[string]*string{\n\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t},\n\t\t\t\tdebug: jsii.Boolean(false),\n\t\t\t\tec2Creds: jsii.Boolean(false),\n\t\t\t\texclusively: jsii.Boolean(false),\n\t\t\t\tforce: jsii.Boolean(false),\n\t\t\t\tignoreErrors: jsii.Boolean(false),\n\t\t\t\tjson: jsii.Boolean(false),\n\t\t\t\tlookups: jsii.Boolean(false),\n\t\t\t\tnotices: jsii.Boolean(false),\n\t\t\t\toutput: jsii.String(\"output\"),\n\t\t\t\tpathMetadata: jsii.Boolean(false),\n\t\t\t\tprofile: jsii.String(\"profile\"),\n\t\t\t\tproxy: jsii.String(\"proxy\"),\n\t\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\t\tstacks: []*string{\n\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t},\n\t\t\t\tstaging: jsii.Boolean(false),\n\t\t\t\tstrict: jsii.Boolean(false),\n\t\t\t\ttrace: jsii.Boolean(false),\n\t\t\t\tverbose: jsii.Boolean(false),\n\t\t\t\tversionReporting: jsii.Boolean(false),\n\t\t\t},\n\t\t\tenabled: jsii.Boolean(false),\n\t\t\texpectedMessage: jsii.String(\"expectedMessage\"),\n\t\t\texpectError: jsii.Boolean(false),\n\t\t},\n\t},\n\tdiffAssets: jsii.Boolean(false),\n\thooks: &hooks{\n\t\tpostDeploy: []*string{\n\t\t\tjsii.String(\"postDeploy\"),\n\t\t},\n\t\tpostDestroy: []*string{\n\t\t\tjsii.String(\"postDestroy\"),\n\t\t},\n\t\tpreDeploy: []*string{\n\t\t\tjsii.String(\"preDeploy\"),\n\t\t},\n\t\tpreDestroy: []*string{\n\t\t\tjsii.String(\"preDestroy\"),\n\t\t},\n\t},\n\tregions: []*string{\n\t\tjsii.String(\"regions\"),\n\t},\n\tstackUpdateWorkflow: jsii.Boolean(false),\n}",
|
|
2428
|
+
"source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\n\ntestCase := &testCase{\n\tstacks: []*string{\n\t\tjsii.String(\"stacks\"),\n\t},\n\n\t// the properties below are optional\n\tallowDestroy: []*string{\n\t\tjsii.String(\"allowDestroy\"),\n\t},\n\tassertionStack: jsii.String(\"assertionStack\"),\n\tcdkCommandOptions: &cdkCommands{\n\t\tdeploy: &deployCommand{\n\t\t\targs: &deployOptions{\n\t\t\t\tall: jsii.Boolean(false),\n\t\t\t\tapp: jsii.String(\"app\"),\n\t\t\t\tassetMetadata: jsii.Boolean(false),\n\t\t\t\tcaBundlePath: jsii.String(\"caBundlePath\"),\n\t\t\t\tchangeSetName: jsii.String(\"changeSetName\"),\n\t\t\t\tci: jsii.Boolean(false),\n\t\t\t\tcolor: jsii.Boolean(false),\n\t\t\t\tcontext: map[string]*string{\n\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t},\n\t\t\t\tdebug: jsii.Boolean(false),\n\t\t\t\tec2Creds: jsii.Boolean(false),\n\t\t\t\texclusively: jsii.Boolean(false),\n\t\t\t\texecute: jsii.Boolean(false),\n\t\t\t\tforce: jsii.Boolean(false),\n\t\t\t\tignoreErrors: jsii.Boolean(false),\n\t\t\t\tjson: jsii.Boolean(false),\n\t\t\t\tlookups: jsii.Boolean(false),\n\t\t\t\tnotices: jsii.Boolean(false),\n\t\t\t\tnotificationArns: []*string{\n\t\t\t\t\tjsii.String(\"notificationArns\"),\n\t\t\t\t},\n\t\t\t\toutput: jsii.String(\"output\"),\n\t\t\t\toutputsFile: jsii.String(\"outputsFile\"),\n\t\t\t\tparameters: map[string]*string{\n\t\t\t\t\t\"parametersKey\": jsii.String(\"parameters\"),\n\t\t\t\t},\n\t\t\t\tpathMetadata: jsii.Boolean(false),\n\t\t\t\tprofile: jsii.String(\"profile\"),\n\t\t\t\tproxy: jsii.String(\"proxy\"),\n\t\t\t\trequireApproval: cloud_assembly_schema.requireApproval_NEVER,\n\t\t\t\treuseAssets: []*string{\n\t\t\t\t\tjsii.String(\"reuseAssets\"),\n\t\t\t\t},\n\t\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\t\trollback: jsii.Boolean(false),\n\t\t\t\tstacks: []*string{\n\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t},\n\t\t\t\tstaging: jsii.Boolean(false),\n\t\t\t\tstrict: jsii.Boolean(false),\n\t\t\t\ttoolkitStackName: jsii.String(\"toolkitStackName\"),\n\t\t\t\ttrace: jsii.Boolean(false),\n\t\t\t\tusePreviousParameters: jsii.Boolean(false),\n\t\t\t\tverbose: jsii.Boolean(false),\n\t\t\t\tversionReporting: jsii.Boolean(false),\n\t\t\t},\n\t\t\tenabled: jsii.Boolean(false),\n\t\t\texpectedMessage: jsii.String(\"expectedMessage\"),\n\t\t\texpectError: jsii.Boolean(false),\n\t\t},\n\t\tdestroy: &destroyCommand{\n\t\t\targs: &destroyOptions{\n\t\t\t\tall: jsii.Boolean(false),\n\t\t\t\tapp: jsii.String(\"app\"),\n\t\t\t\tassetMetadata: jsii.Boolean(false),\n\t\t\t\tcaBundlePath: jsii.String(\"caBundlePath\"),\n\t\t\t\tcolor: jsii.Boolean(false),\n\t\t\t\tcontext: map[string]*string{\n\t\t\t\t\t\"contextKey\": jsii.String(\"context\"),\n\t\t\t\t},\n\t\t\t\tdebug: jsii.Boolean(false),\n\t\t\t\tec2Creds: jsii.Boolean(false),\n\t\t\t\texclusively: jsii.Boolean(false),\n\t\t\t\tforce: jsii.Boolean(false),\n\t\t\t\tignoreErrors: jsii.Boolean(false),\n\t\t\t\tjson: jsii.Boolean(false),\n\t\t\t\tlookups: jsii.Boolean(false),\n\t\t\t\tnotices: jsii.Boolean(false),\n\t\t\t\toutput: jsii.String(\"output\"),\n\t\t\t\tpathMetadata: jsii.Boolean(false),\n\t\t\t\tprofile: jsii.String(\"profile\"),\n\t\t\t\tproxy: jsii.String(\"proxy\"),\n\t\t\t\troleArn: jsii.String(\"roleArn\"),\n\t\t\t\tstacks: []*string{\n\t\t\t\t\tjsii.String(\"stacks\"),\n\t\t\t\t},\n\t\t\t\tstaging: jsii.Boolean(false),\n\t\t\t\tstrict: jsii.Boolean(false),\n\t\t\t\ttrace: jsii.Boolean(false),\n\t\t\t\tverbose: jsii.Boolean(false),\n\t\t\t\tversionReporting: jsii.Boolean(false),\n\t\t\t},\n\t\t\tenabled: jsii.Boolean(false),\n\t\t\texpectedMessage: jsii.String(\"expectedMessage\"),\n\t\t\texpectError: jsii.Boolean(false),\n\t\t},\n\t},\n\tdiffAssets: jsii.Boolean(false),\n\thooks: &hooks{\n\t\tpostDeploy: []*string{\n\t\t\tjsii.String(\"postDeploy\"),\n\t\t},\n\t\tpostDestroy: []*string{\n\t\t\tjsii.String(\"postDestroy\"),\n\t\t},\n\t\tpreDeploy: []*string{\n\t\t\tjsii.String(\"preDeploy\"),\n\t\t},\n\t\tpreDestroy: []*string{\n\t\t\tjsii.String(\"preDestroy\"),\n\t\t},\n\t},\n\tregions: []*string{\n\t\tjsii.String(\"regions\"),\n\t},\n\tstackUpdateWorkflow: jsii.Boolean(false),\n}",
|
|
2453
2429
|
"version": "1"
|
|
2454
2430
|
},
|
|
2455
2431
|
"$": {
|
|
2456
|
-
"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 testCase: cloud_assembly_schema.TestCase = {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n};",
|
|
2432
|
+
"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 testCase: cloud_assembly_schema.TestCase = {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n assertionStack: 'assertionStack',\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n};",
|
|
2457
2433
|
"version": "0"
|
|
2458
2434
|
}
|
|
2459
2435
|
},
|
|
@@ -2478,10 +2454,10 @@
|
|
|
2478
2454
|
"@aws-cdk/cloud-assembly-schema.RequireApproval#NEVER",
|
|
2479
2455
|
"@aws-cdk/cloud-assembly-schema.TestCase"
|
|
2480
2456
|
],
|
|
2481
|
-
"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 testCase: cloud_assembly_schema.TestCase = {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
2457
|
+
"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 testCase: cloud_assembly_schema.TestCase = {\n stacks: ['stacks'],\n\n // the properties below are optional\n allowDestroy: ['allowDestroy'],\n assertionStack: 'assertionStack',\n cdkCommandOptions: {\n deploy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n changeSetName: 'changeSetName',\n ci: false,\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n execute: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n notificationArns: ['notificationArns'],\n output: 'output',\n outputsFile: 'outputsFile',\n parameters: {\n parametersKey: 'parameters',\n },\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n requireApproval: cloud_assembly_schema.RequireApproval.NEVER,\n reuseAssets: ['reuseAssets'],\n roleArn: 'roleArn',\n rollback: false,\n stacks: ['stacks'],\n staging: false,\n strict: false,\n toolkitStackName: 'toolkitStackName',\n trace: false,\n usePreviousParameters: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n destroy: {\n args: {\n all: false,\n app: 'app',\n assetMetadata: false,\n caBundlePath: 'caBundlePath',\n color: false,\n context: {\n contextKey: 'context',\n },\n debug: false,\n ec2Creds: false,\n exclusively: false,\n force: false,\n ignoreErrors: false,\n json: false,\n lookups: false,\n notices: false,\n output: 'output',\n pathMetadata: false,\n profile: 'profile',\n proxy: 'proxy',\n roleArn: 'roleArn',\n stacks: ['stacks'],\n staging: false,\n strict: false,\n trace: false,\n verbose: false,\n versionReporting: false,\n },\n enabled: false,\n expectedMessage: 'expectedMessage',\n expectError: false,\n },\n },\n diffAssets: false,\n hooks: {\n postDeploy: ['postDeploy'],\n postDestroy: ['postDestroy'],\n preDeploy: ['preDeploy'],\n preDestroy: ['preDestroy'],\n },\n regions: ['regions'],\n stackUpdateWorkflow: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
|
|
2482
2458
|
"syntaxKindCounter": {
|
|
2483
|
-
"10":
|
|
2484
|
-
"75":
|
|
2459
|
+
"10": 33,
|
|
2460
|
+
"75": 93,
|
|
2485
2461
|
"91": 44,
|
|
2486
2462
|
"153": 1,
|
|
2487
2463
|
"169": 1,
|
|
@@ -2494,10 +2470,10 @@
|
|
|
2494
2470
|
"254": 1,
|
|
2495
2471
|
"255": 1,
|
|
2496
2472
|
"256": 1,
|
|
2497
|
-
"281":
|
|
2473
|
+
"281": 86,
|
|
2498
2474
|
"290": 1
|
|
2499
2475
|
},
|
|
2500
|
-
"fqnsFingerprint": "
|
|
2476
|
+
"fqnsFingerprint": "28d3c0ba42294fff0b5f69e8fe4a3e60a2527fec8965d08d777b3a894c90678c"
|
|
2501
2477
|
},
|
|
2502
2478
|
"2f3dd325771b352930f14f196545716d8018a2fcbf0b9d9a3f3dc0dc5d3e5f6c": {
|
|
2503
2479
|
"translations": {
|