1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa