屬性 - AWS Data Pipeline

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

屬性

與 EmrConfiguration 物件搭配使用的單一索引鍵值屬性。

範例

下列管線定義顯示要 EmrConfiguration 啟動的物件和對應 Property 物件 EmrCluster:

{ "objects": [ { "name": "ReleaseLabelCluster", "releaseLabel": "emr-4.1.0", "applications": ["spark", "hive", "pig"], "id": "ResourceId_I1mCc", "type": "EmrCluster", "configuration": { "ref": "coresite" } }, { "name": "coresite", "id": "coresite", "type": "EmrConfiguration", "classification": "core-site", "property": [{ "ref": "io-file-buffer-size" }, { "ref": "fs-s3-block-size" } ] }, { "name": "io-file-buffer-size", "id": "io-file-buffer-size", "type": "Property", "key": "io.file.buffer.size", "value": "4096" }, { "name": "fs-s3-block-size", "id": "fs-s3-block-size", "type": "Property", "key": "fs.s3.block.size", "value": "67108864" } ] }

語法

此物件包含以下欄位。

必要欄位 描述 槽類型
金錀 金鑰 字串
value value 字串

選用欄位 描述 槽類型
parent 目前物件的父系,其插槽已被繼承。 引用對象,例如,「父」:{「ref」:」myBaseObject Id「}

執行時間欄位 描述 槽類型
@version 建立物件時使用的管道版本。 字串

系統欄位 描述 槽類型
@error 描述格式錯誤物件的錯誤。 字串
@pipelineId 此物件所屬管道的 ID。 字串
@sphere 物件範圍代表其在生命週期中的位置:Component 物件引發 Instance 物件,這會執行 Attempt 物件。 字串

另請參閲