View a markdown version of this page

AWS Elemental MediaConnect 的動作、資源和條件索引鍵 - 服務授權參考

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

AWS Elemental MediaConnect 的動作、資源和條件索引鍵

AWS Elemental MediaConnect (服務字首:mediaconnect) 提供下列服務特有的資源、動作和條件內容索引鍵,可用於 IAM 許可政策。

參考資料:

AWS Elemental MediaConnect 定義的動作

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

動作資料表的存取層級欄說明動作的分類方式 (列出、讀取、許可管理或標記)。此分類可協助您了解在政策中使用某動作時,該動作授予您的存取層級。如需存取層級的詳細資訊,請參閱政策摘要中的存取層級

「動作」資料表的資源類型欄會指出每個動作是否支援資源層級的許可。如果此欄沒有值,您必須在政策陳述式的 Resource 元素中指定政策適用的所有資源 ("*")。如果資料欄包含資源類型,則您可以在具有該動作的陳述式中指定該類型的 ARN。如果動作具有一或多個必要資源,呼叫者必須具有對這些資源使用動作的許可。表格中的必要資源會以星號 (*) 表示。如果您使用 IAM 政策中的 Resource 元素限制資源存取,則每種必要的資源類型必須要有 ARN 或模式。某些動作支援多種資源類型。如果資源類型是選用 (未顯示為必要),則您可以選擇使用其中一種選用資源類型。

「動作」資料表的條件索引鍵欄包含您可以在政策陳述式的 Condition 元素中指定的索引鍵。如需有關與服務資源相關聯之條件索引鍵的詳細資訊,請參閱「資源類型」資料表的條件索引鍵欄。

動作資料表的相依動作欄會顯示成功呼叫動作所需的其他許可。除了 動作本身的許可之外,還可能需要這些許可。當動作指定相依動作時,這些相依性可能適用於針對該動作定義的其他資源,而不只是資料表中列出的第一個資源。

注意

資源條件索引鍵會列在資源類型資料表中。您可以在「動作」資料表的資源類型 (*必填) 欄中找到適用於動作的資源類型連結。「資源類型」資料表中的資源類型包括條件索引鍵欄,其中包含套用至「動作」資料表中動作的資源條件索引鍵。

如需下表各欄的詳細資訊,請參閱動作資料表

動作 描述 存取層級 資源類型 (*必填項目) 條件索引鍵 相依動作
AddBridgeOutputs 准許新增輸出至現有橋接 寫入

Bridge*

AddBridgeSources 准許新增來源至現有橋接 寫入

Bridge*

AddFlowMediaStreams 准許將媒體串流新增至任何流程 寫入

Flow*

MediaStream*

aws:RequestTag/${TagKey}

aws:TagKeys

AddFlowOutputs 准許將輸出新增至任何流程 寫入

Flow*

Output*

aws:RequestTag/${TagKey}

aws:TagKeys

AddFlowSources 准許將來源新增至任何流程 寫入

Flow*

Source*

aws:RequestTag/${TagKey}

aws:TagKeys

AddFlowVpcInterfaces 准許將 VPC 界面新增至任何流程 寫入

Flow*

VpcInterface*

aws:RequestTag/${TagKey}

aws:TagKeys

AssociateRouterNetworkInterface 准許建立路由器網路介面的關聯 寫入
CreateBridge 准許建立橋接 寫入

Bridge*

CreateFlow 准許建立流程 寫入

Flow*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateGateway 准許建立閘道 寫入

Gateway*

CreateRouterInput 准許在 AWS Elemental MediaConnect 中建立新的路由器輸入 寫入

RouterInput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:CreateRouterInput

mediaconnect:TagResource

mediaconnect:UpdateFlowOutput

aws:RequestTag/${TagKey}

aws:TagKeys

CreateRouterNetworkInterface 准許在 AWS Elemental MediaConnect 中建立新的路由器網路介面 寫入

RouterNetworkInterface*

iam:CreateServiceLinkedRole

mediaconnect:CreateRouterNetworkInterface

mediaconnect:TagResource

aws:RequestTag/${TagKey}

aws:TagKeys

CreateRouterOutput 准許在 AWS Elemental MediaConnect 中建立新的路由器輸出 寫入

RouterOutput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:CreateRouterOutput

mediaconnect:TagResource

mediaconnect:UpdateFlowSource

medialive:UpdateInput

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteBridge 准許刪除橋接 寫入

Bridge*

DeleteFlow 准許刪除流程 寫入

Flow*

DeleteGateway 准許刪除閘道 寫入

Gateway*

DeleteRouterInput 准許刪除 AWS Elemental MediaConnect 中的路由器輸入 寫入

RouterInput*

DeleteRouterNetworkInterface 准許從 AWS Elemental MediaConnect 刪除路由器網路介面 寫入

RouterNetworkInterface*

DeleteRouterOutput 准許從 AWS Elemental MediaConnect 刪除路由器輸出 寫入

RouterOutput*

DeregisterGatewayInstance 准許取消註冊閘道執行個體 寫入

GatewayInstance*

DescribeBridge 准許顯示橋接的詳細資訊 讀取

Bridge*

DescribeFlow 准許顯示流程的詳細資訊,包括流程 ARN、名稱和可用區域,以及來源,輸出和權利的詳細資訊 讀取

Flow*

DescribeFlowSourceMetadata 准許檢視流程來源傳輸串流和程式的相關資訊 讀取

Flow*

DescribeFlowSourceThumbnail 准許檢視流程的來源縮圖 讀取

Flow*

DescribeGateway 准許顯示閘道的詳細資訊,包括閘道 ARN、名稱和 CIDR 區塊,以及網路的詳細資訊 讀取

Gateway*

DescribeGatewayInstance 准許顯示閘道執行個體的詳細資訊 讀取

GatewayInstance*

DescribeOffering 准許顯示產品的詳細資訊 讀取

Offering*

DescribeReservation 准許顯示保留的詳細資訊 讀取

Reservation*

DiscoverGatewayPollEndpoint 准許探索閘道輪詢端點 讀取

Gateway*

GetRouterInput 准許擷取 AWS Elemental MediaConnect 中特定路由器輸入的相關資訊 讀取

RouterInput*

GetRouterInputSourceMetadata 准許擷取 AWS Elemental MediaConnect 中路由器輸入來源的中繼資料 讀取

RouterInput*

GetRouterInputThumbnail 准許擷取 AWS Elemental MediaConnect 中路由器輸入的縮圖 讀取

RouterInput*

GetRouterNetworkInterface 准許擷取 AWS Elemental MediaConnect 中特定路由器網路介面的相關資訊 讀取

RouterNetworkInterface*

GetRouterOutput 准許擷取 AWS Elemental MediaConnect 中特定路由器輸出的相關資訊 讀取

RouterOutput*

GrantFlowEntitlements 准許在任何流程上授予權利 寫入

Entitlement*

Flow*

aws:RequestTag/${TagKey}

aws:TagKeys

ListBridges 准許顯示與此帳戶相關聯的橋接清單,並可選擇顯示指定的 Arn 清單
ListEntitlements 准許顯示已獲許可帳戶的所有權利清單 列出
ListFlows 准許顯示與此帳戶相關聯的流程清單 清單
ListGatewayInstances 准許顯示與此閘道相關聯的執行個體清單 清單
ListGateways 准許顯示與此帳戶相關聯的閘道清單 清單
ListOfferings 准許顯示目前帳戶可用的所有方案清單 AWS 區域 清單
ListReservations 准許顯示帳戶在目前 中購買的所有保留清單 AWS 區域 清單
ListRouterInputs 准許擷取 AWS Elemental MediaConnect 中的路由器輸入清單 清單
ListRouterNetworkInterfaces 准許擷取 AWS Elemental MediaConnect 中的路由器網路介面清單 清單
ListRouterOutputs 准許擷取 AWS Elemental MediaConnect 中的路由器輸出清單 清單
ListTagsForResource 准許顯示與資源相關聯之所有標籤的清單 讀取
PollGateway 准許輪詢閘道 寫入
PurchaseOffering 准許購買產品 寫入

Reservation*

RemoveBridgeOutput 准許移除現有橋接的輸出 寫入

Bridge*

RemoveBridgeSource 准許移除現有橋接的來源 寫入

Bridge*

RemoveFlowMediaStream 准許從任何流程移除媒體串流 寫入

Flow*

MediaStream*

RemoveFlowOutput 准許從任何流程移除輸出 寫入

Flow*

Output*

RemoveFlowSource 准許從任何流程移除來源 寫入

Flow*

Source*

RemoveFlowVpcInterface 准許從任何流程移除 VPC 界面 寫入

Flow*

VpcInterface*

RestartRouterInput 准許在 AWS Elemental MediaConnect 中重新啟動路由器輸入 寫入

RouterInput*

RestartRouterOutput 准許在 AWS Elemental MediaConnect 中重新啟動路由器輸出 寫入

RouterOutput*

RevokeFlowEntitlement 准許撤銷任何流程上的權利 寫入

Entitlement*

Flow*

StartFlow 准許開始流程 寫入

Flow*

StartRouterInput 准許在 AWS Elemental MediaConnect 中啟動路由器輸入 寫入

RouterInput*

StartRouterOutput 准許在 AWS Elemental MediaConnect 中啟動路由器輸出 寫入

RouterOutput*

StopFlow 准許停止流程 寫入

Flow*

StopRouterInput 准許停止 AWS Elemental MediaConnect 中的路由器輸入 寫入

RouterInput*

StopRouterOutput 准許停止 AWS Elemental MediaConnect 中的路由器輸出 寫入

RouterOutput*

SubmitGatewayStateChange 准許提交閘道狀態變更 寫入
TagResource 准許為標籤與資源建立關聯 標記

Entitlement

Flow

MediaStream

Output

RouterInput

RouterNetworkInterface

RouterOutput

Source

VpcInterface

aws:RequestTag/${TagKey}

aws:TagKeys

TakeRouterInput 准許將路由器輸入與 AWS Elemental MediaConnect 中的路由器輸出建立關聯 寫入

