View a markdown version of this page

Amazon Location 的動作、資源與條件索引鍵 - 服務授權參考

Amazon Location 的動作、資源與條件索引鍵

Amazon Location (服務字首:geo) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

Amazon Location 定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

AssociateTrackerConsumer

geo:AssociateTrackerConsumer

寫入

BatchDeleteDevicePositionHistory

geo:BatchDeleteDevicePositionHistory

寫入

BatchDeleteGeofence

geo:BatchDeleteGeofence

寫入

BatchEvaluateGeofences

geo:BatchEvaluateGeofences

寫入

BatchGetDevicePosition

geo:BatchGetDevicePosition

讀取

BatchPutGeofence

geo:BatchPutGeofence

寫入

BatchUpdateDevicePosition

geo:BatchUpdateDevicePosition

寫入

CalculateRoute

geo:CalculateRoute

讀取

CalculateRouteMatrix

geo:CalculateRouteMatrix

讀取

CancelJob

geo:CancelJob

寫入

CreateGeofenceCollection

geo:CreateGeofenceCollection

寫入

geo:TagResource

標記、寫入

CreateKey

geo:CalculateRoute

讀取

geo:CalculateRouteMatrix

讀取

geo:CreateKey

寫入

geo:GetMapGlyphs

讀取

geo:GetMapSprites

讀取

geo:GetMapStyleDescriptor

讀取

geo:GetMapTile

讀取

geo:GetPlace

讀取

geo:SearchPlaceIndexForPosition

讀取

geo:SearchPlaceIndexForSuggestions

讀取

geo:SearchPlaceIndexForText

讀取

geo:TagResource

標記、寫入

geo-maps:GetStaticMap

讀取

地理地圖:GetTile

讀取

geo-places:Autocomplete

讀取

geo-places:Geocode

讀取

geo-places:GetPlace

讀取

geo-places:ReverseGeocode

讀取

geo-places:SearchNearby

讀取

geo-places:SearchText

讀取

地理位置:建議

讀取

geo-routes:CalculateIsolines

讀取

geo-routes:CalculateRouteMatrix

讀取

geo-routes:CalculateRoutes

讀取

geo-routes:OptimizeWaypoints

讀取

geo-routes:SnapToRoads

讀取

CreateMap

geo:CreateMap

寫入

geo:TagResource

標記、寫入

CreatePlaceIndex

geo:CreatePlaceIndex

寫入

geo:TagResource

標記、寫入

CreateRouteCalculator

geo:CreateRouteCalculator

寫入

geo:TagResource

標記、寫入

CreateTracker

geo:CreateTracker

寫入

geo:TagResource

標記、寫入

DeleteGeofenceCollection

geo:DeleteGeofenceCollection

寫入

DeleteKey

geo:DeleteKey

寫入

DeleteMap

geo:DeleteMap

寫入

DeletePlaceIndex

geo:DeletePlaceIndex

寫入

DeleteRouteCalculator

geo:DeleteRouteCalculator

寫入

DeleteTracker

geo:DeleteTracker

寫入

DescribeGeofenceCollection

geo:DescribeGeofenceCollection

讀取

DescribeKey

geo:DescribeKey

讀取

DescribeMap

geo:DescribeMap

讀取

DescribePlaceIndex

geo:DescribePlaceIndex

讀取

DescribeRouteCalculator

geo:DescribeRouteCalculator

讀取

DescribeTracker

geo:DescribeTracker

讀取

DisassociateTrackerConsumer

geo:DisassociateTrackerConsumer

寫入

ForecastGeofenceEvents

geo:ForecastGeofenceEvents

讀取

GetDevicePosition

geo:GetDevicePosition

讀取

GetDevicePositionHistory

geo:GetDevicePositionHistory

讀取

GetGeofence

geo:GetGeofence

讀取

GetJob

geo:GetJob

讀取

GetMapGlyphs

geo:GetMapGlyphs

讀取

GetMapSprites

geo:GetMapSprites

讀取

GetMapStyleDescriptor

geo:GetMapStyleDescriptor

讀取

GetMapTile

geo:GetMapTile

讀取

GetPlace

geo:GetPlace

讀取

ListDevicePositions

geo:ListDevicePositions

