Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services AWS云层结构中的构造参数_Amazon Web Services_Parameters_Amazon Cloudformation - Fatal编程技术网

Amazon web services AWS云层结构中的构造参数

Amazon web services AWS云层结构中的构造参数,amazon-web-services,parameters,amazon-cloudformation,Amazon Web Services,Parameters,Amazon Cloudformation,我正在努力!在CloudFormation中从一个参数到另一个参数的引用。我试过几种方法,但似乎都不管用 UserID: Description: "Enter the user ID provided by your organization" Type: String AllowedPattern : ".+" Date: Description: "Enter the Date in YYYYMMDD

我正在努力!在CloudFormation中从一个参数到另一个参数的引用。我试过几种方法,但似乎都不管用

UserID:
    Description: "Enter the user ID provided by your organization"
    Type: String
    AllowedPattern : ".+"   
Date:
    Description: "Enter the Date in YYYYMMDD format"
    Type: String
    AllowedPattern : ".+"   
AccountName:
我想使用用户ID和用户输入的日期来构造AccountName。有人能帮忙吗

假设用户输入abcd01和20201124-->我希望帐户名自动为abcd01-20201124

而不是另一个,请在需要该组合值时使用:

!Sub${UserID}-${Date}