lblistener

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 (AuthenticateCognitoAttributes) OnUnauthenticatedRequest

func (ac AuthenticateCognitoAttributes) OnUnauthenticatedRequest() terra.StringValue

func (AuthenticateCognitoAttributes) Scope

func (AuthenticateCognitoAttributes) SessionCookieName

func (ac AuthenticateCognitoAttributes) SessionCookieName() terra.StringValue

func (AuthenticateCognitoAttributes) SessionTimeout

func (ac AuthenticateCognitoAttributes) SessionTimeout() terra.NumberValue

func (AuthenticateCognitoAttributes) UserPoolArn

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 (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 (AuthenticateOidcAttributes) Issuer

func (AuthenticateOidcAttributes) OnUnauthenticatedRequest

func (ao AuthenticateOidcAttributes) OnUnauthenticatedRequest() terra.StringValue

func (AuthenticateOidcAttributes) Scope

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 DefaultAction

type DefaultAction 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 DefaultActionAttributes

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

func (DefaultActionAttributes) AuthenticateCognito

func (DefaultActionAttributes) AuthenticateOidc

func (DefaultActionAttributes) FixedResponse

func (DefaultActionAttributes) Forward

func (DefaultActionAttributes) InternalRef

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

func (DefaultActionAttributes) InternalTokens

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

func (DefaultActionAttributes) InternalWithRef

func (DefaultActionAttributes) Order

func (DefaultActionAttributes) Redirect

func (DefaultActionAttributes) TargetGroupArn

func (da DefaultActionAttributes) TargetGroupArn() terra.StringValue

func (DefaultActionAttributes) Type

type DefaultActionState

type DefaultActionState 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 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 (FixedResponseAttributes) MessageBody

func (fr FixedResponseAttributes) MessageBody() terra.StringValue

func (FixedResponseAttributes) StatusCode

func (fr FixedResponseAttributes) StatusCode() terra.StringValue

type FixedResponseState

type FixedResponseState struct {
	ContentType string `json:"content_type"`
	MessageBody string `json:"message_body"`
	StatusCode  string `json:"status_code"`
}

type Forward

type Forward struct {
	// Stickiness: optional
	Stickiness *Stickiness `hcl:"stickiness,block"`
	// TargetGroup: min=1,max=5
	TargetGroup []TargetGroup `hcl:"target_group,block" validate:"min=1,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 (ForwardAttributes) TargetGroup

type ForwardState

type ForwardState struct {
	Stickiness  []StickinessState  `json:"stickiness"`
	TargetGroup []TargetGroupState `json:"target_group"`
}

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 (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 (RedirectAttributes) Port

func (RedirectAttributes) Protocol

func (r RedirectAttributes) Protocol() terra.StringValue

func (RedirectAttributes) Query

func (RedirectAttributes) StatusCode

func (r RedirectAttributes) StatusCode() terra.StringValue

type RedirectState

type RedirectState struct {
	Host       string `json:"host"`
	Path       string `json:"path"`
	Port       string `json:"port"`
	Protocol   string `json:"protocol"`
	Query      string `json:"query"`
	StatusCode string `json:"status_code"`
}

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

type StickinessState

type StickinessState struct {
	Duration float64 `json:"duration"`
	Enabled  bool    `json:"enabled"`
}

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 (TargetGroupAttributes) InternalRef

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

func (TargetGroupAttributes) InternalTokens

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

func (TargetGroupAttributes) InternalWithRef

func (TargetGroupAttributes) Weight

type TargetGroupState

type TargetGroupState struct {
	Arn    string  `json:"arn"`
	Weight float64 `json:"weight"`
}

type Timeouts

type Timeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) InternalRef

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

func (TimeoutsAttributes) InternalTokens

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

func (TimeoutsAttributes) InternalWithRef

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

func (TimeoutsAttributes) Read

type TimeoutsState

type TimeoutsState struct {
	Read string `json:"read"`
}

Jump to

Keyboard shortcuts

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