讀取

ListGeofenceCollections

geo:ListGeofenceCollections

清單

ListGeofences

geo:ListGeofences

讀取

ListJobs

geo:ListJobs

清單

ListKeys

geo:ListKeys

清單

ListMaps

geo:ListMaps

清單

ListPlaceIndexes

geo:ListPlaceIndexes

清單

ListRouteCalculators

geo:ListRouteCalculators

清單

ListTagsForResource

geo:ListTagsForResource

讀取

ListTrackerConsumers

geo:ListTrackerConsumers

讀取

ListTrackers

geo:ListTrackers

清單

PutGeofence

geo:PutGeofence

寫入

SearchPlaceIndexForPosition

geo:SearchPlaceIndexForPosition

讀取

SearchPlaceIndexForSuggestions

geo:SearchPlaceIndexForSuggestions

讀取

SearchPlaceIndexForText

geo:SearchPlaceIndexForText

讀取

StartJob

geo:StartJob

寫入

geo:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

geo.amazonaws.com

寫入

TagResource

geo:TagResource

標記、寫入

UntagResource

geo:UntagResource

標記、寫入

UpdateGeofenceCollection

geo:UpdateGeofenceCollection

寫入

UpdateKey

geo:CalculateRoute

讀取

geo:CalculateRouteMatrix

讀取

geo:GetMapGlyphs

讀取

geo:GetMapSprites

讀取

geo:GetMapStyleDescriptor

讀取

geo:GetMapTile

讀取

geo:GetPlace

讀取

geo:SearchPlaceIndexForPosition

讀取

geo:SearchPlaceIndexForSuggestions

讀取

geo:SearchPlaceIndexForText

讀取

geo:UpdateKey

寫入

geo-maps:GetStaticMap

讀取

地理地圖:GetTile

讀取

geo-places:Autocomplete

讀取

geo-places:Geocode

讀取

geo-places:GetPlace

讀取

geo-places:ReverseGeocode

讀取

geo-places:SearchNearby

讀取

geo-places:SearchText

讀取

地理位置:建議

讀取

geo-routes:CalculateIsolines

讀取

geo-routes:CalculateRouteMatrix

讀取

geo-routes:CalculateRoutes

讀取

geo-routes:OptimizeWaypoints

讀取

geo-routes:SnapToRoads

讀取

UpdateMap

geo:UpdateMap

寫入

UpdatePlaceIndex

geo:UpdatePlaceIndex

寫入

UpdateRouteCalculator

geo:UpdateRouteCalculator

寫入

UpdateTracker

geo:UpdateTracker

寫入

VerifyDevicePosition

geo:VerifyDevicePosition

讀取

Amazon Location 定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

AssociateTrackerConsumer

准許建立地理柵欄集合與追蹤器資源的關聯

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

寫入

BatchDeleteDevicePositionHistory

准許從追蹤器資源刪除一批裝置位置歷史記錄

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

寫入

BatchDeleteGeofence

准許從地理柵欄集合刪除批次地理柵欄

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

寫入

BatchEvaluateGeofences

准許根據指定地理柵欄集合中地理柵欄位置評估裝置位置

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

寫入

BatchGetDevicePosition

准許傳送批次請求以擷取裝置位置

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

讀取

BatchPutGeofence

准許傳送批次請求,以便將地理柵欄新增至指定的地理柵欄集合

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

寫入

BatchUpdateDevicePosition

准許將一或多個裝置的位置更新上傳至追蹤器資源

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

寫入

CalculateRoute

准許使用指定路由計算器資源計算路由

route-calculator*

aws:ResourceTag/${TagKey}

讀取

CalculateRouteMatrix

准許使用指定路由計算器資源計算路由矩陣

route-calculator*

aws:ResourceTag/${TagKey}

讀取

CancelJob

准許取消任務

任務*

aws:ResourceTag/${TagKey}

寫入

CreateGeofenceCollection

准許建立地理柵欄集合

geofence-collection*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

geo:GeofenceIds

寫入

CreateKey

准許建立 API 金鑰資源

api-key*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateMap

准許建立地圖資源

映射*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreatePlaceIndex

准許建立位置索引資源

place-index*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateRouteCalculator

准許建立路由計算器資源

