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 Answers
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

profile pictureAWS
EXPERT
James_S
answered 6 months ago
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
Piotrek
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions