View a markdown version of this page

Amazon VPC Lattice 的動作、資源和條件索引鍵 - 服務授權參考

Amazon VPC Lattice 的動作、資源和條件索引鍵

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

參考資料:

Amazon VPC Lattice 定義的 API 操作

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

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

BatchUpdateRule

vpc-lattice:UpdateRule

寫入

CreateAccessLogSubscription

vpc-lattice:CreateAccessLogSubscription

寫入

vpc-lattice:TagResource

標記、寫入

CreateListener

vpc-lattice:CreateListener

寫入

vpc-lattice:TagResource

標記、寫入

CreateResourceConfiguration

vpc-lattice:CreateResourceConfiguration

寫入

vpc-lattice:TagResource

標記、寫入

CreateResourceGateway

vpc-lattice:CreateResourceGateway

寫入

vpc-lattice:TagResource

標記、寫入

CreateRule

vpc-lattice:CreateRule

寫入

vpc-lattice:TagResource

標記、寫入

CreateService

vpc-lattice:CreateService

寫入

vpc-lattice:TagResource

標記、寫入

CreateServiceNetwork

vpc-lattice:CreateServiceNetwork

寫入

vpc-lattice:TagResource

標記、寫入

CreateServiceNetworkResourceAssociation

vpc-lattice:AssociateViaAWSService

許可管理、寫入

vpc-lattice:AssociateViaAWSService-EventsAndStates

許可管理、寫入

vpc-lattice:CreateServiceNetworkResourceAssociation

寫入

vpc-lattice:TagResource

標記、寫入

CreateServiceNetworkServiceAssociation

vpc-lattice:CreateServiceNetworkServiceAssociation

寫入

vpc-lattice:TagResource

標記、寫入

CreateServiceNetworkVpcAssociation

vpc-lattice:AssociateViaAWSService

許可管理、寫入

vpc-lattice:CreateServiceNetworkVpcAssociation

寫入

vpc-lattice:TagResource

標記、寫入

CreateTargetGroup

vpc-lattice:CreateTargetGroup

寫入

vpc-lattice:TagResource

標記、寫入

DeleteAccessLogSubscription

vpc-lattice:DeleteAccessLogSubscription

寫入

DeleteAuthPolicy

vpc-lattice:DeleteAuthPolicy

許可管理、寫入

DeleteDomainVerification

vpc-lattice:DeleteDomainVerification

寫入

DeleteListener

vpc-lattice:DeleteListener

寫入

DeleteResourceConfiguration

vpc-lattice:DeleteResourceConfiguration

寫入

DeleteResourceEndpointAssociation

vpc-lattice:DeleteResourceEndpointAssociation

寫入

DeleteResourceGateway

vpc-lattice:DeleteResourceGateway

寫入

DeleteResourcePolicy

vpc-lattice:DeleteResourcePolicy

寫入

DeleteRule

vpc-lattice:DeleteRule

寫入

DeleteService

vpc-lattice:DeleteService

寫入

DeleteServiceNetwork

vpc-lattice:DeleteServiceNetwork

寫入

DeleteServiceNetworkResourceAssociation

vpc-lattice:DeleteServiceNetworkResourceAssociation

寫入

DeleteServiceNetworkServiceAssociation

vpc-lattice:DeleteServiceNetworkServiceAssociation

寫入

DeleteServiceNetworkVpcAssociation

vpc-lattice:DeleteServiceNetworkVpcAssociation

寫入

DeleteTargetGroup

vpc-lattice:DeleteTargetGroup

寫入

DeregisterTargets

vpc-lattice:DeregisterTargets

寫入

GetAccessLogSubscription

vpc-lattice:GetAccessLogSubscription

讀取

GetAuthPolicy

vpc-lattice:GetAuthPolicy

讀取

GetDomainVerification

vpc-lattice:GetDomainVerification

讀取

GetListener

vpc-lattice:GetListener

讀取

GetResourceConfiguration

vpc-lattice:GetResourceConfiguration

讀取

GetResourceGateway

vpc-lattice:GetResourceGateway

讀取

GetResourcePolicy

vpc-lattice:GetResourcePolicy

讀取

GetRule

vpc-lattice:GetRule

讀取

GetService

vpc-lattice:GetService

讀取

GetServiceNetwork

vpc-lattice:GetServiceNetwork

讀取

GetServiceNetworkResourceAssociation

vpc-lattice:GetServiceNetworkResourceAssociation

讀取

GetServiceNetworkServiceAssociation

vpc-lattice:GetServiceNetworkServiceAssociation

讀取

GetServiceNetworkVpcAssociation

vpc-lattice:GetServiceNetworkVpcAssociation

讀取

GetTargetGroup

vpc-lattice:GetTargetGroup

讀取

ListAccessLogSubscriptions

vpc-lattice:ListAccessLogSubscriptions

清單

ListDomainVerifications

vpc-lattice:ListDomainVerifications

清單

ListListeners

vpc-lattice:ListListeners

清單

ListResourceConfigurations

vpc-lattice:ListResourceConfigurations

清單

ListResourceEndpointAssociations

vpc-lattice:ListResourceEndpointAssociations

清單

ListResourceGateways

vpc-lattice:ListResourceGateways

清單

ListRules

vpc-lattice:ListRules

清單

ListServiceNetworkResourceAssociations

vpc-lattice:ListServiceNetworkResourceAssociations

清單

ListServiceNetworkServiceAssociations

vpc-lattice:ListServiceNetworkServiceAssociations

清單

ListServiceNetworkVpcAssociations

vpc-lattice:ListServiceNetworkVpcAssociations

清單

ListServiceNetworkVpcEndpointAssociations

vpc-lattice:ListServiceNetworkVpcEndpointAssociations

清單

ListServiceNetworks

vpc-lattice:ListServiceNetworks

清單

ListServices

vpc-lattice:ListServices

清單

ListTagsForResource

vpc-lattice:ListTagsForResource

讀取

ListTargetGroups

vpc-lattice:ListTargetGroups

清單

ListTargets

vpc-lattice:ListTargets

清單

PutAuthPolicy

vpc-lattice:PutAuthPolicy

許可管理、寫入

PutResourcePolicy

vpc-lattice:PutResourcePolicy

寫入

RegisterTargets

vpc-lattice:RegisterTargets

寫入

StartDomainVerification

vpc-lattice:StartDomainVerification

寫入

vpc-lattice:TagResource

標記、寫入

TagResource

vpc-lattice:TagResource

標記、寫入

UntagResource

vpc-lattice:UntagResource

標記、寫入

UpdateAccessLogSubscription

vpc-lattice:UpdateAccessLogSubscription

寫入

UpdateListener

vpc-lattice:UpdateListener

寫入

UpdateResourceConfiguration

vpc-lattice:UpdateResourceConfiguration

寫入

UpdateResourceGateway

vpc-lattice:UpdateResourceGateway

寫入

UpdateRule

vpc-lattice:UpdateRule

寫入

UpdateService

vpc-lattice:UpdateService

寫入

UpdateServiceNetwork

vpc-lattice:UpdateServiceNetwork

寫入

UpdateServiceNetworkVpcAssociation

vpc-lattice:UpdateServiceNetworkVpcAssociation

寫入

UpdateTargetGroup

vpc-lattice:UpdateTargetGroup

寫入

Amazon VPC Lattice 定義的動作

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

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

CreateAccessLogSubscription

准許建立存取日誌訂閱

AccessLogSubscription*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

ResourceConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

CreateListener

准許建立接聽程式

接聽程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:通訊協定

vpc-lattice:TargetGroupArns

寫入

CreateResourceConfiguration

准許建立資源組態

DomainVerification

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:DomainName

寫入

ResourceConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ResourceGateway

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

CreateResourceGateway

准許建立資源閘道

ResourceGateway*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

寫入

CreateRule

准許建立規則

規則*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:TargetGroupArns

寫入

CreateService

准許建立服務

服務*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

寫入

CreateServiceNetwork

准許建立服務網路

ServiceNetwork*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

寫入

CreateServiceNetworkResourceAssociation

准許在服務網路和資源之間建立關聯

ResourceConfiguration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

寫入

ServiceNetwork*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkResourceAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

CreateServiceNetworkServiceAssociation

准許建立服務網路和服務關聯

服務*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

寫入

ServiceNetwork*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkServiceAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

CreateServiceNetworkVpcAssociation

准許建立服務網路和 VPC 關聯

ServiceNetwork*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

寫入

ServiceNetworkVpcAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

CreateTargetGroup

准許建立目標群組

TargetGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

寫入

DeleteAccessLogSubscription

准許刪除存取日誌訂閱

AccessLogSubscription*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

DeleteAuthPolicy

准許刪除驗證政策

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

許可管理、寫入

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

DeleteDomainVerification

准許刪除網域驗證

DomainVerification*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:DomainName

寫入

DeleteListener

准許刪除接聽程式

接聽程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:通訊協定

vpc-lattice:TargetGroupArns

寫入

DeleteResourceConfiguration

准許刪除資源組態

ResourceConfiguration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

DeleteResourceEndpointAssociation

准許刪除資源端點關聯

ResourceEndpointAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:VpcEndpointId

寫入

DeleteResourceGateway

准許刪除資源閘道

ResourceGateway*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

寫入

DeleteResourcePolicy

准許刪除資源政策

ResourceConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

DeleteRule

准許刪除規則

規則*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:TargetGroupArns

寫入

DeleteService

准許刪除服務

服務*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

寫入

DeleteServiceNetwork

准許刪除服務網路

ServiceNetwork*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

寫入

DeleteServiceNetworkResourceAssociation

准許刪除服務網路和資源之間的關聯

ServiceNetworkResourceAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

寫入

DeleteServiceNetworkServiceAssociation

准許刪除服務網路和服務關聯

ServiceNetworkServiceAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

寫入

DeleteServiceNetworkVpcAssociation

准許刪除服務網路和 VPC 關聯

ServiceNetworkVpcAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

寫入

DeleteTargetGroup

准許刪除目標群組

TargetGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

寫入

DeregisterTargets

准許從目標群組取消註冊目標

TargetGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

寫入

GetAccessLogSubscription

准許取得存取日誌訂閱的相關資訊

AccessLogSubscription*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

讀取

GetAuthPolicy

准許取得驗證政策的相關資訊

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

讀取

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

GetDomainVerification

准許取得網域驗證的相關資訊

DomainVerification*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:DomainName

讀取

GetListener

准許取得接聽程式的相關資訊

接聽程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:通訊協定

vpc-lattice:TargetGroupArns

讀取

GetResourceConfiguration

准許取得資源組態的相關資訊

ResourceConfiguration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

讀取

GetResourceGateway

准許取得資源閘道的相關資訊

ResourceGateway*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

讀取

GetResourcePolicy

准許取得資源政策的相關資訊

ResourceConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

讀取

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

GetRule

准許取得規則的相關資訊

規則*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:TargetGroupArns

讀取

GetService

准許取得服務的相關資訊

服務*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

讀取

GetServiceNetwork

准許取得服務網路的相關資訊

ServiceNetwork*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

讀取

GetServiceNetworkResourceAssociation

准許取得服務網路與資源組態之間關聯的相關資訊

ServiceNetworkResourceAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

讀取

GetServiceNetworkServiceAssociation

准許取得服務網路和服務關聯的相關資訊

ServiceNetworkServiceAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

讀取

GetServiceNetworkVpcAssociation

准許取得服務網路和 VPC 關聯的相關資訊

ServiceNetworkVpcAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

讀取

GetTargetGroup

准許取得目標群組的相關資訊

TargetGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

讀取

ListAccessLogSubscriptions

准許列出有關服務網路或服務的部分或所有存取日誌訂閱

清單

ListDomainVerifications

准許列出部分或全部網域驗證

清單

ListListeners

准許列出部分或所有接聽程式

清單

ListResourceConfigurations

准許列出部分或全部資源組態

清單

ListResourceEndpointAssociations

准許列出資源組態與 VPC 端點之間的部分或全部關聯

vpc-lattice:ResourceConfigurationArn

vpc-lattice:VpcEndpointId

清單

ListResourceGateways

准許列出部分或全部資源閘道

清單

ListRules

准許列出部分或所有規則

清單

ListServiceNetworkResourceAssociations

准許列出服務網路和資源組態之間的部分或全部關聯

清單

ListServiceNetworkServiceAssociations

准許列出部分或所有服務網路與服務關聯

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

清單

ListServiceNetworkVpcAssociations

准許列出部分或所有服務網路和 VPC 關聯

vpc-lattice:ServiceNetworkArn

清單

ListServiceNetworkVpcEndpointAssociations

准許列出服務網路和 VPC 端點之間的部分或全部關聯

清單

ListServiceNetworks

准許列出呼叫者帳戶所擁有或與呼叫者帳戶共用的服務網路

清單

ListServices

准許列出呼叫者帳戶所擁有或與呼叫者帳戶共用的服務

清單

ListTagsForResource

准許列出 vpc-lattice 資源的標籤

讀取

ListTargetGroups

准許列出部分或所有目標群組

清單

ListTargets

准許列出目標群組中部分或所有目標

TargetGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

清單

PutAuthPolicy

准許建立或更新服務網路或服務的驗證政策

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

許可管理、寫入

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

PutResourcePolicy

准許為資源組態、服務或服務網路建立資源政策

ResourceConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

RegisterTargets

准許將目標註冊至目標群組

TargetGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

寫入

StartDomainVerification

准許啟動網域驗證

DomainVerification*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:DomainName

寫入

TagResource

准許標記 vpc-lattice 資源

AccessLogSubscription

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

標記、寫入

DomainVerification

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:DomainName

接聽程式

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:通訊協定

vpc-lattice:TargetGroupArns

ResourceConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

ResourceEndpointAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:ResourceConfigurationArn

vpc-lattice:VpcEndpointId

ResourceGateway

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:VpcId

規則

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:TargetGroupArns

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

vpc-lattice:CreateAction

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

vpc-lattice:CreateAction

ServiceNetworkResourceAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkServiceAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkVpcAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

TargetGroup

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:CreateAction

vpc-lattice:VpcId

UntagResource

准許取消標記 vpc-lattice 資源

AccessLogSubscription

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

DomainVerification

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:DomainName

接聽程式

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:通訊協定

vpc-lattice:TargetGroupArns

ResourceConfiguration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ResourceEndpointAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:VpcEndpointId

ResourceGateway

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

規則

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:TargetGroupArns

服務

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetwork

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetworkResourceAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkServiceAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkVpcAssociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

TargetGroup

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

UpdateAccessLogSubscription

准許更新存取日誌訂閱

AccessLogSubscription*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

UpdateListener

准許更新接聽程式

接聽程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:通訊協定

vpc-lattice:TargetGroupArns

寫入

UpdateResourceConfiguration

准許更新資源組態

ResourceConfiguration*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

UpdateResourceGateway

准許更新資源閘道

ResourceGateway*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:SecurityGroupIds

vpc-lattice:VpcId

寫入

UpdateRule

准許更新規則

規則*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:TargetGroupArns

寫入

UpdateService

准許更新服務

服務*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

寫入

UpdateServiceNetwork

准許更新服務網路

ServiceNetwork*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

寫入

UpdateServiceNetworkVpcAssociation

准許更新服務網路和 VPC 關聯

ServiceNetworkVpcAssociation*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

寫入

UpdateTargetGroup

准許更新目標群組

TargetGroup*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

寫入

Amazon VPC Lattice 的僅限許可動作

下列動作是由 Amazon VPC Lattice 定義,但無法透過任何 API 操作直接叫用。它們只能在 IAM 政策陳述式中使用,以授予或拒絕許可。

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

AssociateViaAWSService

准許透過任何 AWS 服務受管網路關聯資源組態

許可管理、寫入

AssociateViaAWSService-EventsAndStates

准許透過 Amazon EventBridge 和 AWS Step Functions 服務網路關聯資源組態

許可管理、寫入

CreateServiceNetworkVpcEndpointAssociation

准許在服務網路和 VPC 端點之間建立關聯

許可管理、寫入

Amazon VPC Lattice 定義的資源類型

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

資源類型 ARN 條件索引鍵

AccessLogSubscription

arn:${Partition}:vpc-lattice:${Region}:${Account}:accesslogsubscription/${AccessLogSubscriptionId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

DomainVerification

arn:${Partition}:vpc-lattice:${Region}:${Account}:domainverification/${DomainVerificationId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:DomainName

接聽程式

arn:${Partition}:vpc-lattice:${Region}:${Account}:service/${ServiceId}/listener/${ListenerId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:通訊協定

vpc-lattice:TargetGroupArns

ResourceConfiguration

arn:${Partition}:vpc-lattice:${Region}:${Account}:resourceconfiguration/${ResourceConfigurationId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

ResourceEndpointAssociation

arn:${Partition}:vpc-lattice:${Region}:${Account}:resourceendpointassociation/${ResourceEndpointAssociationId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:VpcEndpointId

ResourceGateway

arn:${Partition}:vpc-lattice:${Region}:${Account}:resourcegateway/${ResourceGatewayId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

規則

arn:${Partition}:vpc-lattice:${Region}:${Account}:service/${ServiceId}/listener/${ListenerId}/rule/${RuleId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:TargetGroupArns

服務

arn:${Partition}:vpc-lattice:${Region}:${Account}:service/${ServiceId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetwork

arn:${Partition}:vpc-lattice:${Region}:${Account}:servicenetwork/${ServiceNetworkId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:AuthType

ServiceNetworkResourceAssociation

arn:${Partition}:vpc-lattice:${Region}:${Account}:servicenetworkresourceassociation/${ServiceNetworkResourceAssociationId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ResourceConfigurationArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkServiceAssociation

arn:${Partition}:vpc-lattice:${Region}:${Account}:servicenetworkserviceassociation/${ServiceNetworkServiceAssociationId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:ServiceArn

vpc-lattice:ServiceNetworkArn

ServiceNetworkVpcAssociation

arn:${Partition}:vpc-lattice:${Region}:${Account}:servicenetworkvpcassociation/${ServiceNetworkVpcAssociationId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:PrivateDnsPreference

vpc-lattice:PrivateDnsSpecifiedDomains

vpc-lattice:SecurityGroupIds

vpc-lattice:ServiceNetworkArn

vpc-lattice:VpcId

TargetGroup

arn:${Partition}:vpc-lattice:${Region}:${Account}:targetgroup/${TargetGroupId}

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

vpc-lattice:VpcId

Amazon VPC Lattice 的條件索引鍵

Amazon VPC Lattice 定義的下列條件索引鍵,可用於 IAM 政策的 Condition 元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

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

String

aws:ResourceTag/${TagKey}

依連接到資源的標籤鍵值對篩選存取權

String

aws:TagKeys

依請求中是否存在標籤索引鍵來篩選存取

ArrayOfString

vpc-lattice:AuthType

依請求中指定的驗證類型來篩選存取權

String

vpc-lattice:CreateAction

依資源建立 API 動作的名稱篩選存取權,且僅在建立時標記資源時可用

String

vpc-lattice:DomainName

依網域名稱篩選存取權

String

vpc-lattice:PrivateDnsPreference

依私有 dns 偏好設定篩選存取權

String

vpc-lattice:PrivateDnsSpecifiedDomains

依私有 dns 網域篩選存取權

ArrayOfString

vpc-lattice:通訊協定

依請求中指定的通訊協定來篩選存取權

String

vpc-lattice:ResourceConfigurationArn

依資源組態的 ARN 篩選存取權

ARN

vpc-lattice:SecurityGroupIds

依安全群組的 ID 來篩選存取權

ArrayOfString

vpc-lattice:ServiceArn

依服務的 ARN 來篩選存取權

ARN

vpc-lattice:ServiceNetworkArn

依服務網路的 ARN 來篩選存取權

ARN

vpc-lattice:TargetGroupArns

依目標群組的 ARN 來篩選存取權

ArrayOfARN

vpc-lattice:VpcEndpointId

依 VPC 端點的 ID 篩選存取權

String

vpc-lattice:VpcId

依 Virtual Private Cloud (VPC) 的 ID 篩選存取權

String