route53

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Upsert

func Upsert(zoneID string, change ChangeResourceRecordSet, dir string) (string, error)

Types

type Change

type Change struct {
	Action            string            `json:"Action"`
	ResourceRecordSet ResourceRecordSet `json:"ResourceRecordSet"`
}

type ChangeResourceRecordSet

type ChangeResourceRecordSet struct {
	Changes []Change `json:"Changes"`
}

func A added in v0.0.24

func A(record string, value string) ChangeResourceRecordSet

func CNAME

func CNAME(record string, value string) ChangeResourceRecordSet

type ResourceRecord

type ResourceRecord struct {
	Value string `json:"Value"`
}

type ResourceRecordSet

type ResourceRecordSet struct {
	Name            string           `json:"Name"`
	Type            string           `json:"Type"`
	TTL             int              `json:"TTL"`
	ResourceRecords []ResourceRecord `json:"ResourceRecords"`
}

Jump to

Keyboard shortcuts

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