

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# AWS.Networking.Route
<a name="node-route"></a>

您可以定义一个路由节点，该节点将目标路由与 NAT 网关关联为目标资源，并将该路由添加到关联的路由表中。

## 语法
<a name="node-route-syntax"></a>

```
tosca.nodes.AWS.Networking.Route:
  properties:
    dest\$1cidr\$1blocks: List          
  requirements:
    nat\$1gateway: String
    route\$1table: String
```

## 属性
<a name="node-route-properties"></a>

 `dest_cidr_blocks`    
 IPv4 通往目标资源的目的地路由列表。  
必需：是  
类型：列表  
成员类型：字符串

## 要求
<a name="node-route-requirements"></a>

 `nat_gateway`    
[AWS.Networking。 NATGateway](https://docs.aws.amazon.com/tnb/latest/ug/node-nat-gateway.html)节点引用。  
必需：是  
类型：字符串

 `route_table`    
[AWS.Networking。 RouteTable](https://docs.aws.amazon.com/tnb/latest/ug/node-route-table.html)节点引用。  
必需：是  
类型：字符串

## 示例
<a name="node-route-example"></a>

```
Free5GCRoute:
  type: tosca.nodes.AWS.Networking.Route
  properties: 
    dest_cidr_blocks: 
      - 0.0.0.0/0
      - 10.0.0.0/28    
  requirements:
    nat_gateway: Free5GCNatGateway01
    route_table: Free5GCRouteTable
```