0
我正在运行以下命令并想知道--template-body
的值可以如何指定。AWS CLI为文件支持哪些协议?
aws cloudformation validate-template --template-body file://my-template.yml
我知道http://
和file://
但是否有其他人呢?有没有这些地方的清单?
谢谢,
我正在运行以下命令并想知道--template-body
的值可以如何指定。AWS CLI为文件支持哪些协议?
aws cloudformation validate-template --template-body file://my-template.yml
我知道http://
和file://
但是否有其他人呢?有没有这些地方的清单?
谢谢,
的AWSCLI支持file:
,http:
,https:
协议。这在this section of the AWSCLI documentation中讨论。
更新
如果有疑问,检查代码。以下是支持的前缀:
PREFIX_MAP = { 'file://': (get_file, {'mode': 'r'}), 'fileb://': (get_file, {'mode': 'rb'}), 'http://': (get_uri, {}), 'https://': (get_uri, {}), }
我对该文档不太确定。我刚刚做了aws api的grep,并且还有其他协议,如s3:// s3n://和fileb://,这些协议在此不再讨论。 –