route-calculator*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateTracker

准許建立追蹤器資源

追蹤器*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

geo:DeviceIds

寫入

DeleteGeofenceCollection

准許刪除地理柵欄集合

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

寫入

DeleteKey

准許刪除 API 金鑰資源

api-key*

aws:ResourceTag/${TagKey}

寫入

DeleteMap

准許刪除地圖資源

映射*

aws:ResourceTag/${TagKey}

寫入

DeletePlaceIndex

准許刪除地點索引資源

place-index*

aws:ResourceTag/${TagKey}

寫入

DeleteRouteCalculator

准許刪除路由計算器資源

route-calculator*

aws:ResourceTag/${TagKey}

寫入

DeleteTracker

准許刪除追蹤器資源

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

寫入

DescribeGeofenceCollection

准許擷取地理柵欄集合詳細資訊

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

讀取

DescribeKey

准許擷取 API 金鑰資源詳細資訊和秘密

api-key*

aws:ResourceTag/${TagKey}

讀取

DescribeMap

准許擷取地圖資源詳細資訊

映射*

aws:ResourceTag/${TagKey}

讀取

DescribePlaceIndex

准許擷取地點索引資源詳細資訊

place-index*

aws:ResourceTag/${TagKey}

讀取

DescribeRouteCalculator

准許擷取路由計算器資源詳細資訊

route-calculator*

aws:ResourceTag/${TagKey}

讀取

DescribeTracker

准許擷取追蹤器資源詳細資訊

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

讀取

DisassociateTrackerConsumer

准許移除追蹤器資源與地理柵欄集合的關聯

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

寫入

ForecastGeofenceEvents

准許預測存放在指定地理圍欄集合中的地理圍欄事件

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

讀取

GetDevicePosition

准許擷取最新裝置位置

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

讀取

GetDevicePositionHistory

准許擷取裝置位置歷史記錄

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

讀取

GetGeofence

准許從地理柵欄集合擷取地理柵欄詳細資訊

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

讀取

GetJob

准許擷取任務詳細資訊

任務*

aws:ResourceTag/${TagKey}

讀取

GetMapGlyphs

准許擷取地圖資源的字符檔案

映射*

aws:ResourceTag/${TagKey}

讀取

GetMapSprites

准許擷取地圖資源的精靈圖檔案

映射*

aws:ResourceTag/${TagKey}

讀取

GetMapStyleDescriptor

准許從地圖資源擷取地圖樣式描述項

映射*

aws:ResourceTag/${TagKey}

讀取

GetMapTile

准許從地圖資源擷取地圖圖磚

映射*

aws:ResourceTag/${TagKey}

讀取

GetPlace

准許透過唯一 ID 尋找地點

place-index*

aws:ResourceTag/${TagKey}

讀取

ListDevicePositions

准許從指定追蹤器資源擷取裝置清單及其最新位置

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

讀取

ListGeofenceCollections

准許列出地理柵欄集合

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

清單

ListGeofences

准許列出儲存在指定地理柵欄集合中的地理柵欄

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

讀取

ListJobs

准許列出任務

任務*

aws:ResourceTag/${TagKey}

清單

ListKeys

准許列出 API 金鑰資源

api-key*

aws:ResourceTag/${TagKey}

清單

ListMaps

准許列出地圖資源

映射*

aws:ResourceTag/${TagKey}

清單

ListPlaceIndexes

准許傳回位置索引資源清單

place-index*

aws:ResourceTag/${TagKey}

清單

ListRouteCalculators

准許傳回路由計算器資源清單

route-calculator*

aws:ResourceTag/${TagKey}

清單

ListTagsForResource

准許列出已指派給資源的標籤 (中繼資料)

api-key

aws:ResourceTag/${TagKey}

讀取

地理ofence-collection

aws:ResourceTag/${TagKey}

geo:GeofenceIds

任務

aws:ResourceTag/${TagKey}

map

aws:ResourceTag/${TagKey}

place-index

aws:ResourceTag/${TagKey}

route-calculator

aws:ResourceTag/${TagKey}

追蹤器

aws:ResourceTag/${TagKey}

geo:DeviceIds

ListTrackerConsumers

