"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.AssetManifestArtifact=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");class AssetManifestArtifact extends cloud_artifact_1.CloudArtifact{constructor(assembly,name,artifact){var _b;super(assembly,name,artifact);jsiiDeprecationWarnings.aws_cdk_lib_cx_api_CloudAssembly(assembly),jsiiDeprecationWarnings.aws_cdk_lib_cloud_assembly_schema_ArtifactManifest(artifact);const properties=this.manifest.properties||{};if(!properties.file)throw new Error('Invalid AssetManifestArtifact. Missing "file" property');this.file=path.resolve(this.assembly.directory,properties.file),this.requiresBootstrapStackVersion=(_b=properties.requiresBootstrapStackVersion)!==null&&_b!==void 0?_b:1,this.bootstrapStackVersionSsmParameter=properties.bootstrapStackVersionSsmParameter}}exports.AssetManifestArtifact=AssetManifestArtifact,_a=JSII_RTTI_SYMBOL_1,AssetManifestArtifact[_a]={fqn:"aws-cdk-lib.cx_api.AssetManifestArtifact",version:"2.13.0"};
//# sourceMappingURL=asset-manifest-artifact.js.map
