defaultnetworkacl

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Egress

type Egress struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// CidrBlock: string, optional
	CidrBlock terra.StringValue `hcl:"cidr_block,attr"`
	// FromPort: number, required
	FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"`
	// IcmpCode: number, optional
	IcmpCode terra.NumberValue `hcl:"icmp_code,attr"`
	// IcmpType: number, optional
	IcmpType terra.NumberValue `hcl:"icmp_type,attr"`
	// Ipv6CidrBlock: string, optional
	Ipv6CidrBlock terra.StringValue `hcl:"ipv6_cidr_block,attr"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// RuleNo: number, required
	RuleNo terra.NumberValue `hcl:"rule_no,attr" validate:"required"`
	// ToPort: number, required
	ToPort terra.NumberValue `hcl:"to_port,attr" validate:"required"`
}

type EgressAttributes

type EgressAttributes struct {
	// contains filtered or unexported fields
}

func (EgressAttributes) Action

func (e EgressAttributes) Action() terra.StringValue

func (EgressAttributes) CidrBlock

func (e EgressAttributes) CidrBlock() terra.StringValue

func (EgressAttributes) FromPort

func (e EgressAttributes) FromPort() terra.NumberValue

func (EgressAttributes) IcmpCode

func (e EgressAttributes) IcmpCode() terra.NumberValue

func (EgressAttributes) IcmpType

func (e EgressAttributes) IcmpType() terra.NumberValue

func (EgressAttributes) InternalRef

func (e EgressAttributes) InternalRef() (terra.Reference, error)

func (EgressAttributes) InternalTokens

func (e EgressAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EgressAttributes) InternalWithRef

func (e EgressAttributes) InternalWithRef(ref terra.Reference) EgressAttributes

func (EgressAttributes) Ipv6CidrBlock

func (e EgressAttributes) Ipv6CidrBlock() terra.StringValue

func (EgressAttributes) Protocol

func (e EgressAttributes) Protocol() terra.StringValue

func (EgressAttributes) RuleNo

func (e EgressAttributes) RuleNo() terra.NumberValue

func (EgressAttributes) ToPort

func (e EgressAttributes) ToPort() terra.NumberValue

type EgressState

type EgressState struct {
	Action        string  `json:"action"`
	CidrBlock     string  `json:"cidr_block"`
	FromPort      float64 `json:"from_port"`
	IcmpCode      float64 `json:"icmp_code"`
	IcmpType      float64 `json:"icmp_type"`
	Ipv6CidrBlock string  `json:"ipv6_cidr_block"`
	Protocol      string  `json:"protocol"`
	RuleNo        float64 `json:"rule_no"`
	ToPort        float64 `json:"to_port"`
}

type Ingress

type Ingress struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// CidrBlock: string, optional
	CidrBlock terra.StringValue `hcl:"cidr_block,attr"`
	// FromPort: number, required
	FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"`
	// IcmpCode: number, optional
	IcmpCode terra.NumberValue `hcl:"icmp_code,attr"`
	// IcmpType: number, optional
	IcmpType terra.NumberValue `hcl:"icmp_type,attr"`
	// Ipv6CidrBlock: string, optional
	Ipv6CidrBlock terra.StringValue `hcl:"ipv6_cidr_block,attr"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// RuleNo: number, required
	RuleNo terra.NumberValue `hcl:"rule_no,attr" validate:"required"`
	// ToPort: number, required
	ToPort terra.NumberValue `hcl:"to_port,attr" validate:"required"`
}

type IngressAttributes

type IngressAttributes struct {
	// contains filtered or unexported fields
}

func (IngressAttributes) Action

func (i IngressAttributes) Action() terra.StringValue

func (IngressAttributes) CidrBlock

func (i IngressAttributes) CidrBlock() terra.StringValue

func (IngressAttributes) FromPort

func (i IngressAttributes) FromPort() terra.NumberValue

func (IngressAttributes) IcmpCode

func (i IngressAttributes) IcmpCode() terra.NumberValue

func (IngressAttributes) IcmpType

func (i IngressAttributes) IcmpType() terra.NumberValue

func (IngressAttributes) InternalRef

func (i IngressAttributes) InternalRef() (terra.Reference, error)

func (IngressAttributes) InternalTokens

func (i IngressAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IngressAttributes) InternalWithRef

func (i IngressAttributes) InternalWithRef(ref terra.Reference) IngressAttributes

func (IngressAttributes) Ipv6CidrBlock

func (i IngressAttributes) Ipv6CidrBlock() terra.StringValue

func (IngressAttributes) Protocol

func (i IngressAttributes) Protocol() terra.StringValue

func (IngressAttributes) RuleNo

func (i IngressAttributes) RuleNo() terra.NumberValue

func (IngressAttributes) ToPort

func (i IngressAttributes) ToPort() terra.NumberValue

type IngressState

type IngressState struct {
	Action        string  `json:"action"`
	CidrBlock     string  `json:"cidr_block"`
	FromPort      float64 `json:"from_port"`
	IcmpCode      float64 `json:"icmp_code"`
	IcmpType      float64 `json:"icmp_type"`
	Ipv6CidrBlock string  `json:"ipv6_cidr_block"`
	Protocol      string  `json:"protocol"`
	RuleNo        float64 `json:"rule_no"`
	ToPort        float64 `json:"to_port"`
}

Jump to

Keyboard shortcuts

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