aws_lb_listener

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AlpnPolicy: string, optional
	AlpnPolicy terra.StringValue `hcl:"alpn_policy,attr"`
	// CertificateArn: string, optional
	CertificateArn terra.StringValue `hcl:"certificate_arn,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LoadBalancerArn: string, required
	LoadBalancerArn terra.StringValue `hcl:"load_balancer_arn,attr" validate:"required"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Protocol: string, optional
	Protocol terra.StringValue `hcl:"protocol,attr"`
	// SslPolicy: string, optional
	SslPolicy terra.StringValue `hcl:"ssl_policy,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"`
	// DefaultAction: min=1
	DefaultAction []DefaultAction `hcl:"default_action,block" validate:"min=1"`
	// MutualAuthentication: optional
	MutualAuthentication *MutualAuthentication `hcl:"mutual_authentication,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_lb_listener.

type DataArgs

type DataArgs struct {
	// Arn: string, optional
	Arn terra.StringValue `hcl:"arn,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LoadBalancerArn: string, optional
	LoadBalancerArn terra.StringValue `hcl:"load_balancer_arn,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for aws_lb_listener.

type DataDefaultActionAttributes

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

func (DataDefaultActionAttributes) AuthenticateCognito

func (DataDefaultActionAttributes) AuthenticateOidc

func (DataDefaultActionAttributes) FixedResponse

func (DataDefaultActionAttributes) Forward

func (DataDefaultActionAttributes) InternalRef

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

func (DataDefaultActionAttributes) InternalTokens

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

func (DataDefaultActionAttributes) InternalWithRef

func (DataDefaultActionAttributes) Order

func (DataDefaultActionAttributes) Redirect

func (DataDefaultActionAttributes) TargetGroupArn

func (da DataDefaultActionAttributes) TargetGroupArn() terra.StringValue

func (DataDefaultActionAttributes) Type

type DataDefaultActionAuthenticateCognitoAttributes

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

func (DataDefaultActionAuthenticateCognitoAttributes) AuthenticationRequestExtraParams

func (ac DataDefaultActionAuthenticateCognitoAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]

func (DataDefaultActionAuthenticateCognitoAttributes) InternalRef

func (DataDefaultActionAuthenticateCognitoAttributes) InternalTokens

func (DataDefaultActionAuthenticateCognitoAttributes) InternalWithRef

func (DataDefaultActionAuthenticateCognitoAttributes) OnUnauthenticatedRequest

func (DataDefaultActionAuthenticateCognitoAttributes) Scope

func (DataDefaultActionAuthenticateCognitoAttributes) SessionCookieName

func (DataDefaultActionAuthenticateCognitoAttributes) SessionTimeout

func (DataDefaultActionAuthenticateCognitoAttributes) UserPoolArn

func (DataDefaultActionAuthenticateCognitoAttributes) UserPoolClientId

func (DataDefaultActionAuthenticateCognitoAttributes) UserPoolDomain

type DataDefaultActionAuthenticateCognitoState

type DataDefaultActionAuthenticateCognitoState 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 DataDefaultActionAuthenticateOidcAttributes

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

func (DataDefaultActionAuthenticateOidcAttributes) AuthenticationRequestExtraParams

func (ao DataDefaultActionAuthenticateOidcAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]

func (DataDefaultActionAuthenticateOidcAttributes) AuthorizationEndpoint

func (DataDefaultActionAuthenticateOidcAttributes) ClientId

func (DataDefaultActionAuthenticateOidcAttributes) ClientSecret

func (DataDefaultActionAuthenticateOidcAttributes) InternalRef

func (DataDefaultActionAuthenticateOidcAttributes) InternalTokens

func (DataDefaultActionAuthenticateOidcAttributes) InternalWithRef

func (DataDefaultActionAuthenticateOidcAttributes) Issuer

func (DataDefaultActionAuthenticateOidcAttributes) OnUnauthenticatedRequest

func (ao DataDefaultActionAuthenticateOidcAttributes) OnUnauthenticatedRequest() terra.StringValue

func (DataDefaultActionAuthenticateOidcAttributes) Scope

func (DataDefaultActionAuthenticateOidcAttributes) SessionCookieName

func (DataDefaultActionAuthenticateOidcAttributes) SessionTimeout

func (DataDefaultActionAuthenticateOidcAttributes) TokenEndpoint

func (DataDefaultActionAuthenticateOidcAttributes) UserInfoEndpoint

type DataDefaultActionAuthenticateOidcState

type DataDefaultActionAuthenticateOidcState 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 DataDefaultActionFixedResponseAttributes

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

func (DataDefaultActionFixedResponseAttributes) ContentType

func (DataDefaultActionFixedResponseAttributes) InternalRef

func (DataDefaultActionFixedResponseAttributes) InternalTokens

func (DataDefaultActionFixedResponseAttributes) InternalWithRef

func (DataDefaultActionFixedResponseAttributes) MessageBody

func (DataDefaultActionFixedResponseAttributes) StatusCode

type DataDefaultActionFixedResponseState

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

type DataDefaultActionForwardAttributes

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

func (DataDefaultActionForwardAttributes) InternalRef

func (DataDefaultActionForwardAttributes) InternalTokens

func (DataDefaultActionForwardAttributes) InternalWithRef

func (DataDefaultActionForwardAttributes) Stickiness

func (DataDefaultActionForwardAttributes) TargetGroup

type DataDefaultActionForwardState

type DataDefaultActionForwardState struct {
	Stickiness  []DataDefaultActionForwardStickinessState  `json:"stickiness"`
	TargetGroup []DataDefaultActionForwardTargetGroupState `json:"target_group"`
}

type DataDefaultActionForwardStickinessAttributes

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

func (DataDefaultActionForwardStickinessAttributes) Duration

func (DataDefaultActionForwardStickinessAttributes) Enabled

func (DataDefaultActionForwardStickinessAttributes) InternalRef

func (DataDefaultActionForwardStickinessAttributes) InternalTokens

func (DataDefaultActionForwardStickinessAttributes) InternalWithRef

type DataDefaultActionForwardStickinessState

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

type DataDefaultActionForwardTargetGroupAttributes

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

func (DataDefaultActionForwardTargetGroupAttributes) Arn

func (DataDefaultActionForwardTargetGroupAttributes) InternalRef

func (DataDefaultActionForwardTargetGroupAttributes) InternalTokens

func (DataDefaultActionForwardTargetGroupAttributes) InternalWithRef

func (DataDefaultActionForwardTargetGroupAttributes) Weight

type DataDefaultActionForwardTargetGroupState

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

type DataDefaultActionRedirectAttributes

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

func (DataDefaultActionRedirectAttributes) Host

func (DataDefaultActionRedirectAttributes) InternalRef

func (DataDefaultActionRedirectAttributes) InternalTokens

func (DataDefaultActionRedirectAttributes) InternalWithRef

func (DataDefaultActionRedirectAttributes) Path

func (DataDefaultActionRedirectAttributes) Port

func (DataDefaultActionRedirectAttributes) Protocol

func (DataDefaultActionRedirectAttributes) Query

func (DataDefaultActionRedirectAttributes) StatusCode

type DataDefaultActionRedirectState

type DataDefaultActionRedirectState 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 DataDefaultActionState

type DataDefaultActionState struct {
	Order               float64                                     `json:"order"`
	TargetGroupArn      string                                      `json:"target_group_arn"`
	Type                string                                      `json:"type"`
	AuthenticateCognito []DataDefaultActionAuthenticateCognitoState `json:"authenticate_cognito"`
	AuthenticateOidc    []DataDefaultActionAuthenticateOidcState    `json:"authenticate_oidc"`
	FixedResponse       []DataDefaultActionFixedResponseState       `json:"fixed_response"`
	Forward             []DataDefaultActionForwardState             `json:"forward"`
	Redirect            []DataDefaultActionRedirectState            `json:"redirect"`
}

type DataMutualAuthenticationAttributes

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

func (DataMutualAuthenticationAttributes) IgnoreClientCertificateExpiry

func (ma DataMutualAuthenticationAttributes) IgnoreClientCertificateExpiry() terra.BoolValue

func (DataMutualAuthenticationAttributes) InternalRef

func (DataMutualAuthenticationAttributes) InternalTokens

func (DataMutualAuthenticationAttributes) InternalWithRef

func (DataMutualAuthenticationAttributes) Mode

func (DataMutualAuthenticationAttributes) TrustStoreArn

type DataMutualAuthenticationState

type DataMutualAuthenticationState struct {
	IgnoreClientCertificateExpiry bool   `json:"ignore_client_certificate_expiry"`
	Mode                          string `json:"mode"`
	TrustStoreArn                 string `json:"trust_store_arn"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_lb_listener.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (all *DataSource) Attributes() dataAwsLbListenerAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (all *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (all *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTimeouts

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

type DataTimeoutsAttributes

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

func (DataTimeoutsAttributes) InternalRef

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

func (DataTimeoutsAttributes) InternalTokens

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

func (DataTimeoutsAttributes) InternalWithRef

func (DataTimeoutsAttributes) Read

type DataTimeoutsState

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

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"`
	// DefaultActionAuthenticateCognito: optional
	AuthenticateCognito *DefaultActionAuthenticateCognito `hcl:"authenticate_cognito,block"`
	// DefaultActionAuthenticateOidc: optional
	AuthenticateOidc *DefaultActionAuthenticateOidc `hcl:"authenticate_oidc,block"`
	// DefaultActionFixedResponse: optional
	FixedResponse *DefaultActionFixedResponse `hcl:"fixed_response,block"`
	// DefaultActionForward: optional
	Forward *DefaultActionForward `hcl:"forward,block"`
	// DefaultActionRedirect: optional
	Redirect *DefaultActionRedirect `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 DefaultActionAuthenticateCognito

type DefaultActionAuthenticateCognito 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 DefaultActionAuthenticateCognitoAttributes

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

func (DefaultActionAuthenticateCognitoAttributes) AuthenticationRequestExtraParams

func (ac DefaultActionAuthenticateCognitoAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]

func (DefaultActionAuthenticateCognitoAttributes) InternalRef

func (DefaultActionAuthenticateCognitoAttributes) InternalTokens

func (DefaultActionAuthenticateCognitoAttributes) InternalWithRef

func (DefaultActionAuthenticateCognitoAttributes) OnUnauthenticatedRequest

func (ac DefaultActionAuthenticateCognitoAttributes) OnUnauthenticatedRequest() terra.StringValue

func (DefaultActionAuthenticateCognitoAttributes) Scope

func (DefaultActionAuthenticateCognitoAttributes) SessionCookieName

func (DefaultActionAuthenticateCognitoAttributes) SessionTimeout

func (DefaultActionAuthenticateCognitoAttributes) UserPoolArn

func (DefaultActionAuthenticateCognitoAttributes) UserPoolClientId

func (DefaultActionAuthenticateCognitoAttributes) UserPoolDomain

type DefaultActionAuthenticateCognitoState

type DefaultActionAuthenticateCognitoState 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 DefaultActionAuthenticateOidc

type DefaultActionAuthenticateOidc 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 DefaultActionAuthenticateOidcAttributes

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

func (DefaultActionAuthenticateOidcAttributes) AuthenticationRequestExtraParams

func (ao DefaultActionAuthenticateOidcAttributes) AuthenticationRequestExtraParams() terra.MapValue[terra.StringValue]

func (DefaultActionAuthenticateOidcAttributes) AuthorizationEndpoint

func (ao DefaultActionAuthenticateOidcAttributes) AuthorizationEndpoint() terra.StringValue

func (DefaultActionAuthenticateOidcAttributes) ClientId

func (DefaultActionAuthenticateOidcAttributes) ClientSecret

func (DefaultActionAuthenticateOidcAttributes) InternalRef

func (DefaultActionAuthenticateOidcAttributes) InternalTokens

func (DefaultActionAuthenticateOidcAttributes) InternalWithRef

func (DefaultActionAuthenticateOidcAttributes) Issuer

func (DefaultActionAuthenticateOidcAttributes) OnUnauthenticatedRequest

func (ao DefaultActionAuthenticateOidcAttributes) OnUnauthenticatedRequest() terra.StringValue

func (DefaultActionAuthenticateOidcAttributes) Scope

func (DefaultActionAuthenticateOidcAttributes) SessionCookieName

func (DefaultActionAuthenticateOidcAttributes) SessionTimeout

func (DefaultActionAuthenticateOidcAttributes) TokenEndpoint

func (DefaultActionAuthenticateOidcAttributes) UserInfoEndpoint

type DefaultActionAuthenticateOidcState

type DefaultActionAuthenticateOidcState 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 DefaultActionFixedResponse

type DefaultActionFixedResponse 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 DefaultActionFixedResponseAttributes

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

func (DefaultActionFixedResponseAttributes) ContentType

func (DefaultActionFixedResponseAttributes) InternalRef

func (DefaultActionFixedResponseAttributes) InternalTokens

func (DefaultActionFixedResponseAttributes) InternalWithRef

func (DefaultActionFixedResponseAttributes) MessageBody

func (DefaultActionFixedResponseAttributes) StatusCode

type DefaultActionFixedResponseState

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

type DefaultActionForward

type DefaultActionForward struct {
	// DefaultActionForwardStickiness: optional
	Stickiness *DefaultActionForwardStickiness `hcl:"stickiness,block"`
	// DefaultActionForwardTargetGroup: min=1,max=5
	TargetGroup []DefaultActionForwardTargetGroup `hcl:"target_group,block" validate:"min=1,max=5"`
}

type DefaultActionForwardAttributes

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

func (DefaultActionForwardAttributes) InternalRef

func (DefaultActionForwardAttributes) InternalTokens

func (f DefaultActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultActionForwardAttributes) InternalWithRef

func (DefaultActionForwardAttributes) Stickiness

func (DefaultActionForwardAttributes) TargetGroup

type DefaultActionForwardState

type DefaultActionForwardState struct {
	Stickiness  []DefaultActionForwardStickinessState  `json:"stickiness"`
	TargetGroup []DefaultActionForwardTargetGroupState `json:"target_group"`
}

type DefaultActionForwardStickiness

type DefaultActionForwardStickiness struct {
	// Duration: number, required
	Duration terra.NumberValue `hcl:"duration,attr" validate:"required"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type DefaultActionForwardStickinessAttributes

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

func (DefaultActionForwardStickinessAttributes) Duration

func (DefaultActionForwardStickinessAttributes) Enabled

func (DefaultActionForwardStickinessAttributes) InternalRef

func (DefaultActionForwardStickinessAttributes) InternalTokens

func (DefaultActionForwardStickinessAttributes) InternalWithRef

type DefaultActionForwardStickinessState

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

type DefaultActionForwardTargetGroup

type DefaultActionForwardTargetGroup struct {
	// Arn: string, required
	Arn terra.StringValue `hcl:"arn,attr" validate:"required"`
	// Weight: number, optional
	Weight terra.NumberValue `hcl:"weight,attr"`
}

type DefaultActionForwardTargetGroupAttributes

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

func (DefaultActionForwardTargetGroupAttributes) Arn

func (DefaultActionForwardTargetGroupAttributes) InternalRef

func (DefaultActionForwardTargetGroupAttributes) InternalTokens

func (DefaultActionForwardTargetGroupAttributes) InternalWithRef

func (DefaultActionForwardTargetGroupAttributes) Weight

type DefaultActionForwardTargetGroupState

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

type DefaultActionRedirect

type DefaultActionRedirect 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 DefaultActionRedirectAttributes

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

func (DefaultActionRedirectAttributes) Host

func (DefaultActionRedirectAttributes) InternalRef

func (DefaultActionRedirectAttributes) InternalTokens

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

func (DefaultActionRedirectAttributes) InternalWithRef

func (DefaultActionRedirectAttributes) Path

func (DefaultActionRedirectAttributes) Port

func (DefaultActionRedirectAttributes) Protocol

func (DefaultActionRedirectAttributes) Query

func (DefaultActionRedirectAttributes) StatusCode

type DefaultActionRedirectState

type DefaultActionRedirectState 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 DefaultActionState

type DefaultActionState struct {
	Order               float64                                 `json:"order"`
	TargetGroupArn      string                                  `json:"target_group_arn"`
	Type                string                                  `json:"type"`
	AuthenticateCognito []DefaultActionAuthenticateCognitoState `json:"authenticate_cognito"`
	AuthenticateOidc    []DefaultActionAuthenticateOidcState    `json:"authenticate_oidc"`
	FixedResponse       []DefaultActionFixedResponseState       `json:"fixed_response"`
	Forward             []DefaultActionForwardState             `json:"forward"`
	Redirect            []DefaultActionRedirectState            `json:"redirect"`
}

type MutualAuthentication

type MutualAuthentication struct {
	// IgnoreClientCertificateExpiry: bool, optional
	IgnoreClientCertificateExpiry terra.BoolValue `hcl:"ignore_client_certificate_expiry,attr"`
	// Mode: string, required
	Mode terra.StringValue `hcl:"mode,attr" validate:"required"`
	// TrustStoreArn: string, optional
	TrustStoreArn terra.StringValue `hcl:"trust_store_arn,attr"`
}

type MutualAuthenticationAttributes

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

func (MutualAuthenticationAttributes) IgnoreClientCertificateExpiry

func (ma MutualAuthenticationAttributes) IgnoreClientCertificateExpiry() terra.BoolValue

func (MutualAuthenticationAttributes) InternalRef

func (MutualAuthenticationAttributes) InternalTokens

func (ma MutualAuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MutualAuthenticationAttributes) InternalWithRef

func (MutualAuthenticationAttributes) Mode

func (MutualAuthenticationAttributes) TrustStoreArn

type MutualAuthenticationState

type MutualAuthenticationState struct {
	IgnoreClientCertificateExpiry bool   `json:"ignore_client_certificate_expiry"`
	Mode                          string `json:"mode"`
	TrustStoreArn                 string `json:"trust_store_arn"`
}

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.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (all *Resource) Attributes() awsLbListenerAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (all *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (all *Resource) State() (*awsLbListenerState, bool)

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

func (*Resource) StateMust

func (all *Resource) StateMust() *awsLbListenerState

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

func (*Resource) Type

func (all *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

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) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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