rds

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Service                            rdsiface.RDSAPI
	DefaultSubnetGroup                 string
	DefaultDBParameterGroupName        map[string]string
	DefaultDBClusterParameterGroupName map[string]string
}

Client struct contains the initialized RDS service and other RDS-related parameters

func NewSession

func NewSession(c common.Account) Client

NewSession creates an AWS session for RDS and returns an RDSClient

func (Client) DetermineParameterGroupFamily added in v0.3.0

func (cl Client) DetermineParameterGroupFamily(engine, engineVersion *string) (string, error)

DetermineParameterGroupFamily returns the DBParameterGroupFamily based on the given database Engine and EngineVersion e.g. given engine "postgres" and engineVersion "10.5" it will return "postgres10"

Jump to

Keyboard shortcuts

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