Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) AuthenticateCognito() terra.ListValue[ActionAuthenticateCognitoAttributes]
- func (a ActionAttributes) AuthenticateOidc() terra.ListValue[ActionAuthenticateOidcAttributes]
- func (a ActionAttributes) FixedResponse() terra.ListValue[ActionFixedResponseAttributes]
- func (a ActionAttributes) Forward() terra.ListValue[ActionForwardAttributes]
- 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[ActionRedirectAttributes]
- func (a ActionAttributes) TargetGroupArn() terra.StringValue
- func (a ActionAttributes) Type() terra.StringValue
- type ActionAuthenticateCognito
- type ActionAuthenticateCognitoAttributes
- func (ac ActionAuthenticateCognitoAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
- func (ac ActionAuthenticateCognitoAttributes) InternalRef() (terra.Reference, error)
- func (ac ActionAuthenticateCognitoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac ActionAuthenticateCognitoAttributes) InternalWithRef(ref terra.Reference) ActionAuthenticateCognitoAttributes
- func (ac ActionAuthenticateCognitoAttributes) OnUnauthenticatedRequest() terra.StringValue
- func (ac ActionAuthenticateCognitoAttributes) Scope() terra.StringValue
- func (ac ActionAuthenticateCognitoAttributes) SessionCookieName() terra.StringValue
- func (ac ActionAuthenticateCognitoAttributes) SessionTimeout() terra.NumberValue
- func (ac ActionAuthenticateCognitoAttributes) UserPoolArn() terra.StringValue
- func (ac ActionAuthenticateCognitoAttributes) UserPoolClientId() terra.StringValue
- func (ac ActionAuthenticateCognitoAttributes) UserPoolDomain() terra.StringValue
- type ActionAuthenticateCognitoState
- type ActionAuthenticateOidc
- type ActionAuthenticateOidcAttributes
- func (ao ActionAuthenticateOidcAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
- func (ao ActionAuthenticateOidcAttributes) AuthorizationEndpoint() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) ClientId() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) ClientSecret() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) InternalRef() (terra.Reference, error)
- func (ao ActionAuthenticateOidcAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ao ActionAuthenticateOidcAttributes) InternalWithRef(ref terra.Reference) ActionAuthenticateOidcAttributes
- func (ao ActionAuthenticateOidcAttributes) Issuer() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) OnUnauthenticatedRequest() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) Scope() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) SessionCookieName() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) SessionTimeout() terra.NumberValue
- func (ao ActionAuthenticateOidcAttributes) TokenEndpoint() terra.StringValue
- func (ao ActionAuthenticateOidcAttributes) UserInfoEndpoint() terra.StringValue
- type ActionAuthenticateOidcState
- type ActionFixedResponse
- type ActionFixedResponseAttributes
- func (fr ActionFixedResponseAttributes) ContentType() terra.StringValue
- func (fr ActionFixedResponseAttributes) InternalRef() (terra.Reference, error)
- func (fr ActionFixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fr ActionFixedResponseAttributes) InternalWithRef(ref terra.Reference) ActionFixedResponseAttributes
- func (fr ActionFixedResponseAttributes) MessageBody() terra.StringValue
- func (fr ActionFixedResponseAttributes) StatusCode() terra.StringValue
- type ActionFixedResponseState
- type ActionForward
- type ActionForwardAttributes
- func (f ActionForwardAttributes) InternalRef() (terra.Reference, error)
- func (f ActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f ActionForwardAttributes) InternalWithRef(ref terra.Reference) ActionForwardAttributes
- func (f ActionForwardAttributes) Stickiness() terra.ListValue[ActionForwardStickinessAttributes]
- func (f ActionForwardAttributes) TargetGroup() terra.SetValue[ActionForwardTargetGroupAttributes]
- type ActionForwardState
- type ActionForwardStickiness
- type ActionForwardStickinessAttributes
- func (s ActionForwardStickinessAttributes) Duration() terra.NumberValue
- func (s ActionForwardStickinessAttributes) Enabled() terra.BoolValue
- func (s ActionForwardStickinessAttributes) InternalRef() (terra.Reference, error)
- func (s ActionForwardStickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ActionForwardStickinessAttributes) InternalWithRef(ref terra.Reference) ActionForwardStickinessAttributes
- type ActionForwardStickinessState
- type ActionForwardTargetGroup
- type ActionForwardTargetGroupAttributes
- func (tg ActionForwardTargetGroupAttributes) Arn() terra.StringValue
- func (tg ActionForwardTargetGroupAttributes) InternalRef() (terra.Reference, error)
- func (tg ActionForwardTargetGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg ActionForwardTargetGroupAttributes) InternalWithRef(ref terra.Reference) ActionForwardTargetGroupAttributes
- func (tg ActionForwardTargetGroupAttributes) Weight() terra.NumberValue
- type ActionForwardTargetGroupState
- type ActionRedirect
- type ActionRedirectAttributes
- func (r ActionRedirectAttributes) Host() terra.StringValue
- func (r ActionRedirectAttributes) InternalRef() (terra.Reference, error)
- func (r ActionRedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ActionRedirectAttributes) InternalWithRef(ref terra.Reference) ActionRedirectAttributes
- func (r ActionRedirectAttributes) Path() terra.StringValue
- func (r ActionRedirectAttributes) Port() terra.StringValue
- func (r ActionRedirectAttributes) Protocol() terra.StringValue
- func (r ActionRedirectAttributes) Query() terra.StringValue
- func (r ActionRedirectAttributes) StatusCode() terra.StringValue
- type ActionRedirectState
- type ActionState
- type Args
- type Condition
- type ConditionAttributes
- func (c ConditionAttributes) HostHeader() terra.ListValue[ConditionHostHeaderAttributes]
- func (c ConditionAttributes) HttpHeader() terra.ListValue[ConditionHttpHeaderAttributes]
- func (c ConditionAttributes) HttpRequestMethod() terra.ListValue[ConditionHttpRequestMethodAttributes]
- 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[ConditionPathPatternAttributes]
- func (c ConditionAttributes) QueryString() terra.SetValue[ConditionQueryStringAttributes]
- func (c ConditionAttributes) SourceIp() terra.ListValue[ConditionSourceIpAttributes]
- type ConditionHostHeader
- type ConditionHostHeaderAttributes
- func (hh ConditionHostHeaderAttributes) InternalRef() (terra.Reference, error)
- func (hh ConditionHostHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hh ConditionHostHeaderAttributes) InternalWithRef(ref terra.Reference) ConditionHostHeaderAttributes
- func (hh ConditionHostHeaderAttributes) Values() terra.SetValue[terra.StringValue]
- type ConditionHostHeaderState
- type ConditionHttpHeader
- type ConditionHttpHeaderAttributes
- func (hh ConditionHttpHeaderAttributes) HttpHeaderName() terra.StringValue
- func (hh ConditionHttpHeaderAttributes) InternalRef() (terra.Reference, error)
- func (hh ConditionHttpHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hh ConditionHttpHeaderAttributes) InternalWithRef(ref terra.Reference) ConditionHttpHeaderAttributes
- func (hh ConditionHttpHeaderAttributes) Values() terra.SetValue[terra.StringValue]
- type ConditionHttpHeaderState
- type ConditionHttpRequestMethod
- type ConditionHttpRequestMethodAttributes
- func (hrm ConditionHttpRequestMethodAttributes) InternalRef() (terra.Reference, error)
- func (hrm ConditionHttpRequestMethodAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hrm ConditionHttpRequestMethodAttributes) InternalWithRef(ref terra.Reference) ConditionHttpRequestMethodAttributes
- func (hrm ConditionHttpRequestMethodAttributes) Values() terra.SetValue[terra.StringValue]
- type ConditionHttpRequestMethodState
- type ConditionPathPattern
- type ConditionPathPatternAttributes
- func (pp ConditionPathPatternAttributes) InternalRef() (terra.Reference, error)
- func (pp ConditionPathPatternAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pp ConditionPathPatternAttributes) InternalWithRef(ref terra.Reference) ConditionPathPatternAttributes
- func (pp ConditionPathPatternAttributes) Values() terra.SetValue[terra.StringValue]
- type ConditionPathPatternState
- type ConditionQueryString
- type ConditionQueryStringAttributes
- func (qs ConditionQueryStringAttributes) InternalRef() (terra.Reference, error)
- func (qs ConditionQueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qs ConditionQueryStringAttributes) InternalWithRef(ref terra.Reference) ConditionQueryStringAttributes
- func (qs ConditionQueryStringAttributes) Key() terra.StringValue
- func (qs ConditionQueryStringAttributes) Value() terra.StringValue
- type ConditionQueryStringState
- type ConditionSourceIp
- type ConditionSourceIpAttributes
- func (si ConditionSourceIpAttributes) InternalRef() (terra.Reference, error)
- func (si ConditionSourceIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (si ConditionSourceIpAttributes) InternalWithRef(ref terra.Reference) ConditionSourceIpAttributes
- func (si ConditionSourceIpAttributes) Values() terra.SetValue[terra.StringValue]
- type ConditionSourceIpState
- type ConditionState
- type Resource
- func (allr *Resource) Attributes() awsLbListenerRuleAttributes
- func (allr *Resource) Configuration() interface{}
- func (allr *Resource) DependOn() terra.Reference
- func (allr *Resource) Dependencies() terra.Dependencies
- func (allr *Resource) ImportState(state io.Reader) error
- func (allr *Resource) LifecycleManagement() *terra.Lifecycle
- func (allr *Resource) LocalName() string
- func (allr *Resource) State() (*awsLbListenerRuleState, bool)
- func (allr *Resource) StateMust() *awsLbListenerRuleState
- func (allr *Resource) Type() string
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"` // ActionAuthenticateCognito: optional AuthenticateCognito *ActionAuthenticateCognito `hcl:"authenticate_cognito,block"` // ActionAuthenticateOidc: optional AuthenticateOidc *ActionAuthenticateOidc `hcl:"authenticate_oidc,block"` // ActionFixedResponse: optional FixedResponse *ActionFixedResponse `hcl:"fixed_response,block"` // ActionForward: optional Forward *ActionForward `hcl:"forward,block"` // ActionRedirect: optional Redirect *ActionRedirect `hcl:"redirect,block"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) AuthenticateCognito ¶
func (a ActionAttributes) AuthenticateCognito() terra.ListValue[ActionAuthenticateCognitoAttributes]
func (ActionAttributes) AuthenticateOidc ¶
func (a ActionAttributes) AuthenticateOidc() terra.ListValue[ActionAuthenticateOidcAttributes]
func (ActionAttributes) FixedResponse ¶
func (a ActionAttributes) FixedResponse() terra.ListValue[ActionFixedResponseAttributes]
func (ActionAttributes) Forward ¶
func (a ActionAttributes) Forward() terra.ListValue[ActionForwardAttributes]
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[ActionRedirectAttributes]
func (ActionAttributes) TargetGroupArn ¶
func (a ActionAttributes) TargetGroupArn() terra.StringValue
func (ActionAttributes) Type ¶
func (a ActionAttributes) Type() terra.StringValue
type ActionAuthenticateCognito ¶
type ActionAuthenticateCognito 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 ActionAuthenticateCognitoAttributes ¶
type ActionAuthenticateCognitoAttributes struct {
// contains filtered or unexported fields
}
func (ActionAuthenticateCognitoAttributes) AuthenticationRequestExtraParams ¶
func (ac ActionAuthenticateCognitoAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
func (ActionAuthenticateCognitoAttributes) InternalRef ¶
func (ac ActionAuthenticateCognitoAttributes) InternalRef() (terra.Reference, error)
func (ActionAuthenticateCognitoAttributes) InternalTokens ¶
func (ac ActionAuthenticateCognitoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAuthenticateCognitoAttributes) InternalWithRef ¶
func (ac ActionAuthenticateCognitoAttributes) InternalWithRef(ref terra.Reference) ActionAuthenticateCognitoAttributes
func (ActionAuthenticateCognitoAttributes) OnUnauthenticatedRequest ¶
func (ac ActionAuthenticateCognitoAttributes) OnUnauthenticatedRequest() terra.StringValue
func (ActionAuthenticateCognitoAttributes) Scope ¶
func (ac ActionAuthenticateCognitoAttributes) Scope() terra.StringValue
func (ActionAuthenticateCognitoAttributes) SessionCookieName ¶
func (ac ActionAuthenticateCognitoAttributes) SessionCookieName() terra.StringValue
func (ActionAuthenticateCognitoAttributes) SessionTimeout ¶
func (ac ActionAuthenticateCognitoAttributes) SessionTimeout() terra.NumberValue
func (ActionAuthenticateCognitoAttributes) UserPoolArn ¶
func (ac ActionAuthenticateCognitoAttributes) UserPoolArn() terra.StringValue
func (ActionAuthenticateCognitoAttributes) UserPoolClientId ¶
func (ac ActionAuthenticateCognitoAttributes) UserPoolClientId() terra.StringValue
func (ActionAuthenticateCognitoAttributes) UserPoolDomain ¶
func (ac ActionAuthenticateCognitoAttributes) UserPoolDomain() terra.StringValue
type ActionAuthenticateCognitoState ¶
type ActionAuthenticateCognitoState 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 ActionAuthenticateOidc ¶
type ActionAuthenticateOidc 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 ActionAuthenticateOidcAttributes ¶
type ActionAuthenticateOidcAttributes struct {
// contains filtered or unexported fields
}
func (ActionAuthenticateOidcAttributes) AuthenticationRequestExtraParams ¶
func (ao ActionAuthenticateOidcAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]
func (ActionAuthenticateOidcAttributes) AuthorizationEndpoint ¶
func (ao ActionAuthenticateOidcAttributes) AuthorizationEndpoint() terra.StringValue
func (ActionAuthenticateOidcAttributes) ClientId ¶
func (ao ActionAuthenticateOidcAttributes) ClientId() terra.StringValue
func (ActionAuthenticateOidcAttributes) ClientSecret ¶
func (ao ActionAuthenticateOidcAttributes) ClientSecret() terra.StringValue
func (ActionAuthenticateOidcAttributes) InternalRef ¶
func (ao ActionAuthenticateOidcAttributes) InternalRef() (terra.Reference, error)
func (ActionAuthenticateOidcAttributes) InternalTokens ¶
func (ao ActionAuthenticateOidcAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAuthenticateOidcAttributes) InternalWithRef ¶
func (ao ActionAuthenticateOidcAttributes) InternalWithRef(ref terra.Reference) ActionAuthenticateOidcAttributes
func (ActionAuthenticateOidcAttributes) Issuer ¶
func (ao ActionAuthenticateOidcAttributes) Issuer() terra.StringValue
func (ActionAuthenticateOidcAttributes) OnUnauthenticatedRequest ¶
func (ao ActionAuthenticateOidcAttributes) OnUnauthenticatedRequest() terra.StringValue
func (ActionAuthenticateOidcAttributes) Scope ¶
func (ao ActionAuthenticateOidcAttributes) Scope() terra.StringValue
func (ActionAuthenticateOidcAttributes) SessionCookieName ¶
func (ao ActionAuthenticateOidcAttributes) SessionCookieName() terra.StringValue
func (ActionAuthenticateOidcAttributes) SessionTimeout ¶
func (ao ActionAuthenticateOidcAttributes) SessionTimeout() terra.NumberValue
func (ActionAuthenticateOidcAttributes) TokenEndpoint ¶
func (ao ActionAuthenticateOidcAttributes) TokenEndpoint() terra.StringValue
func (ActionAuthenticateOidcAttributes) UserInfoEndpoint ¶
func (ao ActionAuthenticateOidcAttributes) UserInfoEndpoint() terra.StringValue
type ActionAuthenticateOidcState ¶
type ActionAuthenticateOidcState 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 ActionFixedResponse ¶
type ActionFixedResponse 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 ActionFixedResponseAttributes ¶
type ActionFixedResponseAttributes struct {
// contains filtered or unexported fields
}
func (ActionFixedResponseAttributes) ContentType ¶
func (fr ActionFixedResponseAttributes) ContentType() terra.StringValue
func (ActionFixedResponseAttributes) InternalRef ¶
func (fr ActionFixedResponseAttributes) InternalRef() (terra.Reference, error)
func (ActionFixedResponseAttributes) InternalTokens ¶
func (fr ActionFixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionFixedResponseAttributes) InternalWithRef ¶
func (fr ActionFixedResponseAttributes) InternalWithRef(ref terra.Reference) ActionFixedResponseAttributes
func (ActionFixedResponseAttributes) MessageBody ¶
func (fr ActionFixedResponseAttributes) MessageBody() terra.StringValue
func (ActionFixedResponseAttributes) StatusCode ¶
func (fr ActionFixedResponseAttributes) StatusCode() terra.StringValue
type ActionForward ¶
type ActionForward struct { // ActionForwardStickiness: optional Stickiness *ActionForwardStickiness `hcl:"stickiness,block"` // ActionForwardTargetGroup: min=2,max=5 TargetGroup []ActionForwardTargetGroup `hcl:"target_group,block" validate:"min=2,max=5"` }
type ActionForwardAttributes ¶
type ActionForwardAttributes struct {
// contains filtered or unexported fields
}
func (ActionForwardAttributes) InternalRef ¶
func (f ActionForwardAttributes) InternalRef() (terra.Reference, error)
func (ActionForwardAttributes) InternalTokens ¶
func (f ActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionForwardAttributes) InternalWithRef ¶
func (f ActionForwardAttributes) InternalWithRef(ref terra.Reference) ActionForwardAttributes
func (ActionForwardAttributes) Stickiness ¶
func (f ActionForwardAttributes) Stickiness() terra.ListValue[ActionForwardStickinessAttributes]
func (ActionForwardAttributes) TargetGroup ¶
func (f ActionForwardAttributes) TargetGroup() terra.SetValue[ActionForwardTargetGroupAttributes]
type ActionForwardState ¶
type ActionForwardState struct { Stickiness []ActionForwardStickinessState `json:"stickiness"` TargetGroup []ActionForwardTargetGroupState `json:"target_group"` }
type ActionForwardStickiness ¶
type ActionForwardStickiness struct { // Duration: number, required Duration terra.NumberValue `hcl:"duration,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` }
type ActionForwardStickinessAttributes ¶
type ActionForwardStickinessAttributes struct {
// contains filtered or unexported fields
}
func (ActionForwardStickinessAttributes) Duration ¶
func (s ActionForwardStickinessAttributes) Duration() terra.NumberValue
func (ActionForwardStickinessAttributes) Enabled ¶
func (s ActionForwardStickinessAttributes) Enabled() terra.BoolValue
func (ActionForwardStickinessAttributes) InternalRef ¶
func (s ActionForwardStickinessAttributes) InternalRef() (terra.Reference, error)
func (ActionForwardStickinessAttributes) InternalTokens ¶
func (s ActionForwardStickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionForwardStickinessAttributes) InternalWithRef ¶
func (s ActionForwardStickinessAttributes) InternalWithRef(ref terra.Reference) ActionForwardStickinessAttributes
type ActionForwardTargetGroup ¶
type ActionForwardTargetGroup struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,attr" validate:"required"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
type ActionForwardTargetGroupAttributes ¶
type ActionForwardTargetGroupAttributes struct {
// contains filtered or unexported fields
}
func (ActionForwardTargetGroupAttributes) Arn ¶
func (tg ActionForwardTargetGroupAttributes) Arn() terra.StringValue
func (ActionForwardTargetGroupAttributes) InternalRef ¶
func (tg ActionForwardTargetGroupAttributes) InternalRef() (terra.Reference, error)
func (ActionForwardTargetGroupAttributes) InternalTokens ¶
func (tg ActionForwardTargetGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionForwardTargetGroupAttributes) InternalWithRef ¶
func (tg ActionForwardTargetGroupAttributes) InternalWithRef(ref terra.Reference) ActionForwardTargetGroupAttributes
func (ActionForwardTargetGroupAttributes) Weight ¶
func (tg ActionForwardTargetGroupAttributes) Weight() terra.NumberValue
type ActionRedirect ¶
type ActionRedirect 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 ActionRedirectAttributes ¶
type ActionRedirectAttributes struct {
// contains filtered or unexported fields
}
func (ActionRedirectAttributes) Host ¶
func (r ActionRedirectAttributes) Host() terra.StringValue
func (ActionRedirectAttributes) InternalRef ¶
func (r ActionRedirectAttributes) InternalRef() (terra.Reference, error)
func (ActionRedirectAttributes) InternalTokens ¶
func (r ActionRedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionRedirectAttributes) InternalWithRef ¶
func (r ActionRedirectAttributes) InternalWithRef(ref terra.Reference) ActionRedirectAttributes
func (ActionRedirectAttributes) Path ¶
func (r ActionRedirectAttributes) Path() terra.StringValue
func (ActionRedirectAttributes) Port ¶
func (r ActionRedirectAttributes) Port() terra.StringValue
func (ActionRedirectAttributes) Protocol ¶
func (r ActionRedirectAttributes) Protocol() terra.StringValue
func (ActionRedirectAttributes) Query ¶
func (r ActionRedirectAttributes) Query() terra.StringValue
func (ActionRedirectAttributes) StatusCode ¶
func (r ActionRedirectAttributes) StatusCode() terra.StringValue
type ActionRedirectState ¶
type ActionState ¶
type ActionState struct { Order float64 `json:"order"` TargetGroupArn string `json:"target_group_arn"` Type string `json:"type"` AuthenticateCognito []ActionAuthenticateCognitoState `json:"authenticate_cognito"` AuthenticateOidc []ActionAuthenticateOidcState `json:"authenticate_oidc"` FixedResponse []ActionFixedResponseState `json:"fixed_response"` Forward []ActionForwardState `json:"forward"` Redirect []ActionRedirectState `json:"redirect"` }
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ListenerArn: string, required ListenerArn terra.StringValue `hcl:"listener_arn,attr" validate:"required"` // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // 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"` // Action: min=1 Action []Action `hcl:"action,block" validate:"min=1"` // Condition: min=1 Condition []Condition `hcl:"condition,block" validate:"min=1"` }
Args contains the configurations for aws_lb_listener_rule.
type Condition ¶
type Condition struct { // ConditionHostHeader: optional HostHeader *ConditionHostHeader `hcl:"host_header,block"` // ConditionHttpHeader: optional HttpHeader *ConditionHttpHeader `hcl:"http_header,block"` // ConditionHttpRequestMethod: optional HttpRequestMethod *ConditionHttpRequestMethod `hcl:"http_request_method,block"` // ConditionPathPattern: optional PathPattern *ConditionPathPattern `hcl:"path_pattern,block"` // ConditionQueryString: min=0 QueryString []ConditionQueryString `hcl:"query_string,block" validate:"min=0"` // ConditionSourceIp: optional SourceIp *ConditionSourceIp `hcl:"source_ip,block"` }
type ConditionAttributes ¶
type ConditionAttributes struct {
// contains filtered or unexported fields
}
func (ConditionAttributes) HostHeader ¶
func (c ConditionAttributes) HostHeader() terra.ListValue[ConditionHostHeaderAttributes]
func (ConditionAttributes) HttpHeader ¶
func (c ConditionAttributes) HttpHeader() terra.ListValue[ConditionHttpHeaderAttributes]
func (ConditionAttributes) HttpRequestMethod ¶
func (c ConditionAttributes) HttpRequestMethod() terra.ListValue[ConditionHttpRequestMethodAttributes]
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[ConditionPathPatternAttributes]
func (ConditionAttributes) QueryString ¶
func (c ConditionAttributes) QueryString() terra.SetValue[ConditionQueryStringAttributes]
func (ConditionAttributes) SourceIp ¶
func (c ConditionAttributes) SourceIp() terra.ListValue[ConditionSourceIpAttributes]
type ConditionHostHeader ¶
type ConditionHostHeader struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type ConditionHostHeaderAttributes ¶
type ConditionHostHeaderAttributes struct {
// contains filtered or unexported fields
}
func (ConditionHostHeaderAttributes) InternalRef ¶
func (hh ConditionHostHeaderAttributes) InternalRef() (terra.Reference, error)
func (ConditionHostHeaderAttributes) InternalTokens ¶
func (hh ConditionHostHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionHostHeaderAttributes) InternalWithRef ¶
func (hh ConditionHostHeaderAttributes) InternalWithRef(ref terra.Reference) ConditionHostHeaderAttributes
func (ConditionHostHeaderAttributes) Values ¶
func (hh ConditionHostHeaderAttributes) Values() terra.SetValue[terra.StringValue]
type ConditionHostHeaderState ¶
type ConditionHostHeaderState struct {
Values []string `json:"values"`
}
type ConditionHttpHeader ¶
type ConditionHttpHeader 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 ConditionHttpHeaderAttributes ¶
type ConditionHttpHeaderAttributes struct {
// contains filtered or unexported fields
}
func (ConditionHttpHeaderAttributes) HttpHeaderName ¶
func (hh ConditionHttpHeaderAttributes) HttpHeaderName() terra.StringValue
func (ConditionHttpHeaderAttributes) InternalRef ¶
func (hh ConditionHttpHeaderAttributes) InternalRef() (terra.Reference, error)
func (ConditionHttpHeaderAttributes) InternalTokens ¶
func (hh ConditionHttpHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionHttpHeaderAttributes) InternalWithRef ¶
func (hh ConditionHttpHeaderAttributes) InternalWithRef(ref terra.Reference) ConditionHttpHeaderAttributes
func (ConditionHttpHeaderAttributes) Values ¶
func (hh ConditionHttpHeaderAttributes) Values() terra.SetValue[terra.StringValue]
type ConditionHttpRequestMethod ¶
type ConditionHttpRequestMethod struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type ConditionHttpRequestMethodAttributes ¶
type ConditionHttpRequestMethodAttributes struct {
// contains filtered or unexported fields
}
func (ConditionHttpRequestMethodAttributes) InternalRef ¶
func (hrm ConditionHttpRequestMethodAttributes) InternalRef() (terra.Reference, error)
func (ConditionHttpRequestMethodAttributes) InternalTokens ¶
func (hrm ConditionHttpRequestMethodAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionHttpRequestMethodAttributes) InternalWithRef ¶
func (hrm ConditionHttpRequestMethodAttributes) InternalWithRef(ref terra.Reference) ConditionHttpRequestMethodAttributes
func (ConditionHttpRequestMethodAttributes) Values ¶
func (hrm ConditionHttpRequestMethodAttributes) Values() terra.SetValue[terra.StringValue]
type ConditionHttpRequestMethodState ¶
type ConditionHttpRequestMethodState struct {
Values []string `json:"values"`
}
type ConditionPathPattern ¶
type ConditionPathPattern struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type ConditionPathPatternAttributes ¶
type ConditionPathPatternAttributes struct {
// contains filtered or unexported fields
}
func (ConditionPathPatternAttributes) InternalRef ¶
func (pp ConditionPathPatternAttributes) InternalRef() (terra.Reference, error)
func (ConditionPathPatternAttributes) InternalTokens ¶
func (pp ConditionPathPatternAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionPathPatternAttributes) InternalWithRef ¶
func (pp ConditionPathPatternAttributes) InternalWithRef(ref terra.Reference) ConditionPathPatternAttributes
func (ConditionPathPatternAttributes) Values ¶
func (pp ConditionPathPatternAttributes) Values() terra.SetValue[terra.StringValue]
type ConditionPathPatternState ¶
type ConditionPathPatternState struct {
Values []string `json:"values"`
}
type ConditionQueryString ¶
type ConditionQueryString struct { // Key: string, optional Key terra.StringValue `hcl:"key,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ConditionQueryStringAttributes ¶
type ConditionQueryStringAttributes struct {
// contains filtered or unexported fields
}
func (ConditionQueryStringAttributes) InternalRef ¶
func (qs ConditionQueryStringAttributes) InternalRef() (terra.Reference, error)
func (ConditionQueryStringAttributes) InternalTokens ¶
func (qs ConditionQueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionQueryStringAttributes) InternalWithRef ¶
func (qs ConditionQueryStringAttributes) InternalWithRef(ref terra.Reference) ConditionQueryStringAttributes
func (ConditionQueryStringAttributes) Key ¶
func (qs ConditionQueryStringAttributes) Key() terra.StringValue
func (ConditionQueryStringAttributes) Value ¶
func (qs ConditionQueryStringAttributes) Value() terra.StringValue
type ConditionSourceIp ¶
type ConditionSourceIp struct { // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type ConditionSourceIpAttributes ¶
type ConditionSourceIpAttributes struct {
// contains filtered or unexported fields
}
func (ConditionSourceIpAttributes) InternalRef ¶
func (si ConditionSourceIpAttributes) InternalRef() (terra.Reference, error)
func (ConditionSourceIpAttributes) InternalTokens ¶
func (si ConditionSourceIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionSourceIpAttributes) InternalWithRef ¶
func (si ConditionSourceIpAttributes) InternalWithRef(ref terra.Reference) ConditionSourceIpAttributes
func (ConditionSourceIpAttributes) Values ¶
func (si ConditionSourceIpAttributes) Values() terra.SetValue[terra.StringValue]
type ConditionSourceIpState ¶
type ConditionSourceIpState struct {
Values []string `json:"values"`
}
type ConditionState ¶
type ConditionState struct { HostHeader []ConditionHostHeaderState `json:"host_header"` HttpHeader []ConditionHttpHeaderState `json:"http_header"` HttpRequestMethod []ConditionHttpRequestMethodState `json:"http_request_method"` PathPattern []ConditionPathPatternState `json:"path_pattern"` QueryString []ConditionQueryStringState `json:"query_string"` SourceIp []ConditionSourceIpState `json:"source_ip"` }
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_lb_listener_rule.
func (*Resource) Attributes ¶
func (allr *Resource) Attributes() awsLbListenerRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (allr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (allr *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.