1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
You can use dotnet aws deployment-project generate
to persist the CDK project from one of the built-in recipes:
dotnet aws deployment-project generate --output ../CustomDeploymentProject --project-display-name "Custom deployment project"
You can then modify the persisted CDK project, perhaps to add new resources and options, or to streamline the built-in recipe. You may want to check it into source control alongside your application code.
Then to deploy an application using the custom CDK project, you can use the --deployment-project
switch on dotnet aws deploy
:
dotnet aws deploy --deploy-project ../CustomDeploymentProject
Or, if the custom deployment project is located anywhere beneath the solution (.sln) of the project you are deploying, the deployment tool will detect it automatically.
Some more resources:
回答済み 2年前
関連するコンテンツ
- AWS公式更新しました 3年前
- AWS公式更新しました 1年前