runway.module.cdk module

CDK module.

runway.module.cdk.get_cdk_stacks(module_path, env_vars, context_opts)[source]

Return list of CDK stacks.

class runway.module.cdk.CloudDevelopmentKit(context, path, options=None)[source]

Bases: runway.module.RunwayModule

CDK Runway Module.

Instantiate class.

Parameters
  • context (Context) – Runway context object.

  • path (Union[str, Path]) – Path to the module.

  • options (Dict[str, Dict[str, Any]]) – Everything in the module definition merged with applicable values from the deployment definition.

run_cdk(command='deploy')[source]

Run CDK.

plan()[source]

Run cdk diff.

deploy()[source]

Run cdk deploy.

destroy()[source]

Run cdk destroy.