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 自定义注册表的对象路径示例_Amazon Web Services_Amazon Cloudformation - Fatal编程技术网

Amazon web services 自定义注册表的对象路径示例

Amazon web services 自定义注册表的对象路径示例,amazon-web-services,amazon-cloudformation,Amazon Web Services,Amazon Cloudformation,CloudFormation注册表列出了可在CloudFormation帐户中使用的资源,包括私有资源和公共资源(AWS) 文档中提到了此命令 aws cloudformation register-type --type-name My::Resource::Example --schema-handler-package [s3 object path] --type RESOURCE 是否有[s3对象路径]的示例?一个[s3对象路径]只是s3协议、存储桶名称和s3目标密钥的组合 用一个

CloudFormation注册表列出了可在CloudFormation帐户中使用的资源,包括私有资源和公共资源(AWS)

文档中提到了此命令

aws cloudformation register-type --type-name My::Resource::Example --schema-handler-package [s3 object path] --type RESOURCE

是否有[s3对象路径]的示例?

一个
[s3对象路径]
只是s3协议、存储桶名称和s3目标密钥的组合

用一个例子来说明这一点;说:

Bucket name:我的Bucket name

目的地密钥:my-s3-Destination-key.zip

该命令将如下所示:

aws cloudformation register-type --type-name My::Resource::Example --schema-handler-package s3://my-bucket-name/my-s3-destination-key.zip --type RESOURCE

[s3对象路径]
只是s3协议、bucket名称和s3目标密钥的组合

用一个例子来说明这一点;说:

Bucket name:我的Bucket name

目的地密钥:my-s3-Destination-key.zip

该命令将如下所示:

aws cloudformation register-type --type-name My::Resource::Example --schema-handler-package s3://my-bucket-name/my-s3-destination-key.zip --type RESOURCE

我所说的例子是什么意思?带有示例代码的“real”文件。[s3对象路径]是指向包含资源的zip文件的链接。链接外部AWS zip文件作为答案将不符合StackOverflows标准。我所说的示例是什么意思?带有示例代码的“real”文件。[s3对象路径]是指向包含资源的zip文件的链接。链接外部AWS zip文件作为答案将不符合StackOverflows标准。