Documentation
¶
Index ¶
- func GetLatestSnapshotId(instance string, log *zerolog.Logger) (string, error)
- func GetSubnetGroup(instance string, log *zerolog.Logger) (string, error)
- func GetVPCSecurityGroups(instance string, log *zerolog.Logger) ([]string, error)
- type RestoreSnapshotIdInput
- type RestoreSnapshotIdOutput
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestSnapshotId ¶
GetLatestSnapshotId restore a given snapshot to a given instnace namd
func GetSubnetGroup ¶
GetSubnetGroup Given and instance ID, return the subnet group id
Types ¶
type RestoreSnapshotIdInput ¶
type RestoreSnapshotIdInput struct { // DBInstanceIdentifier: name of the instance created form the snapshot DBInstanceIdentifier string // DBSnapshotIdentifier: Snapshot ID to restore DBSnapshotIdentifier string // DBSubnetGroupName: Subnet group for the restored database DBSubnetGroupName string VpcSecurityGroupIds []string Tags []Tag }
type RestoreSnapshotIdOutput ¶
type RestoreSnapshotIdOutput struct {
DBInstanceIdentifier string
}
func RestorePGSnapshotId ¶
func RestorePGSnapshotId(input RestoreSnapshotIdInput, log *zerolog.Logger) (RestoreSnapshotIdOutput, error)
RestorePGSnapshotId Restore a snapshot to a enw RDS postgres instance
Click to show internal directories.
Click to hide internal directories.