本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
申請者受管的網路介面
請求者受管的網路介面是 AWS 服務
代表您在您的 VPC 中建立的網路介面。網路介面與其他服務的資源相關聯,例如來自 Amazon RDS 的資料庫執行個體、NAT 閘道或來自 AWS PrivateLink的介面 VPC 端點。
- Console
-
- AWS CLI
-
若要檢視請求者管理的網路介面
使用 describe-network-interfaces 命令,如下所示。
aws ec2 describe-network-interfaces \
--filters "Name=requester-managed,Values=true" \
--query "NetworkInterfaces[*].[Description, InterfaceType]" \
--output table
下列為顯示可用來確定網路介面用途之重點欄位的範例輸出:Description 和 InterfaceType。
-------------------------------------------------------------------------------
| DescribeNetworkInterfaces |
+---------------------------------------------------+-------------------------+
| VPC Endpoint Interface: vpce-0f00567fa8477a1e6 | interface |
| VPC Endpoint Interface vpce-0d8ddce4be80e4474 | interface |
| VPC Endpoint Interface vpce-078221a1e27d1ea5b | vpc_endpoint |
| Resource Gateway Interface rgw-0bba03f3d56060135 | interface |
| VPC Endpoint Interface: vpce-0cc199f605eaeace7 | interface |
| VPC Endpoint Interface vpce-019b90d6f16d4f958 | interface |
+---------------------------------------------------+-------------------------+
- PowerShell
-
若要檢視請求者管理的網路介面
使用 Get-EC2NetworkInterface cmdlet,如下所示。
Get-EC2NetworkInterface -Filter @{Name="requester-managed"; Values="true"} | Select Description, InterfaceType
下列為輸出範例,它顯示可用來確定網路介面用途之重點欄位:Description 和 InterfaceType。
Description InterfaceType
----------- -------------
VPC Endpoint Interface: vpce-0f00567fa8477a1e6 interface
VPC Endpoint Interface vpce-0d8ddce4be80e4474 interface
VPC Endpoint Interface vpce-078221a1e27d1ea5b vpc_endpoint
Resource Gateway Interface rgw-0bba03f3d56060135 interface
VPC Endpoint Interface: vpce-0cc199f605eaeace7 interface
VPC Endpoint Interface vpce-019b90d6f16d4f958 interface