Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) AuthenticateCognito() terra.ListValue[AuthenticateCognitoAttributes]
- func (a ActionAttributes) AuthenticateOidc() terra.ListValue[AuthenticateOidcAttributes]
- func (a ActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
- func (a ActionAttributes) Forward() terra.ListValue[ForwardAttributes]
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- func (a ActionAttributes) Order() terra.NumberValue
- func (a ActionAttributes) Redirect() terra.ListValue[RedirectAttributes]
- func (a ActionAttributes) TargetGroupArn() terra.StringValue
- func (a ActionAttributes) Type() terra.StringValue
- type ActionState
- type AuthenticateCognito
- type AuthenticateCognitoAttributes
- func (ac AuthenticateCognitoAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
- func (ac AuthenticateCognitoAttributes) InternalRef() (terra.Reference, error)
- func (ac AuthenticateCognitoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac AuthenticateCognitoAttributes) InternalWithRef(ref terra.Reference) AuthenticateCognitoAttributes
- func (ac AuthenticateCognitoAttributes) OnUnauthenticatedRequest() terra.StringValue
- func (ac AuthenticateCognitoAttributes) Scope() terra.StringValue
- func (ac AuthenticateCognitoAttributes) SessionCookieName() terra.StringValue
- func (ac AuthenticateCognitoAttributes) SessionTimeout() terra.NumberValue
- func (ac AuthenticateCognitoAttributes) UserPoolArn() terra.StringValue
- func (ac AuthenticateCognitoAttributes) UserPoolClientId() terra.StringValue
- func (ac AuthenticateCognitoAttributes) UserPoolDomain() terra.StringValue
- type AuthenticateCognitoState
- type AuthenticateOidc
- type AuthenticateOidcAttributes
- func (ao AuthenticateOidcAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
- func (ao AuthenticateOidcAttributes) AuthorizationEndpoint() terra.StringValue
- func (ao AuthenticateOidcAttributes) ClientId() terra.StringValue
- func (ao AuthenticateOidcAttributes) ClientSecret() terra.StringValue
- func (ao AuthenticateOidcAttributes) InternalRef() (terra.Reference, error)
- func (ao AuthenticateOidcAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ao AuthenticateOidcAttributes) InternalWithRef(ref terra.Reference) AuthenticateOidcAttributes
- func (ao AuthenticateOidcAttributes) Issuer() terra.StringValue
- func (ao AuthenticateOidcAttributes) OnUnauthenticatedRequest() terra.StringValue
- func (ao AuthenticateOidcAttributes) Scope() terra.StringValue
- func (ao AuthenticateOidcAttributes) SessionCookieName() terra.StringValue
- func (ao AuthenticateOidcAttributes) SessionTimeout() terra.NumberValue
- func (ao AuthenticateOidcAttributes) TokenEndpoint() terra.StringValue
- func (ao AuthenticateOidcAttributes) UserInfoEndpoint() terra.StringValue
- type AuthenticateOidcState
- type Condition
- type ConditionAttributes
- func (c ConditionAttributes) HostHeader() terra.ListValue[HostHeaderAttributes]
- func (c ConditionAttributes) HttpHeader() terra.ListValue[HttpHeaderAttributes]
- func (c ConditionAttributes) HttpRequestMethod() terra.ListValue[HttpRequestMethodAttributes]
- func (c ConditionAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
- func (c ConditionAttributes) PathPattern() terra.ListValue[PathPatternAttributes]
- func (c ConditionAttributes) QueryString() terra.SetValue[QueryStringAttributes]
- func (c ConditionAttributes) SourceIp() terra.ListValue[SourceIpAttributes]
- type ConditionState
- type FixedResponse
- type FixedResponseAttributes
- func (fr FixedResponseAttributes) ContentType() terra.StringValue
- 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) MessageBody() terra.StringValue
- func (fr FixedResponseAttributes) StatusCode() terra.StringValue
- type FixedResponseState
- type Forward
- type ForwardAttributes
- func (f ForwardAttributes) InternalRef() (terra.Reference, error)
- func (f ForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f ForwardAttributes) InternalWithRef(ref terra.Reference) ForwardAttributes
- func (f ForwardAttributes) Stickiness() terra.ListValue[StickinessAttributes]
- func (f ForwardAttributes) TargetGroup() terra.SetValue[TargetGroupAttributes]
- type ForwardState
- type HostHeader
- type HostHeaderAttributes
- func (hh HostHeaderAttributes) InternalRef() (terra.Reference, error)
- func (hh HostHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hh HostHeaderAttributes) InternalWithRef(ref terra.Reference) HostHeaderAttributes
- func (hh HostHeaderAttributes) Values() terra.SetValue[terra.StringValue]
- type HostHeaderState
- type HttpHeader
- type HttpHeaderAttributes
- func (hh HttpHeaderAttributes) HttpHeaderName() terra.StringValue
- func (hh HttpHeaderAttributes) InternalRef() (terra.Reference, error)
- func (hh HttpHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hh HttpHeaderAttributes) InternalWithRef(ref terra.Reference) HttpHeaderAttributes
- func (hh HttpHeaderAttributes) Values() terra.SetValue[terra.StringValue]
- type HttpHeaderState
- type HttpRequestMethod
- type HttpRequestMethodAttributes
- func (hrm HttpRequestMethodAttributes) InternalRef() (terra.Reference, error)
- func (hrm HttpRequestMethodAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hrm HttpRequestMethodAttributes) InternalWithRef(ref terra.Reference) HttpRequestMethodAttributes
- func (hrm HttpRequestMethodAttributes) Values() terra.SetValue[terra.StringValue]
- type HttpRequestMethodState
- type PathPattern
- type PathPatternAttributes
- func (pp PathPatternAttributes) InternalRef() (terra.Reference, error)
- func (pp PathPatternAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pp PathPatternAttributes) InternalWithRef(ref terra.Reference) PathPatternAttributes
- func (pp PathPatternAttributes) Values() terra.SetValue[terra.StringValue]
- type PathPatternState
- type QueryString
- type QueryStringAttributes
- func (qs QueryStringAttributes) InternalRef() (terra.Reference, error)
- func (qs QueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qs QueryStringAttributes) InternalWithRef(ref terra.Reference) QueryStringAttributes
- func (qs QueryStringAttributes) Key() terra.StringValue
- func (qs QueryStringAttributes) Value() terra.StringValue
- type QueryStringState
- type Redirect
- type RedirectAttributes
- func (r RedirectAttributes) Host() terra.StringValue
- func (r RedirectAttributes) InternalRef() (terra.Reference, error)
- func (r RedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RedirectAttributes) InternalWithRef(ref terra.Reference) RedirectAttributes
- func (r RedirectAttributes) Path() terra.StringValue
- func (r RedirectAttributes) Port() terra.StringValue
- func (r RedirectAttributes) Protocol() terra.StringValue
- func (r RedirectAttributes) Query() terra.StringValue
- func (r RedirectAttributes) StatusCode() terra.StringValue
- type RedirectState
- type SourceIp
- type SourceIpAttributes
- type SourceIpState
- type Stickiness
- type StickinessAttributes
- func (s StickinessAttributes) Duration() terra.NumberValue
- func (s StickinessAttributes) Enabled() terra.BoolValue
- func (s StickinessAttributes) InternalRef() (terra.Reference, error)
- func (s StickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StickinessAttributes) InternalWithRef(ref terra.Reference) StickinessAttributes
- type StickinessState
- type TargetGroup
- type TargetGroupAttributes
- func (tg TargetGroupAttributes) Arn() terra.StringValue
- func (tg TargetGroupAttributes) InternalRef() (terra.Reference, error)
- func (tg TargetGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg TargetGroupAttributes) InternalWithRef(ref terra.Reference) TargetGroupAttributes
- func (tg TargetGroupAttributes) Weight() terra.NumberValue
- type TargetGroupState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Order: number, optional Order terra.NumberValue `hcl:"order,attr"` // TargetGroupArn: string, optional TargetGroupArn terra.StringValue `hcl:"target_group_arn,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // AuthenticateCognito: optional AuthenticateCognito *AuthenticateCognito `hcl:"authenticate_cognito,block"` // AuthenticateOidc: optional AuthenticateOidc *AuthenticateOidc `hcl:"authenticate_oidc,block"` // FixedResponse: optional FixedResponse *FixedResponse `hcl:"fixed_response,block"` // Forward: optional Forward *Forward `hcl:"forward,block"` // Redirect: optional Redirect *Redirect `hcl:"redirect,block"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) AuthenticateCognito ¶
func (a ActionAttributes) AuthenticateCognito() terra.ListValue[AuthenticateCognitoAttributes]
func (ActionAttributes) AuthenticateOidc ¶
func (a ActionAttributes) AuthenticateOidc() terra.ListValue[AuthenticateOidcAttributes]
func (ActionAttributes) FixedResponse ¶
func (a ActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
func (ActionAttributes) Forward ¶
func (a ActionAttributes) Forward() terra.ListValue[ForwardAttributes]
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
func (ActionAttributes) Order ¶
func (a ActionAttributes) Order() terra.NumberValue
func (ActionAttributes) Redirect ¶
func (a ActionAttributes) Redirect() terra.ListValue[RedirectAttributes]
func (ActionAttributes) TargetGroupArn ¶
func (a ActionAttributes) TargetGroupArn() terra.StringValue
func (ActionAttributes) Type ¶
func (a ActionAttributes) Type() terra.StringValue
type ActionState ¶
type ActionState struct { Order float64 `json:"order"` TargetGroupArn string `json:"target_group_arn"` Type string `json:"type"` AuthenticateCognito []AuthenticateCognitoState `json:"authenticate_cognito"` AuthenticateOidc []AuthenticateOidcState `json:"authenticate_oidc"` FixedResponse []FixedResponseState `json:"fixed_response"` Forward []ForwardState `json:"forward"` Redirect []RedirectState `json:"redirect"` }
type AuthenticateCognito ¶
type AuthenticateCognito struct { // AuthenticationRequestExtraParams: map of string, optional AuthenticationRequestExtraParams terra.MapValue[terra.StringValue] `hcl:"authentication_request_extra_params,attr"` // OnUnauthenticatedRequest: string, optional OnUnauthenticatedRequest terra.StringValue `hcl:"on_unauthenticated_request,attr"` // Scope: string, optional Scope terra.StringValue `hcl:"scope,attr"` // SessionCookieName: string, optional SessionCookieName terra.StringValue `hcl:"session_cookie_name,attr"` // SessionTimeout: number, optional SessionTimeout terra.NumberValue `hcl:"session_timeout,attr"` // UserPoolArn: string, required UserPoolArn terra.StringValue `hcl:"user_pool_arn,attr" validate:"required"` // UserPoolClientId: string, required UserPoolClientId terra.StringValue `hcl:"user_pool_client_id,attr" validate:"required"` // UserPoolDomain: string, required UserPoolDomain terra.StringValue `hcl:"user_pool_domain,attr" validate:"required"` }
type AuthenticateCognitoAttributes ¶
type AuthenticateCognitoAttributes struct {
// contains filtered or unexported fields
}
func (AuthenticateCognitoAttributes) AuthenticationRequestExtraParams ¶
func (ac AuthenticateCognitoAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
func (AuthenticateCognitoAttributes) InternalRef ¶
func (ac AuthenticateCognitoAttributes) InternalRef() (terra.Reference, error)
func (AuthenticateCognitoAttributes) InternalTokens ¶
func (ac AuthenticateCognitoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthenticateCognitoAttributes) InternalWithRef ¶
func (ac AuthenticateCognitoAttributes) InternalWithRef(ref terra.Reference) AuthenticateCognitoAttributes
func (AuthenticateCognitoAttributes) OnUnauthenticatedRequest ¶
func (ac AuthenticateCognitoAttributes) OnUnauthenticatedRequest() terra.StringValue
func (AuthenticateCognitoAttributes) Scope ¶
func (ac AuthenticateCognitoAttributes) Scope() terra.StringValue
func (AuthenticateCognitoAttributes) SessionCookieName ¶
func (ac AuthenticateCognitoAttributes) SessionCookieName() terra.StringValue
func (AuthenticateCognitoAttributes) SessionTimeout ¶
func (ac AuthenticateCognitoAttributes) SessionTimeout() terra.NumberValue
func (AuthenticateCognitoAttributes) UserPoolArn ¶
func (ac AuthenticateCognitoAttributes) UserPoolArn() terra.StringValue
func (AuthenticateCognitoAttributes) UserPoolClientId ¶
func (ac AuthenticateCognitoAttributes) UserPoolClientId() terra.StringValue
func (AuthenticateCognitoAttributes) UserPoolDomain ¶
func (ac AuthenticateCognitoAttributes) UserPoolDomain() terra.StringValue
type AuthenticateCognitoState ¶
type AuthenticateCognitoState struct { AuthenticationRequestExtraParams map[string]string `json:"authentication_request_extra_params"` OnUnauthenticatedRequest string `json:"on_unauthenticated_request"` Scope string `json:"scope"` SessionCookieName string `json:"session_cookie_name"` SessionTimeout float64 `json:"session_timeout"` UserPoolArn string `json:"user_pool_arn"` UserPoolClientId string `json:"user_pool_client_id"` UserPoolDomain string `json:"user_pool_domain"` }
type AuthenticateOidc ¶
type AuthenticateOidc struct { // AuthenticationRequestExtraParams: map of string, optional AuthenticationRequestExtraParams terra.MapValue[terra.StringValue] `hcl:"authentication_request_extra_params,attr"` // AuthorizationEndpoint: string, required AuthorizationEndpoint terra.StringValue `hcl:"authorization_endpoint,attr" validate:"required"` // ClientId: string, required ClientId terra.StringValue `hcl:"client_id,attr" validate:"required"` // ClientSecret: string, required ClientSecret terra.StringValue `hcl:"client_secret,attr" validate:"required"` // Issuer: string, required Issuer terra.StringValue `hcl:"issuer,attr" validate:"required"` // OnUnauthenticatedRequest: string, optional OnUnauthenticatedRequest terra.StringValue `hcl:"on_unauthenticated_request,attr"` // Scope: string, optional Scope terra.StringValue `hcl:"scope,attr"` // SessionCookieName: string, optional SessionCookieName terra.StringValue `hcl:"session_cookie_name,attr"` // SessionTimeout: number, optional SessionTimeout terra.NumberValue `hcl:"session_timeout,attr"` // TokenEndpoint: string, required TokenEndpoint terra.StringValue `hcl:"token_endpoint,attr" validate:"required"` // UserInfoEndpoint: string, required UserInfoEndpoint terra.StringValue `hcl:"user_info_endpoint,attr" validate:"required"` }
type AuthenticateOidcAttributes ¶
type AuthenticateOidcAttributes struct {
// contains filtered or unexported fields
}
func (AuthenticateOidcAttributes) AuthenticationRequestExtraParams ¶
func (ao AuthenticateOidcAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
func (AuthenticateOidcAttributes) AuthorizationEndpoint ¶
func (ao AuthenticateOidcAttributes) AuthorizationEndpoint() terra.StringValue
func (AuthenticateOidcAttributes) ClientId ¶
func (ao AuthenticateOidcAttributes) ClientId() terra.StringValue
func (AuthenticateOidcAttributes) ClientSecret ¶
func (ao AuthenticateOidcAttributes) ClientSecret() terra.StringValue
func (AuthenticateOidcAttributes) InternalRef ¶
func (ao AuthenticateOidcAttributes) InternalRef() (terra.Reference, error)
func (AuthenticateOidcAttributes) InternalTokens ¶
func (ao AuthenticateOidcAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthenticateOidcAttributes) InternalWithRef ¶
func (ao AuthenticateOidcAttributes) InternalWithRef(ref terra.Reference) AuthenticateOidcAttributes
func (AuthenticateOidcAttributes) Issuer ¶
func (ao AuthenticateOidcAttributes) Issuer() terra.StringValue
func (AuthenticateOidcAttributes) OnUnauthenticatedRequest ¶
func (ao AuthenticateOidcAttributes) OnUnauthenticatedRequest() terra.StringValue
func (AuthenticateOidcAttributes) Scope ¶
func (ao AuthenticateOidcAttributes) Scope() terra.StringValue
func (AuthenticateOidcAttributes) SessionCookieName ¶
func (ao AuthenticateOidcAttributes) SessionCookieName() terra.StringValue
func (AuthenticateOidcAttributes) SessionTimeout ¶
func (ao AuthenticateOidcAttributes) SessionTimeout() terra.NumberValue
func (AuthenticateOidcAttributes) TokenEndpoint ¶
func (ao AuthenticateOidcAttributes) TokenEndpoint() terra.StringValue
func (AuthenticateOidcAttributes) UserInfoEndpoint ¶
func (ao AuthenticateOidcAttributes) UserInfoEndpoint() terra.StringValue
type AuthenticateOidcState ¶
type AuthenticateOidcState struct { AuthenticationRequestExtraParams map[string]string `json:"authentication_request_extra_params"` AuthorizationEndpoint string `json:"authorization_endpoint"` ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` Issuer string `json:"issuer"` OnUnauthenticatedRequest string `json:"on_unauthenticated_request"` Scope string `json:"scope"` SessionCookieName string `json:"session_cookie_name"` SessionTimeout float64 `json:"session_timeout"` TokenEndpoint string `json:"token_endpoint"` UserInfoEndpoint string `json:"user_info_endpoint"` }
type Condition ¶
type Condition struct { // HostHeader: optional HostHeader *HostHeader `hcl:"host_header,block"` // HttpHeader: optional HttpHeader *HttpHeader `hcl:"http_header,block"` // HttpRequestMethod: optional HttpRequestMethod *HttpRequestMethod `hcl:"http_request_method,block"` // PathPattern: optional PathPattern *PathPattern `hcl:"path_pattern,block"` // QueryString: min=0 QueryString []QueryString `hcl:"query_string,block" validate:"min=0"` // SourceIp: optional SourceIp *SourceIp `hcl:"source_ip,block"` }
type ConditionAttributes ¶
type ConditionAttributes struct {
// contains filtered or unexported fields
}
func (ConditionAttributes) HostHeader ¶
func (c ConditionAttributes) HostHeader() terra.ListValue[HostHeaderAttributes]
func (ConditionAttributes) HttpHeader ¶
func (c ConditionAttributes) HttpHeader() terra.ListValue[HttpHeaderAttributes]
func (ConditionAttributes) HttpRequestMethod ¶
func (c ConditionAttributes) HttpRequestMethod() terra.ListValue[HttpRequestMethodAttributes]
func (ConditionAttributes) InternalRef ¶
func (c ConditionAttributes) InternalRef() (terra.Reference, error)
func (ConditionAttributes) InternalTokens ¶
func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionAttributes) InternalWithRef ¶
func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
func (ConditionAttributes) PathPattern ¶
func (c ConditionAttributes) PathPattern() terra.ListValue[PathPatternAttributes]
func (ConditionAttributes) QueryString ¶
func (c ConditionAttributes) QueryString() terra.SetValue[QueryStringAttributes]
func (ConditionAttributes) SourceIp ¶
func (c ConditionAttributes) SourceIp() terra.ListValue[SourceIpAttributes]
type ConditionState ¶
type ConditionState struct { HostHeader []HostHeaderState `json:"host_header"` HttpHeader []HttpHeaderState `json:"http_header"` HttpRequestMethod []HttpRequestMethodState `json:"http_request_method"` PathPattern []PathPatternState `json:"path_pattern"` QueryString []QueryStringState `json:"query_string"` SourceIp []SourceIpState `json:"source_ip"` }
type FixedResponse ¶
type FixedResponse struct { // ContentType: string, required ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"` // MessageBody: string, optional MessageBody terra.StringValue `hcl:"message_body,attr"` // StatusCode: string, optional StatusCode terra.StringValue `hcl:"status_code,attr"` }
type FixedResponseAttributes ¶
type FixedResponseAttributes struct {
// contains filtered or unexported fields
}
func (FixedResponseAttributes) ContentType ¶
func (fr FixedResponseAttributes) ContentType() terra.StringValue
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) MessageBody ¶
func (fr FixedResponseAttributes) MessageBody() terra.StringValue
func (FixedResponseAttributes) StatusCode ¶
func (fr FixedResponseAttributes) StatusCode() terra.StringValue
type FixedResponseState ¶
type Forward ¶
type Forward struct { // Stickiness: optional Stickiness *Stickiness `hcl:"stickiness,block"` // TargetGroup: min=2,max=5 TargetGroup []TargetGroup `hcl:"target_group,block" validate:"min=2,max=5"` }
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) Stickiness ¶
func (f ForwardAttributes) Stickiness() terra.ListValue[StickinessAttributes]
func (ForwardAttributes) TargetGroup ¶
func (f ForwardAttributes) TargetGroup() terra.SetValue[TargetGroupAttributes]
type ForwardState ¶
type ForwardState struct { Stickiness []StickinessState `json:"stickiness"` TargetGroup []TargetGroupState `json:"target_group"` }
type HostHeader ¶
type HostHeader struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type HostHeaderAttributes ¶
type HostHeaderAttributes struct {
// contains filtered or unexported fields
}
func (HostHeaderAttributes) InternalRef ¶
func (hh HostHeaderAttributes) InternalRef() (terra.Reference, error)
func (HostHeaderAttributes) InternalTokens ¶
func (hh HostHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HostHeaderAttributes) InternalWithRef ¶
func (hh HostHeaderAttributes) InternalWithRef(ref terra.Reference) HostHeaderAttributes
func (HostHeaderAttributes) Values ¶
func (hh HostHeaderAttributes) Values() terra.SetValue[terra.StringValue]
type HostHeaderState ¶
type HostHeaderState struct {
Values []string `json:"values"`
}
type HttpHeader ¶
type HttpHeader struct { // HttpHeaderName: string, required HttpHeaderName terra.StringValue `hcl:"http_header_name,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type HttpHeaderAttributes ¶
type HttpHeaderAttributes struct {
// contains filtered or unexported fields
}
func (HttpHeaderAttributes) HttpHeaderName ¶
func (hh HttpHeaderAttributes) HttpHeaderName() terra.StringValue
func (HttpHeaderAttributes) InternalRef ¶
func (hh HttpHeaderAttributes) InternalRef() (terra.Reference, error)
func (HttpHeaderAttributes) InternalTokens ¶
func (hh HttpHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpHeaderAttributes) InternalWithRef ¶
func (hh HttpHeaderAttributes) InternalWithRef(ref terra.Reference) HttpHeaderAttributes
func (HttpHeaderAttributes) Values ¶
func (hh HttpHeaderAttributes) Values() terra.SetValue[terra.StringValue]
type HttpHeaderState ¶
type HttpRequestMethod ¶
type HttpRequestMethod struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type HttpRequestMethodAttributes ¶
type HttpRequestMethodAttributes struct {
// contains filtered or unexported fields
}
func (HttpRequestMethodAttributes) InternalRef ¶
func (hrm HttpRequestMethodAttributes) InternalRef() (terra.Reference, error)
func (HttpRequestMethodAttributes) InternalTokens ¶
func (hrm HttpRequestMethodAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpRequestMethodAttributes) InternalWithRef ¶
func (hrm HttpRequestMethodAttributes) InternalWithRef(ref terra.Reference) HttpRequestMethodAttributes
func (HttpRequestMethodAttributes) Values ¶
func (hrm HttpRequestMethodAttributes) Values() terra.SetValue[terra.StringValue]
type HttpRequestMethodState ¶
type HttpRequestMethodState struct {
Values []string `json:"values"`
}
type PathPattern ¶
type PathPattern struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type PathPatternAttributes ¶
type PathPatternAttributes struct {
// contains filtered or unexported fields
}
func (PathPatternAttributes) InternalRef ¶
func (pp PathPatternAttributes) InternalRef() (terra.Reference, error)
func (PathPatternAttributes) InternalTokens ¶
func (pp PathPatternAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PathPatternAttributes) InternalWithRef ¶
func (pp PathPatternAttributes) InternalWithRef(ref terra.Reference) PathPatternAttributes
func (PathPatternAttributes) Values ¶
func (pp PathPatternAttributes) Values() terra.SetValue[terra.StringValue]
type PathPatternState ¶
type PathPatternState struct {
Values []string `json:"values"`
}
type QueryString ¶
type QueryString struct { // Key: string, optional Key terra.StringValue `hcl:"key,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type QueryStringAttributes ¶
type QueryStringAttributes struct {
// contains filtered or unexported fields
}
func (QueryStringAttributes) InternalRef ¶
func (qs QueryStringAttributes) InternalRef() (terra.Reference, error)
func (QueryStringAttributes) InternalTokens ¶
func (qs QueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryStringAttributes) InternalWithRef ¶
func (qs QueryStringAttributes) InternalWithRef(ref terra.Reference) QueryStringAttributes
func (QueryStringAttributes) Key ¶
func (qs QueryStringAttributes) Key() terra.StringValue
func (QueryStringAttributes) Value ¶
func (qs QueryStringAttributes) Value() terra.StringValue
type QueryStringState ¶
type Redirect ¶
type Redirect struct { // Host: string, optional Host terra.StringValue `hcl:"host,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: string, optional Port terra.StringValue `hcl:"port,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` // Query: string, optional Query terra.StringValue `hcl:"query,attr"` // StatusCode: string, required StatusCode terra.StringValue `hcl:"status_code,attr" validate:"required"` }
type RedirectAttributes ¶
type RedirectAttributes struct {
// contains filtered or unexported fields
}
func (RedirectAttributes) Host ¶
func (r RedirectAttributes) Host() terra.StringValue
func (RedirectAttributes) InternalRef ¶
func (r RedirectAttributes) InternalRef() (terra.Reference, error)
func (RedirectAttributes) InternalTokens ¶
func (r RedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RedirectAttributes) InternalWithRef ¶
func (r RedirectAttributes) InternalWithRef(ref terra.Reference) RedirectAttributes
func (RedirectAttributes) Path ¶
func (r RedirectAttributes) Path() terra.StringValue
func (RedirectAttributes) Port ¶
func (r RedirectAttributes) Port() terra.StringValue
func (RedirectAttributes) Protocol ¶
func (r RedirectAttributes) Protocol() terra.StringValue
func (RedirectAttributes) Query ¶
func (r RedirectAttributes) Query() terra.StringValue
func (RedirectAttributes) StatusCode ¶
func (r RedirectAttributes) StatusCode() terra.StringValue
type RedirectState ¶
type SourceIp ¶
type SourceIp struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type SourceIpAttributes ¶
type SourceIpAttributes struct {
// contains filtered or unexported fields
}
func (SourceIpAttributes) InternalRef ¶
func (si SourceIpAttributes) InternalRef() (terra.Reference, error)
func (SourceIpAttributes) InternalTokens ¶
func (si SourceIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceIpAttributes) InternalWithRef ¶
func (si SourceIpAttributes) InternalWithRef(ref terra.Reference) SourceIpAttributes
func (SourceIpAttributes) Values ¶
func (si SourceIpAttributes) Values() terra.SetValue[terra.StringValue]
type SourceIpState ¶
type SourceIpState struct {
Values []string `json:"values"`
}
type Stickiness ¶
type Stickiness struct { // Duration: number, required Duration terra.NumberValue `hcl:"duration,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` }
type StickinessAttributes ¶
type StickinessAttributes struct {
// contains filtered or unexported fields
}
func (StickinessAttributes) Duration ¶
func (s StickinessAttributes) Duration() terra.NumberValue
func (StickinessAttributes) Enabled ¶
func (s StickinessAttributes) Enabled() terra.BoolValue
func (StickinessAttributes) InternalRef ¶
func (s StickinessAttributes) InternalRef() (terra.Reference, error)
func (StickinessAttributes) InternalTokens ¶
func (s StickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StickinessAttributes) InternalWithRef ¶
func (s StickinessAttributes) InternalWithRef(ref terra.Reference) StickinessAttributes
type StickinessState ¶
type TargetGroup ¶
type TargetGroup struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,attr" validate:"required"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
type TargetGroupAttributes ¶
type TargetGroupAttributes struct {
// contains filtered or unexported fields
}
func (TargetGroupAttributes) Arn ¶
func (tg TargetGroupAttributes) Arn() terra.StringValue
func (TargetGroupAttributes) InternalRef ¶
func (tg TargetGroupAttributes) InternalRef() (terra.Reference, error)
func (TargetGroupAttributes) InternalTokens ¶
func (tg TargetGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetGroupAttributes) InternalWithRef ¶
func (tg TargetGroupAttributes) InternalWithRef(ref terra.Reference) TargetGroupAttributes
func (TargetGroupAttributes) Weight ¶
func (tg TargetGroupAttributes) Weight() terra.NumberValue
type TargetGroupState ¶
Click to show internal directories.
Click to hide internal directories.