AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RouteTable

import "github.com/aws/aws-sdk-go/service/ec2"

type RouteTable struct { Associations []*RouteTableAssociation `locationName:"associationSet" locationNameList:"item" type:"list"` OwnerId *string `locationName:"ownerId" type:"string"` PropagatingVgws []*PropagatingVgw `locationName:"propagatingVgwSet" locationNameList:"item" type:"list"` RouteTableId *string `locationName:"routeTableId" type:"string"` Routes []*Route `locationName:"routeSet" locationNameList:"item" type:"list"` Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` VpcId *string `locationName:"vpcId" type:"string"` }

Describes a route table.

Associations

Describes an association between a route table and a subnet.

OwnerId

Type: *string

The ID of the AWS account that owns the route table.

PropagatingVgws

Describes a virtual private gateway propagating route.

RouteTableId

Type: *string

The ID of the route table.

Routes

Describes a route in a route table.

Tags

Describes a tag.

VpcId

Type: *string

The ID of the VPC.

Method

GoString

func (s RouteTable) GoString() string

GoString returns the string representation

SetAssociations

func (s *RouteTable) SetAssociations(v []*RouteTableAssociation) *RouteTable

SetAssociations sets the Associations field's value.

SetOwnerId

func (s *RouteTable) SetOwnerId(v string) *RouteTable

SetOwnerId sets the OwnerId field's value.

SetPropagatingVgws

func (s *RouteTable) SetPropagatingVgws(v []*PropagatingVgw) *RouteTable

SetPropagatingVgws sets the PropagatingVgws field's value.

SetRouteTableId

func (s *RouteTable) SetRouteTableId(v string) *RouteTable

SetRouteTableId sets the RouteTableId field's value.

SetRoutes

func (s *RouteTable) SetRoutes(v []*Route) *RouteTable

SetRoutes sets the Routes field's value.

SetTags

func (s *RouteTable) SetTags(v []*Tag) *RouteTable

SetTags sets the Tags field's value.

SetVpcId

func (s *RouteTable) SetVpcId(v string) *RouteTable

SetVpcId sets the VpcId field's value.

String

func (s RouteTable) String() string

String returns the string representation

On this page: