package internetgateway

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

Package internetgateway knows how to create cloud formation for a IGW

Index

Types

type InternetGateway

type InternetGateway struct {
	// contains filtered or unexported fields
}

InternetGateway stores state required for creating a cloud formation IGW

func New

func New() *InternetGateway

New returns a new IGW

func (*InternetGateway) Name

func (i *InternetGateway) Name() string

Name returns the name of the resource

func (*InternetGateway) Ref

func (i *InternetGateway) Ref() string

Ref returns a cloud formation intrinsic ref to the resource

func (*InternetGateway) Resource

func (i *InternetGateway) Resource() cloudformation.Resource

Resource returns the cloud formation resource for an IGW

Source Files

internetgateway.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
2 packages
Last checked
18 hours ago

Tools for package owners.