1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- ¿Cómo puedo hacer una llamada al SDK de AWS desde un proyecto de CDK mediante la interfaz AWSdkCall?OFICIAL DE AWSActualizada hace un año