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 ¶
func New(vpc cfn.Referencer, igw cfn.Referencer) *VPCGatewayAttachment
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.
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 ¶
func (v *VPCGatewayAttachment) Resource() cloudformation.Resource
Resource returns the cloud formation resource
Source Files ¶
- Version
- v0.0.106 (latest)
- Published
- Oct 21, 2022
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 18 hours ago –
Tools for package owners.