"use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0}),exports.DockerImageFunction=exports.DockerImageCode=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),code_1=require("./code"),function_1=require("./function"),handler_1=require("./handler"),runtime_1=require("./runtime");class DockerImageCode{static fromEcr(repository,props){return jsiiDeprecationWarnings.aws_cdk_lib_aws_ecr_IRepository(repository),jsiiDeprecationWarnings.aws_cdk_lib_aws_lambda_EcrImageCodeProps(props),{_bind(){return new code_1.EcrImageCode(repository,props)}}}static fromImageAsset(directory,props={}){return jsiiDeprecationWarnings.aws_cdk_lib_aws_lambda_AssetImageCodeProps(props),{_bind(){return new code_1.AssetImageCode(directory,props)}}}}exports.DockerImageCode=DockerImageCode,_a=JSII_RTTI_SYMBOL_1,DockerImageCode[_a]={fqn:"aws-cdk-lib.aws_lambda.DockerImageCode",version:"2.13.0"};class DockerImageFunction extends function_1.Function{constructor(scope,id,props){super(scope,id,{...props,handler:handler_1.Handler.FROM_IMAGE,runtime:runtime_1.Runtime.FROM_IMAGE,code:props.code._bind()});jsiiDeprecationWarnings.aws_cdk_lib_aws_lambda_DockerImageFunctionProps(props)}}exports.DockerImageFunction=DockerImageFunction,_b=JSII_RTTI_SYMBOL_1,DockerImageFunction[_b]={fqn:"aws-cdk-lib.aws_lambda.DockerImageFunction",version:"2.13.0"};
//# sourceMappingURL=image-function.js.map
