ec2

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapTag

func MapTag() *map[string]string

Types

type EC2API

type EC2API struct {
	// contains filtered or unexported fields
}

func NewEC2API

func NewEC2API(mapArgs *map[string]string) (*EC2API, error)

func (*EC2API) CreateRoute added in v0.0.3

func (e *EC2API) CreateRoute(cidr, transitGatewayId string) error

Input: filters

target vpc's cidr block
transitgatewayid

func (*EC2API) ExtractEC2Instances

func (e *EC2API) ExtractEC2Instances() (*map[string][]interface{}, error)

func (*EC2API) GetAvailabilitySubnet4EndpointService

func (e *EC2API) GetAvailabilitySubnet4EndpointService(serviceName string) (*[]string, error)

func (*EC2API) GetRouteTable added in v0.0.3

func (e *EC2API) GetRouteTable() (*types.RouteTable, error)

func (*EC2API) GetTransitGateway added in v0.0.3

func (e *EC2API) GetTransitGateway() (*types.TransitGateway, error)

func (*EC2API) GetVpcId added in v0.0.3

func (e *EC2API) GetVpcId() (*types.Vpc, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL