1.0

1.0

scpcli vpc transit-gateway-rule list
--transit_gateway_id <value>
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--tgw_connection_vpc_id <value>]
[--tgw_connection_vpc_name <value>]
[--source_type <value>]
[--destination_type <value>]
[--destination_cidr <value>]
[--state <value>]

Description

Get Transit Gateway Rule list.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
transit_gateway_id
required
stringTransit Gateway ID-
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
id
optional
stringRouting Rule ID-
tgw_connection_vpc_id
optional
stringVPC ID Connected to Transit Gateway.-
tgw_connection_vpc_name
optional
stringVPC Name Connected to Transit Gateway.-
source_type
optional
****Source Type-
destination_type
optional
****Destination Type-
destination_cidr
optional
stringDestination CIDR-
state
optional
****State-

Responses

NameDescriptionExample
idRouting Rule ID
account_idAccount ID
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescription
destination_cidrDestination CIDR
destination_resource_idDestination Resource ID
destination_resource_nameDestination Resource Name
destination_typeDestination Type
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
source_resource_idSource Resource ID
source_resource_nameSource Resource Name
source_typeSource Type
stateState
tgw_connection_vpc_idVPC ID Connected to Transit Gateway.
tgw_connection_vpc_nameVPC Name Connected to Transit Gateway.