1.2
1.2
scpcli vpc transit-gateway-rule create
--transit_gateway_id <value>
--tgw_connection_vpc_id <value>
--destination_type <value>
--destination_cidr <value>
[--description <value>]
Description
Transit Gateway 규칙 생성
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.2 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| transit_gateway_id required | string | Transit Gateway ID | fe860e0af0c04dcd8182b84f907f31f4 |
| tgw_connection_vpc_id required | string | Transit Gateway에 연결된 VPC ID. | ffeced8e191c478eabd66b6e2cab8e34 |
| destination_type required | string | 목적지 타입 | VPC |
| destination_cidr required | string | 목적지 CIDR | 192.167.5.0/24 |
| description optional | string | 설명 | Routing Rule Description |
Responses
| Name | Description | Example |
|---|---|---|
| id | Routing Rule ID | 43772aff4539403d9ba74bf1fdaa00c8 |
| account_id | Account ID | f1e6c81a2b054582878cb9724dc2ce9f |
| description | 설명 | Routing Rule Description |
| destination_cidr | 목적지 CIDR | 192.167.5.0/24 |
| destination_resource_id | 목적지 자원 ID | ceb44ea5ecb34a49b16495f9a63b0718 |
| destination_resource_name | 목적지 자원명 | VpcName |
| destination_type | 목적지 타입 | VPC |
| source_resource_id | 출발지 자원 ID | 8582cc5d89994a42ad53282fd4a8d8be |
| source_resource_name | 출발지 자원명 | TgwName |
| source_type | 출발지 타입 | TGW |
| state | 상태 | ACTIVE |
| tgw_connection_vpc_id | Transit Gateway에 연결된 VPC ID. | ffeced8e191c478eabd66b6e2cab8e34 |
| tgw_connection_vpc_name | Transit Gateway에 연결된 VPC명. | ConnectedVpcName |