vpc

package
v0.28.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeIngress = "ingress"
	TypeEgress  = "egress"
)
View Source
const (
	ActionAllow = "allow"
	ActionDeny  = "deny"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultVPC

type DefaultVPC struct {
	types.Metadata
}

type NetworkACL

type NetworkACL struct {
	types.Metadata
	Rules []NetworkACLRule
}

type NetworkACLRule

type NetworkACLRule struct {
	types.Metadata
	Type     types.StringValue
	Action   types.StringValue
	Protocol types.StringValue
	CIDRs    []types.StringValue
}

type SecurityGroup

type SecurityGroup struct {
	types.Metadata
	Description  types.StringValue
	IngressRules []SecurityGroupRule
	EgressRules  []SecurityGroupRule
}

type SecurityGroupRule

type SecurityGroupRule struct {
	types.Metadata
	Description types.StringValue
	CIDRs       []types.StringValue
}

type VPC

type VPC struct {
	types.Metadata
	DefaultVPCs    []DefaultVPC
	SecurityGroups []SecurityGroup
	NetworkACLs    []NetworkACL
}

Jump to

Keyboard shortcuts

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