@aws-cdk/cloud-assembly-schema 2.17.0 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -16,7 +16,7 @@
16
16
  "stability": "stable"
17
17
  },
18
18
  "homepage": "https://github.com/aws/aws-cdk",
19
- "jsiiVersion": "1.54.0 (build b1b977a)",
19
+ "jsiiVersion": "1.55.1 (build 07d2d90)",
20
20
  "keywords": [
21
21
  "aws",
22
22
  "cdk"
@@ -3898,6 +3898,6 @@
3898
3898
  "symbolId": "lib/cloud-assembly/context-queries:VpcContextQuery"
3899
3899
  }
3900
3900
  },
3901
- "version": "2.17.0",
3901
+ "version": "2.18.0",
3902
3902
  "fingerprint": "**********"
3903
3903
  }
package/.jsii.tabl.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "2",
3
- "toolVersion": "1.54.0",
3
+ "toolVersion": "1.55.1",
4
4
  "snippets": {
5
5
  "cecc4b6be0cf4accc3e46f1670579b731439bd3e3b6efffdbd431eb0130d724c": {
6
6
  "translations": {
@@ -16,6 +16,10 @@
16
16
  "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\nAmiContextQuery amiContextQuery = AmiContextQuery.builder()\n .account(\"account\")\n .filters(Map.of(\n \"filtersKey\", List.of(\"filters\")))\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .owners(List.of(\"owners\"))\n .build();",
17
17
  "version": "1"
18
18
  },
19
+ "go": {
20
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\namiContextQuery := &amiContextQuery{\n\taccount: jsii.String(\"account\"),\n\tfilters: map[string][]*string{\n\t\t\"filtersKey\": []*string{\n\t\t\tjsii.String(\"filters\"),\n\t\t},\n\t},\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n\towners: []*string{\n\t\tjsii.String(\"owners\"),\n\t},\n}",
21
+ "version": "1"
22
+ },
19
23
  "$": {
20
24
  "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 amiContextQuery: cloud_assembly_schema.AmiContextQuery = {\n account: 'account',\n filters: {\n filtersKey: ['filters'],\n },\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n owners: ['owners'],\n};",
21
25
  "version": "0"
@@ -67,6 +71,10 @@
67
71
  "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\nArtifactManifest artifactManifest = ArtifactManifest.builder()\n .type(ArtifactType.NONE)\n\n // the properties below are optional\n .dependencies(List.of(\"dependencies\"))\n .displayName(\"displayName\")\n .environment(\"environment\")\n .metadata(Map.of(\n \"metadataKey\", List.of(MetadataEntry.builder()\n .type(\"type\")\n\n // the properties below are optional\n .data(\"data\")\n .trace(List.of(\"trace\"))\n .build())))\n .properties(AwsCloudFormationStackProperties.builder()\n .templateFile(\"templateFile\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .cloudFormationExecutionRoleArn(\"cloudFormationExecutionRoleArn\")\n .lookupRole(BootstrapRole.builder()\n .arn(\"arn\")\n\n // the properties below are optional\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .requiresBootstrapStackVersion(123)\n .build())\n .parameters(Map.of(\n \"parametersKey\", \"parameters\"))\n .requiresBootstrapStackVersion(123)\n .stackName(\"stackName\")\n .stackTemplateAssetObjectUrl(\"stackTemplateAssetObjectUrl\")\n .tags(Map.of(\n \"tagsKey\", \"tags\"))\n .terminationProtection(false)\n .validateOnSynth(false)\n .build())\n .build();",
68
72
  "version": "1"
69
73
  },
74
+ "go": {
75
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nartifactManifest := &artifactManifest{\n\ttype: cloud_assembly_schema.artifactType_NONE,\n\n\t// the properties below are optional\n\tdependencies: []*string{\n\t\tjsii.String(\"dependencies\"),\n\t},\n\tdisplayName: jsii.String(\"displayName\"),\n\tenvironment: jsii.String(\"environment\"),\n\tmetadata: map[string][]metadataEntry{\n\t\t\"metadataKey\": []*metadataEntry{\n\t\t\t&metadataEntry{\n\t\t\t\t\"type\": jsii.String(\"type\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\t\"data\": jsii.String(\"data\"),\n\t\t\t\t\"trace\": []*string{\n\t\t\t\t\tjsii.String(\"trace\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tproperties: &awsCloudFormationStackProperties{\n\t\ttemplateFile: jsii.String(\"templateFile\"),\n\n\t\t// the properties below are optional\n\t\tassumeRoleArn: jsii.String(\"assumeRoleArn\"),\n\t\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\t\tbootstrapStackVersionSsmParameter: jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\t\tcloudFormationExecutionRoleArn: jsii.String(\"cloudFormationExecutionRoleArn\"),\n\t\tlookupRole: &bootstrapRole{\n\t\t\tarn: jsii.String(\"arn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\t\t\tbootstrapStackVersionSsmParameter: jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\t\t\trequiresBootstrapStackVersion: jsii.Number(123),\n\t\t},\n\t\tparameters: map[string]*string{\n\t\t\t\"parametersKey\": jsii.String(\"parameters\"),\n\t\t},\n\t\trequiresBootstrapStackVersion: jsii.Number(123),\n\t\tstackName: jsii.String(\"stackName\"),\n\t\tstackTemplateAssetObjectUrl: jsii.String(\"stackTemplateAssetObjectUrl\"),\n\t\ttags: map[string]*string{\n\t\t\t\"tagsKey\": jsii.String(\"tags\"),\n\t\t},\n\t\tterminationProtection: jsii.Boolean(false),\n\t\tvalidateOnSynth: jsii.Boolean(false),\n\t},\n}",
76
+ "version": "1"
77
+ },
70
78
  "$": {
71
79
  "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 artifactManifest: cloud_assembly_schema.ArtifactManifest = {\n type: cloud_assembly_schema.ArtifactType.NONE,\n\n // the properties below are optional\n dependencies: ['dependencies'],\n displayName: 'displayName',\n environment: 'environment',\n metadata: {\n metadataKey: [{\n type: 'type',\n\n // the properties below are optional\n data: 'data',\n trace: ['trace'],\n }],\n },\n properties: {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n lookupRole: {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n },\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n },\n};",
72
80
  "version": "0"
@@ -124,6 +132,10 @@
124
132
  "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\nAssemblyManifest assemblyManifest = AssemblyManifest.builder()\n .version(\"version\")\n\n // the properties below are optional\n .artifacts(Map.of(\n \"artifactsKey\", ArtifactManifest.builder()\n .type(ArtifactType.NONE)\n\n // the properties below are optional\n .dependencies(List.of(\"dependencies\"))\n .displayName(\"displayName\")\n .environment(\"environment\")\n .metadata(Map.of(\n \"metadataKey\", List.of(MetadataEntry.builder()\n .type(\"type\")\n\n // the properties below are optional\n .data(\"data\")\n .trace(List.of(\"trace\"))\n .build())))\n .properties(AwsCloudFormationStackProperties.builder()\n .templateFile(\"templateFile\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .cloudFormationExecutionRoleArn(\"cloudFormationExecutionRoleArn\")\n .lookupRole(BootstrapRole.builder()\n .arn(\"arn\")\n\n // the properties below are optional\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .requiresBootstrapStackVersion(123)\n .build())\n .parameters(Map.of(\n \"parametersKey\", \"parameters\"))\n .requiresBootstrapStackVersion(123)\n .stackName(\"stackName\")\n .stackTemplateAssetObjectUrl(\"stackTemplateAssetObjectUrl\")\n .tags(Map.of(\n \"tagsKey\", \"tags\"))\n .terminationProtection(false)\n .validateOnSynth(false)\n .build())\n .build()))\n .missing(List.of(MissingContext.builder()\n .key(\"key\")\n .props(AmiContextQuery.builder()\n .account(\"account\")\n .filters(Map.of(\n \"filtersKey\", List.of(\"filters\")))\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .owners(List.of(\"owners\"))\n .build())\n .provider(ContextProvider.AMI_PROVIDER)\n .build()))\n .runtime(RuntimeInfo.builder()\n .libraries(Map.of(\n \"librariesKey\", \"libraries\"))\n .build())\n .build();",
125
133
  "version": "1"
126
134
  },
135
+ "go": {
136
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nassemblyManifest := &assemblyManifest{\n\tversion: jsii.String(\"version\"),\n\n\t// the properties below are optional\n\tartifacts: map[string]artifactManifest{\n\t\t\"artifactsKey\": &artifactManifest{\n\t\t\t\"type\": cloud_assembly_schema.ArtifactType_NONE,\n\n\t\t\t// the properties below are optional\n\t\t\t\"dependencies\": []*string{\n\t\t\t\tjsii.String(\"dependencies\"),\n\t\t\t},\n\t\t\t\"displayName\": jsii.String(\"displayName\"),\n\t\t\t\"environment\": jsii.String(\"environment\"),\n\t\t\t\"metadata\": map[string][]MetadataEntry{\n\t\t\t\t\"metadataKey\": []MetadataEntry{\n\t\t\t\t\t&MetadataEntry{\n\t\t\t\t\t\t\"type\": jsii.String(\"type\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\"data\": jsii.String(\"data\"),\n\t\t\t\t\t\t\"trace\": []*string{\n\t\t\t\t\t\t\tjsii.String(\"trace\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"properties\": &AwsCloudFormationStackProperties{\n\t\t\t\t\"templateFile\": jsii.String(\"templateFile\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\t\"assumeRoleArn\": jsii.String(\"assumeRoleArn\"),\n\t\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\t\"bootstrapStackVersionSsmParameter\": jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\t\t\t\t\"cloudFormationExecutionRoleArn\": jsii.String(\"cloudFormationExecutionRoleArn\"),\n\t\t\t\t\"lookupRole\": &BootstrapRole{\n\t\t\t\t\t\"arn\": jsii.String(\"arn\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\"assumeRoleExternalId\": jsii.String(\"assumeRoleExternalId\"),\n\t\t\t\t\t\"bootstrapStackVersionSsmParameter\": jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\t\t\t\t\t\"requiresBootstrapStackVersion\": jsii.Number(123),\n\t\t\t\t},\n\t\t\t\t\"parameters\": map[string]*string{\n\t\t\t\t\t\"parametersKey\": jsii.String(\"parameters\"),\n\t\t\t\t},\n\t\t\t\t\"requiresBootstrapStackVersion\": jsii.Number(123),\n\t\t\t\t\"stackName\": jsii.String(\"stackName\"),\n\t\t\t\t\"stackTemplateAssetObjectUrl\": jsii.String(\"stackTemplateAssetObjectUrl\"),\n\t\t\t\t\"tags\": map[string]*string{\n\t\t\t\t\t\"tagsKey\": jsii.String(\"tags\"),\n\t\t\t\t},\n\t\t\t\t\"terminationProtection\": jsii.Boolean(false),\n\t\t\t\t\"validateOnSynth\": jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t},\n\tmissing: []missingContext{\n\t\t&missingContext{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tprops: &amiContextQuery{\n\t\t\t\taccount: jsii.String(\"account\"),\n\t\t\t\tfilters: map[string][]*string{\n\t\t\t\t\t\"filtersKey\": []*string{\n\t\t\t\t\t\tjsii.String(\"filters\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tregion: jsii.String(\"region\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n\t\t\t\towners: []interface{}{\n\t\t\t\t\tjsii.String(\"owners\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tprovider: cloud_assembly_schema.contextProvider_AMI_PROVIDER,\n\t\t},\n\t},\n\truntime: &runtimeInfo{\n\t\tlibraries: map[string]*string{\n\t\t\t\"librariesKey\": jsii.String(\"libraries\"),\n\t\t},\n\t},\n}",
137
+ "version": "1"
138
+ },
127
139
  "$": {
128
140
  "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 assemblyManifest: cloud_assembly_schema.AssemblyManifest = {\n version: 'version',\n\n // the properties below are optional\n artifacts: {\n artifactsKey: {\n type: cloud_assembly_schema.ArtifactType.NONE,\n\n // the properties below are optional\n dependencies: ['dependencies'],\n displayName: 'displayName',\n environment: 'environment',\n metadata: {\n metadataKey: [{\n type: 'type',\n\n // the properties below are optional\n data: 'data',\n trace: ['trace'],\n }],\n },\n properties: {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n lookupRole: {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n },\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n },\n },\n },\n missing: [{\n key: 'key',\n props: {\n account: 'account',\n filters: {\n filtersKey: ['filters'],\n },\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n owners: ['owners'],\n },\n provider: cloud_assembly_schema.ContextProvider.AMI_PROVIDER,\n }],\n runtime: {\n libraries: {\n librariesKey: 'libraries',\n },\n },\n};",
129
141
  "version": "0"
@@ -185,6 +197,10 @@
185
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();",
186
198
  "version": "1"
187
199
  },
200
+ "go": {
201
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\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}",
202
+ "version": "1"
203
+ },
188
204
  "$": {
189
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};",
190
206
  "version": "0"
@@ -245,6 +261,10 @@
245
261
  "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\nAssetManifestProperties assetManifestProperties = AssetManifestProperties.builder()\n .file(\"file\")\n\n // the properties below are optional\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .requiresBootstrapStackVersion(123)\n .build();",
246
262
  "version": "1"
247
263
  },
264
+ "go": {
265
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nassetManifestProperties := &assetManifestProperties{\n\tfile: jsii.String(\"file\"),\n\n\t// the properties below are optional\n\tbootstrapStackVersionSsmParameter: jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\trequiresBootstrapStackVersion: jsii.Number(123),\n}",
266
+ "version": "1"
267
+ },
248
268
  "$": {
249
269
  "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 assetManifestProperties: cloud_assembly_schema.AssetManifestProperties = {\n file: 'file',\n\n // the properties below are optional\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n};",
250
270
  "version": "0"
@@ -296,6 +316,10 @@
296
316
  "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\nAvailabilityZonesContextQuery availabilityZonesContextQuery = AvailabilityZonesContextQuery.builder()\n .account(\"account\")\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .build();",
297
317
  "version": "1"
298
318
  },
319
+ "go": {
320
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\navailabilityZonesContextQuery := &availabilityZonesContextQuery{\n\taccount: jsii.String(\"account\"),\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n}",
321
+ "version": "1"
322
+ },
299
323
  "$": {
300
324
  "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 availabilityZonesContextQuery: cloud_assembly_schema.AvailabilityZonesContextQuery = {\n account: 'account',\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n};",
301
325
  "version": "0"
@@ -346,6 +370,10 @@
346
370
  "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\nAwsCloudFormationStackProperties awsCloudFormationStackProperties = AwsCloudFormationStackProperties.builder()\n .templateFile(\"templateFile\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .cloudFormationExecutionRoleArn(\"cloudFormationExecutionRoleArn\")\n .lookupRole(BootstrapRole.builder()\n .arn(\"arn\")\n\n // the properties below are optional\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .requiresBootstrapStackVersion(123)\n .build())\n .parameters(Map.of(\n \"parametersKey\", \"parameters\"))\n .requiresBootstrapStackVersion(123)\n .stackName(\"stackName\")\n .stackTemplateAssetObjectUrl(\"stackTemplateAssetObjectUrl\")\n .tags(Map.of(\n \"tagsKey\", \"tags\"))\n .terminationProtection(false)\n .validateOnSynth(false)\n .build();",
347
371
  "version": "1"
348
372
  },
373
+ "go": {
374
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nawsCloudFormationStackProperties := &awsCloudFormationStackProperties{\n\ttemplateFile: jsii.String(\"templateFile\"),\n\n\t// the properties below are optional\n\tassumeRoleArn: jsii.String(\"assumeRoleArn\"),\n\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\tbootstrapStackVersionSsmParameter: jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\tcloudFormationExecutionRoleArn: jsii.String(\"cloudFormationExecutionRoleArn\"),\n\tlookupRole: &bootstrapRole{\n\t\tarn: jsii.String(\"arn\"),\n\n\t\t// the properties below are optional\n\t\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\t\tbootstrapStackVersionSsmParameter: jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\t\trequiresBootstrapStackVersion: jsii.Number(123),\n\t},\n\tparameters: map[string]*string{\n\t\t\"parametersKey\": jsii.String(\"parameters\"),\n\t},\n\trequiresBootstrapStackVersion: jsii.Number(123),\n\tstackName: jsii.String(\"stackName\"),\n\tstackTemplateAssetObjectUrl: jsii.String(\"stackTemplateAssetObjectUrl\"),\n\ttags: map[string]*string{\n\t\t\"tagsKey\": jsii.String(\"tags\"),\n\t},\n\tterminationProtection: jsii.Boolean(false),\n\tvalidateOnSynth: jsii.Boolean(false),\n}",
375
+ "version": "1"
376
+ },
349
377
  "$": {
350
378
  "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 awsCloudFormationStackProperties: cloud_assembly_schema.AwsCloudFormationStackProperties = {\n templateFile: 'templateFile',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',\n lookupRole: {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n },\n parameters: {\n parametersKey: 'parameters',\n },\n requiresBootstrapStackVersion: 123,\n stackName: 'stackName',\n stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n validateOnSynth: false,\n};",
351
379
  "version": "0"
@@ -399,6 +427,10 @@
399
427
  "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\nAwsDestination awsDestination = AwsDestination.builder()\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build();",
400
428
  "version": "1"
401
429
  },
430
+ "go": {
431
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nawsDestination := &awsDestination{\n\tassumeRoleArn: jsii.String(\"assumeRoleArn\"),\n\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\tregion: jsii.String(\"region\"),\n}",
432
+ "version": "1"
433
+ },
402
434
  "$": {
403
435
  "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 awsDestination: cloud_assembly_schema.AwsDestination = {\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n};",
404
436
  "version": "0"
@@ -449,6 +481,10 @@
449
481
  "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\nBootstrapRole bootstrapRole = BootstrapRole.builder()\n .arn(\"arn\")\n\n // the properties below are optional\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .bootstrapStackVersionSsmParameter(\"bootstrapStackVersionSsmParameter\")\n .requiresBootstrapStackVersion(123)\n .build();",
450
482
  "version": "1"
451
483
  },
484
+ "go": {
485
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nbootstrapRole := &bootstrapRole{\n\tarn: jsii.String(\"arn\"),\n\n\t// the properties below are optional\n\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\tbootstrapStackVersionSsmParameter: jsii.String(\"bootstrapStackVersionSsmParameter\"),\n\trequiresBootstrapStackVersion: jsii.Number(123),\n}",
486
+ "version": "1"
487
+ },
452
488
  "$": {
453
489
  "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 bootstrapRole: cloud_assembly_schema.BootstrapRole = {\n arn: 'arn',\n\n // the properties below are optional\n assumeRoleExternalId: 'assumeRoleExternalId',\n bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',\n requiresBootstrapStackVersion: 123,\n};",
454
490
  "version": "0"
@@ -500,6 +536,10 @@
500
536
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nContainerImageAssetMetadataEntry containerImageAssetMetadataEntry = ContainerImageAssetMetadataEntry.builder()\n .id(\"id\")\n .packaging(\"packaging\")\n .path(\"path\")\n .sourceHash(\"sourceHash\")\n\n // the properties below are optional\n .buildArgs(Map.of(\n \"buildArgsKey\", \"buildArgs\"))\n .file(\"file\")\n .imageNameParameter(\"imageNameParameter\")\n .imageTag(\"imageTag\")\n .networkMode(\"networkMode\")\n .repositoryName(\"repositoryName\")\n .target(\"target\")\n .build();",
501
537
  "version": "1"
502
538
  },
539
+ "go": {
540
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\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}",
541
+ "version": "1"
542
+ },
503
543
  "$": {
504
544
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst containerImageAssetMetadataEntry: cloud_assembly_schema.ContainerImageAssetMetadataEntry = {\n id: 'id',\n packaging: 'packaging',\n path: 'path',\n sourceHash: 'sourceHash',\n\n // the properties below are optional\n buildArgs: {\n buildArgsKey: 'buildArgs',\n },\n file: 'file',\n imageNameParameter: 'imageNameParameter',\n imageTag: 'imageTag',\n networkMode: 'networkMode',\n repositoryName: 'repositoryName',\n target: 'target',\n};",
505
545
  "version": "0"
@@ -550,6 +590,10 @@
550
590
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nDockerImageAsset dockerImageAsset = DockerImageAsset.builder()\n .destinations(Map.of(\n \"destinationsKey\", DockerImageDestination.builder()\n .imageTag(\"imageTag\")\n .repositoryName(\"repositoryName\")\n\n // the properties below are optional\n .assumeRoleArn(\"assumeRoleArn\")\n .assumeRoleExternalId(\"assumeRoleExternalId\")\n .region(\"region\")\n .build()))\n .source(DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .networkMode(\"networkMode\")\n .build())\n .build();",
551
591
  "version": "1"
552
592
  },
593
+ "go": {
594
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\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}",
595
+ "version": "1"
596
+ },
553
597
  "$": {
554
598
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst dockerImageAsset: cloud_assembly_schema.DockerImageAsset = {\n destinations: {\n destinationsKey: {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n },\n },\n source: {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n },\n};",
555
599
  "version": "0"
@@ -603,6 +647,10 @@
603
647
  "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\nDockerImageDestination dockerImageDestination = 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();",
604
648
  "version": "1"
605
649
  },
650
+ "go": {
651
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\ndockerImageDestination := &dockerImageDestination{\n\timageTag: jsii.String(\"imageTag\"),\n\trepositoryName: jsii.String(\"repositoryName\"),\n\n\t// the properties below are optional\n\tassumeRoleArn: jsii.String(\"assumeRoleArn\"),\n\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\tregion: jsii.String(\"region\"),\n}",
652
+ "version": "1"
653
+ },
606
654
  "$": {
607
655
  "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 dockerImageDestination: cloud_assembly_schema.DockerImageDestination = {\n imageTag: 'imageTag',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n};",
608
656
  "version": "0"
@@ -653,6 +701,10 @@
653
701
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nDockerImageSource dockerImageSource = DockerImageSource.builder()\n .directory(\"directory\")\n .dockerBuildArgs(Map.of(\n \"dockerBuildArgsKey\", \"dockerBuildArgs\"))\n .dockerBuildTarget(\"dockerBuildTarget\")\n .dockerFile(\"dockerFile\")\n .executable(List.of(\"executable\"))\n .networkMode(\"networkMode\")\n .build();",
654
702
  "version": "1"
655
703
  },
704
+ "go": {
705
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\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}",
706
+ "version": "1"
707
+ },
656
708
  "$": {
657
709
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst dockerImageSource: cloud_assembly_schema.DockerImageSource = {\n directory: 'directory',\n dockerBuildArgs: {\n dockerBuildArgsKey: 'dockerBuildArgs',\n },\n dockerBuildTarget: 'dockerBuildTarget',\n dockerFile: 'dockerFile',\n executable: ['executable'],\n networkMode: 'networkMode',\n};",
658
710
  "version": "0"
@@ -704,6 +756,10 @@
704
756
  "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\nEndpointServiceAvailabilityZonesContextQuery endpointServiceAvailabilityZonesContextQuery = EndpointServiceAvailabilityZonesContextQuery.builder()\n .account(\"account\")\n .region(\"region\")\n .serviceName(\"serviceName\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .build();",
705
757
  "version": "1"
706
758
  },
759
+ "go": {
760
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nendpointServiceAvailabilityZonesContextQuery := &endpointServiceAvailabilityZonesContextQuery{\n\taccount: jsii.String(\"account\"),\n\tregion: jsii.String(\"region\"),\n\tserviceName: jsii.String(\"serviceName\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n}",
761
+ "version": "1"
762
+ },
707
763
  "$": {
708
764
  "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 endpointServiceAvailabilityZonesContextQuery: cloud_assembly_schema.EndpointServiceAvailabilityZonesContextQuery = {\n account: 'account',\n region: 'region',\n serviceName: 'serviceName',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n};",
709
765
  "version": "0"
@@ -754,6 +810,10 @@
754
810
  "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\nFileAsset fileAsset = 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();",
755
811
  "version": "1"
756
812
  },
813
+ "go": {
814
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nfileAsset := &fileAsset{\n\tdestinations: map[string]fileDestination{\n\t\t\"destinationsKey\": &fileDestination{\n\t\t\t\"bucketName\": jsii.String(\"bucketName\"),\n\t\t\t\"objectKey\": jsii.String(\"objectKey\"),\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: &fileSource{\n\t\texecutable: []*string{\n\t\t\tjsii.String(\"executable\"),\n\t\t},\n\t\tpackaging: cloud_assembly_schema.fileAssetPackaging_FILE,\n\t\tpath: jsii.String(\"path\"),\n\t},\n}",
815
+ "version": "1"
816
+ },
757
817
  "$": {
758
818
  "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 fileAsset: cloud_assembly_schema.FileAsset = {\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};",
759
819
  "version": "0"
@@ -810,6 +870,10 @@
810
870
  "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\nFileAssetMetadataEntry fileAssetMetadataEntry = FileAssetMetadataEntry.builder()\n .artifactHashParameter(\"artifactHashParameter\")\n .id(\"id\")\n .packaging(\"packaging\")\n .path(\"path\")\n .s3BucketParameter(\"s3BucketParameter\")\n .s3KeyParameter(\"s3KeyParameter\")\n .sourceHash(\"sourceHash\")\n .build();",
811
871
  "version": "1"
812
872
  },
873
+ "go": {
874
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nfileAssetMetadataEntry := &fileAssetMetadataEntry{\n\tartifactHashParameter: jsii.String(\"artifactHashParameter\"),\n\tid: jsii.String(\"id\"),\n\tpackaging: jsii.String(\"packaging\"),\n\tpath: jsii.String(\"path\"),\n\ts3BucketParameter: jsii.String(\"s3BucketParameter\"),\n\ts3KeyParameter: jsii.String(\"s3KeyParameter\"),\n\tsourceHash: jsii.String(\"sourceHash\"),\n}",
875
+ "version": "1"
876
+ },
813
877
  "$": {
814
878
  "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 fileAssetMetadataEntry: cloud_assembly_schema.FileAssetMetadataEntry = {\n artifactHashParameter: 'artifactHashParameter',\n id: 'id',\n packaging: 'packaging',\n path: 'path',\n s3BucketParameter: 's3BucketParameter',\n s3KeyParameter: 's3KeyParameter',\n sourceHash: 'sourceHash',\n};",
815
879
  "version": "0"
@@ -860,6 +924,10 @@
860
924
  "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\nFileDestination fileDestination = 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();",
861
925
  "version": "1"
862
926
  },
927
+ "go": {
928
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nfileDestination := &fileDestination{\n\tbucketName: jsii.String(\"bucketName\"),\n\tobjectKey: jsii.String(\"objectKey\"),\n\n\t// the properties below are optional\n\tassumeRoleArn: jsii.String(\"assumeRoleArn\"),\n\tassumeRoleExternalId: jsii.String(\"assumeRoleExternalId\"),\n\tregion: jsii.String(\"region\"),\n}",
929
+ "version": "1"
930
+ },
863
931
  "$": {
864
932
  "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 fileDestination: cloud_assembly_schema.FileDestination = {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n assumeRoleArn: 'assumeRoleArn',\n assumeRoleExternalId: 'assumeRoleExternalId',\n region: 'region',\n};",
865
933
  "version": "0"
@@ -910,6 +978,10 @@
910
978
  "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\nFileSource fileSource = FileSource.builder()\n .executable(List.of(\"executable\"))\n .packaging(FileAssetPackaging.FILE)\n .path(\"path\")\n .build();",
911
979
  "version": "1"
912
980
  },
981
+ "go": {
982
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nfileSource := &fileSource{\n\texecutable: []*string{\n\t\tjsii.String(\"executable\"),\n\t},\n\tpackaging: cloud_assembly_schema.fileAssetPackaging_FILE,\n\tpath: jsii.String(\"path\"),\n}",
983
+ "version": "1"
984
+ },
913
985
  "$": {
914
986
  "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 fileSource: cloud_assembly_schema.FileSource = {\n executable: ['executable'],\n packaging: cloud_assembly_schema.FileAssetPackaging.FILE,\n path: 'path',\n};",
915
987
  "version": "0"
@@ -964,6 +1036,10 @@
964
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\nHostedZoneContextQuery hostedZoneContextQuery = HostedZoneContextQuery.builder()\n .account(\"account\")\n .domainName(\"domainName\")\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .privateZone(false)\n .vpcId(\"vpcId\")\n .build();",
965
1037
  "version": "1"
966
1038
  },
1039
+ "go": {
1040
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nhostedZoneContextQuery := &hostedZoneContextQuery{\n\taccount: jsii.String(\"account\"),\n\tdomainName: jsii.String(\"domainName\"),\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n\tprivateZone: jsii.Boolean(false),\n\tvpcId: jsii.String(\"vpcId\"),\n}",
1041
+ "version": "1"
1042
+ },
967
1043
  "$": {
968
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 hostedZoneContextQuery: cloud_assembly_schema.HostedZoneContextQuery = {\n account: 'account',\n domainName: 'domainName',\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n privateZone: false,\n vpcId: 'vpcId',\n};",
969
1045
  "version": "0"
@@ -1015,6 +1091,10 @@
1015
1091
  "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\nKeyContextQuery keyContextQuery = KeyContextQuery.builder()\n .account(\"account\")\n .aliasName(\"aliasName\")\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .build();",
1016
1092
  "version": "1"
1017
1093
  },
1094
+ "go": {
1095
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nkeyContextQuery := &keyContextQuery{\n\taccount: jsii.String(\"account\"),\n\taliasName: jsii.String(\"aliasName\"),\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n}",
1096
+ "version": "1"
1097
+ },
1018
1098
  "$": {
1019
1099
  "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 keyContextQuery: cloud_assembly_schema.KeyContextQuery = {\n account: 'account',\n aliasName: 'aliasName',\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n};",
1020
1100
  "version": "0"
@@ -1065,6 +1145,10 @@
1065
1145
  "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\nLoadBalancerContextQuery loadBalancerContextQuery = LoadBalancerContextQuery.builder()\n .account(\"account\")\n .loadBalancerType(LoadBalancerType.NETWORK)\n .region(\"region\")\n\n // the properties below are optional\n .loadBalancerArn(\"loadBalancerArn\")\n .loadBalancerTags(List.of(Tag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .lookupRoleArn(\"lookupRoleArn\")\n .build();",
1066
1146
  "version": "1"
1067
1147
  },
1148
+ "go": {
1149
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nloadBalancerContextQuery := &loadBalancerContextQuery{\n\taccount: jsii.String(\"account\"),\n\tloadBalancerType: cloud_assembly_schema.loadBalancerType_NETWORK,\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tloadBalancerArn: jsii.String(\"loadBalancerArn\"),\n\tloadBalancerTags: []tag{\n\t\t&tag{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n}",
1150
+ "version": "1"
1151
+ },
1068
1152
  "$": {
1069
1153
  "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 loadBalancerContextQuery: cloud_assembly_schema.LoadBalancerContextQuery = {\n account: 'account',\n loadBalancerType: cloud_assembly_schema.LoadBalancerType.NETWORK,\n region: 'region',\n\n // the properties below are optional\n loadBalancerArn: 'loadBalancerArn',\n loadBalancerTags: [{\n key: 'key',\n value: 'value',\n }],\n lookupRoleArn: 'lookupRoleArn',\n};",
1070
1154
  "version": "0"
@@ -1119,6 +1203,10 @@
1119
1203
  "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\nLoadBalancerFilter loadBalancerFilter = LoadBalancerFilter.builder()\n .loadBalancerType(LoadBalancerType.NETWORK)\n\n // the properties below are optional\n .loadBalancerArn(\"loadBalancerArn\")\n .loadBalancerTags(List.of(Tag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
1120
1204
  "version": "1"
1121
1205
  },
1206
+ "go": {
1207
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nloadBalancerFilter := &loadBalancerFilter{\n\tloadBalancerType: cloud_assembly_schema.loadBalancerType_NETWORK,\n\n\t// the properties below are optional\n\tloadBalancerArn: jsii.String(\"loadBalancerArn\"),\n\tloadBalancerTags: []tag{\n\t\t&tag{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
1208
+ "version": "1"
1209
+ },
1122
1210
  "$": {
1123
1211
  "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 loadBalancerFilter: cloud_assembly_schema.LoadBalancerFilter = {\n loadBalancerType: cloud_assembly_schema.LoadBalancerType.NETWORK,\n\n // the properties below are optional\n loadBalancerArn: 'loadBalancerArn',\n loadBalancerTags: [{\n key: 'key',\n value: 'value',\n }],\n};",
1124
1212
  "version": "0"
@@ -1173,6 +1261,10 @@
1173
1261
  "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\nLoadBalancerListenerContextQuery loadBalancerListenerContextQuery = LoadBalancerListenerContextQuery.builder()\n .account(\"account\")\n .loadBalancerType(LoadBalancerType.NETWORK)\n .region(\"region\")\n\n // the properties below are optional\n .listenerArn(\"listenerArn\")\n .listenerPort(123)\n .listenerProtocol(LoadBalancerListenerProtocol.HTTP)\n .loadBalancerArn(\"loadBalancerArn\")\n .loadBalancerTags(List.of(Tag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .lookupRoleArn(\"lookupRoleArn\")\n .build();",
1174
1262
  "version": "1"
1175
1263
  },
1264
+ "go": {
1265
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nloadBalancerListenerContextQuery := &loadBalancerListenerContextQuery{\n\taccount: jsii.String(\"account\"),\n\tloadBalancerType: cloud_assembly_schema.loadBalancerType_NETWORK,\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlistenerArn: jsii.String(\"listenerArn\"),\n\tlistenerPort: jsii.Number(123),\n\tlistenerProtocol: cloud_assembly_schema.loadBalancerListenerProtocol_HTTP,\n\tloadBalancerArn: jsii.String(\"loadBalancerArn\"),\n\tloadBalancerTags: []tag{\n\t\t&tag{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n}",
1266
+ "version": "1"
1267
+ },
1176
1268
  "$": {
1177
1269
  "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 loadBalancerListenerContextQuery: cloud_assembly_schema.LoadBalancerListenerContextQuery = {\n account: 'account',\n loadBalancerType: cloud_assembly_schema.LoadBalancerType.NETWORK,\n region: 'region',\n\n // the properties below are optional\n listenerArn: 'listenerArn',\n listenerPort: 123,\n listenerProtocol: cloud_assembly_schema.LoadBalancerListenerProtocol.HTTP,\n loadBalancerArn: 'loadBalancerArn',\n loadBalancerTags: [{\n key: 'key',\n value: 'value',\n }],\n lookupRoleArn: 'lookupRoleArn',\n};",
1178
1270
  "version": "0"
@@ -1230,6 +1322,10 @@
1230
1322
  "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\nLoadManifestOptions loadManifestOptions = LoadManifestOptions.builder()\n .skipEnumCheck(false)\n .skipVersionCheck(false)\n .build();",
1231
1323
  "version": "1"
1232
1324
  },
1325
+ "go": {
1326
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nloadManifestOptions := &loadManifestOptions{\n\tskipEnumCheck: jsii.Boolean(false),\n\tskipVersionCheck: jsii.Boolean(false),\n}",
1327
+ "version": "1"
1328
+ },
1233
1329
  "$": {
1234
1330
  "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 loadManifestOptions: cloud_assembly_schema.LoadManifestOptions = {\n skipEnumCheck: false,\n skipVersionCheck: false,\n};",
1235
1331
  "version": "0"
@@ -1281,6 +1377,10 @@
1281
1377
  "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\nMetadataEntry metadataEntry = MetadataEntry.builder()\n .type(\"type\")\n\n // the properties below are optional\n .data(\"data\")\n .trace(List.of(\"trace\"))\n .build();",
1282
1378
  "version": "1"
1283
1379
  },
1380
+ "go": {
1381
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nmetadataEntry := &metadataEntry{\n\ttype: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tdata: jsii.String(\"data\"),\n\ttrace: []*string{\n\t\tjsii.String(\"trace\"),\n\t},\n}",
1382
+ "version": "1"
1383
+ },
1284
1384
  "$": {
1285
1385
  "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 metadataEntry: cloud_assembly_schema.MetadataEntry = {\n type: 'type',\n\n // the properties below are optional\n data: 'data',\n trace: ['trace'],\n};",
1286
1386
  "version": "0"
@@ -1332,6 +1432,10 @@
1332
1432
  "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\nMissingContext missingContext = MissingContext.builder()\n .key(\"key\")\n .props(AmiContextQuery.builder()\n .account(\"account\")\n .filters(Map.of(\n \"filtersKey\", List.of(\"filters\")))\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .owners(List.of(\"owners\"))\n .build())\n .provider(ContextProvider.AMI_PROVIDER)\n .build();",
1333
1433
  "version": "1"
1334
1434
  },
1435
+ "go": {
1436
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nmissingContext := &missingContext{\n\tkey: jsii.String(\"key\"),\n\tprops: &amiContextQuery{\n\t\taccount: jsii.String(\"account\"),\n\t\tfilters: map[string][]*string{\n\t\t\t\"filtersKey\": []*string{\n\t\t\t\tjsii.String(\"filters\"),\n\t\t\t},\n\t\t},\n\t\tregion: jsii.String(\"region\"),\n\n\t\t// the properties below are optional\n\t\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n\t\towners: []interface{}{\n\t\t\tjsii.String(\"owners\"),\n\t\t},\n\t},\n\tprovider: cloud_assembly_schema.contextProvider_AMI_PROVIDER,\n}",
1437
+ "version": "1"
1438
+ },
1335
1439
  "$": {
1336
1440
  "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 missingContext: cloud_assembly_schema.MissingContext = {\n key: 'key',\n props: {\n account: 'account',\n filters: {\n filtersKey: ['filters'],\n },\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n owners: ['owners'],\n },\n provider: cloud_assembly_schema.ContextProvider.AMI_PROVIDER,\n};",
1337
1441
  "version": "0"
@@ -1386,6 +1490,10 @@
1386
1490
  "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\nNestedCloudAssemblyProperties nestedCloudAssemblyProperties = NestedCloudAssemblyProperties.builder()\n .directoryName(\"directoryName\")\n\n // the properties below are optional\n .displayName(\"displayName\")\n .build();",
1387
1491
  "version": "1"
1388
1492
  },
1493
+ "go": {
1494
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nnestedCloudAssemblyProperties := &nestedCloudAssemblyProperties{\n\tdirectoryName: jsii.String(\"directoryName\"),\n\n\t// the properties below are optional\n\tdisplayName: jsii.String(\"displayName\"),\n}",
1495
+ "version": "1"
1496
+ },
1389
1497
  "$": {
1390
1498
  "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 nestedCloudAssemblyProperties: cloud_assembly_schema.NestedCloudAssemblyProperties = {\n directoryName: 'directoryName',\n\n // the properties below are optional\n displayName: 'displayName',\n};",
1391
1499
  "version": "0"
@@ -1436,6 +1544,10 @@
1436
1544
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.cloudassembly.schema.*;\n\nPluginContextQuery pluginContextQuery = PluginContextQuery.builder()\n .pluginName(\"pluginName\")\n .build();",
1437
1545
  "version": "1"
1438
1546
  },
1547
+ "go": {
1548
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\npluginContextQuery := &pluginContextQuery{\n\tpluginName: jsii.String(\"pluginName\"),\n}",
1549
+ "version": "1"
1550
+ },
1439
1551
  "$": {
1440
1552
  "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';\nconst pluginContextQuery: cloud_assembly_schema.PluginContextQuery = {\n pluginName: 'pluginName',\n};",
1441
1553
  "version": "0"
@@ -1486,6 +1598,10 @@
1486
1598
  "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\nRuntimeInfo runtimeInfo = RuntimeInfo.builder()\n .libraries(Map.of(\n \"librariesKey\", \"libraries\"))\n .build();",
1487
1599
  "version": "1"
1488
1600
  },
1601
+ "go": {
1602
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nruntimeInfo := &runtimeInfo{\n\tlibraries: map[string]*string{\n\t\t\"librariesKey\": jsii.String(\"libraries\"),\n\t},\n}",
1603
+ "version": "1"
1604
+ },
1489
1605
  "$": {
1490
1606
  "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 runtimeInfo: cloud_assembly_schema.RuntimeInfo = {\n libraries: {\n librariesKey: 'libraries',\n },\n};",
1491
1607
  "version": "0"
@@ -1536,6 +1652,10 @@
1536
1652
  "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\nSSMParameterContextQuery sSMParameterContextQuery = SSMParameterContextQuery.builder()\n .account(\"account\")\n .parameterName(\"parameterName\")\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .build();",
1537
1653
  "version": "1"
1538
1654
  },
1655
+ "go": {
1656
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nsSMParameterContextQuery := &sSMParameterContextQuery{\n\taccount: jsii.String(\"account\"),\n\tparameterName: jsii.String(\"parameterName\"),\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n}",
1657
+ "version": "1"
1658
+ },
1539
1659
  "$": {
1540
1660
  "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 sSMParameterContextQuery: cloud_assembly_schema.SSMParameterContextQuery = {\n account: 'account',\n parameterName: 'parameterName',\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n};",
1541
1661
  "version": "0"
@@ -1586,6 +1706,10 @@
1586
1706
  "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\nSecurityGroupContextQuery securityGroupContextQuery = SecurityGroupContextQuery.builder()\n .account(\"account\")\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .securityGroupId(\"securityGroupId\")\n .securityGroupName(\"securityGroupName\")\n .vpcId(\"vpcId\")\n .build();",
1587
1707
  "version": "1"
1588
1708
  },
1709
+ "go": {
1710
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nsecurityGroupContextQuery := &securityGroupContextQuery{\n\taccount: jsii.String(\"account\"),\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n\tsecurityGroupId: jsii.String(\"securityGroupId\"),\n\tsecurityGroupName: jsii.String(\"securityGroupName\"),\n\tvpcId: jsii.String(\"vpcId\"),\n}",
1711
+ "version": "1"
1712
+ },
1589
1713
  "$": {
1590
1714
  "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 securityGroupContextQuery: cloud_assembly_schema.SecurityGroupContextQuery = {\n account: 'account',\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n securityGroupId: 'securityGroupId',\n securityGroupName: 'securityGroupName',\n vpcId: 'vpcId',\n};",
1591
1715
  "version": "0"
@@ -1636,6 +1760,10 @@
1636
1760
  "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\nTag tag = Tag.builder()\n .key(\"key\")\n .value(\"value\")\n .build();",
1637
1761
  "version": "1"
1638
1762
  },
1763
+ "go": {
1764
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\ntag := &tag{\n\tkey: jsii.String(\"key\"),\n\tvalue: jsii.String(\"value\"),\n}",
1765
+ "version": "1"
1766
+ },
1639
1767
  "$": {
1640
1768
  "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 tag: cloud_assembly_schema.Tag = {\n key: 'key',\n value: 'value',\n};",
1641
1769
  "version": "0"
@@ -1686,6 +1814,10 @@
1686
1814
  "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\nTreeArtifactProperties treeArtifactProperties = TreeArtifactProperties.builder()\n .file(\"file\")\n .build();",
1687
1815
  "version": "1"
1688
1816
  },
1817
+ "go": {
1818
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\ntreeArtifactProperties := &treeArtifactProperties{\n\tfile: jsii.String(\"file\"),\n}",
1819
+ "version": "1"
1820
+ },
1689
1821
  "$": {
1690
1822
  "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 treeArtifactProperties: cloud_assembly_schema.TreeArtifactProperties = {\n file: 'file',\n};",
1691
1823
  "version": "0"
@@ -1736,6 +1868,10 @@
1736
1868
  "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\nVpcContextQuery vpcContextQuery = VpcContextQuery.builder()\n .account(\"account\")\n .filter(Map.of(\n \"filterKey\", \"filter\"))\n .region(\"region\")\n\n // the properties below are optional\n .lookupRoleArn(\"lookupRoleArn\")\n .returnAsymmetricSubnets(false)\n .subnetGroupNameTag(\"subnetGroupNameTag\")\n .build();",
1737
1869
  "version": "1"
1738
1870
  },
1871
+ "go": {
1872
+ "source": "import cloud_assembly_schema \"github.com/aws-samples/dummy/awscdkcloudassemblyschema\"\nvpcContextQuery := &vpcContextQuery{\n\taccount: jsii.String(\"account\"),\n\tfilter: map[string]*string{\n\t\t\"filterKey\": jsii.String(\"filter\"),\n\t},\n\tregion: jsii.String(\"region\"),\n\n\t// the properties below are optional\n\tlookupRoleArn: jsii.String(\"lookupRoleArn\"),\n\treturnAsymmetricSubnets: jsii.Boolean(false),\n\tsubnetGroupNameTag: jsii.String(\"subnetGroupNameTag\"),\n}",
1873
+ "version": "1"
1874
+ },
1739
1875
  "$": {
1740
1876
  "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 vpcContextQuery: cloud_assembly_schema.VpcContextQuery = {\n account: 'account',\n filter: {\n filterKey: 'filter',\n },\n region: 'region',\n\n // the properties below are optional\n lookupRoleArn: 'lookupRoleArn',\n returnAsymmetricSubnets: false,\n subnetGroupNameTag: 'subnetGroupNameTag',\n};",
1741
1877
  "version": "0"
package/.warnings.jsii.js CHANGED
@@ -66,10 +66,10 @@ function _aws_cdk_cloud_assembly_schema_LoadBalancerContextQuery(p) {
66
66
  _aws_cdk_cloud_assembly_schema_Tag(p.loadBalancerTags);
67
67
  visitedObjects.delete(p);
68
68
  }
69
- function _aws_cdk_cloud_assembly_schema_FileDestination(p) {
70
- }
71
69
  function _aws_cdk_cloud_assembly_schema_DockerImageDestination(p) {
72
70
  }
71
+ function _aws_cdk_cloud_assembly_schema_FileDestination(p) {
72
+ }
73
73
  function _aws_cdk_cloud_assembly_schema_AwsCloudFormationStackProperties(p) {
74
74
  if (p == null)
75
75
  return;
@@ -78,16 +78,6 @@ function _aws_cdk_cloud_assembly_schema_AwsCloudFormationStackProperties(p) {
78
78
  _aws_cdk_cloud_assembly_schema_BootstrapRole(p.lookupRole);
79
79
  visitedObjects.delete(p);
80
80
  }
81
- function _aws_cdk_cloud_assembly_schema_DockerImageAsset(p) {
82
- if (p == null)
83
- return;
84
- visitedObjects.add(p);
85
- if (!visitedObjects.has(p.destinations))
86
- _aws_cdk_cloud_assembly_schema_DockerImageDestination(p.destinations);
87
- if (!visitedObjects.has(p.source))
88
- _aws_cdk_cloud_assembly_schema_DockerImageSource(p.source);
89
- visitedObjects.delete(p);
90
- }
91
81
  function _aws_cdk_cloud_assembly_schema_LoadBalancerFilter(p) {
92
82
  if (p == null)
93
83
  return;
@@ -98,6 +88,16 @@ function _aws_cdk_cloud_assembly_schema_LoadBalancerFilter(p) {
98
88
  _aws_cdk_cloud_assembly_schema_Tag(p.loadBalancerTags);
99
89
  visitedObjects.delete(p);
100
90
  }
91
+ function _aws_cdk_cloud_assembly_schema_DockerImageAsset(p) {
92
+ if (p == null)
93
+ return;
94
+ visitedObjects.add(p);
95
+ if (!visitedObjects.has(p.destinations))
96
+ _aws_cdk_cloud_assembly_schema_DockerImageDestination(p.destinations);
97
+ if (!visitedObjects.has(p.source))
98
+ _aws_cdk_cloud_assembly_schema_DockerImageSource(p.source);
99
+ visitedObjects.delete(p);
100
+ }
101
101
  function _aws_cdk_cloud_assembly_schema_FileAsset(p) {
102
102
  if (p == null)
103
103
  return;
@@ -189,5 +189,5 @@ function print(name, deprecationMessage) {
189
189
  const visitedObjects = new Set();
190
190
  class DeprecationError extends Error {
191
191
  }
192
- module.exports = { print, _aws_cdk_cloud_assembly_schema_ArtifactType, _aws_cdk_cloud_assembly_schema_ArtifactMetadataEntryType, _aws_cdk_cloud_assembly_schema_ContextProvider, _aws_cdk_cloud_assembly_schema_LoadBalancerType, _aws_cdk_cloud_assembly_schema_LoadBalancerListenerProtocol, _aws_cdk_cloud_assembly_schema_FileAssetPackaging, _aws_cdk_cloud_assembly_schema_TreeArtifactProperties, _aws_cdk_cloud_assembly_schema_PluginContextQuery, _aws_cdk_cloud_assembly_schema_Tag, _aws_cdk_cloud_assembly_schema_RuntimeInfo, _aws_cdk_cloud_assembly_schema_NestedCloudAssemblyProperties, _aws_cdk_cloud_assembly_schema_AvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_SSMParameterContextQuery, _aws_cdk_cloud_assembly_schema_EndpointServiceAvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_KeyContextQuery, _aws_cdk_cloud_assembly_schema_AssetManifestProperties, _aws_cdk_cloud_assembly_schema_LoadManifestOptions, _aws_cdk_cloud_assembly_schema_AwsDestination, _aws_cdk_cloud_assembly_schema_BootstrapRole, _aws_cdk_cloud_assembly_schema_FileAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_HostedZoneContextQuery, _aws_cdk_cloud_assembly_schema_SecurityGroupContextQuery, _aws_cdk_cloud_assembly_schema_AmiContextQuery, _aws_cdk_cloud_assembly_schema_VpcContextQuery, _aws_cdk_cloud_assembly_schema_DockerImageSource, _aws_cdk_cloud_assembly_schema_ContainerImageAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_LoadBalancerContextQuery, _aws_cdk_cloud_assembly_schema_FileDestination, _aws_cdk_cloud_assembly_schema_DockerImageDestination, _aws_cdk_cloud_assembly_schema_AwsCloudFormationStackProperties, _aws_cdk_cloud_assembly_schema_DockerImageAsset, _aws_cdk_cloud_assembly_schema_LoadBalancerFilter, _aws_cdk_cloud_assembly_schema_FileAsset, _aws_cdk_cloud_assembly_schema_FileSource, _aws_cdk_cloud_assembly_schema_AssetManifest, _aws_cdk_cloud_assembly_schema_AssemblyManifest, _aws_cdk_cloud_assembly_schema_MetadataEntry, _aws_cdk_cloud_assembly_schema_ArtifactManifest, _aws_cdk_cloud_assembly_schema_Manifest, _aws_cdk_cloud_assembly_schema_LoadBalancerListenerContextQuery, _aws_cdk_cloud_assembly_schema_MissingContext };
192
+ module.exports = { print, _aws_cdk_cloud_assembly_schema_ArtifactType, _aws_cdk_cloud_assembly_schema_ArtifactMetadataEntryType, _aws_cdk_cloud_assembly_schema_ContextProvider, _aws_cdk_cloud_assembly_schema_LoadBalancerType, _aws_cdk_cloud_assembly_schema_LoadBalancerListenerProtocol, _aws_cdk_cloud_assembly_schema_FileAssetPackaging, _aws_cdk_cloud_assembly_schema_TreeArtifactProperties, _aws_cdk_cloud_assembly_schema_PluginContextQuery, _aws_cdk_cloud_assembly_schema_Tag, _aws_cdk_cloud_assembly_schema_RuntimeInfo, _aws_cdk_cloud_assembly_schema_NestedCloudAssemblyProperties, _aws_cdk_cloud_assembly_schema_AvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_SSMParameterContextQuery, _aws_cdk_cloud_assembly_schema_EndpointServiceAvailabilityZonesContextQuery, _aws_cdk_cloud_assembly_schema_KeyContextQuery, _aws_cdk_cloud_assembly_schema_AssetManifestProperties, _aws_cdk_cloud_assembly_schema_LoadManifestOptions, _aws_cdk_cloud_assembly_schema_AwsDestination, _aws_cdk_cloud_assembly_schema_BootstrapRole, _aws_cdk_cloud_assembly_schema_FileAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_HostedZoneContextQuery, _aws_cdk_cloud_assembly_schema_SecurityGroupContextQuery, _aws_cdk_cloud_assembly_schema_AmiContextQuery, _aws_cdk_cloud_assembly_schema_VpcContextQuery, _aws_cdk_cloud_assembly_schema_DockerImageSource, _aws_cdk_cloud_assembly_schema_ContainerImageAssetMetadataEntry, _aws_cdk_cloud_assembly_schema_LoadBalancerContextQuery, _aws_cdk_cloud_assembly_schema_DockerImageDestination, _aws_cdk_cloud_assembly_schema_FileDestination, _aws_cdk_cloud_assembly_schema_AwsCloudFormationStackProperties, _aws_cdk_cloud_assembly_schema_LoadBalancerFilter, _aws_cdk_cloud_assembly_schema_DockerImageAsset, _aws_cdk_cloud_assembly_schema_FileAsset, _aws_cdk_cloud_assembly_schema_FileSource, _aws_cdk_cloud_assembly_schema_AssetManifest, _aws_cdk_cloud_assembly_schema_AssemblyManifest, _aws_cdk_cloud_assembly_schema_MetadataEntry, _aws_cdk_cloud_assembly_schema_ArtifactManifest, _aws_cdk_cloud_assembly_schema_Manifest, _aws_cdk_cloud_assembly_schema_LoadBalancerListenerContextQuery, _aws_cdk_cloud_assembly_schema_MissingContext };
193
193
  module.exports.DeprecationError = DeprecationError;
package/lib/manifest.js CHANGED
@@ -187,7 +187,7 @@ class Manifest {
187
187
  }
188
188
  exports.Manifest = Manifest;
189
189
  _a = JSII_RTTI_SYMBOL_1;
190
- Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "2.17.0" };
190
+ Manifest[_a] = { fqn: "@aws-cdk/cloud-assembly-schema.Manifest", version: "2.18.0" };
191
191
  function mapValues(xs, fn) {
192
192
  if (!xs) {
193
193
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/cloud-assembly-schema",
3
- "version": "2.17.0",
3
+ "version": "2.18.0",
4
4
  "description": "Cloud Assembly Schema",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -60,8 +60,8 @@
60
60
  },
61
61
  "license": "Apache-2.0",
62
62
  "devDependencies": {
63
- "@aws-cdk/cdk-build-tools": "2.17.0",
64
- "@aws-cdk/pkglint": "2.17.0",
63
+ "@aws-cdk/cdk-build-tools": "2.18.0",
64
+ "@aws-cdk/pkglint": "2.18.0",
65
65
  "@types/jest": "^27.4.1",
66
66
  "@types/mock-fs": "^4.13.1",
67
67
  "@types/semver": "^7.3.9",