rds

package
Version: v0.0.0-...-94812f7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneDBCluster

func CloneDBCluster(config *DBClusterConfig) (*database.DBInstance, error)

func CloneDBInstance

func CloneDBInstance(config *DBInstanceConfig) (*database.DBInstance, error)

func DeleteDBCluster

func DeleteDBCluster(dbClusterIdentifier string) error

func DeleteDBInstance

func DeleteDBInstance(dbInstanceIdentifier string) error

func ListDBClusterIdentifiers

func ListDBClusterIdentifiers(identifier string, instanceTags map[string]string) ([]string, error)

func ListDBInstanceIdentifiers

func ListDBInstanceIdentifiers(identifier string, instanceTags map[string]string) ([]string, error)

Types

type DBClusterConfig

type DBClusterConfig struct {
	SourceDBClusterIdentifier string
	DBClusterIdentifier       string
	AvailabilityZone          string
	PubliclyAccessible        bool
	DBInstanceClass           string
	DBSubnetGroupName         string
	VpcSecurityGroupIds       []string
	Tags                      map[string]string
	MasterUserPassword        string
}

type DBInstanceConfig

type DBInstanceConfig struct {
	SourceDBInstanceIdentifier string
	TargetDBInstanceIdentifier string
	AvailabilityZone           string
	PubliclyAccessible         bool
	DBInstanceClass            string
	DBSubnetGroupName          string
	VpcSecurityGroupIds        []string
	Tags                       map[string]string
	MasterUserPassword         string
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL