aws_appmesh_gateway_route

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MeshName: string, required
	MeshName terra.StringValue `hcl:"mesh_name,attr" validate:"required"`
	// MeshOwner: string, optional
	MeshOwner terra.StringValue `hcl:"mesh_owner,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// VirtualGatewayName: string, required
	VirtualGatewayName terra.StringValue `hcl:"virtual_gateway_name,attr" validate:"required"`
	// Spec: required
	Spec *Spec `hcl:"spec,block" validate:"required"`
}

Args contains the configurations for aws_appmesh_gateway_route.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MeshName: string, required
	MeshName terra.StringValue `hcl:"mesh_name,attr" validate:"required"`
	// MeshOwner: string, optional
	MeshOwner terra.StringValue `hcl:"mesh_owner,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// VirtualGatewayName: string, required
	VirtualGatewayName terra.StringValue `hcl:"virtual_gateway_name,attr" validate:"required"`
}

DataArgs contains the configurations for aws_appmesh_gateway_route.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_appmesh_gateway_route.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aagr *DataSource) Attributes() dataAwsAppmeshGatewayRouteAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aagr *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aagr *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aagr *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataSpecAttributes

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

func (DataSpecAttributes) GrpcRoute

func (DataSpecAttributes) Http2Route

func (DataSpecAttributes) HttpRoute

func (DataSpecAttributes) InternalRef

func (s DataSpecAttributes) InternalRef() (terra.Reference, error)

func (DataSpecAttributes) InternalTokens

func (s DataSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSpecAttributes) InternalWithRef

func (s DataSpecAttributes) InternalWithRef(ref terra.Reference) DataSpecAttributes

func (DataSpecAttributes) Priority

func (s DataSpecAttributes) Priority() terra.NumberValue

type DataSpecGrpcRoute11E31Be7Attributes

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

func (DataSpecGrpcRoute11E31Be7Attributes) InternalRef

func (DataSpecGrpcRoute11E31Be7Attributes) InternalTokens

func (DataSpecGrpcRoute11E31Be7Attributes) InternalWithRef

func (DataSpecGrpcRoute11E31Be7Attributes) VirtualServiceName

func (vs DataSpecGrpcRoute11E31Be7Attributes) VirtualServiceName() terra.StringValue

type DataSpecGrpcRoute11E31Be7State

type DataSpecGrpcRoute11E31Be7State struct {
	VirtualServiceName string `json:"virtual_service_name"`
}

type DataSpecGrpcRouteActionAttributes

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

func (DataSpecGrpcRouteActionAttributes) InternalRef

func (DataSpecGrpcRouteActionAttributes) InternalTokens

func (DataSpecGrpcRouteActionAttributes) InternalWithRef

func (DataSpecGrpcRouteActionAttributes) Target

type DataSpecGrpcRouteActionState

type DataSpecGrpcRouteActionState struct {
	Target []DataSpecGrpcRouteActionTargetState `json:"target"`
}

type DataSpecGrpcRouteActionTargetAttributes

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

func (DataSpecGrpcRouteActionTargetAttributes) InternalRef

func (DataSpecGrpcRouteActionTargetAttributes) InternalTokens

func (DataSpecGrpcRouteActionTargetAttributes) InternalWithRef

func (DataSpecGrpcRouteActionTargetAttributes) Port

func (DataSpecGrpcRouteActionTargetAttributes) VirtualService

type DataSpecGrpcRouteActionTargetState

type DataSpecGrpcRouteActionTargetState struct {
	Port           float64                          `json:"port"`
	VirtualService []DataSpecGrpcRoute11E31Be7State `json:"virtual_service"`
}

type DataSpecGrpcRouteAttributes

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

func (DataSpecGrpcRouteAttributes) Action

func (DataSpecGrpcRouteAttributes) InternalRef

func (gr DataSpecGrpcRouteAttributes) InternalRef() (terra.Reference, error)

func (DataSpecGrpcRouteAttributes) InternalTokens

func (gr DataSpecGrpcRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSpecGrpcRouteAttributes) InternalWithRef

func (DataSpecGrpcRouteAttributes) Match

type DataSpecGrpcRouteMatchAttributes

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

func (DataSpecGrpcRouteMatchAttributes) InternalRef

func (DataSpecGrpcRouteMatchAttributes) InternalTokens

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

func (DataSpecGrpcRouteMatchAttributes) InternalWithRef

func (DataSpecGrpcRouteMatchAttributes) Port

func (DataSpecGrpcRouteMatchAttributes) ServiceName

type DataSpecGrpcRouteMatchState

type DataSpecGrpcRouteMatchState struct {
	Port        float64 `json:"port"`
	ServiceName string  `json:"service_name"`
}

type DataSpecGrpcRouteState

type DataSpecGrpcRouteState struct {
	Action []DataSpecGrpcRouteActionState `json:"action"`
	Match  []DataSpecGrpcRouteMatchState  `json:"match"`
}

type DataSpecHttp2Route11E31Be7Attributes

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

func (DataSpecHttp2Route11E31Be7Attributes) InternalRef

func (DataSpecHttp2Route11E31Be7Attributes) InternalTokens

func (DataSpecHttp2Route11E31Be7Attributes) InternalWithRef

func (DataSpecHttp2Route11E31Be7Attributes) VirtualServiceName

func (vs DataSpecHttp2Route11E31Be7Attributes) VirtualServiceName() terra.StringValue

type DataSpecHttp2Route11E31Be7State

type DataSpecHttp2Route11E31Be7State struct {
	VirtualServiceName string `json:"virtual_service_name"`
}

type DataSpecHttp2Route30Dd3523Attributes

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

func (DataSpecHttp2Route30Dd3523Attributes) Exact

func (DataSpecHttp2Route30Dd3523Attributes) InternalRef

func (DataSpecHttp2Route30Dd3523Attributes) InternalTokens

func (DataSpecHttp2Route30Dd3523Attributes) InternalWithRef

func (DataSpecHttp2Route30Dd3523Attributes) Prefix

func (DataSpecHttp2Route30Dd3523Attributes) Range

func (DataSpecHttp2Route30Dd3523Attributes) Regex

func (DataSpecHttp2Route30Dd3523Attributes) Suffix

type DataSpecHttp2Route30Dd3523State

type DataSpecHttp2Route30Dd3523State struct {
	Exact  string                            `json:"exact"`
	Prefix string                            `json:"prefix"`
	Regex  string                            `json:"regex"`
	Suffix string                            `json:"suffix"`
	Range  []DataSpecHttp2Route31605981State `json:"range"`
}

type DataSpecHttp2Route31605981Attributes

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

func (DataSpecHttp2Route31605981Attributes) End

func (DataSpecHttp2Route31605981Attributes) InternalRef

func (DataSpecHttp2Route31605981Attributes) InternalTokens

func (DataSpecHttp2Route31605981Attributes) InternalWithRef

func (DataSpecHttp2Route31605981Attributes) Start

type DataSpecHttp2Route31605981State

type DataSpecHttp2Route31605981State struct {
	End   float64 `json:"end"`
	Start float64 `json:"start"`
}

type DataSpecHttp2Route760292F9Attributes

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

func (DataSpecHttp2Route760292F9Attributes) DefaultPrefix

func (DataSpecHttp2Route760292F9Attributes) InternalRef

func (DataSpecHttp2Route760292F9Attributes) InternalTokens

func (DataSpecHttp2Route760292F9Attributes) InternalWithRef

func (DataSpecHttp2Route760292F9Attributes) Value

type DataSpecHttp2Route760292F9State

type DataSpecHttp2Route760292F9State struct {
	DefaultPrefix string `json:"default_prefix"`
	Value         string `json:"value"`
}

type DataSpecHttp2Route94Aede07Attributes

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

func (DataSpecHttp2Route94Aede07Attributes) DefaultTargetHostname

func (h DataSpecHttp2Route94Aede07Attributes) DefaultTargetHostname() terra.StringValue

func (DataSpecHttp2Route94Aede07Attributes) InternalRef

func (DataSpecHttp2Route94Aede07Attributes) InternalTokens

