dkershner6-projen-awscdk-app
Version:
DKershner's preferred constructs for Projen AWS CDK Apps.
29 lines (28 loc) • 1.21 kB
TypeScript
import { PublishToAwsOptions } from "dkershner6-projen-awscdk-core";
import { Node20TypeScriptProjectJestOptions, JestTransformer } from "dkershner6-projen-typescript";
import { Task, awscdk } from "projen";
import { JobStep } from "projen/lib/github/workflows-model";
export interface Node20AwsCdkAppOptions extends awscdk.AwsCdkTypeScriptAppOptions {
/**
* Whether or not to pin the version of constructs to the version specified in the
* `constructsVersion` property.
*/
constructsVersionPinning?: boolean;
jestOptions?: Node20TypeScriptProjectJestOptions;
/**
* Whether to publish this App to AWS.
*/
readonly publishToAws?: boolean;
/**
* Populate in order to add a deploy to AWS job to the release workflow.
*/
readonly publishToAwsOptions?: PublishToAwsOptions;
}
export declare class Node20AwsCdkApp extends awscdk.AwsCdkTypeScriptApp {
readonly jestTransformer: JestTransformer;
private readonly publishToAwsOptions?;
constructor(options: Node20AwsCdkAppOptions);
private makeDeployAndSynthTasksNotRequireApproval;
protected overridePackageTask(): void;
protected buildDeployToAwsJobStep(deployTask: Task): JobStep;
}