network

package
v0.14.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connectivity

type Connectivity int
const (
	ON Connectivity = iota
	OFF
)

type NetworkArgs added in v0.9.7

type NetworkArgs struct {
	Prefix string
	ID     string
	Region string
	AZ     string
	// Create a load balancer
	// If !airgap lb will be public facing
	// If airgap lb will be internal
	CreateLoadBalancer      bool
	Airgap                  bool
	AirgapPhaseConnectivity Connectivity
	ServiceEndpoints        []string
	// VpcID deploys into an existing VPC instead of creating one.
	// Airgap is not supported when VpcID is set.
	VpcID *string
}

type NetworkResult added in v0.9.7

type NetworkResult struct {
	Vpc                         *ec2.Vpc
	Subnet                      *ec2.Subnet
	SubnetRouteTableAssociation *ec2.RouteTableAssociation
	Eip                         *ec2.Eip
	LoadBalancer                *lb.LoadBalancer
	// If Airgap true on args
	Bastion *bastion.BastionResult
	// IsPublic is false when the selected subnet has no internet gateway route
	// (private subnet in an existing VPC). In that case no EIP or LB is created;
	// the machine connects outbound only and SSH readiness checks are skipped.
	IsPublic bool
}

func Create added in v0.9.7

func Create(ctx *pulumi.Context, mCtx *mc.Context, args *NetworkArgs) (*NetworkResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL