

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

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

您可以定義路由節點，將目的地路由關聯至 NAT Gateway 做為目標資源，並將路由新增至關聯的路由表。

## 語法
<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
```