RouterOutput*

UntagResource 准許從資源移除標籤 標記

Entitlement

Flow

MediaStream

Output

RouterInput

RouterNetworkInterface

RouterOutput

Source

VpcInterface

aws:TagKeys

UpdateBridge 准許更新橋接 寫入

Bridge*

UpdateBridgeOutput 准許更新現有橋接的輸出 寫入

Bridge*

UpdateBridgeSource 准許更新現有橋接的來源 寫入

Bridge*

UpdateBridgeState 准許更新現有橋接的狀態 寫入

Bridge*

UpdateFlow 准許更新流程 寫入

Flow*

UpdateFlowEntitlement 准許更新任何流程上的權利 寫入

Flow*

UpdateFlowMediaStream 准許更新任何流程上的媒體串流 寫入

Flow*

MediaStream*

UpdateFlowOutput 准許更新任何流程上的輸出 寫入

Flow*

Output*

UpdateFlowSource 准許更新任何流程的來源 寫入

Flow*

Source*

UpdateGatewayInstance 准許更新現有閘道執行個體的組態 寫入

GatewayInstance*

UpdateRouterInput 准許更新 AWS Elemental MediaConnect 中路由器輸入的組態 寫入

RouterInput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:UpdateFlowOutput

mediaconnect:UpdateRouterInput

UpdateRouterNetworkInterface 准許更新 AWS Elemental MediaConnect 中路由器網路介面的組態 寫入

RouterNetworkInterface*

iam:CreateServiceLinkedRole

mediaconnect:UpdateRouterNetworkInterface

UpdateRouterOutput 准許更新 AWS Elemental MediaConnect 中路由器輸出的組態 寫入

RouterOutput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:UpdateFlowSource

mediaconnect:UpdateRouterOutput

medialive:UpdateInput

AWS Elemental MediaConnect 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。動作表格中的每個動作都代表可使用該動作指定的資源類型。資源類型也能定義您可以在政策中包含哪些條件索引鍵。這些索引鍵都會顯示在「資源類型」資料表的最後一欄。如需下表各欄的詳細資訊,請參閱資源類型資料表

資源類型 ARN 條件索引鍵
Bridge arn:${Partition}:mediaconnect:${Region}:${Account}:bridge:${BridgeId}:${BridgeName}
Entitlement arn:${Partition}:mediaconnect:${Region}:${Account}:entitlement:${FlowId}:${EntitlementName}

aws:ResourceTag/${TagKey}

Flow arn:${Partition}:mediaconnect:${Region}:${Account}:flow:${FlowId}:${FlowName}

aws:ResourceTag/${TagKey}

Gateway arn:${Partition}:mediaconnect:${Region}:${Account}:gateway:${GatewayId}:${GatewayName}
GatewayInstance arn:${Partition}:mediaconnect:${Region}:${Account}:gateway:${GatewayId}:${GatewayName}:instance:${InstanceId}
MediaStream arn:${Partition}:mediaconnect:${Region}:${Account}:flow:${FlowId}:${FlowName}/mediaStream/${MediaStreamName}

aws:ResourceTag/${TagKey}

Offering arn:${Partition}:mediaconnect:${Region}:offering:${OfferingId}
Output arn:${Partition}:mediaconnect:${Region}:${Account}:output:${OutputId}:${OutputName}

aws:ResourceTag/${TagKey}

Reservation arn:${Partition}:mediaconnect:${Region}:${Account}:reservation:${ReservationId}:${ReservationName}
RouterInput arn:${Partition}:mediaconnect:${Region}:${Account}:routerInput:${RouterInputId}

aws:ResourceTag/${TagKey}

RouterNetworkInterface arn:${Partition}:mediaconnect:${Region}:${Account}:routerNetworkInterface:${RouterNetworkInterfaceId}

aws:ResourceTag/${TagKey}

RouterOutput arn:${Partition}:mediaconnect:${Region}:${Account}:routerOutput:${RouterOutputId}

aws:ResourceTag/${TagKey}

Source arn:${Partition}:mediaconnect:${Region}:${Account}:source:${SourceId}:${SourceName}

aws:ResourceTag/${TagKey}

VpcInterface arn:${Partition}:mediaconnect:${Region}:${Account}:flow:${FlowId}:${FlowName}/vpcInterface/${VpcInterfaceName}

aws:ResourceTag/${TagKey}

AWS Elemental MediaConnect 的條件索引鍵

AWS Elemental MediaConnect 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。您可以使用這些索引鍵來縮小套用政策陳述式的條件。如需下表各欄的詳細資訊,請參閱條件索引鍵表

若要檢視所有 服務可用的全域條件索引鍵,請參閱AWS 全域條件內容索引鍵

條件索引鍵 描述 Type
aws:RequestTag/${TagKey} 依要求中傳遞的標籤來篩選存取權 字串
aws:ResourceTag/${TagKey} 依與資源關聯的標籤來篩選存取權 字串
aws:TagKeys 依要求中傳遞的標籤索引鍵來篩選存取權 ArrayOfString