准許擷取目前與指定追蹤器資源相關聯的地理柵欄集合清單

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

讀取

ListTrackers

准許傳回追蹤器資源清單

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

清單

PutGeofence

准許新增地理柵欄,或將現有地理柵欄更新至指定的地理柵欄集合

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

寫入

SearchPlaceIndexForPosition

准許對給定座標反向地理編碼

place-index*

aws:ResourceTag/${TagKey}

讀取

SearchPlaceIndexForSuggestions

准許基於部分或拼寫錯誤的自由格式文字產生地址和景點的建議

place-index*

aws:ResourceTag/${TagKey}

讀取

SearchPlaceIndexForText

准許地理編碼任意格式文字,例如地址、名稱、城市或地區

place-index*

aws:ResourceTag/${TagKey}

讀取

StartJob

准許開始任務

任務*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

TagResource

准許新增或修改指定資源的標籤。標籤是可用來管理資源的中繼資料

api-key

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

地理ofence-collection

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

geo:GeofenceIds

任務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

map

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

place-index

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

route-calculator

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

追蹤器

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

geo:DeviceIds

UntagResource

准許從資源中移除指定標籤 (中繼資料)

api-key

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

地理ofence-collection

aws:ResourceTag/${TagKey}

aws:TagKeys

geo:GeofenceIds

任務

aws:ResourceTag/${TagKey}

aws:TagKeys

map

aws:ResourceTag/${TagKey}

aws:TagKeys

place-index

aws:ResourceTag/${TagKey}

aws:TagKeys

route-calculator

aws:ResourceTag/${TagKey}

aws:TagKeys

追蹤器

aws:ResourceTag/${TagKey}

aws:TagKeys

geo:DeviceIds

UpdateGeofenceCollection

准許更新地理柵欄集合

geofence-collection*

aws:ResourceTag/${TagKey}

geo:GeofenceIds

寫入

UpdateKey

准許更新 API 金鑰資源

api-key*

aws:ResourceTag/${TagKey}

寫入

UpdateMap

准許更新地圖資源

映射*

aws:ResourceTag/${TagKey}

寫入

UpdatePlaceIndex

准許更新地點索引資源

place-index*

aws:ResourceTag/${TagKey}

寫入

UpdateRouteCalculator

准許建立路由計算器資源

route-calculator*

aws:ResourceTag/${TagKey}

寫入

UpdateTracker

准許更新追蹤器資源

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

寫入

VerifyDevicePosition

准許驗證裝置位置

追蹤器*

aws:ResourceTag/${TagKey}

geo:DeviceIds

讀取

Amazon Location 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

api-key

arn:${Partition}:geo:${Region}:${Account}:api-key/${KeyName}

aws:ResourceTag/${TagKey}

地理ofence-collection

arn:${Partition}:geo:${Region}:${Account}:geofence-collection/${GeofenceCollectionName}

aws:ResourceTag/${TagKey}

geo:GeofenceIds

任務

arn:${Partition}:geo:${Region}:${Account}:job/${JobId}

aws:ResourceTag/${TagKey}

映射

arn:${Partition}:geo:${Region}:${Account}:map/${MapName}

aws:ResourceTag/${TagKey}

place-index

arn:${Partition}:geo:${Region}:${Account}:place-index/${IndexName}

aws:ResourceTag/${TagKey}

route-calculator

arn:${Partition}:geo:${Region}:${Account}:route-calculator/${CalculatorName}

aws:ResourceTag/${TagKey}

追蹤器

arn:${Partition}:geo:${Region}:${Account}:tracker/${TrackerName}

aws:ResourceTag/${TagKey}

geo:DeviceIds

Amazon Location 的條件索引鍵

Amazon Monitron 會定義下列條件金鑰,可用於 IAM 政策的 Condition 元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依請求中的標籤金鑰和值篩選存取權

String

aws:ResourceTag/${TagKey}

依請求中的標籤鍵值對是否存在篩選存取權

String

aws:TagKeys

依請求中的標籤金鑰篩選存取權

ArrayOfString

geo:DeviceIds

依請求中是否存在裝置 ID 來篩選存取權

ArrayOfString

geo:GeofenceIds

依請求中是否存在地理柵欄 ID 來篩選存取權

ArrayOfString