1.0
1.0
scpcli vpc transit-gateway-rule create
--transit_gateway_id <value>
--tgw_connection_vpc_id <value>
--destination_type <value>
--destination_cidr <value>
[--description <value>]
Description
Create Transit Gateway Rule.
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| transit_gateway_id required | string | Transit Gateway ID | - |
| tgw_connection_vpc_id required | string | VPC ID Connected to Transit Gateway. | - |
| destination_type required | string | Destination Type | - |
| destination_cidr required | string | Destination CIDR | - |
| description optional | string | Description | - |
Responses
| Name | Description | Example |
|---|---|---|
| id | Routing Rule ID | |
| account_id | Account ID | |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | Description | |
| destination_cidr | Destination CIDR | |
| destination_resource_id | Destination Resource ID | |
| destination_resource_name | Destination Resource Name | |
| destination_type | Destination Type | |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| source_resource_id | Source Resource ID | |
| source_resource_name | Source Resource Name | |
| source_type | Source Type | |
| state | State | |
| tgw_connection_vpc_id | VPC ID Connected to Transit Gateway. | |
| tgw_connection_vpc_name | VPC Name Connected to Transit Gateway. |