1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- asked 6 days ago
- Accepted Answerasked 2 months ago
- asked 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago