AWS Data Pipeline 不再提供給新客戶。的現有客戶 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 | 目前物件的父系,其插槽已被繼承。 | 參考物件,例如 "parent":{"ref":"myBaseObjectId"} |
執行時間欄位 | 描述 | 槽類型 |
---|---|---|
@version | 建立物件時使用的管道版本。 | 字串 |
系統欄位 | 描述 | 槽類型 |
---|---|---|
@error | 描述格式錯誤物件的錯誤。 | 字串 |
@pipelineId | 此物件所屬管道的 ID。 | 字串 |
@sphere | 物件範圍代表其在生命週期中的位置:Component 物件引發 Instance 物件,這會執行 Attempt 物件。 | 字串 |