跳至内容

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 年前338 查看次数
2 回答
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
专家
已回答 2 年前
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
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。