跳至內容

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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。