vpclatticelistener

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 DefaultAction

type DefaultAction struct {
	// FixedResponse: optional
	FixedResponse *FixedResponse `hcl:"fixed_response,block"`
	// Forward: min=0
	Forward []Forward `hcl:"forward,block" validate:"min=0"`
}

type DefaultActionAttributes

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

func (DefaultActionAttributes) FixedResponse

func (DefaultActionAttributes) Forward

func (DefaultActionAttributes) InternalRef

func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)

func (DefaultActionAttributes) InternalTokens

func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultActionAttributes) InternalWithRef

type DefaultActionState

type DefaultActionState 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=0
	TargetGroups []TargetGroups `hcl:"target_groups,block" validate:"min=0"`
}

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 TargetGroups

type TargetGroups struct {
	// TargetGroupIdentifier: string, optional
	TargetGroupIdentifier terra.StringValue `hcl:"target_group_identifier,attr"`
	// 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