简体   繁体   中英

Selecting multiple values from DropDownList in CloudFormation Template

Cloudformation expert,

Is it possible to be able to select multiple values from a dropdownlist in Cloudformation Template?

I tried something like this but it didn't work

  pTypeOfAccountNeeded:
    Default: "Tools, Sandbox, Dev, Test (QA), Preprod, Prod"
    AllowedValues: 
      - "Tools"
      - "Sandbox"
      - "Dev"
    Type: CommaDelimitedList

Unfortunate, this is not possible .

If you want to have few such values provided by users, you have to define your parameter as follows (an example):

  pTypeOfAccountNeeded:
    Default: "Tools,Dev"
    Type: CommaDelimitedList
    AllowedValues: 
      - "Tools,Sandbox"
      - "Sandbox"
      - "Tools,Dev"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM