Documentation ¶
Index ¶
- type DefaultAction
- type DefaultActionAttributes
- func (da DefaultActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
- func (da DefaultActionAttributes) Forward() terra.ListValue[ForwardAttributes]
- func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
- func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
- type DefaultActionState
- type FixedResponse
- type FixedResponseAttributes
- func (fr FixedResponseAttributes) InternalRef() (terra.Reference, error)
- func (fr FixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fr FixedResponseAttributes) InternalWithRef(ref terra.Reference) FixedResponseAttributes
- func (fr FixedResponseAttributes) StatusCode() terra.NumberValue
- type FixedResponseState
- type Forward
- type ForwardAttributes
- type ForwardState
- type TargetGroups
- type TargetGroupsAttributes
- func (tg TargetGroupsAttributes) InternalRef() (terra.Reference, error)
- func (tg TargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg TargetGroupsAttributes) InternalWithRef(ref terra.Reference) TargetGroupsAttributes
- func (tg TargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
- func (tg TargetGroupsAttributes) Weight() terra.NumberValue
- type TargetGroupsState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 (da DefaultActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
func (DefaultActionAttributes) Forward ¶
func (da DefaultActionAttributes) Forward() terra.ListValue[ForwardAttributes]
func (DefaultActionAttributes) InternalRef ¶
func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionAttributes) InternalTokens ¶
func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionAttributes) InternalWithRef ¶
func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
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 (fr FixedResponseAttributes) InternalWithRef(ref terra.Reference) FixedResponseAttributes
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 ¶
func (f ForwardAttributes) TargetGroups() terra.ListValue[TargetGroupsAttributes]
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 (tg TargetGroupsAttributes) InternalWithRef(ref terra.Reference) TargetGroupsAttributes
func (TargetGroupsAttributes) TargetGroupIdentifier ¶
func (tg TargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
func (TargetGroupsAttributes) Weight ¶
func (tg TargetGroupsAttributes) Weight() terra.NumberValue
type TargetGroupsState ¶
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.