ReleaseDeploymentStack
sdlc-cdk-lib / lib/ReleaseDeploymentStack
lib/ReleaseDeploymentStack
Classes
ReleaseDeploymentStack
Defined in: lib/ReleaseDeploymentStack.ts:44
Release-Level Blue-Green Deployment Stack
Uses API Gateway stage variables to route traffic between blue/green Lambda environments. Compatible with CloudFlare WAF and single custom domain setup. All Lambdas switch together - atomic release deployment.
Extends
Stack
Constructors
Constructor
> new ReleaseDeploymentStack(scope, id, props): ReleaseDeploymentStack
Defined in: lib/ReleaseDeploymentStack.ts:50
Parameters
scope
Construct
id
string
props
Returns
Overrides
Stack.constructor
Properties
api
> readonly api: RestApi
Defined in: lib/ReleaseDeploymentStack.ts:45
eventBus
> readonly eventBus: EventBus
Defined in: lib/ReleaseDeploymentStack.ts:47
lambdas
> readonly lambdas: Map<string, { blue: Alias; green: Alias; }>
Defined in: lib/ReleaseDeploymentStack.ts:48
productionStage
> readonly productionStage: Stage
Defined in: lib/ReleaseDeploymentStack.ts:46
Interfaces
LambdaConfig
Defined in: lib/ReleaseDeploymentStack.ts:22
Properties
entry
> readonly entry: string
Defined in: lib/ReleaseDeploymentStack.ts:24
functionName
> readonly functionName: string
Defined in: lib/ReleaseDeploymentStack.ts:23
handler
> readonly handler: string
Defined in: lib/ReleaseDeploymentStack.ts:25
method
> readonly method: string
Defined in: lib/ReleaseDeploymentStack.ts:27
route
> readonly route: string
Defined in: lib/ReleaseDeploymentStack.ts:26
ReleaseDeploymentStackProps
Defined in: lib/ReleaseDeploymentStack.ts:30
Extends
StackProps
Properties
canaryEnabled?
> readonly optional canaryEnabled: boolean
Defined in: lib/ReleaseDeploymentStack.ts:33
initialCanaryPercent?
> readonly optional initialCanaryPercent: number
Defined in: lib/ReleaseDeploymentStack.ts:34
lambdaConfigs
> readonly lambdaConfigs: LambdaConfig[]
Defined in: lib/ReleaseDeploymentStack.ts:32
releaseVersion
> readonly releaseVersion: string
Defined in: lib/ReleaseDeploymentStack.ts:31