package vpcgatewayattachment

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

Package vpcgatewayattachment knows how to create cloud formation for a vpc gateway attachment

Index

Types

type VPCGatewayAttachment

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

VPCGatewayAttachment stores the state required for creating a cloud formation gateway attachment

func New

New creates a new VPC gateway attachment

Attaches an internet gateway, or a virtual private gateway to a VPC, enabling connectivity between the internet and the VPC.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html

func (*VPCGatewayAttachment) Name

func (v *VPCGatewayAttachment) Name() string

Name returns the name of the resource

func (*VPCGatewayAttachment) Ref

func (v *VPCGatewayAttachment) Ref() string

Ref returns a cloud formation intrinsic ref to the resource

func (*VPCGatewayAttachment) Resource

Resource returns the cloud formation resource

Source Files

vpcgatewayattachment.go

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

Tools for package owners.