vpclatticelistenerrule

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 Action

type Action struct {
	// FixedResponse: optional
	FixedResponse *FixedResponse `hcl:"fixed_response,block"`
	// Forward: optional
	Forward *Forward `hcl:"forward,block"`
}

type ActionAttributes

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

func (ActionAttributes) FixedResponse

func (ActionAttributes) Forward

func (ActionAttributes) InternalRef

func (a ActionAttributes) InternalRef() (terra.Reference, error)

func (ActionAttributes) InternalTokens

func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionAttributes) InternalWithRef

func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes

type ActionState

type ActionState struct {
	FixedResponse []FixedResponseState `json:"fixed_response"`
	Forward       []ForwardState       `json:"forward"`
}

type FixedResponse

type FixedResponse struct {
	// StatusCode: number, required
	StatusCode terra.NumberValue `hcl:"status_code,attr" validate:"required"`
}

type FixedResponseAttributes

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

func (FixedResponseAttributes) InternalRef

func (fr FixedResponseAttributes) InternalRef() (terra.Reference, error)

func (FixedResponseAttributes) InternalTokens

func (fr FixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FixedResponseAttributes) InternalWithRef

func (FixedResponseAttributes) StatusCode

func (fr FixedResponseAttributes) StatusCode() terra.NumberValue

type FixedResponseState

type FixedResponseState struct {
	StatusCode float64 `json:"status_code"`
}

type Forward

type Forward struct {
	// TargetGroups: min=1,max=2
	TargetGroups []TargetGroups `hcl:"target_groups,block" validate:"min=1,max=2"`
}

type ForwardAttributes

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

func (ForwardAttributes) InternalRef

func (f ForwardAttributes) InternalRef() (terra.Reference, error)

func (ForwardAttributes) InternalTokens

func (f ForwardAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ForwardAttributes) InternalWithRef

func (f ForwardAttributes) InternalWithRef(ref terra.Reference) ForwardAttributes

func (ForwardAttributes) TargetGroups

type ForwardState

type ForwardState struct {
	TargetGroups []TargetGroupsState `json:"target_groups"`
}

type HeaderMatches

type HeaderMatches struct {
	// CaseSensitive: bool, optional
	CaseSensitive terra.BoolValue `hcl:"case_sensitive,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// HeaderMatchesMatch: required
	Match *HeaderMatchesMatch `hcl:"match,block" validate:"required"`
}

type HeaderMatchesAttributes

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

func (HeaderMatchesAttributes) CaseSensitive

func (hm HeaderMatchesAttributes) CaseSensitive() terra.BoolValue

func (HeaderMatchesAttributes) InternalRef

func (hm HeaderMatchesAttributes) InternalRef() (terra.Reference, error)

func (HeaderMatchesAttributes) InternalTokens

func (hm HeaderMatchesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HeaderMatchesAttributes) InternalWithRef

func (HeaderMatchesAttributes) Match

func (HeaderMatchesAttributes) Name

type HeaderMatchesMatch

type HeaderMatchesMatch struct {
	// Contains: string, optional
	Contains terra.StringValue `hcl:"contains,attr"`
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type HeaderMatchesMatchAttributes

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

func (HeaderMatchesMatchAttributes) Contains

func (HeaderMatchesMatchAttributes) Exact

func (HeaderMatchesMatchAttributes) InternalRef

func (HeaderMatchesMatchAttributes) InternalTokens

func (m HeaderMatchesMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HeaderMatchesMatchAttributes) InternalWithRef

func (HeaderMatchesMatchAttributes) Prefix

type HeaderMatchesMatchState

type HeaderMatchesMatchState struct {
	Contains string `json:"contains"`
	Exact    string `json:"exact"`
	Prefix   string `json:"prefix"`
}

type HeaderMatchesState

type HeaderMatchesState struct {
	CaseSensitive bool                      `json:"case_sensitive"`
	Name          string                    `json:"name"`
	Match         []HeaderMatchesMatchState `json:"match"`
}

type HttpMatch

type HttpMatch struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// HeaderMatches: min=0,max=5
	HeaderMatches []HeaderMatches `hcl:"header_matches,block" validate:"min=0,max=5"`
	// PathMatch: optional
	PathMatch *PathMatch `hcl:"path_match,block"`
}

type HttpMatchAttributes

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

func (HttpMatchAttributes) HeaderMatches

func (HttpMatchAttributes) InternalRef

func (hm HttpMatchAttributes) InternalRef() (terra.Reference, error)

func (HttpMatchAttributes) InternalTokens

func (hm HttpMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpMatchAttributes) InternalWithRef

func (hm HttpMatchAttributes) InternalWithRef(ref terra.Reference) HttpMatchAttributes

func (HttpMatchAttributes) Method

func (HttpMatchAttributes) PathMatch

type HttpMatchState

type HttpMatchState struct {
	Method        string               `json:"method"`
	HeaderMatches []HeaderMatchesState `json:"header_matches"`
	PathMatch     []PathMatchState     `json:"path_match"`
}

type Match

type Match struct {
	// HttpMatch: optional
	HttpMatch *HttpMatch `hcl:"http_match,block"`
}

type MatchAttributes

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

func (MatchAttributes) HttpMatch

func (MatchAttributes) InternalRef

func (m MatchAttributes) InternalRef() (terra.Reference, error)

func (MatchAttributes) InternalTokens

func (m MatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MatchAttributes) InternalWithRef

func (m MatchAttributes) InternalWithRef(ref terra.Reference) MatchAttributes

type MatchState

type MatchState struct {
	HttpMatch []HttpMatchState `json:"http_match"`
}

type PathMatch

type PathMatch struct {
	// CaseSensitive: bool, optional
	CaseSensitive terra.BoolValue `hcl:"case_sensitive,attr"`
	// PathMatchMatch: required
	Match *PathMatchMatch `hcl:"match,block" validate:"required"`
}

type PathMatchAttributes

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

func (PathMatchAttributes) CaseSensitive

func (pm PathMatchAttributes) CaseSensitive() terra.BoolValue

func (PathMatchAttributes) InternalRef

func (pm PathMatchAttributes) InternalRef() (terra.Reference, error)

func (PathMatchAttributes) InternalTokens

func (pm PathMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PathMatchAttributes) InternalWithRef

func (pm PathMatchAttributes) InternalWithRef(ref terra.Reference) PathMatchAttributes

func (PathMatchAttributes) Match

type PathMatchMatch

type PathMatchMatch struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type PathMatchMatchAttributes

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

func (PathMatchMatchAttributes) Exact

func (PathMatchMatchAttributes) InternalRef

func (m PathMatchMatchAttributes) InternalRef() (terra.Reference, error)

func (PathMatchMatchAttributes) InternalTokens

func (m PathMatchMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PathMatchMatchAttributes) InternalWithRef

func (PathMatchMatchAttributes) Prefix

type PathMatchMatchState

type PathMatchMatchState struct {
	Exact  string `json:"exact"`
	Prefix string `json:"prefix"`
}

type PathMatchState

type PathMatchState struct {
	CaseSensitive bool                  `json:"case_sensitive"`
	Match         []PathMatchMatchState `json:"match"`
}

type TargetGroups

type TargetGroups struct {
	// TargetGroupIdentifier: string, required
	TargetGroupIdentifier terra.StringValue `hcl:"target_group_identifier,attr" validate:"required"`
	// Weight: number, optional
	Weight terra.NumberValue `hcl:"weight,attr"`
}

type TargetGroupsAttributes

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

func (TargetGroupsAttributes) InternalRef

func (tg TargetGroupsAttributes) InternalRef() (terra.Reference, error)

func (TargetGroupsAttributes) InternalTokens

func (tg TargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetGroupsAttributes) InternalWithRef

func (TargetGroupsAttributes) TargetGroupIdentifier

func (tg TargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue

func (TargetGroupsAttributes) Weight

type TargetGroupsState

type TargetGroupsState struct {
	TargetGroupIdentifier string  `json:"target_group_identifier"`
	Weight                float64 `json:"weight"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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