Skip to content

(aws-cdk): Pre / Post Synthesis and Deploy lifecycle hooks #17377

@Dgarc359

Description

@Dgarc359

Description

Introduce AWS CDK Synthesis / Deploy lifecycle hooks

There already exists a lifecycle for Apps as referenced in this AWS documentation: https://docs.aws.amazon.com/cdk/latest/guide/apps.html

Lifecycle hooks would entail pre / post synthesis / deploy event hooks that would allow extensible modification of these processes.

Use Case

Being able to hook into the processes and modify the outputted Cloudformation Template with native CDK support would go a long way into modifying cdk stack deploys without intruding in a cdk app's source code.

Proposed Solution

Anything similar to other framework lifecycle hooks, but for the aws cdk synthesis / deploy lifecycle processes.

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/coreRelated to core CDK functionalityeffort/largeLarge work item – several weeks of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions