"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.NestedCloudAssemblyArtifact=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),path=require("path"),cloud_artifact_1=require("../cloud-artifact"),NESTED_CLOUD_ASSEMBLY_SYM=Symbol.for("@aws-cdk/cx-api.NestedCloudAssemblyArtifact");class NestedCloudAssemblyArtifact extends cloud_artifact_1.CloudArtifact{static isNestedCloudAssemblyArtifact(art){return art&&typeof art=="object"&&art[NESTED_CLOUD_ASSEMBLY_SYM]}constructor(assembly,name,artifact){super(assembly,name,artifact);try{jsiiDeprecationWarnings.aws_cdk_lib_cx_api_CloudAssembly(assembly),jsiiDeprecationWarnings.aws_cdk_lib_cloud_assembly_schema_ArtifactManifest(artifact)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,NestedCloudAssemblyArtifact),error}const properties=this.manifest.properties||{};this.directoryName=properties.directoryName,this.displayName=properties.displayName??name}get fullPath(){return path.join(this.assembly.directory,this.directoryName)}}exports.NestedCloudAssemblyArtifact=NestedCloudAssemblyArtifact,_a=JSII_RTTI_SYMBOL_1,NestedCloudAssemblyArtifact[_a]={fqn:"aws-cdk-lib.cx_api.NestedCloudAssemblyArtifact",version:"2.96.1"},Object.defineProperty(NestedCloudAssemblyArtifact.prototype,NESTED_CLOUD_ASSEMBLY_SYM,{value:!0,enumerable:!1,writable:!1});
