Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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)
Click to show internal directories.
Click to hide internal directories.