aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
22 lines (21 loc) • 1.21 kB
TypeScript
import type { IApplicationRef, IDeploymentConfigRef } from '../../../interfaces/generated/aws-codedeploy-interfaces.generated';
import type { IBaseDeploymentConfig } from '../base-deployment-config';
import type { IEcsApplication } from '../ecs/application';
import type { IServerApplication } from '../server/application';
import type { IServerDeploymentConfig } from '../server/deployment-config';
/**
* Convert an IApplicationRef to IServerApplication, validating it has the required properties
*/
export declare function toIServerApplication(app: IApplicationRef): IServerApplication;
/**
* Convert an IApplicationRef to IEcsApplication, validating it has the required properties
*/
export declare function toIEcsApplication(app: IApplicationRef): IEcsApplication;
/**
* Convert an IDeploymentConfigRef to IServerDeploymentConfig, validating it has the required properties
*/
export declare function toIServerDeploymentConfig(config: IDeploymentConfigRef): IServerDeploymentConfig;
/**
* Convert an IDeploymentConfigRef to ILambdaDeploymentConfig, validating it has the required properties
*/
export declare function toIBaseDeploymentConfig(config: IDeploymentConfigRef): IBaseDeploymentConfig;