Ir para o conteúdo

On/Off Parameter displays in CloudFormation template

0

For example, I will create Parameter A: Do you have VPC yet?. If choose No, it will show Parameter B to choose CIDR of new VPC If choose Yes, it will show Parameter C to choose VPC Can we do this in CloudFormation template?

2 Respostas
0

This isn't possible; the list of Parameters in the Console is statically displayed.

You may be able to improve the user experience slightly with the AWS::CloudFormation::Interface metadata block, which lets you group parameter items and add explanatory labelling: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-interface.html

AWS
ESPECIALISTA
respondido há 2 anos
0

Hi, while not possible natively in CloudFormation, you can use Cloud Development Kit (CDK) to have such parameters. Please see https://docs.aws.amazon.com/cdk/v2/guide/parameters.html#parameters_deploy

AWS
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.