route_tables
¶A collection of RouteTable resources.A RouteTable Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.
all
()¶Creates an iterable of all RouteTable resources in the collection.
See also: AWS API Documentation
Request Syntax
route_table_iterator = vpc.route_tables.all()
ec2.RouteTable
)filter
(**kwargs)¶Creates an iterable of all RouteTable resources in the collection filtered by kwargs passed to method. A RouteTable collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.
See also: AWS API Documentation
Request Syntax
route_table_iterator = vpc.route_tables.filter(
DryRun=True|False,
RouteTableIds=[
'string',
],
NextToken='string',
MaxResults=123
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.One or more route table IDs.
Default: Describes all your route tables.
list(ec2.RouteTable
)
A list of RouteTable resources
limit
(**kwargs)¶Creates an iterable up to a specified amount of RouteTable resources in the collection.
See also: AWS API Documentation
Request Syntax
route_table_iterator = vpc.route_tables.limit(
count=123
)
ec2.RouteTable
)page_size
(**kwargs)¶Creates an iterable of all RouteTable resources in the collection, but limits the number of items returned by each service call by the specified amount.
See also: AWS API Documentation
Request Syntax
route_table_iterator = vpc.route_tables.page_size(
count=123
)
ec2.RouteTable
)