func (DataSpecHttp2Route94Aede07Attributes) InternalWithRef

type DataSpecHttp2Route94Aede07State

type DataSpecHttp2Route94Aede07State struct {
	DefaultTargetHostname string `json:"default_target_hostname"`
}

type DataSpecHttp2RouteActionAttributes

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

func (DataSpecHttp2RouteActionAttributes) InternalRef

func (DataSpecHttp2RouteActionAttributes) InternalTokens

func (DataSpecHttp2RouteActionAttributes) InternalWithRef

func (DataSpecHttp2RouteActionAttributes) Rewrite

func (DataSpecHttp2RouteActionAttributes) Target

type DataSpecHttp2RouteActionRewriteAttributes

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

func (DataSpecHttp2RouteActionRewriteAttributes) Hostname

func (DataSpecHttp2RouteActionRewriteAttributes) InternalRef

func (DataSpecHttp2RouteActionRewriteAttributes) InternalTokens

func (DataSpecHttp2RouteActionRewriteAttributes) InternalWithRef

func (DataSpecHttp2RouteActionRewriteAttributes) Path

func (DataSpecHttp2RouteActionRewriteAttributes) Prefix

type DataSpecHttp2RouteActionRewriteState

type DataSpecHttp2RouteActionRewriteState struct {
	Hostname []DataSpecHttp2Route94Aede07State `json:"hostname"`
	Path     []DataSpecHttp2RouteFd7E59B3State `json:"path"`
	Prefix   []DataSpecHttp2Route760292F9State `json:"prefix"`
}

type DataSpecHttp2RouteActionState

type DataSpecHttp2RouteActionState struct {
	Rewrite []DataSpecHttp2RouteActionRewriteState `json:"rewrite"`
	Target  []DataSpecHttp2RouteActionTargetState  `json:"target"`
}

type DataSpecHttp2RouteActionTargetAttributes

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

func (DataSpecHttp2RouteActionTargetAttributes) InternalRef

func (DataSpecHttp2RouteActionTargetAttributes) InternalTokens

func (DataSpecHttp2RouteActionTargetAttributes) InternalWithRef

func (DataSpecHttp2RouteActionTargetAttributes) Port

func (DataSpecHttp2RouteActionTargetAttributes) VirtualService

type DataSpecHttp2RouteActionTargetState

type DataSpecHttp2RouteActionTargetState struct {
	Port           float64                           `json:"port"`
	VirtualService []DataSpecHttp2Route11E31Be7State `json:"virtual_service"`
}

type DataSpecHttp2RouteAttributes

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

func (DataSpecHttp2RouteAttributes) Action

func (DataSpecHttp2RouteAttributes) InternalRef

func (hr DataSpecHttp2RouteAttributes) InternalRef() (terra.Reference, error)

func (DataSpecHttp2RouteAttributes) InternalTokens

func (hr DataSpecHttp2RouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSpecHttp2RouteAttributes) InternalWithRef

func (DataSpecHttp2RouteAttributes) Match

type DataSpecHttp2RouteD36Dd47DAttributes

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

func (DataSpecHttp2RouteD36Dd47DAttributes) Exact

func (DataSpecHttp2RouteD36Dd47DAttributes) InternalRef

func (DataSpecHttp2RouteD36Dd47DAttributes) InternalTokens

func (DataSpecHttp2RouteD36Dd47DAttributes) InternalWithRef

type DataSpecHttp2RouteD36Dd47DState

type DataSpecHttp2RouteD36Dd47DState struct {
	Exact string `json:"exact"`
}

type DataSpecHttp2RouteFd7E59B3Attributes

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

func (DataSpecHttp2RouteFd7E59B3Attributes) Exact

func (DataSpecHttp2RouteFd7E59B3Attributes) InternalRef

func (DataSpecHttp2RouteFd7E59B3Attributes) InternalTokens

func (DataSpecHttp2RouteFd7E59B3Attributes) InternalWithRef

type DataSpecHttp2RouteFd7E59B3State

type DataSpecHttp2RouteFd7E59B3State struct {
	Exact string `json:"exact"`
}

type DataSpecHttp2RouteMatchAttributes

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

func (DataSpecHttp2RouteMatchAttributes) Header

func (DataSpecHttp2RouteMatchAttributes) Hostname

func (DataSpecHttp2RouteMatchAttributes) InternalRef

func (DataSpecHttp2RouteMatchAttributes) InternalTokens

func (DataSpecHttp2RouteMatchAttributes) InternalWithRef

func (DataSpecHttp2RouteMatchAttributes) Path

func (DataSpecHttp2RouteMatchAttributes) Port

func (DataSpecHttp2RouteMatchAttributes) Prefix

func (DataSpecHttp2RouteMatchAttributes) QueryParameter

type DataSpecHttp2RouteMatchHeaderAttributes

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

func (DataSpecHttp2RouteMatchHeaderAttributes) InternalRef

func (DataSpecHttp2RouteMatchHeaderAttributes) InternalTokens

func (DataSpecHttp2RouteMatchHeaderAttributes) InternalWithRef

func (DataSpecHttp2RouteMatchHeaderAttributes) Invert

func (DataSpecHttp2RouteMatchHeaderAttributes) Match

func (DataSpecHttp2RouteMatchHeaderAttributes) Name

type DataSpecHttp2RouteMatchHeaderState

type DataSpecHttp2RouteMatchHeaderState struct {
	Invert bool                              `json:"invert"`
	Name   string                            `json:"name"`
	Match  []DataSpecHttp2Route30Dd3523State `json:"match"`
}

type DataSpecHttp2RouteMatchHostnameAttributes

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

func (DataSpecHttp2RouteMatchHostnameAttributes) Exact

func (DataSpecHttp2RouteMatchHostnameAttributes) InternalRef

func (DataSpecHttp2RouteMatchHostnameAttributes) InternalTokens

func (DataSpecHttp2RouteMatchHostnameAttributes) InternalWithRef

func (DataSpecHttp2RouteMatchHostnameAttributes) Suffix

type DataSpecHttp2RouteMatchHostnameState

type DataSpecHttp2RouteMatchHostnameState struct {
	Exact  string `json:"exact"`
	Suffix string `json:"suffix"`
}

type DataSpecHttp2RouteMatchPathAttributes

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

func (DataSpecHttp2RouteMatchPathAttributes) Exact

func (DataSpecHttp2RouteMatchPathAttributes) InternalRef

func (DataSpecHttp2RouteMatchPathAttributes) InternalTokens

func (DataSpecHttp2RouteMatchPathAttributes) InternalWithRef

func (DataSpecHttp2RouteMatchPathAttributes) Regex

type DataSpecHttp2RouteMatchPathState

type DataSpecHttp2RouteMatchPathState struct {
	Exact string `json:"exact"`
	Regex string `json:"regex"`
}

type DataSpecHttp2RouteMatchQueryParameterAttributes

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

func (DataSpecHttp2RouteMatchQueryParameterAttributes) InternalRef

func (DataSpecHttp2RouteMatchQueryParameterAttributes) InternalTokens

func (DataSpecHttp2RouteMatchQueryParameterAttributes) InternalWithRef

func (DataSpecHttp2RouteMatchQueryParameterAttributes) Match

func (DataSpecHttp2RouteMatchQueryParameterAttributes) Name

type DataSpecHttp2RouteMatchQueryParameterState

type DataSpecHttp2RouteMatchQueryParameterState struct {
	Name  string                            `json:"name"`
	Match []DataSpecHttp2RouteD36Dd47DState `json:"match"`
}

type DataSpecHttp2RouteMatchState

type DataSpecHttp2RouteMatchState struct {
	Port           float64                                      `json:"port"`
	Prefix         string                                       `json:"prefix"`
	Header         []DataSpecHttp2RouteMatchHeaderState         `json:"header"`
	Hostname       []DataSpecHttp2RouteMatchHostnameState       `json:"hostname"`
	Path           []DataSpecHttp2RouteMatchPathState           `json:"path"`
	QueryParameter []DataSpecHttp2RouteMatchQueryParameterState `json:"query_parameter"`
}

type DataSpecHttp2RouteState

type DataSpecHttp2RouteState struct {
	Action []DataSpecHttp2RouteActionState `json:"action"`
	Match  []DataSpecHttp2RouteMatchState  `json:"match"`
}

type DataSpecHttpRoute11E31Be7Attributes

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

func (DataSpecHttpRoute11E31Be7Attributes) InternalRef

func (DataSpecHttpRoute11E31Be7Attributes) InternalTokens

func (DataSpecHttpRoute11E31Be7Attributes) InternalWithRef

func (DataSpecHttpRoute11E31Be7Attributes) VirtualServiceName

func (vs DataSpecHttpRoute11E31Be7Attributes) VirtualServiceName() terra.StringValue

type DataSpecHttpRoute11E31Be7State

type DataSpecHttpRoute11E31Be7State struct {
	VirtualServiceName string `json:"virtual_service_name"`
}

type DataSpecHttpRoute30Dd3523Attributes

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

func (DataSpecHttpRoute30Dd3523Attributes) Exact

func (DataSpecHttpRoute30Dd3523Attributes) InternalRef

func (DataSpecHttpRoute30Dd3523Attributes) InternalTokens

func (DataSpecHttpRoute30Dd3523Attributes) InternalWithRef

func (DataSpecHttpRoute30Dd3523Attributes) Prefix

func (DataSpecHttpRoute30Dd3523Attributes) Range

func (DataSpecHttpRoute30Dd3523Attributes) Regex

func (DataSpecHttpRoute30Dd3523Attributes) Suffix

type DataSpecHttpRoute30Dd3523State

type DataSpecHttpRoute30Dd3523State struct {
	Exact  string                           `json:"exact"`
	Prefix string                           `json:"prefix"`
	Regex  string                           `json:"regex"`
	Suffix string                           `json:"suffix"`
	Range  []DataSpecHttpRoute31605981State `json:"range"`
}

type DataSpecHttpRoute31605981Attributes

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

func (DataSpecHttpRoute31605981Attributes) End

func (DataSpecHttpRoute31605981Attributes) InternalRef

func (DataSpecHttpRoute31605981Attributes) InternalTokens

func (DataSpecHttpRoute31605981Attributes) InternalWithRef

func (DataSpecHttpRoute31605981Attributes) Start

type DataSpecHttpRoute31605981State

type DataSpecHttpRoute31605981State struct {
	End   float64 `json:"end"`
	Start float64 `json:"start"`
}

type DataSpecHttpRoute760292F9Attributes

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

func (DataSpecHttpRoute760292F9Attributes) DefaultPrefix

func (DataSpecHttpRoute760292F9Attributes) InternalRef

func (DataSpecHttpRoute760292F9Attributes) InternalTokens

func (DataSpecHttpRoute760292F9Attributes) InternalWithRef

func (DataSpecHttpRoute760292F9Attributes) Value

type DataSpecHttpRoute760292F9State

type DataSpecHttpRoute760292F9State struct {
	DefaultPrefix string `json:"default_prefix"`
	Value         string `json:"value"`
}

type DataSpecHttpRoute94Aede07Attributes

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

func (DataSpecHttpRoute94Aede07Attributes) DefaultTargetHostname

func (h DataSpecHttpRoute94Aede07Attributes) DefaultTargetHostname() terra.StringValue

func (DataSpecHttpRoute94Aede07Attributes) InternalRef

func (DataSpecHttpRoute94Aede07Attributes) InternalTokens

func (DataSpecHttpRoute94Aede07Attributes) InternalWithRef

type DataSpecHttpRoute94Aede07State

type DataSpecHttpRoute94Aede07State struct {
	DefaultTargetHostname string `json:"default_target_hostname"`
}

type DataSpecHttpRouteActionAttributes

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

func (DataSpecHttpRouteActionAttributes) InternalRef

func (DataSpecHttpRouteActionAttributes) InternalTokens

func (DataSpecHttpRouteActionAttributes) InternalWithRef

func (DataSpecHttpRouteActionAttributes) Rewrite

func (DataSpecHttpRouteActionAttributes) Target

type DataSpecHttpRouteActionRewriteAttributes

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

func (DataSpecHttpRouteActionRewriteAttributes) Hostname

func (DataSpecHttpRouteActionRewriteAttributes) InternalRef

func (DataSpecHttpRouteActionRewriteAttributes) InternalTokens

func (DataSpecHttpRouteActionRewriteAttributes) InternalWithRef

func (DataSpecHttpRouteActionRewriteAttributes) Path

func (DataSpecHttpRouteActionRewriteAttributes) Prefix

type DataSpecHttpRouteActionRewriteState

type DataSpecHttpRouteActionRewriteState struct {
	Hostname []DataSpecHttpRoute94Aede07State `json:"hostname"`
	Path     []DataSpecHttpRouteFd7E59B3State `json:"path"`
	Prefix   []DataSpecHttpRoute760292F9State `json:"prefix"`
}

type DataSpecHttpRouteActionState

type DataSpecHttpRouteActionState struct {
	Rewrite []DataSpecHttpRouteActionRewriteState `json:"rewrite"`
	Target  []DataSpecHttpRouteActionTargetState  `json:"target"`
}

type DataSpecHttpRouteActionTargetAttributes

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

func (DataSpecHttpRouteActionTargetAttributes) InternalRef

func (DataSpecHttpRouteActionTargetAttributes) InternalTokens

func (DataSpecHttpRouteActionTargetAttributes) InternalWithRef

func (DataSpecHttpRouteActionTargetAttributes) Port

func (DataSpecHttpRouteActionTargetAttributes) VirtualService

type DataSpecHttpRouteActionTargetState

type DataSpecHttpRouteActionTargetState struct {
	Port           float64                          `json:"port"`
	VirtualService []DataSpecHttpRoute11E31Be7State `json:"virtual_service"`
}

type DataSpecHttpRouteAttributes

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

func (DataSpecHttpRouteAttributes) Action

func (DataSpecHttpRouteAttributes) InternalRef

func (hr DataSpecHttpRouteAttributes) InternalRef() (terra.Reference, error)

func (DataSpecHttpRouteAttributes) InternalTokens

func (hr DataSpecHttpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSpecHttpRouteAttributes) InternalWithRef

func (DataSpecHttpRouteAttributes) Match

type DataSpecHttpRouteD36Dd47DAttributes

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

func (DataSpecHttpRouteD36Dd47DAttributes) Exact

func (DataSpecHttpRouteD36Dd47DAttributes) InternalRef

func (DataSpecHttpRouteD36Dd47DAttributes) InternalTokens

func (DataSpecHttpRouteD36Dd47DAttributes) InternalWithRef

type DataSpecHttpRouteD36Dd47DState

type DataSpecHttpRouteD36Dd47DState struct {
	Exact string `json:"exact"`
}

type DataSpecHttpRouteFd7E59B3Attributes

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

func (DataSpecHttpRouteFd7E59B3Attributes) Exact

func (DataSpecHttpRouteFd7E59B3Attributes) InternalRef

func (DataSpecHttpRouteFd7E59B3Attributes) InternalTokens

func (DataSpecHttpRouteFd7E59B3Attributes) InternalWithRef

type DataSpecHttpRouteFd7E59B3State

type DataSpecHttpRouteFd7E59B3State struct {
	Exact string `json:"exact"`
}

type DataSpecHttpRouteMatchAttributes

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

func (DataSpecHttpRouteMatchAttributes) Header

func (DataSpecHttpRouteMatchAttributes) Hostname

func (DataSpecHttpRouteMatchAttributes) InternalRef

func (DataSpecHttpRouteMatchAttributes) InternalTokens

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

func (DataSpecHttpRouteMatchAttributes) InternalWithRef

func (DataSpecHttpRouteMatchAttributes) Path

func (DataSpecHttpRouteMatchAttributes) Port

func (DataSpecHttpRouteMatchAttributes) Prefix

func (DataSpecHttpRouteMatchAttributes) QueryParameter

type DataSpecHttpRouteMatchHeaderAttributes

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

func (DataSpecHttpRouteMatchHeaderAttributes) InternalRef

func (DataSpecHttpRouteMatchHeaderAttributes) InternalTokens

func (DataSpecHttpRouteMatchHeaderAttributes) InternalWithRef

func (DataSpecHttpRouteMatchHeaderAttributes) Invert

func (DataSpecHttpRouteMatchHeaderAttributes) Match

func (DataSpecHttpRouteMatchHeaderAttributes) Name

type DataSpecHttpRouteMatchHeaderState

type DataSpecHttpRouteMatchHeaderState struct {
	Invert bool                             `json:"invert"`
	Name   string                           `json:"name"`
	Match  []DataSpecHttpRoute30Dd3523State `json:"match"`
}

type DataSpecHttpRouteMatchHostnameAttributes

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

func (DataSpecHttpRouteMatchHostnameAttributes) Exact

func (DataSpecHttpRouteMatchHostnameAttributes) InternalRef

func (DataSpecHttpRouteMatchHostnameAttributes) InternalTokens

func (DataSpecHttpRouteMatchHostnameAttributes) InternalWithRef

func (DataSpecHttpRouteMatchHostnameAttributes) Suffix

type DataSpecHttpRouteMatchHostnameState

type DataSpecHttpRouteMatchHostnameState struct {
	Exact  string `json:"exact"`
	Suffix string `json:"suffix"`
}

type DataSpecHttpRouteMatchPathAttributes

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

func (DataSpecHttpRouteMatchPathAttributes) Exact

func (DataSpecHttpRouteMatchPathAttributes) InternalRef

func (DataSpecHttpRouteMatchPathAttributes) InternalTokens

func (DataSpecHttpRouteMatchPathAttributes) InternalWithRef

func (DataSpecHttpRouteMatchPathAttributes) Regex

type DataSpecHttpRouteMatchPathState

type DataSpecHttpRouteMatchPathState struct {
	Exact string `json:"exact"`
	Regex string `json:"regex"`
}

type DataSpecHttpRouteMatchQueryParameterAttributes

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

func (DataSpecHttpRouteMatchQueryParameterAttributes) InternalRef

func (DataSpecHttpRouteMatchQueryParameterAttributes) InternalTokens

func (DataSpecHttpRouteMatchQueryParameterAttributes) InternalWithRef

func (DataSpecHttpRouteMatchQueryParameterAttributes) Match

func (DataSpecHttpRouteMatchQueryParameterAttributes) Name

type DataSpecHttpRouteMatchQueryParameterState

type DataSpecHttpRouteMatchQueryParameterState struct {
	Name  string                           `json:"name"`
	Match []DataSpecHttpRouteD36Dd47DState `json:"match"`
}

type DataSpecHttpRouteMatchState

type DataSpecHttpRouteMatchState struct {
	Port           float64                                     `json:"port"`
	Prefix         string                                      `json:"prefix"`
	Header         []DataSpecHttpRouteMatchHeaderState         `json:"header"`
	Hostname       []DataSpecHttpRouteMatchHostnameState       `json:"hostname"`
	Path           []DataSpecHttpRouteMatchPathState           `json:"path"`
	QueryParameter []DataSpecHttpRouteMatchQueryParameterState `json:"query_parameter"`
}

type DataSpecHttpRouteState

type DataSpecHttpRouteState struct {
	Action []DataSpecHttpRouteActionState `json:"action"`
	Match  []DataSpecHttpRouteMatchState  `json:"match"`
}

type DataSpecState

type DataSpecState struct {
	Priority   float64                   `json:"priority"`
	GrpcRoute  []DataSpecGrpcRouteState  `json:"grpc_route"`
	Http2Route []DataSpecHttp2RouteState `json:"http2_route"`
	HttpRoute  []DataSpecHttpRouteState  `json:"http_route"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_appmesh_gateway_route.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aagr *Resource) Attributes() awsAppmeshGatewayRouteAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aagr *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aagr *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aagr *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aagr *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aagr *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aagr *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aagr *Resource) State() (*awsAppmeshGatewayRouteState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aagr *Resource) StateMust() *awsAppmeshGatewayRouteState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aagr *Resource) Type() string

Type returns the Terraform object type for Resource.

type Spec

type Spec struct {
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
	// SpecGrpcRoute: optional
	GrpcRoute *SpecGrpcRoute `hcl:"grpc_route,block"`
	// SpecHttp2Route: optional
	Http2Route *SpecHttp2Route `hcl:"http2_route,block"`
	// SpecHttpRoute: optional
	HttpRoute *SpecHttpRoute `hcl:"http_route,block"`
}

type SpecAttributes

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

func (SpecAttributes) GrpcRoute

func (SpecAttributes) Http2Route

func (SpecAttributes) HttpRoute

func (SpecAttributes) InternalRef

func (s SpecAttributes) InternalRef() (terra.Reference, error)

func (SpecAttributes) InternalTokens

func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecAttributes) InternalWithRef

func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes

func (SpecAttributes) Priority

func (s SpecAttributes) Priority() terra.NumberValue

type SpecGrpcRoute

type SpecGrpcRoute struct {
	// SpecGrpcRouteAction: required
	Action *SpecGrpcRouteAction `hcl:"action,block" validate:"required"`
	// SpecGrpcRouteMatch: required
	Match *SpecGrpcRouteMatch `hcl:"match,block" validate:"required"`
}

type SpecGrpcRoute11E31Be7

type SpecGrpcRoute11E31Be7 struct {
	// VirtualServiceName: string, required
	VirtualServiceName terra.StringValue `hcl:"virtual_service_name,attr" validate:"required"`
}

type SpecGrpcRoute11E31Be7Attributes

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

func (SpecGrpcRoute11E31Be7Attributes) InternalRef

func (SpecGrpcRoute11E31Be7Attributes) InternalTokens

func (vs SpecGrpcRoute11E31Be7Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecGrpcRoute11E31Be7Attributes) InternalWithRef

func (SpecGrpcRoute11E31Be7Attributes) VirtualServiceName

func (vs SpecGrpcRoute11E31Be7Attributes) VirtualServiceName() terra.StringValue

type SpecGrpcRoute11E31Be7State

type SpecGrpcRoute11E31Be7State struct {
	VirtualServiceName string `json:"virtual_service_name"`
}

type SpecGrpcRouteAction

type SpecGrpcRouteAction struct {
	// SpecGrpcRouteActionTarget: required
	Target *SpecGrpcRouteActionTarget `hcl:"target,block" validate:"required"`
}

type SpecGrpcRouteActionAttributes

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

func (SpecGrpcRouteActionAttributes) InternalRef

func (SpecGrpcRouteActionAttributes) InternalTokens

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

func (SpecGrpcRouteActionAttributes) InternalWithRef

func (SpecGrpcRouteActionAttributes) Target

type SpecGrpcRouteActionState

type SpecGrpcRouteActionState struct {
	Target []SpecGrpcRouteActionTargetState `json:"target"`
}

type SpecGrpcRouteActionTarget

type SpecGrpcRouteActionTarget struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// SpecGrpcRoute11E31Be7: required
	VirtualService *SpecGrpcRoute11E31Be7 `hcl:"virtual_service,block" validate:"required"`
}

type SpecGrpcRouteActionTargetAttributes

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

func (SpecGrpcRouteActionTargetAttributes) InternalRef

func (SpecGrpcRouteActionTargetAttributes) InternalTokens

func (SpecGrpcRouteActionTargetAttributes) InternalWithRef

func (SpecGrpcRouteActionTargetAttributes) Port

func (SpecGrpcRouteActionTargetAttributes) VirtualService

type SpecGrpcRouteActionTargetState

type SpecGrpcRouteActionTargetState struct {
	Port           float64                      `json:"port"`
	VirtualService []SpecGrpcRoute11E31Be7State `json:"virtual_service"`
}

type SpecGrpcRouteAttributes

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

func (SpecGrpcRouteAttributes) Action

func (SpecGrpcRouteAttributes) InternalRef

func (gr SpecGrpcRouteAttributes) InternalRef() (terra.Reference, error)

func (SpecGrpcRouteAttributes) InternalTokens

func (gr SpecGrpcRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecGrpcRouteAttributes) InternalWithRef

func (SpecGrpcRouteAttributes) Match

type SpecGrpcRouteMatch

type SpecGrpcRouteMatch struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// ServiceName: string, required
	ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"`
}

type SpecGrpcRouteMatchAttributes

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

func (SpecGrpcRouteMatchAttributes) InternalRef

func (SpecGrpcRouteMatchAttributes) InternalTokens

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

func (SpecGrpcRouteMatchAttributes) InternalWithRef

func (SpecGrpcRouteMatchAttributes) Port

func (SpecGrpcRouteMatchAttributes) ServiceName

type SpecGrpcRouteMatchState

type SpecGrpcRouteMatchState struct {
	Port        float64 `json:"port"`
	ServiceName string  `json:"service_name"`
}

type SpecGrpcRouteState

type SpecGrpcRouteState struct {
	Action []SpecGrpcRouteActionState `json:"action"`
	Match  []SpecGrpcRouteMatchState  `json:"match"`
}

type SpecHttp2Route

type SpecHttp2Route struct {
	// SpecHttp2RouteAction: required
	Action *SpecHttp2RouteAction `hcl:"action,block" validate:"required"`
	// SpecHttp2RouteMatch: required
	Match *SpecHttp2RouteMatch `hcl:"match,block" validate:"required"`
}

type SpecHttp2Route11E31Be7

type SpecHttp2Route11E31Be7 struct {
	// VirtualServiceName: string, required
	VirtualServiceName terra.StringValue `hcl:"virtual_service_name,attr" validate:"required"`
}

type SpecHttp2Route11E31Be7Attributes

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

func (SpecHttp2Route11E31Be7Attributes) InternalRef

func (SpecHttp2Route11E31Be7Attributes) InternalTokens

func (vs SpecHttp2Route11E31Be7Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttp2Route11E31Be7Attributes) InternalWithRef

func (SpecHttp2Route11E31Be7Attributes) VirtualServiceName

func (vs SpecHttp2Route11E31Be7Attributes) VirtualServiceName() terra.StringValue

type SpecHttp2Route11E31Be7State

type SpecHttp2Route11E31Be7State struct {
	VirtualServiceName string `json:"virtual_service_name"`
}

type SpecHttp2Route30Dd3523

type SpecHttp2Route30Dd3523 struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Regex: string, optional
	Regex terra.StringValue `hcl:"regex,attr"`
	// Suffix: string, optional
	Suffix terra.StringValue `hcl:"suffix,attr"`
	// SpecHttp2Route31605981: optional
	Range *SpecHttp2Route31605981 `hcl:"range,block"`
}

type SpecHttp2Route30Dd3523Attributes

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

func (SpecHttp2Route30Dd3523Attributes) Exact

func (SpecHttp2Route30Dd3523Attributes) InternalRef

func (SpecHttp2Route30Dd3523Attributes) InternalTokens

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

func (SpecHttp2Route30Dd3523Attributes) InternalWithRef

func (SpecHttp2Route30Dd3523Attributes) Prefix

func (SpecHttp2Route30Dd3523Attributes) Range

func (SpecHttp2Route30Dd3523Attributes) Regex

func (SpecHttp2Route30Dd3523Attributes) Suffix

type SpecHttp2Route30Dd3523State

type SpecHttp2Route30Dd3523State struct {
	Exact  string                        `json:"exact"`
	Prefix string                        `json:"prefix"`
	Regex  string                        `json:"regex"`
	Suffix string                        `json:"suffix"`
	Range  []SpecHttp2Route31605981State `json:"range"`
}

type SpecHttp2Route31605981

type SpecHttp2Route31605981 struct {
	// End: number, required
	End terra.NumberValue `hcl:"end,attr" validate:"required"`
	// Start: number, required
	Start terra.NumberValue `hcl:"start,attr" validate:"required"`
}

type SpecHttp2Route31605981Attributes

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

func (SpecHttp2Route31605981Attributes) End

func (SpecHttp2Route31605981Attributes) InternalRef

func (SpecHttp2Route31605981Attributes) InternalTokens

func (r SpecHttp2Route31605981Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttp2Route31605981Attributes) InternalWithRef

func (SpecHttp2Route31605981Attributes) Start

type SpecHttp2Route31605981State

type SpecHttp2Route31605981State struct {
	End   float64 `json:"end"`
	Start float64 `json:"start"`
}

type SpecHttp2Route760292F9

type SpecHttp2Route760292F9 struct {
	// DefaultPrefix: string, optional
	DefaultPrefix terra.StringValue `hcl:"default_prefix,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type SpecHttp2Route760292F9Attributes

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

func (SpecHttp2Route760292F9Attributes) DefaultPrefix

func (SpecHttp2Route760292F9Attributes) InternalRef

func (SpecHttp2Route760292F9Attributes) InternalTokens

func (p SpecHttp2Route760292F9Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttp2Route760292F9Attributes) InternalWithRef

func (SpecHttp2Route760292F9Attributes) Value

type SpecHttp2Route760292F9State

type SpecHttp2Route760292F9State struct {
	DefaultPrefix string `json:"default_prefix"`
	Value         string `json:"value"`
}

type SpecHttp2Route94Aede07

type SpecHttp2Route94Aede07 struct {
	// DefaultTargetHostname: string, required
	DefaultTargetHostname terra.StringValue `hcl:"default_target_hostname,attr" validate:"required"`
}

type SpecHttp2Route94Aede07Attributes

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

func (SpecHttp2Route94Aede07Attributes) DefaultTargetHostname

func (h SpecHttp2Route94Aede07Attributes) DefaultTargetHostname() terra.StringValue

func (SpecHttp2Route94Aede07Attributes) InternalRef

func (SpecHttp2Route94Aede07Attributes) InternalTokens

func (h SpecHttp2Route94Aede07Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttp2Route94Aede07Attributes) InternalWithRef

type SpecHttp2Route94Aede07State

type SpecHttp2Route94Aede07State struct {
	DefaultTargetHostname string `json:"default_target_hostname"`
}

type SpecHttp2RouteAction

type SpecHttp2RouteAction struct {
	// SpecHttp2RouteActionRewrite: optional
	Rewrite *SpecHttp2RouteActionRewrite `hcl:"rewrite,block"`
	// SpecHttp2RouteActionTarget: required
	Target *SpecHttp2RouteActionTarget `hcl:"target,block" validate:"required"`
}

type SpecHttp2RouteActionAttributes

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

func (SpecHttp2RouteActionAttributes) InternalRef

func (SpecHttp2RouteActionAttributes) InternalTokens

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

func (SpecHttp2RouteActionAttributes) InternalWithRef

func (SpecHttp2RouteActionAttributes) Rewrite

func (SpecHttp2RouteActionAttributes) Target

type SpecHttp2RouteActionRewrite

type SpecHttp2RouteActionRewrite struct {
	// SpecHttp2Route94Aede07: optional
	Hostname *SpecHttp2Route94Aede07 `hcl:"hostname,block"`
	// SpecHttp2RouteFd7E59B3: optional
	Path *SpecHttp2RouteFd7E59B3 `hcl:"path,block"`
	// SpecHttp2Route760292F9: optional
	Prefix *SpecHttp2Route760292F9 `hcl:"prefix,block"`
}

type SpecHttp2RouteActionRewriteAttributes

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

func (SpecHttp2RouteActionRewriteAttributes) Hostname

func (SpecHttp2RouteActionRewriteAttributes) InternalRef

func (SpecHttp2RouteActionRewriteAttributes) InternalTokens

func (SpecHttp2RouteActionRewriteAttributes) InternalWithRef

func (SpecHttp2RouteActionRewriteAttributes) Path

func (SpecHttp2RouteActionRewriteAttributes) Prefix

type SpecHttp2RouteActionRewriteState

type SpecHttp2RouteActionRewriteState struct {
	Hostname []SpecHttp2Route94Aede07State `json:"hostname"`
	Path     []SpecHttp2RouteFd7E59B3State `json:"path"`
	Prefix   []SpecHttp2Route760292F9State `json:"prefix"`
}

type SpecHttp2RouteActionState

type SpecHttp2RouteActionState struct {
	Rewrite []SpecHttp2RouteActionRewriteState `json:"rewrite"`
	Target  []SpecHttp2RouteActionTargetState  `json:"target"`
}

type SpecHttp2RouteActionTarget

type SpecHttp2RouteActionTarget struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// SpecHttp2Route11E31Be7: required
	VirtualService *SpecHttp2Route11E31Be7 `hcl:"virtual_service,block" validate:"required"`
}

type SpecHttp2RouteActionTargetAttributes

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

func (SpecHttp2RouteActionTargetAttributes) InternalRef

func (SpecHttp2RouteActionTargetAttributes) InternalTokens

func (SpecHttp2RouteActionTargetAttributes) InternalWithRef

func (SpecHttp2RouteActionTargetAttributes) Port

func (SpecHttp2RouteActionTargetAttributes) VirtualService

type SpecHttp2RouteActionTargetState

type SpecHttp2RouteActionTargetState struct {
	Port           float64                       `json:"port"`
	VirtualService []SpecHttp2Route11E31Be7State `json:"virtual_service"`
}

type SpecHttp2RouteAttributes

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

func (SpecHttp2RouteAttributes) Action

func (SpecHttp2RouteAttributes) InternalRef

func (hr SpecHttp2RouteAttributes) InternalRef() (terra.Reference, error)

func (SpecHttp2RouteAttributes) InternalTokens

func (hr SpecHttp2RouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttp2RouteAttributes) InternalWithRef

func (SpecHttp2RouteAttributes) Match

type SpecHttp2RouteD36Dd47D

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

type SpecHttp2RouteD36Dd47DAttributes

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

func (SpecHttp2RouteD36Dd47DAttributes) Exact

func (SpecHttp2RouteD36Dd47DAttributes) InternalRef

func (SpecHttp2RouteD36Dd47DAttributes) InternalTokens

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

func (SpecHttp2RouteD36Dd47DAttributes) InternalWithRef

type SpecHttp2RouteD36Dd47DState

type SpecHttp2RouteD36Dd47DState struct {
	Exact string `json:"exact"`
}

type SpecHttp2RouteFd7E59B3

type SpecHttp2RouteFd7E59B3 struct {
	// Exact: string, required
	Exact terra.StringValue `hcl:"exact,attr" validate:"required"`
}

type SpecHttp2RouteFd7E59B3Attributes

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

func (SpecHttp2RouteFd7E59B3Attributes) Exact

func (SpecHttp2RouteFd7E59B3Attributes) InternalRef

func (SpecHttp2RouteFd7E59B3Attributes) InternalTokens

func (p SpecHttp2RouteFd7E59B3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttp2RouteFd7E59B3Attributes) InternalWithRef

type SpecHttp2RouteFd7E59B3State

type SpecHttp2RouteFd7E59B3State struct {
	Exact string `json:"exact"`
}

type SpecHttp2RouteMatch

type SpecHttp2RouteMatch struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// SpecHttp2RouteMatchHeader: min=0,max=10
	Header []SpecHttp2RouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"`
	// SpecHttp2RouteMatchHostname: optional
	Hostname *SpecHttp2RouteMatchHostname `hcl:"hostname,block"`
	// SpecHttp2RouteMatchPath: optional
	Path *SpecHttp2RouteMatchPath `hcl:"path,block"`
	// SpecHttp2RouteMatchQueryParameter: min=0,max=10
	QueryParameter []SpecHttp2RouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0,max=10"`
}

type SpecHttp2RouteMatchAttributes

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

func (SpecHttp2RouteMatchAttributes) Header

func (SpecHttp2RouteMatchAttributes) Hostname

func (SpecHttp2RouteMatchAttributes) InternalRef

func (SpecHttp2RouteMatchAttributes) InternalTokens

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

func (SpecHttp2RouteMatchAttributes) InternalWithRef

func (SpecHttp2RouteMatchAttributes) Path

func (SpecHttp2RouteMatchAttributes) Port

func (SpecHttp2RouteMatchAttributes) Prefix

func (SpecHttp2RouteMatchAttributes) QueryParameter

type SpecHttp2RouteMatchHeader

type SpecHttp2RouteMatchHeader struct {
	// Invert: bool, optional
	Invert terra.BoolValue `hcl:"invert,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SpecHttp2Route30Dd3523: optional
	Match *SpecHttp2Route30Dd3523 `hcl:"match,block"`
}

type SpecHttp2RouteMatchHeaderAttributes

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

func (SpecHttp2RouteMatchHeaderAttributes) InternalRef

func (SpecHttp2RouteMatchHeaderAttributes) InternalTokens

func (SpecHttp2RouteMatchHeaderAttributes) InternalWithRef

func (SpecHttp2RouteMatchHeaderAttributes) Invert

func (SpecHttp2RouteMatchHeaderAttributes) Match

func (SpecHttp2RouteMatchHeaderAttributes) Name

type SpecHttp2RouteMatchHeaderState

type SpecHttp2RouteMatchHeaderState struct {
	Invert bool                          `json:"invert"`
	Name   string                        `json:"name"`
	Match  []SpecHttp2Route30Dd3523State `json:"match"`
}

type SpecHttp2RouteMatchHostname

type SpecHttp2RouteMatchHostname struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Suffix: string, optional
	Suffix terra.StringValue `hcl:"suffix,attr"`
}

type SpecHttp2RouteMatchHostnameAttributes

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

func (SpecHttp2RouteMatchHostnameAttributes) Exact

func (SpecHttp2RouteMatchHostnameAttributes) InternalRef

func (SpecHttp2RouteMatchHostnameAttributes) InternalTokens

func (SpecHttp2RouteMatchHostnameAttributes) InternalWithRef

func (SpecHttp2RouteMatchHostnameAttributes) Suffix

type SpecHttp2RouteMatchHostnameState

type SpecHttp2RouteMatchHostnameState struct {
	Exact  string `json:"exact"`
	Suffix string `json:"suffix"`
}

type SpecHttp2RouteMatchPath

type SpecHttp2RouteMatchPath struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Regex: string, optional
	Regex terra.StringValue `hcl:"regex,attr"`
}

type SpecHttp2RouteMatchPathAttributes

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

func (SpecHttp2RouteMatchPathAttributes) Exact

func (SpecHttp2RouteMatchPathAttributes) InternalRef

func (SpecHttp2RouteMatchPathAttributes) InternalTokens

func (SpecHttp2RouteMatchPathAttributes) InternalWithRef

func (SpecHttp2RouteMatchPathAttributes) Regex

type SpecHttp2RouteMatchPathState

type SpecHttp2RouteMatchPathState struct {
	Exact string `json:"exact"`
	Regex string `json:"regex"`
}

type SpecHttp2RouteMatchQueryParameter

type SpecHttp2RouteMatchQueryParameter struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SpecHttp2RouteD36Dd47D: optional
	Match *SpecHttp2RouteD36Dd47D `hcl:"match,block"`
}

type SpecHttp2RouteMatchQueryParameterAttributes

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

func (SpecHttp2RouteMatchQueryParameterAttributes) InternalRef

func (SpecHttp2RouteMatchQueryParameterAttributes) InternalTokens

func (SpecHttp2RouteMatchQueryParameterAttributes) InternalWithRef

func (SpecHttp2RouteMatchQueryParameterAttributes) Match

func (SpecHttp2RouteMatchQueryParameterAttributes) Name

type SpecHttp2RouteMatchQueryParameterState

type SpecHttp2RouteMatchQueryParameterState struct {
	Name  string                        `json:"name"`
	Match []SpecHttp2RouteD36Dd47DState `json:"match"`
}

type SpecHttp2RouteMatchState

type SpecHttp2RouteMatchState struct {
	Port           float64                                  `json:"port"`
	Prefix         string                                   `json:"prefix"`
	Header         []SpecHttp2RouteMatchHeaderState         `json:"header"`
	Hostname       []SpecHttp2RouteMatchHostnameState       `json:"hostname"`
	Path           []SpecHttp2RouteMatchPathState           `json:"path"`
	QueryParameter []SpecHttp2RouteMatchQueryParameterState `json:"query_parameter"`
}

type SpecHttp2RouteState

type SpecHttp2RouteState struct {
	Action []SpecHttp2RouteActionState `json:"action"`
	Match  []SpecHttp2RouteMatchState  `json:"match"`
}

type SpecHttpRoute

type SpecHttpRoute struct {
	// SpecHttpRouteAction: required
	Action *SpecHttpRouteAction `hcl:"action,block" validate:"required"`
	// SpecHttpRouteMatch: required
	Match *SpecHttpRouteMatch `hcl:"match,block" validate:"required"`
}

type SpecHttpRoute11E31Be7

type SpecHttpRoute11E31Be7 struct {
	// VirtualServiceName: string, required
	VirtualServiceName terra.StringValue `hcl:"virtual_service_name,attr" validate:"required"`
}

type SpecHttpRoute11E31Be7Attributes

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

func (SpecHttpRoute11E31Be7Attributes) InternalRef

func (SpecHttpRoute11E31Be7Attributes) InternalTokens

func (vs SpecHttpRoute11E31Be7Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRoute11E31Be7Attributes) InternalWithRef

func (SpecHttpRoute11E31Be7Attributes) VirtualServiceName

func (vs SpecHttpRoute11E31Be7Attributes) VirtualServiceName() terra.StringValue

type SpecHttpRoute11E31Be7State

type SpecHttpRoute11E31Be7State struct {
	VirtualServiceName string `json:"virtual_service_name"`
}

type SpecHttpRoute30Dd3523

type SpecHttpRoute30Dd3523 struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Regex: string, optional
	Regex terra.StringValue `hcl:"regex,attr"`
	// Suffix: string, optional
	Suffix terra.StringValue `hcl:"suffix,attr"`
	// SpecHttpRoute31605981: optional
	Range *SpecHttpRoute31605981 `hcl:"range,block"`
}

type SpecHttpRoute30Dd3523Attributes

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

func (SpecHttpRoute30Dd3523Attributes) Exact

func (SpecHttpRoute30Dd3523Attributes) InternalRef

func (SpecHttpRoute30Dd3523Attributes) InternalTokens

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

func (SpecHttpRoute30Dd3523Attributes) InternalWithRef

func (SpecHttpRoute30Dd3523Attributes) Prefix

func (SpecHttpRoute30Dd3523Attributes) Range

func (SpecHttpRoute30Dd3523Attributes) Regex

func (SpecHttpRoute30Dd3523Attributes) Suffix

type SpecHttpRoute30Dd3523State

type SpecHttpRoute30Dd3523State struct {
	Exact  string                       `json:"exact"`
	Prefix string                       `json:"prefix"`
	Regex  string                       `json:"regex"`
	Suffix string                       `json:"suffix"`
	Range  []SpecHttpRoute31605981State `json:"range"`
}

type SpecHttpRoute31605981

type SpecHttpRoute31605981 struct {
	// End: number, required
	End terra.NumberValue `hcl:"end,attr" validate:"required"`
	// Start: number, required
	Start terra.NumberValue `hcl:"start,attr" validate:"required"`
}

type SpecHttpRoute31605981Attributes

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

func (SpecHttpRoute31605981Attributes) End

func (SpecHttpRoute31605981Attributes) InternalRef

func (SpecHttpRoute31605981Attributes) InternalTokens

func (r SpecHttpRoute31605981Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRoute31605981Attributes) InternalWithRef

func (SpecHttpRoute31605981Attributes) Start

type SpecHttpRoute31605981State

type SpecHttpRoute31605981State struct {
	End   float64 `json:"end"`
	Start float64 `json:"start"`
}

type SpecHttpRoute760292F9

type SpecHttpRoute760292F9 struct {
	// DefaultPrefix: string, optional
	DefaultPrefix terra.StringValue `hcl:"default_prefix,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type SpecHttpRoute760292F9Attributes

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

func (SpecHttpRoute760292F9Attributes) DefaultPrefix

func (SpecHttpRoute760292F9Attributes) InternalRef

func (SpecHttpRoute760292F9Attributes) InternalTokens

func (p SpecHttpRoute760292F9Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRoute760292F9Attributes) InternalWithRef

func (SpecHttpRoute760292F9Attributes) Value

type SpecHttpRoute760292F9State

type SpecHttpRoute760292F9State struct {
	DefaultPrefix string `json:"default_prefix"`
	Value         string `json:"value"`
}

type SpecHttpRoute94Aede07

type SpecHttpRoute94Aede07 struct {
	// DefaultTargetHostname: string, required
	DefaultTargetHostname terra.StringValue `hcl:"default_target_hostname,attr" validate:"required"`
}

type SpecHttpRoute94Aede07Attributes

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

func (SpecHttpRoute94Aede07Attributes) DefaultTargetHostname

func (h SpecHttpRoute94Aede07Attributes) DefaultTargetHostname() terra.StringValue

func (SpecHttpRoute94Aede07Attributes) InternalRef

func (SpecHttpRoute94Aede07Attributes) InternalTokens

func (h SpecHttpRoute94Aede07Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRoute94Aede07Attributes) InternalWithRef

type SpecHttpRoute94Aede07State

type SpecHttpRoute94Aede07State struct {
	DefaultTargetHostname string `json:"default_target_hostname"`
}

type SpecHttpRouteAction

type SpecHttpRouteAction struct {
	// SpecHttpRouteActionRewrite: optional
	Rewrite *SpecHttpRouteActionRewrite `hcl:"rewrite,block"`
	// SpecHttpRouteActionTarget: required
	Target *SpecHttpRouteActionTarget `hcl:"target,block" validate:"required"`
}

type SpecHttpRouteActionAttributes

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

func (SpecHttpRouteActionAttributes) InternalRef

func (SpecHttpRouteActionAttributes) InternalTokens

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

func (SpecHttpRouteActionAttributes) InternalWithRef

func (SpecHttpRouteActionAttributes) Rewrite

func (SpecHttpRouteActionAttributes) Target

type SpecHttpRouteActionRewrite

type SpecHttpRouteActionRewrite struct {
	// SpecHttpRoute94Aede07: optional
	Hostname *SpecHttpRoute94Aede07 `hcl:"hostname,block"`
	// SpecHttpRouteFd7E59B3: optional
	Path *SpecHttpRouteFd7E59B3 `hcl:"path,block"`
	// SpecHttpRoute760292F9: optional
	Prefix *SpecHttpRoute760292F9 `hcl:"prefix,block"`
}

type SpecHttpRouteActionRewriteAttributes

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

func (SpecHttpRouteActionRewriteAttributes) Hostname

func (SpecHttpRouteActionRewriteAttributes) InternalRef

func (SpecHttpRouteActionRewriteAttributes) InternalTokens

func (SpecHttpRouteActionRewriteAttributes) InternalWithRef

func (SpecHttpRouteActionRewriteAttributes) Path

func (SpecHttpRouteActionRewriteAttributes) Prefix

type SpecHttpRouteActionRewriteState

type SpecHttpRouteActionRewriteState struct {
	Hostname []SpecHttpRoute94Aede07State `json:"hostname"`
	Path     []SpecHttpRouteFd7E59B3State `json:"path"`
	Prefix   []SpecHttpRoute760292F9State `json:"prefix"`
}

type SpecHttpRouteActionState

type SpecHttpRouteActionState struct {
	Rewrite []SpecHttpRouteActionRewriteState `json:"rewrite"`
	Target  []SpecHttpRouteActionTargetState  `json:"target"`
}

type SpecHttpRouteActionTarget

type SpecHttpRouteActionTarget struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// SpecHttpRoute11E31Be7: required
	VirtualService *SpecHttpRoute11E31Be7 `hcl:"virtual_service,block" validate:"required"`
}

type SpecHttpRouteActionTargetAttributes

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

func (SpecHttpRouteActionTargetAttributes) InternalRef

func (SpecHttpRouteActionTargetAttributes) InternalTokens

func (SpecHttpRouteActionTargetAttributes) InternalWithRef

func (SpecHttpRouteActionTargetAttributes) Port

func (SpecHttpRouteActionTargetAttributes) VirtualService

type SpecHttpRouteActionTargetState

type SpecHttpRouteActionTargetState struct {
	Port           float64                      `json:"port"`
	VirtualService []SpecHttpRoute11E31Be7State `json:"virtual_service"`
}

type SpecHttpRouteAttributes

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

func (SpecHttpRouteAttributes) Action

func (SpecHttpRouteAttributes) InternalRef

func (hr SpecHttpRouteAttributes) InternalRef() (terra.Reference, error)

func (SpecHttpRouteAttributes) InternalTokens

func (hr SpecHttpRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRouteAttributes) InternalWithRef

func (SpecHttpRouteAttributes) Match

type SpecHttpRouteD36Dd47D

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

type SpecHttpRouteD36Dd47DAttributes

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

func (SpecHttpRouteD36Dd47DAttributes) Exact

func (SpecHttpRouteD36Dd47DAttributes) InternalRef

func (SpecHttpRouteD36Dd47DAttributes) InternalTokens

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

func (SpecHttpRouteD36Dd47DAttributes) InternalWithRef

type SpecHttpRouteD36Dd47DState

type SpecHttpRouteD36Dd47DState struct {
	Exact string `json:"exact"`
}

type SpecHttpRouteFd7E59B3

type SpecHttpRouteFd7E59B3 struct {
	// Exact: string, required
	Exact terra.StringValue `hcl:"exact,attr" validate:"required"`
}

type SpecHttpRouteFd7E59B3Attributes

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

func (SpecHttpRouteFd7E59B3Attributes) Exact

func (SpecHttpRouteFd7E59B3Attributes) InternalRef

func (SpecHttpRouteFd7E59B3Attributes) InternalTokens

func (p SpecHttpRouteFd7E59B3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRouteFd7E59B3Attributes) InternalWithRef

type SpecHttpRouteFd7E59B3State

type SpecHttpRouteFd7E59B3State struct {
	Exact string `json:"exact"`
}

type SpecHttpRouteMatch

type SpecHttpRouteMatch struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// SpecHttpRouteMatchHeader: min=0,max=10
	Header []SpecHttpRouteMatchHeader `hcl:"header,block" validate:"min=0,max=10"`
	// SpecHttpRouteMatchHostname: optional
	Hostname *SpecHttpRouteMatchHostname `hcl:"hostname,block"`
	// SpecHttpRouteMatchPath: optional
	Path *SpecHttpRouteMatchPath `hcl:"path,block"`
	// SpecHttpRouteMatchQueryParameter: min=0,max=10
	QueryParameter []SpecHttpRouteMatchQueryParameter `hcl:"query_parameter,block" validate:"min=0,max=10"`
}

type SpecHttpRouteMatchAttributes

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

func (SpecHttpRouteMatchAttributes) Header

func (SpecHttpRouteMatchAttributes) Hostname

func (SpecHttpRouteMatchAttributes) InternalRef

func (SpecHttpRouteMatchAttributes) InternalTokens

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

func (SpecHttpRouteMatchAttributes) InternalWithRef

func (SpecHttpRouteMatchAttributes) Path

func (SpecHttpRouteMatchAttributes) Port

func (SpecHttpRouteMatchAttributes) Prefix

func (SpecHttpRouteMatchAttributes) QueryParameter

type SpecHttpRouteMatchHeader

type SpecHttpRouteMatchHeader struct {
	// Invert: bool, optional
	Invert terra.BoolValue `hcl:"invert,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SpecHttpRoute30Dd3523: optional
	Match *SpecHttpRoute30Dd3523 `hcl:"match,block"`
}

type SpecHttpRouteMatchHeaderAttributes

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

func (SpecHttpRouteMatchHeaderAttributes) InternalRef

func (SpecHttpRouteMatchHeaderAttributes) InternalTokens

func (SpecHttpRouteMatchHeaderAttributes) InternalWithRef

func (SpecHttpRouteMatchHeaderAttributes) Invert

func (SpecHttpRouteMatchHeaderAttributes) Match

func (SpecHttpRouteMatchHeaderAttributes) Name

type SpecHttpRouteMatchHeaderState

type SpecHttpRouteMatchHeaderState struct {
	Invert bool                         `json:"invert"`
	Name   string                       `json:"name"`
	Match  []SpecHttpRoute30Dd3523State `json:"match"`
}

type SpecHttpRouteMatchHostname

type SpecHttpRouteMatchHostname struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Suffix: string, optional
	Suffix terra.StringValue `hcl:"suffix,attr"`
}

type SpecHttpRouteMatchHostnameAttributes

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

func (SpecHttpRouteMatchHostnameAttributes) Exact

func (SpecHttpRouteMatchHostnameAttributes) InternalRef

func (SpecHttpRouteMatchHostnameAttributes) InternalTokens

func (SpecHttpRouteMatchHostnameAttributes) InternalWithRef

func (SpecHttpRouteMatchHostnameAttributes) Suffix

type SpecHttpRouteMatchHostnameState

type SpecHttpRouteMatchHostnameState struct {
	Exact  string `json:"exact"`
	Suffix string `json:"suffix"`
}

type SpecHttpRouteMatchPath

type SpecHttpRouteMatchPath struct {
	// Exact: string, optional
	Exact terra.StringValue `hcl:"exact,attr"`
	// Regex: string, optional
	Regex terra.StringValue `hcl:"regex,attr"`
}

type SpecHttpRouteMatchPathAttributes

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

func (SpecHttpRouteMatchPathAttributes) Exact

func (SpecHttpRouteMatchPathAttributes) InternalRef

func (SpecHttpRouteMatchPathAttributes) InternalTokens

func (p SpecHttpRouteMatchPathAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecHttpRouteMatchPathAttributes) InternalWithRef

func (SpecHttpRouteMatchPathAttributes) Regex

type SpecHttpRouteMatchPathState

type SpecHttpRouteMatchPathState struct {
	Exact string `json:"exact"`
	Regex string `json:"regex"`
}

type SpecHttpRouteMatchQueryParameter

type SpecHttpRouteMatchQueryParameter struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SpecHttpRouteD36Dd47D: optional
	Match *SpecHttpRouteD36Dd47D `hcl:"match,block"`
}

type SpecHttpRouteMatchQueryParameterAttributes

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

func (SpecHttpRouteMatchQueryParameterAttributes) InternalRef

func (SpecHttpRouteMatchQueryParameterAttributes) InternalTokens

func (SpecHttpRouteMatchQueryParameterAttributes) InternalWithRef

func (SpecHttpRouteMatchQueryParameterAttributes) Match

func (SpecHttpRouteMatchQueryParameterAttributes) Name

type SpecHttpRouteMatchQueryParameterState

type SpecHttpRouteMatchQueryParameterState struct {
	Name  string                       `json:"name"`
	Match []SpecHttpRouteD36Dd47DState `json:"match"`
}

type SpecHttpRouteMatchState

type SpecHttpRouteMatchState struct {
	Port           float64                                 `json:"port"`
	Prefix         string                                  `json:"prefix"`
	Header         []SpecHttpRouteMatchHeaderState         `json:"header"`
	Hostname       []SpecHttpRouteMatchHostnameState       `json:"hostname"`
	Path           []SpecHttpRouteMatchPathState           `json:"path"`
	QueryParameter []SpecHttpRouteMatchQueryParameterState `json:"query_parameter"`
}

type SpecHttpRouteState

type SpecHttpRouteState struct {
	Action []SpecHttpRouteActionState `json:"action"`
	Match  []SpecHttpRouteMatchState  `json:"match"`
}

type SpecState

type SpecState struct {
	Priority   float64               `json:"priority"`
	GrpcRoute  []SpecGrpcRouteState  `json:"grpc_route"`
	Http2Route []SpecHttp2RouteState `json:"http2_route"`
	HttpRoute  []SpecHttpRouteState  `json:"http_route"`
}

Jump to

Keyboard shortcuts

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