1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi,
On your question about choosing physical stack names with CDK, look at https://docs.aws.amazon.com/cdk/v2/guide/stacks.html at end of section preceding section 'Stack API', you have examples in all languages
The physical names of the AWS CloudFormation stacks are automatically determined
by the AWS CDK based on the stack's construct path in the tree. By default, a stack's
name is derived from the construct ID of the Stack object. However, you can specify
an explicit name by using the stackName prop (in Python, stack_name), as follows.
On good sample, see for example https://github.com/sebsto/cdk-vpc-example/blob/master/bin/vpc-ingress-routing.ts
class VpcIngressRoutingStack is a good example
Hope it helps!
Didier
相關內容
- 已提問 10 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 9 個月前