Salta al contenuto

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 Risposte
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
ESPERTO
con risposta 2 anni fa
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.