Skip to content

deployment-project generate command

Usage

dotnet aws deployment-project - Generates and saves the deployment CDK project in the user provided location.

Synopsis

dotnet aws deployment-project generate [-o|--output <OUTPUT-PATH>] [-d|--diagnostics] [--project-path <PROJECT-PATH>] [--project-display-name <DISPLAY-NAME>]

Description

Generates and saves the deployment CDK project in a user-provided directory without proceeding with a deployment. This allows the user to customize the CDK project before deploying the application.

  • The --output switch sets the directory where the CDK deployment project will be saved.
  • The --project-path switch sets the path to the project to generate a deployment project for.
  • The --project-display-name switch sets the name of the deployment project that will be displayed in the list of available deployment options.

Examples

This example creates a deployment project from the .NET project in the current directory. The deployment project will be saved to a sibling directory called CustomDeploymentProject. The name "Team custom deployment project" will be displayed in the list of the available deployment options.

dotnet aws deployment-project generate --output ../CustomDeploymentProject --project-display-name "Team custom deployment project"