"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.NestedCloudAssemblyArtifact=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var path=()=>{var tmp=require("path");return path=()=>tmp,tmp},cloud_artifact_1=()=>{var tmp=require("../cloud-artifact");return cloud_artifact_1=()=>tmp,tmp};const 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.148.1"},Object.defineProperty(NestedCloudAssemblyArtifact.prototype,NESTED_CLOUD_ASSEMBLY_SYM,{value:!0,enumerable:!1,writable:!1});
