package recordset

import "github.com/oslokommune/okctl/pkg/cfn/components/recordset"

Package recordset provides cloud formation for a Route53 recordset - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html

Index

Types

type RecordSet

type RecordSet struct {
	StoredName   string
	Domain       string
	IP           string
	HostedZoneID string
}

RecordSet contains all state for creating a record set cloud formation template

func New

func New(name, ip, domain, hostedZoneID string) *RecordSet

New returns an initialised record set creator

func (*RecordSet) Name

func (s *RecordSet) Name() string

Name is the logical id of the resource

func (*RecordSet) Resource

func (s *RecordSet) Resource() cloudformation.Resource

Resource returns the cloudformation resource

Source Files

recordset.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
3 packages
Last checked
4 days ago

Tools for package owners.