package dbsubnetgroup
import "github.com/oslokommune/okctl/pkg/cfn/components/dbsubnetgroup"
Package dbsubnetgroup knows how to create cloud formation for a db subnet group
Index ¶
Types ¶
type DBSubnetGroup ¶
type DBSubnetGroup struct { StoredName string Subnets []cfn.Referencer }
DBSubnetGroup stores the state for a cloud formation dbsubnetgroup
func New ¶
func New(subnets []cfn.Referencer) *DBSubnetGroup
New creates a database subnet group
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnet-group.html
func (*DBSubnetGroup) Name ¶
func (g *DBSubnetGroup) Name() string
Name returns the name of the resource
func (*DBSubnetGroup) NamedOutputs ¶
func (g *DBSubnetGroup) NamedOutputs() map[string]cloudformation.Output
NamedOutputs returns the named outputs
func (*DBSubnetGroup) Ref ¶
func (g *DBSubnetGroup) Ref() string
Ref returns a cloud formation intrinsic ref to the resource
func (*DBSubnetGroup) Resource ¶
func (g *DBSubnetGroup) Resource() cloudformation.Resource
Resource returns the cloud formation resource for a dbsubnetgroup
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.