AWS CloudFormation
User Guide (API 版本 2010-05-15)
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 Amazon AWS 入门

AWS Data Pipeline PipelineObject

PipelineObjectsAWS::DataPipeline::Pipeline 资源的一个属性,描述数据管道对象。

语法

JSON

{ "Fields" : [ Field type ], "Id" : String, "Name" : String }

YAML

Fields: - Field type Id: String Name: String

属性

Fields

用于定义对象的属性的键/值对。允许重复项。您可以在字段中多次使用相同的键定义数组属性。

Required: Yes

类型AWS Data Pipeline 管道字段 的列表

Id

对象的标识符。

Required: Yes

Type: String

Name

对象的名称。

Required: Yes

Type: String

示例

以下代码段显示了如何在 AWS::DataPipeline::Pipeline 资源的 PipelineObjects 属性中为各字段使用相同的键。

JSON

"PipelineObjects": [ { "Id": "ResourceId_I1mCc", "Name": "ReleaseLabelCluster", "Fields": [ { "Key": "releaseLabel", "StringValue": "emr-4.1.0" }, { "Key": "applications", "StringValue": "spark" }, { "Key": "applications", "StringValue": "hive" }, { "Key": "applications", "StringValue": "pig" }, { "Key": "type", "StringValue": "EmrCluster" }, { "Key": "configuration", "RefValue": "coresite" } ] }, { "Id": "coresite", "Name": "coresite", "Fields": [ { "Key": "type", "StringValue": "EmrConfiguration" }, { "Key": "classification", "StringValue": "core-site" }, { "Key": "property", "RefValue": "io-file-buffer-size" }, { "Key": "property", "RefValue": "fs-s3-block-size" } ] }, ... ]

YAML

PipelineObjects: - Id: ResourceId_I1mCc Name: ReleaseLabelCluster Fields: - Key: releaseLabel StringValue: emr-4.1.0 - Key: applications StringValue: spark - Key: applications StringValue: hive - Key: applications StringValue: pig - Key: type StringValue: EmrCluster - Key: configuration RefValue: coresite - Id: coresite Name: coresite Fields: - Key: type StringValue: EmrConfiguration - Key: classification StringValue: core-site - Key: property RefValue: io-file-buffer-size - Key: property RefValue: fs-s3-block-size ...

本页内容: