Documentation ¶
Index ¶
- 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 DefaultAction
- type DefaultActionAttributes
- func (da DefaultActionAttributes) AuthenticateCognito() terra.ListValue[AuthenticateCognitoAttributes]
- func (da DefaultActionAttributes) AuthenticateOidc() terra.ListValue[AuthenticateOidcAttributes]
- func (da DefaultActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
- func (da DefaultActionAttributes) Forward() terra.ListValue[ForwardAttributes]
- func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
- func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
- func (da DefaultActionAttributes) Order() terra.NumberValue
- func (da DefaultActionAttributes) Redirect() terra.ListValue[RedirectAttributes]
- func (da DefaultActionAttributes) TargetGroupArn() terra.StringValue
- func (da DefaultActionAttributes) Type() terra.StringValue
- type DefaultActionState
- 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 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 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
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
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 (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 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 (da DefaultActionAttributes) AuthenticateCognito() terra.ListValue[AuthenticateCognitoAttributes]
func (DefaultActionAttributes) AuthenticateOidc ¶
func (da DefaultActionAttributes) AuthenticateOidc() terra.ListValue[AuthenticateOidcAttributes]
func (DefaultActionAttributes) FixedResponse ¶
func (da DefaultActionAttributes) FixedResponse() terra.ListValue[FixedResponseAttributes]
func (DefaultActionAttributes) Forward ¶
func (da DefaultActionAttributes) Forward() terra.ListValue[ForwardAttributes]
func (DefaultActionAttributes) InternalRef ¶
func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionAttributes) InternalTokens ¶
func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionAttributes) InternalWithRef ¶
func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
func (DefaultActionAttributes) Order ¶
func (da DefaultActionAttributes) Order() terra.NumberValue
func (DefaultActionAttributes) Redirect ¶
func (da DefaultActionAttributes) Redirect() terra.ListValue[RedirectAttributes]
func (DefaultActionAttributes) TargetGroupArn ¶
func (da DefaultActionAttributes) TargetGroupArn() terra.StringValue
func (DefaultActionAttributes) Type ¶
func (da DefaultActionAttributes) Type() terra.StringValue
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 (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=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 (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 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 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 ¶
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 ¶
func (t TimeoutsAttributes) Read() terra.StringValue
type TimeoutsState ¶
type TimeoutsState struct {
Read string `json:"read"`
}
Click to show internal directories.
Click to hide internal directories.