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 ¶
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
}
type NetworkACLRule ¶
type NetworkACLRule struct {
types.Metadata
Type types.StringValue
Action types.StringValue
Protocol types.IntValue
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 {
DefaultVPCs []DefaultVPC
SecurityGroups []SecurityGroup
NetworkACLs []NetworkACL
}
Click to show internal directories.
Click to hide internal directories.