如何向AWS CloudFormation提供非字母数字参数类型 [英] How to supply non-alphanumeric parameter type to AWS CloudFormation
问题描述
我正在从CLI创建CloudFormation堆栈,并尝试提供url参数.我已将类型指定为 String
,因为我找不到特定于URL的
Hi I'm creating a CloudFormation stack from CLI and trying to supply a url parameter. I have given the type as String
as I couldn't find anything specific for URL's HERE
问题是,当我将其指定为 Type:String
时,出现此错误:
The problem is, when I give it as Type: String
, I get this error:
调用CreateStack操作时发生错误(ValidationError):模板格式错误:参数名称TELEPHONY_URL为非字母数字.
这是我的参数json:
This is my parameter json:
{"ParameterKey":"TELEPHONY_URL","ParameterValue":"https://telephony.crm4b2c.com/1/api/Telephony/LogCallComplete/"}
请帮帮我.
推荐答案
问题是参数名称 TELEPHONY_URL
必须为字母数字,不能包含特殊字符.
The issue is that the parameter name TELEPHONY_URL
must be alphanumeric, no special characters.
因此请尝试对其进行更新,例如 TELEPHONYURL
或 TelephonyURL
So try updating it for example TELEPHONYURL
or TelephonyURL
这篇关于如何向AWS CloudFormation提供非字母数字参数类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!