vpc

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 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
}

func (*DefaultVPC) GetMetadata

func (v *DefaultVPC) GetMetadata() *types.Metadata

func (*DefaultVPC) GetRawValue

func (v *DefaultVPC) GetRawValue() interface{}

type NetworkACL

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

func (*NetworkACL) GetMetadata added in v0.3.24

func (n *NetworkACL) GetMetadata() *types.Metadata

func (*NetworkACL) GetRawValue added in v0.3.24

func (n *NetworkACL) GetRawValue() interface{}

type NetworkACLRule

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

func (*NetworkACLRule) GetMetadata

func (v *NetworkACLRule) GetMetadata() *types.Metadata

func (*NetworkACLRule) GetRawValue

func (v *NetworkACLRule) GetRawValue() interface{}

type SecurityGroup

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

func (*SecurityGroup) GetMetadata

func (v *SecurityGroup) GetMetadata() *types.Metadata

func (*SecurityGroup) GetRawValue

func (v *SecurityGroup) GetRawValue() interface{}

type SecurityGroupRule

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

func (*SecurityGroupRule) GetMetadata

func (v *SecurityGroupRule) GetMetadata() *types.Metadata

func (*SecurityGroupRule) GetRawValue

func (v *SecurityGroupRule) GetRawValue() interface{}

type VPC

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

func (*VPC) GetMetadata added in v0.3.24

func (v *VPC) GetMetadata() *types.Metadata

func (*VPC) GetRawValue added in v0.3.24

func (v *VPC) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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