UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

2 lines (1 loc) 1.45 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var asset_manifest_artifact_1=()=>{var tmp=require("./artifacts/asset-manifest-artifact");return asset_manifest_artifact_1=()=>tmp,tmp},cloudformation_artifact_1=()=>{var tmp=require("./artifacts/cloudformation-artifact");return cloudformation_artifact_1=()=>tmp,tmp},nested_cloud_assembly_artifact_1=()=>{var tmp=require("./artifacts/nested-cloud-assembly-artifact");return nested_cloud_assembly_artifact_1=()=>tmp,tmp},tree_cloud_artifact_1=()=>{var tmp=require("./artifacts/tree-cloud-artifact");return tree_cloud_artifact_1=()=>tmp,tmp},cloud_artifact_1=()=>{var tmp=require("./cloud-artifact");return cloud_artifact_1=()=>tmp,tmp},cxschema=()=>{var tmp=require("../../cloud-assembly-schema");return cxschema=()=>tmp,tmp};cloud_artifact_1().CloudArtifact.fromManifest=function(assembly,id,artifact){switch(artifact.type){case cxschema().ArtifactType.AWS_CLOUDFORMATION_STACK:return new(cloudformation_artifact_1()).CloudFormationStackArtifact(assembly,id,artifact);case cxschema().ArtifactType.CDK_TREE:return new(tree_cloud_artifact_1()).TreeCloudArtifact(assembly,id,artifact);case cxschema().ArtifactType.ASSET_MANIFEST:return new(asset_manifest_artifact_1()).AssetManifestArtifact(assembly,id,artifact);case cxschema().ArtifactType.NESTED_CLOUD_ASSEMBLY:return new(nested_cloud_assembly_artifact_1()).NestedCloudAssemblyArtifact(assembly,id,artifact);default:return}};