applicationloadbalancing

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetListenerDefaultAction

type GetListenerDefaultAction struct {
	AuthenticateCognitos []GetListenerDefaultActionAuthenticateCognito `pulumi:"authenticateCognitos"`
	AuthenticateOidcs    []GetListenerDefaultActionAuthenticateOidc    `pulumi:"authenticateOidcs"`
	FixedResponses       []GetListenerDefaultActionFixedResponse       `pulumi:"fixedResponses"`
	Order                int                                           `pulumi:"order"`
	Redirects            []GetListenerDefaultActionRedirect            `pulumi:"redirects"`
	TargetGroupArn       string                                        `pulumi:"targetGroupArn"`
	Type                 string                                        `pulumi:"type"`
}

type GetListenerDefaultActionArgs

type GetListenerDefaultActionArgs struct {
	AuthenticateCognitos GetListenerDefaultActionAuthenticateCognitoArrayInput `pulumi:"authenticateCognitos"`
	AuthenticateOidcs    GetListenerDefaultActionAuthenticateOidcArrayInput    `pulumi:"authenticateOidcs"`
	FixedResponses       GetListenerDefaultActionFixedResponseArrayInput       `pulumi:"fixedResponses"`
	Order                pulumi.IntInput                                       `pulumi:"order"`
	Redirects            GetListenerDefaultActionRedirectArrayInput            `pulumi:"redirects"`
	TargetGroupArn       pulumi.StringInput                                    `pulumi:"targetGroupArn"`
	Type                 pulumi.StringInput                                    `pulumi:"type"`
}

func (GetListenerDefaultActionArgs) ElementType

func (GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutput

func (i GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput

func (GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutputWithContext

func (i GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutputWithContext(ctx context.Context) GetListenerDefaultActionOutput

type GetListenerDefaultActionArray

type GetListenerDefaultActionArray []GetListenerDefaultActionInput

func (GetListenerDefaultActionArray) ElementType

func (GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutput

func (i GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput

func (GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutputWithContext

func (i GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionArrayOutput

type GetListenerDefaultActionArrayInput

type GetListenerDefaultActionArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput
	ToGetListenerDefaultActionArrayOutputWithContext(context.Context) GetListenerDefaultActionArrayOutput
}

GetListenerDefaultActionArrayInput is an input type that accepts GetListenerDefaultActionArray and GetListenerDefaultActionArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionArrayInput` via:

GetListenerDefaultActionArray{ GetListenerDefaultActionArgs{...} }

type GetListenerDefaultActionArrayOutput

type GetListenerDefaultActionArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionArrayOutput) ElementType

func (GetListenerDefaultActionArrayOutput) Index

func (GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutput

func (o GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput

func (GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutputWithContext

func (o GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionArrayOutput

type GetListenerDefaultActionAuthenticateCognito

type GetListenerDefaultActionAuthenticateCognito struct {
	AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"`
	OnUnauthenticatedRequest         string            `pulumi:"onUnauthenticatedRequest"`
	Scope                            string            `pulumi:"scope"`
	SessionCookieName                string            `pulumi:"sessionCookieName"`
	SessionTimeout                   int               `pulumi:"sessionTimeout"`
	UserPoolArn                      string            `pulumi:"userPoolArn"`
	UserPoolClientId                 string            `pulumi:"userPoolClientId"`
	UserPoolDomain                   string            `pulumi:"userPoolDomain"`
}

type GetListenerDefaultActionAuthenticateCognitoArgs

type GetListenerDefaultActionAuthenticateCognitoArgs struct {
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	OnUnauthenticatedRequest         pulumi.StringInput    `pulumi:"onUnauthenticatedRequest"`
	Scope                            pulumi.StringInput    `pulumi:"scope"`
	SessionCookieName                pulumi.StringInput    `pulumi:"sessionCookieName"`
	SessionTimeout                   pulumi.IntInput       `pulumi:"sessionTimeout"`
	UserPoolArn                      pulumi.StringInput    `pulumi:"userPoolArn"`
	UserPoolClientId                 pulumi.StringInput    `pulumi:"userPoolClientId"`
	UserPoolDomain                   pulumi.StringInput    `pulumi:"userPoolDomain"`
}

func (GetListenerDefaultActionAuthenticateCognitoArgs) ElementType

func (GetListenerDefaultActionAuthenticateCognitoArgs) ToGetListenerDefaultActionAuthenticateCognitoOutput

func (i GetListenerDefaultActionAuthenticateCognitoArgs) ToGetListenerDefaultActionAuthenticateCognitoOutput() GetListenerDefaultActionAuthenticateCognitoOutput

func (GetListenerDefaultActionAuthenticateCognitoArgs) ToGetListenerDefaultActionAuthenticateCognitoOutputWithContext

func (i GetListenerDefaultActionAuthenticateCognitoArgs) ToGetListenerDefaultActionAuthenticateCognitoOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateCognitoOutput

type GetListenerDefaultActionAuthenticateCognitoArray

type GetListenerDefaultActionAuthenticateCognitoArray []GetListenerDefaultActionAuthenticateCognitoInput

func (GetListenerDefaultActionAuthenticateCognitoArray) ElementType

func (GetListenerDefaultActionAuthenticateCognitoArray) ToGetListenerDefaultActionAuthenticateCognitoArrayOutput

func (i GetListenerDefaultActionAuthenticateCognitoArray) ToGetListenerDefaultActionAuthenticateCognitoArrayOutput() GetListenerDefaultActionAuthenticateCognitoArrayOutput

func (GetListenerDefaultActionAuthenticateCognitoArray) ToGetListenerDefaultActionAuthenticateCognitoArrayOutputWithContext

func (i GetListenerDefaultActionAuthenticateCognitoArray) ToGetListenerDefaultActionAuthenticateCognitoArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateCognitoArrayOutput

type GetListenerDefaultActionAuthenticateCognitoArrayInput

type GetListenerDefaultActionAuthenticateCognitoArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionAuthenticateCognitoArrayOutput() GetListenerDefaultActionAuthenticateCognitoArrayOutput
	ToGetListenerDefaultActionAuthenticateCognitoArrayOutputWithContext(context.Context) GetListenerDefaultActionAuthenticateCognitoArrayOutput
}

GetListenerDefaultActionAuthenticateCognitoArrayInput is an input type that accepts GetListenerDefaultActionAuthenticateCognitoArray and GetListenerDefaultActionAuthenticateCognitoArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionAuthenticateCognitoArrayInput` via:

GetListenerDefaultActionAuthenticateCognitoArray{ GetListenerDefaultActionAuthenticateCognitoArgs{...} }

type GetListenerDefaultActionAuthenticateCognitoArrayOutput

type GetListenerDefaultActionAuthenticateCognitoArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionAuthenticateCognitoArrayOutput) ElementType

func (GetListenerDefaultActionAuthenticateCognitoArrayOutput) Index

func (GetListenerDefaultActionAuthenticateCognitoArrayOutput) ToGetListenerDefaultActionAuthenticateCognitoArrayOutput

func (GetListenerDefaultActionAuthenticateCognitoArrayOutput) ToGetListenerDefaultActionAuthenticateCognitoArrayOutputWithContext

func (o GetListenerDefaultActionAuthenticateCognitoArrayOutput) ToGetListenerDefaultActionAuthenticateCognitoArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateCognitoArrayOutput

type GetListenerDefaultActionAuthenticateCognitoInput

type GetListenerDefaultActionAuthenticateCognitoInput interface {
	pulumi.Input

	ToGetListenerDefaultActionAuthenticateCognitoOutput() GetListenerDefaultActionAuthenticateCognitoOutput
	ToGetListenerDefaultActionAuthenticateCognitoOutputWithContext(context.Context) GetListenerDefaultActionAuthenticateCognitoOutput
}

GetListenerDefaultActionAuthenticateCognitoInput is an input type that accepts GetListenerDefaultActionAuthenticateCognitoArgs and GetListenerDefaultActionAuthenticateCognitoOutput values. You can construct a concrete instance of `GetListenerDefaultActionAuthenticateCognitoInput` via:

GetListenerDefaultActionAuthenticateCognitoArgs{...}

type GetListenerDefaultActionAuthenticateCognitoOutput

type GetListenerDefaultActionAuthenticateCognitoOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams

func (o GetListenerDefaultActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

func (GetListenerDefaultActionAuthenticateCognitoOutput) ElementType

func (GetListenerDefaultActionAuthenticateCognitoOutput) OnUnauthenticatedRequest

func (GetListenerDefaultActionAuthenticateCognitoOutput) Scope

func (GetListenerDefaultActionAuthenticateCognitoOutput) SessionCookieName

func (GetListenerDefaultActionAuthenticateCognitoOutput) SessionTimeout

func (GetListenerDefaultActionAuthenticateCognitoOutput) ToGetListenerDefaultActionAuthenticateCognitoOutput

func (o GetListenerDefaultActionAuthenticateCognitoOutput) ToGetListenerDefaultActionAuthenticateCognitoOutput() GetListenerDefaultActionAuthenticateCognitoOutput

func (GetListenerDefaultActionAuthenticateCognitoOutput) ToGetListenerDefaultActionAuthenticateCognitoOutputWithContext

func (o GetListenerDefaultActionAuthenticateCognitoOutput) ToGetListenerDefaultActionAuthenticateCognitoOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateCognitoOutput

func (GetListenerDefaultActionAuthenticateCognitoOutput) UserPoolArn

func (GetListenerDefaultActionAuthenticateCognitoOutput) UserPoolClientId

func (GetListenerDefaultActionAuthenticateCognitoOutput) UserPoolDomain

type GetListenerDefaultActionAuthenticateOidc

type GetListenerDefaultActionAuthenticateOidc struct {
	AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"`
	AuthorizationEndpoint            string            `pulumi:"authorizationEndpoint"`
	ClientId                         string            `pulumi:"clientId"`
	ClientSecret                     string            `pulumi:"clientSecret"`
	Issuer                           string            `pulumi:"issuer"`
	OnUnauthenticatedRequest         string            `pulumi:"onUnauthenticatedRequest"`
	Scope                            string            `pulumi:"scope"`
	SessionCookieName                string            `pulumi:"sessionCookieName"`
	SessionTimeout                   int               `pulumi:"sessionTimeout"`
	TokenEndpoint                    string            `pulumi:"tokenEndpoint"`
	UserInfoEndpoint                 string            `pulumi:"userInfoEndpoint"`
}

type GetListenerDefaultActionAuthenticateOidcArgs

type GetListenerDefaultActionAuthenticateOidcArgs struct {
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	AuthorizationEndpoint            pulumi.StringInput    `pulumi:"authorizationEndpoint"`
	ClientId                         pulumi.StringInput    `pulumi:"clientId"`
	ClientSecret                     pulumi.StringInput    `pulumi:"clientSecret"`
	Issuer                           pulumi.StringInput    `pulumi:"issuer"`
	OnUnauthenticatedRequest         pulumi.StringInput    `pulumi:"onUnauthenticatedRequest"`
	Scope                            pulumi.StringInput    `pulumi:"scope"`
	SessionCookieName                pulumi.StringInput    `pulumi:"sessionCookieName"`
	SessionTimeout                   pulumi.IntInput       `pulumi:"sessionTimeout"`
	TokenEndpoint                    pulumi.StringInput    `pulumi:"tokenEndpoint"`
	UserInfoEndpoint                 pulumi.StringInput    `pulumi:"userInfoEndpoint"`
}

func (GetListenerDefaultActionAuthenticateOidcArgs) ElementType

func (GetListenerDefaultActionAuthenticateOidcArgs) ToGetListenerDefaultActionAuthenticateOidcOutput

func (i GetListenerDefaultActionAuthenticateOidcArgs) ToGetListenerDefaultActionAuthenticateOidcOutput() GetListenerDefaultActionAuthenticateOidcOutput

func (GetListenerDefaultActionAuthenticateOidcArgs) ToGetListenerDefaultActionAuthenticateOidcOutputWithContext

func (i GetListenerDefaultActionAuthenticateOidcArgs) ToGetListenerDefaultActionAuthenticateOidcOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateOidcOutput

type GetListenerDefaultActionAuthenticateOidcArray

type GetListenerDefaultActionAuthenticateOidcArray []GetListenerDefaultActionAuthenticateOidcInput

func (GetListenerDefaultActionAuthenticateOidcArray) ElementType

func (GetListenerDefaultActionAuthenticateOidcArray) ToGetListenerDefaultActionAuthenticateOidcArrayOutput

func (i GetListenerDefaultActionAuthenticateOidcArray) ToGetListenerDefaultActionAuthenticateOidcArrayOutput() GetListenerDefaultActionAuthenticateOidcArrayOutput

func (GetListenerDefaultActionAuthenticateOidcArray) ToGetListenerDefaultActionAuthenticateOidcArrayOutputWithContext

func (i GetListenerDefaultActionAuthenticateOidcArray) ToGetListenerDefaultActionAuthenticateOidcArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateOidcArrayOutput

type GetListenerDefaultActionAuthenticateOidcArrayInput

type GetListenerDefaultActionAuthenticateOidcArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionAuthenticateOidcArrayOutput() GetListenerDefaultActionAuthenticateOidcArrayOutput
	ToGetListenerDefaultActionAuthenticateOidcArrayOutputWithContext(context.Context) GetListenerDefaultActionAuthenticateOidcArrayOutput
}

GetListenerDefaultActionAuthenticateOidcArrayInput is an input type that accepts GetListenerDefaultActionAuthenticateOidcArray and GetListenerDefaultActionAuthenticateOidcArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionAuthenticateOidcArrayInput` via:

GetListenerDefaultActionAuthenticateOidcArray{ GetListenerDefaultActionAuthenticateOidcArgs{...} }

type GetListenerDefaultActionAuthenticateOidcArrayOutput

type GetListenerDefaultActionAuthenticateOidcArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionAuthenticateOidcArrayOutput) ElementType

func (GetListenerDefaultActionAuthenticateOidcArrayOutput) Index

func (GetListenerDefaultActionAuthenticateOidcArrayOutput) ToGetListenerDefaultActionAuthenticateOidcArrayOutput

func (o GetListenerDefaultActionAuthenticateOidcArrayOutput) ToGetListenerDefaultActionAuthenticateOidcArrayOutput() GetListenerDefaultActionAuthenticateOidcArrayOutput

func (GetListenerDefaultActionAuthenticateOidcArrayOutput) ToGetListenerDefaultActionAuthenticateOidcArrayOutputWithContext

func (o GetListenerDefaultActionAuthenticateOidcArrayOutput) ToGetListenerDefaultActionAuthenticateOidcArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateOidcArrayOutput

type GetListenerDefaultActionAuthenticateOidcInput

type GetListenerDefaultActionAuthenticateOidcInput interface {
	pulumi.Input

	ToGetListenerDefaultActionAuthenticateOidcOutput() GetListenerDefaultActionAuthenticateOidcOutput
	ToGetListenerDefaultActionAuthenticateOidcOutputWithContext(context.Context) GetListenerDefaultActionAuthenticateOidcOutput
}

GetListenerDefaultActionAuthenticateOidcInput is an input type that accepts GetListenerDefaultActionAuthenticateOidcArgs and GetListenerDefaultActionAuthenticateOidcOutput values. You can construct a concrete instance of `GetListenerDefaultActionAuthenticateOidcInput` via:

GetListenerDefaultActionAuthenticateOidcArgs{...}

type GetListenerDefaultActionAuthenticateOidcOutput

type GetListenerDefaultActionAuthenticateOidcOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionAuthenticateOidcOutput) AuthenticationRequestExtraParams

func (o GetListenerDefaultActionAuthenticateOidcOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

func (GetListenerDefaultActionAuthenticateOidcOutput) AuthorizationEndpoint

func (GetListenerDefaultActionAuthenticateOidcOutput) ClientId

func (GetListenerDefaultActionAuthenticateOidcOutput) ClientSecret

func (GetListenerDefaultActionAuthenticateOidcOutput) ElementType

func (GetListenerDefaultActionAuthenticateOidcOutput) Issuer

func (GetListenerDefaultActionAuthenticateOidcOutput) OnUnauthenticatedRequest

func (GetListenerDefaultActionAuthenticateOidcOutput) Scope

func (GetListenerDefaultActionAuthenticateOidcOutput) SessionCookieName

func (GetListenerDefaultActionAuthenticateOidcOutput) SessionTimeout

func (GetListenerDefaultActionAuthenticateOidcOutput) ToGetListenerDefaultActionAuthenticateOidcOutput

func (o GetListenerDefaultActionAuthenticateOidcOutput) ToGetListenerDefaultActionAuthenticateOidcOutput() GetListenerDefaultActionAuthenticateOidcOutput

func (GetListenerDefaultActionAuthenticateOidcOutput) ToGetListenerDefaultActionAuthenticateOidcOutputWithContext

func (o GetListenerDefaultActionAuthenticateOidcOutput) ToGetListenerDefaultActionAuthenticateOidcOutputWithContext(ctx context.Context) GetListenerDefaultActionAuthenticateOidcOutput

func (GetListenerDefaultActionAuthenticateOidcOutput) TokenEndpoint

func (GetListenerDefaultActionAuthenticateOidcOutput) UserInfoEndpoint

type GetListenerDefaultActionFixedResponse

type GetListenerDefaultActionFixedResponse struct {
	ContentType string `pulumi:"contentType"`
	MessageBody string `pulumi:"messageBody"`
	StatusCode  string `pulumi:"statusCode"`
}

type GetListenerDefaultActionFixedResponseArgs

type GetListenerDefaultActionFixedResponseArgs struct {
	ContentType pulumi.StringInput `pulumi:"contentType"`
	MessageBody pulumi.StringInput `pulumi:"messageBody"`
	StatusCode  pulumi.StringInput `pulumi:"statusCode"`
}

func (GetListenerDefaultActionFixedResponseArgs) ElementType

func (GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutput

func (i GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput

func (GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutputWithContext

func (i GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseOutput

type GetListenerDefaultActionFixedResponseArray

type GetListenerDefaultActionFixedResponseArray []GetListenerDefaultActionFixedResponseInput

func (GetListenerDefaultActionFixedResponseArray) ElementType

func (GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutput

func (i GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput

func (GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext

func (i GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseArrayOutput

type GetListenerDefaultActionFixedResponseArrayInput

type GetListenerDefaultActionFixedResponseArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput
	ToGetListenerDefaultActionFixedResponseArrayOutputWithContext(context.Context) GetListenerDefaultActionFixedResponseArrayOutput
}

GetListenerDefaultActionFixedResponseArrayInput is an input type that accepts GetListenerDefaultActionFixedResponseArray and GetListenerDefaultActionFixedResponseArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionFixedResponseArrayInput` via:

GetListenerDefaultActionFixedResponseArray{ GetListenerDefaultActionFixedResponseArgs{...} }

type GetListenerDefaultActionFixedResponseArrayOutput

type GetListenerDefaultActionFixedResponseArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionFixedResponseArrayOutput) ElementType

func (GetListenerDefaultActionFixedResponseArrayOutput) Index

func (GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutput

func (o GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput

func (GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext

func (o GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseArrayOutput

type GetListenerDefaultActionFixedResponseInput

type GetListenerDefaultActionFixedResponseInput interface {
	pulumi.Input

	ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput
	ToGetListenerDefaultActionFixedResponseOutputWithContext(context.Context) GetListenerDefaultActionFixedResponseOutput
}

GetListenerDefaultActionFixedResponseInput is an input type that accepts GetListenerDefaultActionFixedResponseArgs and GetListenerDefaultActionFixedResponseOutput values. You can construct a concrete instance of `GetListenerDefaultActionFixedResponseInput` via:

GetListenerDefaultActionFixedResponseArgs{...}

type GetListenerDefaultActionFixedResponseOutput

type GetListenerDefaultActionFixedResponseOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionFixedResponseOutput) ContentType

func (GetListenerDefaultActionFixedResponseOutput) ElementType

func (GetListenerDefaultActionFixedResponseOutput) MessageBody

func (GetListenerDefaultActionFixedResponseOutput) StatusCode

func (GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutput

func (o GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput

func (GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutputWithContext

func (o GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseOutput

type GetListenerDefaultActionInput

type GetListenerDefaultActionInput interface {
	pulumi.Input

	ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput
	ToGetListenerDefaultActionOutputWithContext(context.Context) GetListenerDefaultActionOutput
}

GetListenerDefaultActionInput is an input type that accepts GetListenerDefaultActionArgs and GetListenerDefaultActionOutput values. You can construct a concrete instance of `GetListenerDefaultActionInput` via:

GetListenerDefaultActionArgs{...}

type GetListenerDefaultActionOutput

type GetListenerDefaultActionOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionOutput) AuthenticateCognitos

func (GetListenerDefaultActionOutput) AuthenticateOidcs

func (GetListenerDefaultActionOutput) ElementType

func (GetListenerDefaultActionOutput) FixedResponses

func (GetListenerDefaultActionOutput) Order

func (GetListenerDefaultActionOutput) Redirects

func (GetListenerDefaultActionOutput) TargetGroupArn

func (GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutput

func (o GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput

func (GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutputWithContext

func (o GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutputWithContext(ctx context.Context) GetListenerDefaultActionOutput

func (GetListenerDefaultActionOutput) Type

type GetListenerDefaultActionRedirect

type GetListenerDefaultActionRedirect struct {
	Host string `pulumi:"host"`
	Path string `pulumi:"path"`
	// The port of the listener. Required if `arn` is not set.
	Port       string `pulumi:"port"`
	Protocol   string `pulumi:"protocol"`
	Query      string `pulumi:"query"`
	StatusCode string `pulumi:"statusCode"`
}

type GetListenerDefaultActionRedirectArgs

type GetListenerDefaultActionRedirectArgs struct {
	Host pulumi.StringInput `pulumi:"host"`
	Path pulumi.StringInput `pulumi:"path"`
	// The port of the listener. Required if `arn` is not set.
	Port       pulumi.StringInput `pulumi:"port"`
	Protocol   pulumi.StringInput `pulumi:"protocol"`
	Query      pulumi.StringInput `pulumi:"query"`
	StatusCode pulumi.StringInput `pulumi:"statusCode"`
}

func (GetListenerDefaultActionRedirectArgs) ElementType

func (GetListenerDefaultActionRedirectArgs) ToGetListenerDefaultActionRedirectOutput

func (i GetListenerDefaultActionRedirectArgs) ToGetListenerDefaultActionRedirectOutput() GetListenerDefaultActionRedirectOutput

func (GetListenerDefaultActionRedirectArgs) ToGetListenerDefaultActionRedirectOutputWithContext

func (i GetListenerDefaultActionRedirectArgs) ToGetListenerDefaultActionRedirectOutputWithContext(ctx context.Context) GetListenerDefaultActionRedirectOutput

type GetListenerDefaultActionRedirectArray

type GetListenerDefaultActionRedirectArray []GetListenerDefaultActionRedirectInput

func (GetListenerDefaultActionRedirectArray) ElementType

func (GetListenerDefaultActionRedirectArray) ToGetListenerDefaultActionRedirectArrayOutput

func (i GetListenerDefaultActionRedirectArray) ToGetListenerDefaultActionRedirectArrayOutput() GetListenerDefaultActionRedirectArrayOutput

func (GetListenerDefaultActionRedirectArray) ToGetListenerDefaultActionRedirectArrayOutputWithContext

func (i GetListenerDefaultActionRedirectArray) ToGetListenerDefaultActionRedirectArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionRedirectArrayOutput

type GetListenerDefaultActionRedirectArrayInput

type GetListenerDefaultActionRedirectArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionRedirectArrayOutput() GetListenerDefaultActionRedirectArrayOutput
	ToGetListenerDefaultActionRedirectArrayOutputWithContext(context.Context) GetListenerDefaultActionRedirectArrayOutput
}

GetListenerDefaultActionRedirectArrayInput is an input type that accepts GetListenerDefaultActionRedirectArray and GetListenerDefaultActionRedirectArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionRedirectArrayInput` via:

GetListenerDefaultActionRedirectArray{ GetListenerDefaultActionRedirectArgs{...} }

type GetListenerDefaultActionRedirectArrayOutput

type GetListenerDefaultActionRedirectArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionRedirectArrayOutput) ElementType

func (GetListenerDefaultActionRedirectArrayOutput) Index

func (GetListenerDefaultActionRedirectArrayOutput) ToGetListenerDefaultActionRedirectArrayOutput

func (o GetListenerDefaultActionRedirectArrayOutput) ToGetListenerDefaultActionRedirectArrayOutput() GetListenerDefaultActionRedirectArrayOutput

func (GetListenerDefaultActionRedirectArrayOutput) ToGetListenerDefaultActionRedirectArrayOutputWithContext

func (o GetListenerDefaultActionRedirectArrayOutput) ToGetListenerDefaultActionRedirectArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionRedirectArrayOutput

type GetListenerDefaultActionRedirectInput

type GetListenerDefaultActionRedirectInput interface {
	pulumi.Input

	ToGetListenerDefaultActionRedirectOutput() GetListenerDefaultActionRedirectOutput
	ToGetListenerDefaultActionRedirectOutputWithContext(context.Context) GetListenerDefaultActionRedirectOutput
}

GetListenerDefaultActionRedirectInput is an input type that accepts GetListenerDefaultActionRedirectArgs and GetListenerDefaultActionRedirectOutput values. You can construct a concrete instance of `GetListenerDefaultActionRedirectInput` via:

GetListenerDefaultActionRedirectArgs{...}

type GetListenerDefaultActionRedirectOutput

type GetListenerDefaultActionRedirectOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionRedirectOutput) ElementType

func (GetListenerDefaultActionRedirectOutput) Host

func (GetListenerDefaultActionRedirectOutput) Path

func (GetListenerDefaultActionRedirectOutput) Port

The port of the listener. Required if `arn` is not set.

func (GetListenerDefaultActionRedirectOutput) Protocol

func (GetListenerDefaultActionRedirectOutput) Query

func (GetListenerDefaultActionRedirectOutput) StatusCode

func (GetListenerDefaultActionRedirectOutput) ToGetListenerDefaultActionRedirectOutput

func (o GetListenerDefaultActionRedirectOutput) ToGetListenerDefaultActionRedirectOutput() GetListenerDefaultActionRedirectOutput

func (GetListenerDefaultActionRedirectOutput) ToGetListenerDefaultActionRedirectOutputWithContext

func (o GetListenerDefaultActionRedirectOutput) ToGetListenerDefaultActionRedirectOutputWithContext(ctx context.Context) GetListenerDefaultActionRedirectOutput

type GetLoadBalancerAccessLogs

type GetLoadBalancerAccessLogs struct {
	Bucket  string `pulumi:"bucket"`
	Enabled bool   `pulumi:"enabled"`
	Prefix  string `pulumi:"prefix"`
}

type GetLoadBalancerAccessLogsArgs

type GetLoadBalancerAccessLogsArgs struct {
	Bucket  pulumi.StringInput `pulumi:"bucket"`
	Enabled pulumi.BoolInput   `pulumi:"enabled"`
	Prefix  pulumi.StringInput `pulumi:"prefix"`
}

func (GetLoadBalancerAccessLogsArgs) ElementType

func (GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutput

func (i GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput

func (GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutputWithContext

func (i GetLoadBalancerAccessLogsArgs) ToGetLoadBalancerAccessLogsOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogsOutput

type GetLoadBalancerAccessLogsInput

type GetLoadBalancerAccessLogsInput interface {
	pulumi.Input

	ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput
	ToGetLoadBalancerAccessLogsOutputWithContext(context.Context) GetLoadBalancerAccessLogsOutput
}

GetLoadBalancerAccessLogsInput is an input type that accepts GetLoadBalancerAccessLogsArgs and GetLoadBalancerAccessLogsOutput values. You can construct a concrete instance of `GetLoadBalancerAccessLogsInput` via:

GetLoadBalancerAccessLogsArgs{...}

type GetLoadBalancerAccessLogsOutput

type GetLoadBalancerAccessLogsOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerAccessLogsOutput) Bucket

func (GetLoadBalancerAccessLogsOutput) ElementType

func (GetLoadBalancerAccessLogsOutput) Enabled

func (GetLoadBalancerAccessLogsOutput) Prefix

func (GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutput

func (o GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput

func (GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutputWithContext

func (o GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutputWithContext(ctx context.Context) GetLoadBalancerAccessLogsOutput

type GetLoadBalancerSubnetMapping

type GetLoadBalancerSubnetMapping struct {
	AllocationId *string `pulumi:"allocationId"`
	SubnetId     string  `pulumi:"subnetId"`
}

type GetLoadBalancerSubnetMappingArgs

type GetLoadBalancerSubnetMappingArgs struct {
	AllocationId pulumi.StringPtrInput `pulumi:"allocationId"`
	SubnetId     pulumi.StringInput    `pulumi:"subnetId"`
}

func (GetLoadBalancerSubnetMappingArgs) ElementType

func (GetLoadBalancerSubnetMappingArgs) ToGetLoadBalancerSubnetMappingOutput

func (i GetLoadBalancerSubnetMappingArgs) ToGetLoadBalancerSubnetMappingOutput() GetLoadBalancerSubnetMappingOutput

func (GetLoadBalancerSubnetMappingArgs) ToGetLoadBalancerSubnetMappingOutputWithContext

func (i GetLoadBalancerSubnetMappingArgs) ToGetLoadBalancerSubnetMappingOutputWithContext(ctx context.Context) GetLoadBalancerSubnetMappingOutput

type GetLoadBalancerSubnetMappingArray

type GetLoadBalancerSubnetMappingArray []GetLoadBalancerSubnetMappingInput

func (GetLoadBalancerSubnetMappingArray) ElementType

func (GetLoadBalancerSubnetMappingArray) ToGetLoadBalancerSubnetMappingArrayOutput

func (i GetLoadBalancerSubnetMappingArray) ToGetLoadBalancerSubnetMappingArrayOutput() GetLoadBalancerSubnetMappingArrayOutput

func (GetLoadBalancerSubnetMappingArray) ToGetLoadBalancerSubnetMappingArrayOutputWithContext

func (i GetLoadBalancerSubnetMappingArray) ToGetLoadBalancerSubnetMappingArrayOutputWithContext(ctx context.Context) GetLoadBalancerSubnetMappingArrayOutput

type GetLoadBalancerSubnetMappingArrayInput

type GetLoadBalancerSubnetMappingArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerSubnetMappingArrayOutput() GetLoadBalancerSubnetMappingArrayOutput
	ToGetLoadBalancerSubnetMappingArrayOutputWithContext(context.Context) GetLoadBalancerSubnetMappingArrayOutput
}

GetLoadBalancerSubnetMappingArrayInput is an input type that accepts GetLoadBalancerSubnetMappingArray and GetLoadBalancerSubnetMappingArrayOutput values. You can construct a concrete instance of `GetLoadBalancerSubnetMappingArrayInput` via:

GetLoadBalancerSubnetMappingArray{ GetLoadBalancerSubnetMappingArgs{...} }

type GetLoadBalancerSubnetMappingArrayOutput

type GetLoadBalancerSubnetMappingArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerSubnetMappingArrayOutput) ElementType

func (GetLoadBalancerSubnetMappingArrayOutput) Index

func (GetLoadBalancerSubnetMappingArrayOutput) ToGetLoadBalancerSubnetMappingArrayOutput

func (o GetLoadBalancerSubnetMappingArrayOutput) ToGetLoadBalancerSubnetMappingArrayOutput() GetLoadBalancerSubnetMappingArrayOutput

func (GetLoadBalancerSubnetMappingArrayOutput) ToGetLoadBalancerSubnetMappingArrayOutputWithContext

func (o GetLoadBalancerSubnetMappingArrayOutput) ToGetLoadBalancerSubnetMappingArrayOutputWithContext(ctx context.Context) GetLoadBalancerSubnetMappingArrayOutput

type GetLoadBalancerSubnetMappingInput

type GetLoadBalancerSubnetMappingInput interface {
	pulumi.Input

	ToGetLoadBalancerSubnetMappingOutput() GetLoadBalancerSubnetMappingOutput
	ToGetLoadBalancerSubnetMappingOutputWithContext(context.Context) GetLoadBalancerSubnetMappingOutput
}

GetLoadBalancerSubnetMappingInput is an input type that accepts GetLoadBalancerSubnetMappingArgs and GetLoadBalancerSubnetMappingOutput values. You can construct a concrete instance of `GetLoadBalancerSubnetMappingInput` via:

GetLoadBalancerSubnetMappingArgs{...}

type GetLoadBalancerSubnetMappingOutput

type GetLoadBalancerSubnetMappingOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerSubnetMappingOutput) AllocationId

func (GetLoadBalancerSubnetMappingOutput) ElementType

func (GetLoadBalancerSubnetMappingOutput) SubnetId

func (GetLoadBalancerSubnetMappingOutput) ToGetLoadBalancerSubnetMappingOutput

func (o GetLoadBalancerSubnetMappingOutput) ToGetLoadBalancerSubnetMappingOutput() GetLoadBalancerSubnetMappingOutput

func (GetLoadBalancerSubnetMappingOutput) ToGetLoadBalancerSubnetMappingOutputWithContext

func (o GetLoadBalancerSubnetMappingOutput) ToGetLoadBalancerSubnetMappingOutputWithContext(ctx context.Context) GetLoadBalancerSubnetMappingOutput

type GetTargetGroupHealthCheck

type GetTargetGroupHealthCheck struct {
	Enabled            bool   `pulumi:"enabled"`
	HealthyThreshold   int    `pulumi:"healthyThreshold"`
	Interval           int    `pulumi:"interval"`
	Matcher            string `pulumi:"matcher"`
	Path               string `pulumi:"path"`
	Port               string `pulumi:"port"`
	Protocol           string `pulumi:"protocol"`
	Timeout            int    `pulumi:"timeout"`
	UnhealthyThreshold int    `pulumi:"unhealthyThreshold"`
}

type GetTargetGroupHealthCheckArgs

type GetTargetGroupHealthCheckArgs struct {
	Enabled            pulumi.BoolInput   `pulumi:"enabled"`
	HealthyThreshold   pulumi.IntInput    `pulumi:"healthyThreshold"`
	Interval           pulumi.IntInput    `pulumi:"interval"`
	Matcher            pulumi.StringInput `pulumi:"matcher"`
	Path               pulumi.StringInput `pulumi:"path"`
	Port               pulumi.StringInput `pulumi:"port"`
	Protocol           pulumi.StringInput `pulumi:"protocol"`
	Timeout            pulumi.IntInput    `pulumi:"timeout"`
	UnhealthyThreshold pulumi.IntInput    `pulumi:"unhealthyThreshold"`
}

func (GetTargetGroupHealthCheckArgs) ElementType

func (GetTargetGroupHealthCheckArgs) ToGetTargetGroupHealthCheckOutput

func (i GetTargetGroupHealthCheckArgs) ToGetTargetGroupHealthCheckOutput() GetTargetGroupHealthCheckOutput

func (GetTargetGroupHealthCheckArgs) ToGetTargetGroupHealthCheckOutputWithContext

func (i GetTargetGroupHealthCheckArgs) ToGetTargetGroupHealthCheckOutputWithContext(ctx context.Context) GetTargetGroupHealthCheckOutput

type GetTargetGroupHealthCheckInput

type GetTargetGroupHealthCheckInput interface {
	pulumi.Input

	ToGetTargetGroupHealthCheckOutput() GetTargetGroupHealthCheckOutput
	ToGetTargetGroupHealthCheckOutputWithContext(context.Context) GetTargetGroupHealthCheckOutput
}

GetTargetGroupHealthCheckInput is an input type that accepts GetTargetGroupHealthCheckArgs and GetTargetGroupHealthCheckOutput values. You can construct a concrete instance of `GetTargetGroupHealthCheckInput` via:

GetTargetGroupHealthCheckArgs{...}

type GetTargetGroupHealthCheckOutput

type GetTargetGroupHealthCheckOutput struct{ *pulumi.OutputState }

func (GetTargetGroupHealthCheckOutput) ElementType

func (GetTargetGroupHealthCheckOutput) Enabled

func (GetTargetGroupHealthCheckOutput) HealthyThreshold

func (o GetTargetGroupHealthCheckOutput) HealthyThreshold() pulumi.IntOutput

func (GetTargetGroupHealthCheckOutput) Interval

func (GetTargetGroupHealthCheckOutput) Matcher

func (GetTargetGroupHealthCheckOutput) Path

func (GetTargetGroupHealthCheckOutput) Port

func (GetTargetGroupHealthCheckOutput) Protocol

func (GetTargetGroupHealthCheckOutput) Timeout

func (GetTargetGroupHealthCheckOutput) ToGetTargetGroupHealthCheckOutput

func (o GetTargetGroupHealthCheckOutput) ToGetTargetGroupHealthCheckOutput() GetTargetGroupHealthCheckOutput

func (GetTargetGroupHealthCheckOutput) ToGetTargetGroupHealthCheckOutputWithContext

func (o GetTargetGroupHealthCheckOutput) ToGetTargetGroupHealthCheckOutputWithContext(ctx context.Context) GetTargetGroupHealthCheckOutput

func (GetTargetGroupHealthCheckOutput) UnhealthyThreshold

func (o GetTargetGroupHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput

type GetTargetGroupStickiness

type GetTargetGroupStickiness struct {
	CookieDuration int    `pulumi:"cookieDuration"`
	Enabled        bool   `pulumi:"enabled"`
	Type           string `pulumi:"type"`
}

type GetTargetGroupStickinessArgs

type GetTargetGroupStickinessArgs struct {
	CookieDuration pulumi.IntInput    `pulumi:"cookieDuration"`
	Enabled        pulumi.BoolInput   `pulumi:"enabled"`
	Type           pulumi.StringInput `pulumi:"type"`
}

func (GetTargetGroupStickinessArgs) ElementType

func (GetTargetGroupStickinessArgs) ToGetTargetGroupStickinessOutput

func (i GetTargetGroupStickinessArgs) ToGetTargetGroupStickinessOutput() GetTargetGroupStickinessOutput

func (GetTargetGroupStickinessArgs) ToGetTargetGroupStickinessOutputWithContext

func (i GetTargetGroupStickinessArgs) ToGetTargetGroupStickinessOutputWithContext(ctx context.Context) GetTargetGroupStickinessOutput

type GetTargetGroupStickinessInput

type GetTargetGroupStickinessInput interface {
	pulumi.Input

	ToGetTargetGroupStickinessOutput() GetTargetGroupStickinessOutput
	ToGetTargetGroupStickinessOutputWithContext(context.Context) GetTargetGroupStickinessOutput
}

GetTargetGroupStickinessInput is an input type that accepts GetTargetGroupStickinessArgs and GetTargetGroupStickinessOutput values. You can construct a concrete instance of `GetTargetGroupStickinessInput` via:

GetTargetGroupStickinessArgs{...}

type GetTargetGroupStickinessOutput

type GetTargetGroupStickinessOutput struct{ *pulumi.OutputState }

func (GetTargetGroupStickinessOutput) CookieDuration

func (o GetTargetGroupStickinessOutput) CookieDuration() pulumi.IntOutput

func (GetTargetGroupStickinessOutput) ElementType

func (GetTargetGroupStickinessOutput) Enabled

func (GetTargetGroupStickinessOutput) ToGetTargetGroupStickinessOutput

func (o GetTargetGroupStickinessOutput) ToGetTargetGroupStickinessOutput() GetTargetGroupStickinessOutput

func (GetTargetGroupStickinessOutput) ToGetTargetGroupStickinessOutputWithContext

func (o GetTargetGroupStickinessOutput) ToGetTargetGroupStickinessOutputWithContext(ctx context.Context) GetTargetGroupStickinessOutput

func (GetTargetGroupStickinessOutput) Type

type Listener deprecated

type Listener struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the target group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource.
	CertificateArn pulumi.StringPtrOutput `pulumi:"certificateArn"`
	// An Action block. Action blocks are documented below.
	DefaultActions ListenerDefaultActionArrayOutput `pulumi:"defaultActions"`
	// The ARN of the load balancer.
	LoadBalancerArn pulumi.StringOutput `pulumi:"loadBalancerArn"`
	// The port on which the load balancer is listening.
	Port pulumi.IntOutput `pulumi:"port"`
	// The protocol for connections from clients to the load balancer. Valid values are `TCP`, `TLS`, `UDP`, `TCP_UDP`, `HTTP` and `HTTPS`. Defaults to `HTTP`.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// The name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`.
	SslPolicy pulumi.StringOutput `pulumi:"sslPolicy"`
}

Provides a Load Balancer Listener resource.

> **Note:** `alb.Listener` is known as `lb.Listener`. The functionality is identical.

## Example Usage ### Forward Action

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		frontEndLoadBalancer, err := lb.NewLoadBalancer(ctx, "frontEndLoadBalancer", nil)
		if err != nil {
			return err
		}
		frontEndTargetGroup, err := lb.NewTargetGroup(ctx, "frontEndTargetGroup", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "frontEndListener", &lb.ListenerArgs{
			CertificateArn: pulumi.String("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4"),
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					TargetGroupArn: frontEndTargetGroup.Arn,
					Type:           pulumi.String("forward"),
				},
			},
			LoadBalancerArn: frontEndLoadBalancer.Arn,
			Port:            pulumi.Int(443),
			Protocol:        pulumi.String("HTTPS"),
			SslPolicy:       pulumi.String("ELBSecurityPolicy-2016-08"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Redirect Action

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		frontEndLoadBalancer, err := lb.NewLoadBalancer(ctx, "frontEndLoadBalancer", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "frontEndListener", &lb.ListenerArgs{
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					Redirect: &lb.ListenerDefaultActionRedirectArgs{
						Port:       pulumi.String("443"),
						Protocol:   pulumi.String("HTTPS"),
						StatusCode: pulumi.String("HTTP_301"),
					},
					Type: pulumi.String("redirect"),
				},
			},
			LoadBalancerArn: frontEndLoadBalancer.Arn,
			Port:            pulumi.Int(80),
			Protocol:        pulumi.String("HTTP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Fixed-response Action

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		frontEndLoadBalancer, err := lb.NewLoadBalancer(ctx, "frontEndLoadBalancer", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "frontEndListener", &lb.ListenerArgs{
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					FixedResponse: &lb.ListenerDefaultActionFixedResponseArgs{
						ContentType: pulumi.String("text/plain"),
						MessageBody: pulumi.String("Fixed response content"),
						StatusCode:  pulumi.String("200"),
					},
					Type: pulumi.String("fixed-response"),
				},
			},
			LoadBalancerArn: frontEndLoadBalancer.Arn,
			Port:            pulumi.Int(80),
			Protocol:        pulumi.String("HTTP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Authenticate-cognito Action

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/cognito"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		frontEndLoadBalancer, err := lb.NewLoadBalancer(ctx, "frontEndLoadBalancer", nil)
		if err != nil {
			return err
		}
		frontEndTargetGroup, err := lb.NewTargetGroup(ctx, "frontEndTargetGroup", nil)
		if err != nil {
			return err
		}
		pool, err := cognito.NewUserPool(ctx, "pool", nil)
		if err != nil {
			return err
		}
		client, err := cognito.NewUserPoolClient(ctx, "client", nil)
		if err != nil {
			return err
		}
		domain, err := cognito.NewUserPoolDomain(ctx, "domain", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "frontEndListener", &lb.ListenerArgs{
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					AuthenticateCognito: &lb.ListenerDefaultActionAuthenticateCognitoArgs{
						UserPoolArn:      pool.Arn,
						UserPoolClientId: client.ID(),
						UserPoolDomain:   domain.Domain,
					},
					Type: pulumi.String("authenticate-cognito"),
				},
				&lb.ListenerDefaultActionArgs{
					TargetGroupArn: frontEndTargetGroup.Arn,
					Type:           pulumi.String("forward"),
				},
			},
			LoadBalancerArn: frontEndLoadBalancer.Arn,
			Port:            pulumi.Int(80),
			Protocol:        pulumi.String("HTTP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Authenticate-oidc Action

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		frontEndLoadBalancer, err := lb.NewLoadBalancer(ctx, "frontEndLoadBalancer", nil)
		if err != nil {
			return err
		}
		frontEndTargetGroup, err := lb.NewTargetGroup(ctx, "frontEndTargetGroup", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "frontEndListener", &lb.ListenerArgs{
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					AuthenticateOidc: &lb.ListenerDefaultActionAuthenticateOidcArgs{
						AuthorizationEndpoint: pulumi.String("https://example.com/authorization_endpoint"),
						ClientId:              pulumi.String("client_id"),
						ClientSecret:          pulumi.String("client_secret"),
						Issuer:                pulumi.String("https://example.com"),
						TokenEndpoint:         pulumi.String("https://example.com/token_endpoint"),
						UserInfoEndpoint:      pulumi.String("https://example.com/user_info_endpoint"),
					},
					Type: pulumi.String("authenticate-oidc"),
				},
				&lb.ListenerDefaultActionArgs{
					TargetGroupArn: frontEndTargetGroup.Arn,
					Type:           pulumi.String("forward"),
				},
			},
			LoadBalancerArn: frontEndLoadBalancer.Arn,
			Port:            pulumi.Int(80),
			Protocol:        pulumi.String("HTTP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.Listener has been deprecated in favor of aws.alb.Listener

func GetListener

func GetListener(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerState, opts ...pulumi.ResourceOption) (*Listener, error)

GetListener gets an existing Listener resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewListener

func NewListener(ctx *pulumi.Context,
	name string, args *ListenerArgs, opts ...pulumi.ResourceOption) (*Listener, error)

NewListener registers a new resource with the given unique name, arguments, and options.

type ListenerArgs

type ListenerArgs struct {
	// The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource.
	CertificateArn pulumi.StringPtrInput
	// An Action block. Action blocks are documented below.
	DefaultActions ListenerDefaultActionArrayInput
	// The ARN of the load balancer.
	LoadBalancerArn pulumi.StringInput
	// The port on which the load balancer is listening.
	Port pulumi.IntInput
	// The protocol for connections from clients to the load balancer. Valid values are `TCP`, `TLS`, `UDP`, `TCP_UDP`, `HTTP` and `HTTPS`. Defaults to `HTTP`.
	Protocol pulumi.StringPtrInput
	// The name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`.
	SslPolicy pulumi.StringPtrInput
}

The set of arguments for constructing a Listener resource.

func (ListenerArgs) ElementType

func (ListenerArgs) ElementType() reflect.Type

type ListenerCertificate deprecated

type ListenerCertificate struct {
	pulumi.CustomResourceState

	// The ARN of the certificate to attach to the listener.
	CertificateArn pulumi.StringOutput `pulumi:"certificateArn"`
	// The ARN of the listener to which to attach the certificate.
	ListenerArn pulumi.StringOutput `pulumi:"listenerArn"`
}

Provides a Load Balancer Listener Certificate resource.

This resource is for additional certificates and does not replace the default certificate on the listener.

> **Note:** `alb.ListenerCertificate` is known as `lb.ListenerCertificate`. The functionality is identical.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/acm"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleCertificate, err := acm.NewCertificate(ctx, "exampleCertificate", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewLoadBalancer(ctx, "frontEndLoadBalancer", nil)
		if err != nil {
			return err
		}
		frontEndListener, err := lb.NewListener(ctx, "frontEndListener", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListenerCertificate(ctx, "exampleListenerCertificate", &lb.ListenerCertificateArgs{
			CertificateArn: exampleCertificate.Arn,
			ListenerArn:    frontEndListener.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.ListenerCertificate has been deprecated in favor of aws.alb.ListenerCertificate

func GetListenerCertificate

func GetListenerCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerCertificateState, opts ...pulumi.ResourceOption) (*ListenerCertificate, error)

GetListenerCertificate gets an existing ListenerCertificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewListenerCertificate

func NewListenerCertificate(ctx *pulumi.Context,
	name string, args *ListenerCertificateArgs, opts ...pulumi.ResourceOption) (*ListenerCertificate, error)

NewListenerCertificate registers a new resource with the given unique name, arguments, and options.

type ListenerCertificateArgs

type ListenerCertificateArgs struct {
	// The ARN of the certificate to attach to the listener.
	CertificateArn pulumi.StringInput
	// The ARN of the listener to which to attach the certificate.
	ListenerArn pulumi.StringInput
}

The set of arguments for constructing a ListenerCertificate resource.

func (ListenerCertificateArgs) ElementType

func (ListenerCertificateArgs) ElementType() reflect.Type

type ListenerCertificateState

type ListenerCertificateState struct {
	// The ARN of the certificate to attach to the listener.
	CertificateArn pulumi.StringPtrInput
	// The ARN of the listener to which to attach the certificate.
	ListenerArn pulumi.StringPtrInput
}

func (ListenerCertificateState) ElementType

func (ListenerCertificateState) ElementType() reflect.Type

type ListenerDefaultAction

type ListenerDefaultAction struct {
	AuthenticateCognito *ListenerDefaultActionAuthenticateCognito `pulumi:"authenticateCognito"`
	AuthenticateOidc    *ListenerDefaultActionAuthenticateOidc    `pulumi:"authenticateOidc"`
	// Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.
	FixedResponse *ListenerDefaultActionFixedResponse `pulumi:"fixedResponse"`
	// Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`.
	Forward *ListenerDefaultActionForward `pulumi:"forward"`
	Order   *int                          `pulumi:"order"`
	// Information for creating a redirect action. Required if `type` is `redirect`.
	Redirect *ListenerDefaultActionRedirect `pulumi:"redirect"`
	// The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead.
	TargetGroupArn *string `pulumi:"targetGroupArn"`
	// The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.
	Type string `pulumi:"type"`
}

type ListenerDefaultActionArgs

type ListenerDefaultActionArgs struct {
	AuthenticateCognito ListenerDefaultActionAuthenticateCognitoPtrInput `pulumi:"authenticateCognito"`
	AuthenticateOidc    ListenerDefaultActionAuthenticateOidcPtrInput    `pulumi:"authenticateOidc"`
	// Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.
	FixedResponse ListenerDefaultActionFixedResponsePtrInput `pulumi:"fixedResponse"`
	// Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`.
	Forward ListenerDefaultActionForwardPtrInput `pulumi:"forward"`
	Order   pulumi.IntPtrInput                   `pulumi:"order"`
	// Information for creating a redirect action. Required if `type` is `redirect`.
	Redirect ListenerDefaultActionRedirectPtrInput `pulumi:"redirect"`
	// The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead.
	TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"`
	// The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ListenerDefaultActionArgs) ElementType

func (ListenerDefaultActionArgs) ElementType() reflect.Type

func (ListenerDefaultActionArgs) ToListenerDefaultActionOutput

func (i ListenerDefaultActionArgs) ToListenerDefaultActionOutput() ListenerDefaultActionOutput

func (ListenerDefaultActionArgs) ToListenerDefaultActionOutputWithContext

func (i ListenerDefaultActionArgs) ToListenerDefaultActionOutputWithContext(ctx context.Context) ListenerDefaultActionOutput

type ListenerDefaultActionArray

type ListenerDefaultActionArray []ListenerDefaultActionInput

func (ListenerDefaultActionArray) ElementType

func (ListenerDefaultActionArray) ElementType() reflect.Type

func (ListenerDefaultActionArray) ToListenerDefaultActionArrayOutput

func (i ListenerDefaultActionArray) ToListenerDefaultActionArrayOutput() ListenerDefaultActionArrayOutput

func (ListenerDefaultActionArray) ToListenerDefaultActionArrayOutputWithContext

func (i ListenerDefaultActionArray) ToListenerDefaultActionArrayOutputWithContext(ctx context.Context) ListenerDefaultActionArrayOutput

type ListenerDefaultActionArrayInput

type ListenerDefaultActionArrayInput interface {
	pulumi.Input

	ToListenerDefaultActionArrayOutput() ListenerDefaultActionArrayOutput
	ToListenerDefaultActionArrayOutputWithContext(context.Context) ListenerDefaultActionArrayOutput
}

ListenerDefaultActionArrayInput is an input type that accepts ListenerDefaultActionArray and ListenerDefaultActionArrayOutput values. You can construct a concrete instance of `ListenerDefaultActionArrayInput` via:

ListenerDefaultActionArray{ ListenerDefaultActionArgs{...} }

type ListenerDefaultActionArrayOutput

type ListenerDefaultActionArrayOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionArrayOutput) ElementType

func (ListenerDefaultActionArrayOutput) Index

func (ListenerDefaultActionArrayOutput) ToListenerDefaultActionArrayOutput

func (o ListenerDefaultActionArrayOutput) ToListenerDefaultActionArrayOutput() ListenerDefaultActionArrayOutput

func (ListenerDefaultActionArrayOutput) ToListenerDefaultActionArrayOutputWithContext

func (o ListenerDefaultActionArrayOutput) ToListenerDefaultActionArrayOutputWithContext(ctx context.Context) ListenerDefaultActionArrayOutput

type ListenerDefaultActionAuthenticateCognito

type ListenerDefaultActionAuthenticateCognito struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope *string `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName *string `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout *int `pulumi:"sessionTimeout"`
	// The ARN of the Cognito user pool.
	UserPoolArn string `pulumi:"userPoolArn"`
	// The ID of the Cognito user pool client.
	UserPoolClientId string `pulumi:"userPoolClientId"`
	// The domain prefix or fully-qualified domain name of the Cognito user pool.
	UserPoolDomain string `pulumi:"userPoolDomain"`
}

type ListenerDefaultActionAuthenticateCognitoArgs

type ListenerDefaultActionAuthenticateCognitoArgs struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName pulumi.StringPtrInput `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout pulumi.IntPtrInput `pulumi:"sessionTimeout"`
	// The ARN of the Cognito user pool.
	UserPoolArn pulumi.StringInput `pulumi:"userPoolArn"`
	// The ID of the Cognito user pool client.
	UserPoolClientId pulumi.StringInput `pulumi:"userPoolClientId"`
	// The domain prefix or fully-qualified domain name of the Cognito user pool.
	UserPoolDomain pulumi.StringInput `pulumi:"userPoolDomain"`
}

func (ListenerDefaultActionAuthenticateCognitoArgs) ElementType

func (ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoOutput

func (i ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoOutput() ListenerDefaultActionAuthenticateCognitoOutput

func (ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoOutputWithContext

func (i ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateCognitoOutput

func (ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoPtrOutput

func (i ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoPtrOutput() ListenerDefaultActionAuthenticateCognitoPtrOutput

func (ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoPtrOutputWithContext

func (i ListenerDefaultActionAuthenticateCognitoArgs) ToListenerDefaultActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateCognitoPtrOutput

type ListenerDefaultActionAuthenticateCognitoInput

type ListenerDefaultActionAuthenticateCognitoInput interface {
	pulumi.Input

	ToListenerDefaultActionAuthenticateCognitoOutput() ListenerDefaultActionAuthenticateCognitoOutput
	ToListenerDefaultActionAuthenticateCognitoOutputWithContext(context.Context) ListenerDefaultActionAuthenticateCognitoOutput
}

ListenerDefaultActionAuthenticateCognitoInput is an input type that accepts ListenerDefaultActionAuthenticateCognitoArgs and ListenerDefaultActionAuthenticateCognitoOutput values. You can construct a concrete instance of `ListenerDefaultActionAuthenticateCognitoInput` via:

ListenerDefaultActionAuthenticateCognitoArgs{...}

type ListenerDefaultActionAuthenticateCognitoOutput

type ListenerDefaultActionAuthenticateCognitoOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams

func (o ListenerDefaultActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerDefaultActionAuthenticateCognitoOutput) ElementType

func (ListenerDefaultActionAuthenticateCognitoOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerDefaultActionAuthenticateCognitoOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateCognitoOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateCognitoOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoOutput

func (o ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoOutput() ListenerDefaultActionAuthenticateCognitoOutput

func (ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoOutputWithContext

func (o ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateCognitoOutput

func (ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutput

func (o ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutput() ListenerDefaultActionAuthenticateCognitoPtrOutput

func (ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutputWithContext

func (o ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateCognitoPtrOutput

func (ListenerDefaultActionAuthenticateCognitoOutput) UserPoolArn

The ARN of the Cognito user pool.

func (ListenerDefaultActionAuthenticateCognitoOutput) UserPoolClientId

The ID of the Cognito user pool client.

func (ListenerDefaultActionAuthenticateCognitoOutput) UserPoolDomain

The domain prefix or fully-qualified domain name of the Cognito user pool.

type ListenerDefaultActionAuthenticateCognitoPtrInput

type ListenerDefaultActionAuthenticateCognitoPtrInput interface {
	pulumi.Input

	ToListenerDefaultActionAuthenticateCognitoPtrOutput() ListenerDefaultActionAuthenticateCognitoPtrOutput
	ToListenerDefaultActionAuthenticateCognitoPtrOutputWithContext(context.Context) ListenerDefaultActionAuthenticateCognitoPtrOutput
}

ListenerDefaultActionAuthenticateCognitoPtrInput is an input type that accepts ListenerDefaultActionAuthenticateCognitoArgs, ListenerDefaultActionAuthenticateCognitoPtr and ListenerDefaultActionAuthenticateCognitoPtrOutput values. You can construct a concrete instance of `ListenerDefaultActionAuthenticateCognitoPtrInput` via:

        ListenerDefaultActionAuthenticateCognitoArgs{...}

or:

        nil

type ListenerDefaultActionAuthenticateCognitoPtrOutput

type ListenerDefaultActionAuthenticateCognitoPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) AuthenticationRequestExtraParams

func (o ListenerDefaultActionAuthenticateCognitoPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) Elem

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) ElementType

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutput

func (o ListenerDefaultActionAuthenticateCognitoPtrOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutput() ListenerDefaultActionAuthenticateCognitoPtrOutput

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutputWithContext

func (o ListenerDefaultActionAuthenticateCognitoPtrOutput) ToListenerDefaultActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateCognitoPtrOutput

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) UserPoolArn

The ARN of the Cognito user pool.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) UserPoolClientId

The ID of the Cognito user pool client.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) UserPoolDomain

The domain prefix or fully-qualified domain name of the Cognito user pool.

type ListenerDefaultActionAuthenticateOidc

type ListenerDefaultActionAuthenticateOidc struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"`
	// The authorization endpoint of the IdP.
	AuthorizationEndpoint string `pulumi:"authorizationEndpoint"`
	// The OAuth 2.0 client identifier.
	ClientId string `pulumi:"clientId"`
	// The OAuth 2.0 client secret.
	ClientSecret string `pulumi:"clientSecret"`
	// The OIDC issuer identifier of the IdP.
	Issuer string `pulumi:"issuer"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope *string `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName *string `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout *int `pulumi:"sessionTimeout"`
	// The token endpoint of the IdP.
	TokenEndpoint string `pulumi:"tokenEndpoint"`
	// The user info endpoint of the IdP.
	UserInfoEndpoint string `pulumi:"userInfoEndpoint"`
}

type ListenerDefaultActionAuthenticateOidcArgs

type ListenerDefaultActionAuthenticateOidcArgs struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	// The authorization endpoint of the IdP.
	AuthorizationEndpoint pulumi.StringInput `pulumi:"authorizationEndpoint"`
	// The OAuth 2.0 client identifier.
	ClientId pulumi.StringInput `pulumi:"clientId"`
	// The OAuth 2.0 client secret.
	ClientSecret pulumi.StringInput `pulumi:"clientSecret"`
	// The OIDC issuer identifier of the IdP.
	Issuer pulumi.StringInput `pulumi:"issuer"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName pulumi.StringPtrInput `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout pulumi.IntPtrInput `pulumi:"sessionTimeout"`
	// The token endpoint of the IdP.
	TokenEndpoint pulumi.StringInput `pulumi:"tokenEndpoint"`
	// The user info endpoint of the IdP.
	UserInfoEndpoint pulumi.StringInput `pulumi:"userInfoEndpoint"`
}

func (ListenerDefaultActionAuthenticateOidcArgs) ElementType

func (ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcOutput

func (i ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcOutput() ListenerDefaultActionAuthenticateOidcOutput

func (ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcOutputWithContext

func (i ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateOidcOutput

func (ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcPtrOutput

func (i ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcPtrOutput() ListenerDefaultActionAuthenticateOidcPtrOutput

func (ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcPtrOutputWithContext

func (i ListenerDefaultActionAuthenticateOidcArgs) ToListenerDefaultActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateOidcPtrOutput

type ListenerDefaultActionAuthenticateOidcInput

type ListenerDefaultActionAuthenticateOidcInput interface {
	pulumi.Input

	ToListenerDefaultActionAuthenticateOidcOutput() ListenerDefaultActionAuthenticateOidcOutput
	ToListenerDefaultActionAuthenticateOidcOutputWithContext(context.Context) ListenerDefaultActionAuthenticateOidcOutput
}

ListenerDefaultActionAuthenticateOidcInput is an input type that accepts ListenerDefaultActionAuthenticateOidcArgs and ListenerDefaultActionAuthenticateOidcOutput values. You can construct a concrete instance of `ListenerDefaultActionAuthenticateOidcInput` via:

ListenerDefaultActionAuthenticateOidcArgs{...}

type ListenerDefaultActionAuthenticateOidcOutput

type ListenerDefaultActionAuthenticateOidcOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionAuthenticateOidcOutput) AuthenticationRequestExtraParams

func (o ListenerDefaultActionAuthenticateOidcOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerDefaultActionAuthenticateOidcOutput) AuthorizationEndpoint

The authorization endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) ClientId

The OAuth 2.0 client identifier.

func (ListenerDefaultActionAuthenticateOidcOutput) ClientSecret

The OAuth 2.0 client secret.

func (ListenerDefaultActionAuthenticateOidcOutput) ElementType

func (ListenerDefaultActionAuthenticateOidcOutput) Issuer

The OIDC issuer identifier of the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerDefaultActionAuthenticateOidcOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateOidcOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcOutput

func (o ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcOutput() ListenerDefaultActionAuthenticateOidcOutput

func (ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcOutputWithContext

func (o ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateOidcOutput

func (ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcPtrOutput

func (o ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcPtrOutput() ListenerDefaultActionAuthenticateOidcPtrOutput

func (ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcPtrOutputWithContext

func (o ListenerDefaultActionAuthenticateOidcOutput) ToListenerDefaultActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateOidcPtrOutput

func (ListenerDefaultActionAuthenticateOidcOutput) TokenEndpoint

The token endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) UserInfoEndpoint

The user info endpoint of the IdP.

type ListenerDefaultActionAuthenticateOidcPtrInput

type ListenerDefaultActionAuthenticateOidcPtrInput interface {
	pulumi.Input

	ToListenerDefaultActionAuthenticateOidcPtrOutput() ListenerDefaultActionAuthenticateOidcPtrOutput
	ToListenerDefaultActionAuthenticateOidcPtrOutputWithContext(context.Context) ListenerDefaultActionAuthenticateOidcPtrOutput
}

ListenerDefaultActionAuthenticateOidcPtrInput is an input type that accepts ListenerDefaultActionAuthenticateOidcArgs, ListenerDefaultActionAuthenticateOidcPtr and ListenerDefaultActionAuthenticateOidcPtrOutput values. You can construct a concrete instance of `ListenerDefaultActionAuthenticateOidcPtrInput` via:

        ListenerDefaultActionAuthenticateOidcArgs{...}

or:

        nil

type ListenerDefaultActionAuthenticateOidcPtrOutput

type ListenerDefaultActionAuthenticateOidcPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionAuthenticateOidcPtrOutput) AuthenticationRequestExtraParams

func (o ListenerDefaultActionAuthenticateOidcPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) AuthorizationEndpoint

The authorization endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ClientId

The OAuth 2.0 client identifier.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ClientSecret

The OAuth 2.0 client secret.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) Elem

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ElementType

func (ListenerDefaultActionAuthenticateOidcPtrOutput) Issuer

The OIDC issuer identifier of the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerDefaultActionAuthenticateOidcPtrOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ToListenerDefaultActionAuthenticateOidcPtrOutput

func (o ListenerDefaultActionAuthenticateOidcPtrOutput) ToListenerDefaultActionAuthenticateOidcPtrOutput() ListenerDefaultActionAuthenticateOidcPtrOutput

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ToListenerDefaultActionAuthenticateOidcPtrOutputWithContext

func (o ListenerDefaultActionAuthenticateOidcPtrOutput) ToListenerDefaultActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) ListenerDefaultActionAuthenticateOidcPtrOutput

func (ListenerDefaultActionAuthenticateOidcPtrOutput) TokenEndpoint

The token endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) UserInfoEndpoint

The user info endpoint of the IdP.

type ListenerDefaultActionFixedResponse

type ListenerDefaultActionFixedResponse struct {
	// The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.
	ContentType string `pulumi:"contentType"`
	// The message body.
	MessageBody *string `pulumi:"messageBody"`
	// The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.
	StatusCode *string `pulumi:"statusCode"`
}

type ListenerDefaultActionFixedResponseArgs

type ListenerDefaultActionFixedResponseArgs struct {
	// The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// The message body.
	MessageBody pulumi.StringPtrInput `pulumi:"messageBody"`
	// The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.
	StatusCode pulumi.StringPtrInput `pulumi:"statusCode"`
}

func (ListenerDefaultActionFixedResponseArgs) ElementType

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutput

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutputWithContext

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutput

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutputWithContext

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionFixedResponseInput

type ListenerDefaultActionFixedResponseInput interface {
	pulumi.Input

	ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput
	ToListenerDefaultActionFixedResponseOutputWithContext(context.Context) ListenerDefaultActionFixedResponseOutput
}

ListenerDefaultActionFixedResponseInput is an input type that accepts ListenerDefaultActionFixedResponseArgs and ListenerDefaultActionFixedResponseOutput values. You can construct a concrete instance of `ListenerDefaultActionFixedResponseInput` via:

ListenerDefaultActionFixedResponseArgs{...}

type ListenerDefaultActionFixedResponseOutput

type ListenerDefaultActionFixedResponseOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionFixedResponseOutput) ContentType

The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.

func (ListenerDefaultActionFixedResponseOutput) ElementType

func (ListenerDefaultActionFixedResponseOutput) MessageBody

The message body.

func (ListenerDefaultActionFixedResponseOutput) StatusCode

The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutput

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutputWithContext

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutput

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionFixedResponsePtrInput

type ListenerDefaultActionFixedResponsePtrInput interface {
	pulumi.Input

	ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput
	ToListenerDefaultActionFixedResponsePtrOutputWithContext(context.Context) ListenerDefaultActionFixedResponsePtrOutput
}

ListenerDefaultActionFixedResponsePtrInput is an input type that accepts ListenerDefaultActionFixedResponseArgs, ListenerDefaultActionFixedResponsePtr and ListenerDefaultActionFixedResponsePtrOutput values. You can construct a concrete instance of `ListenerDefaultActionFixedResponsePtrInput` via:

        ListenerDefaultActionFixedResponseArgs{...}

or:

        nil

type ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionFixedResponsePtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionFixedResponsePtrOutput) ContentType

The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.

func (ListenerDefaultActionFixedResponsePtrOutput) Elem

func (ListenerDefaultActionFixedResponsePtrOutput) ElementType

func (ListenerDefaultActionFixedResponsePtrOutput) MessageBody

The message body.

func (ListenerDefaultActionFixedResponsePtrOutput) StatusCode

The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.

func (ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutput

func (o ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext

func (o ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionForward added in v2.8.0

type ListenerDefaultActionForward struct {
	// The target group stickiness for the rule.
	Stickiness *ListenerDefaultActionForwardStickiness `pulumi:"stickiness"`
	// One or more target groups block.
	TargetGroups []ListenerDefaultActionForwardTargetGroup `pulumi:"targetGroups"`
}

type ListenerDefaultActionForwardArgs added in v2.8.0

type ListenerDefaultActionForwardArgs struct {
	// The target group stickiness for the rule.
	Stickiness ListenerDefaultActionForwardStickinessPtrInput `pulumi:"stickiness"`
	// One or more target groups block.
	TargetGroups ListenerDefaultActionForwardTargetGroupArrayInput `pulumi:"targetGroups"`
}

func (ListenerDefaultActionForwardArgs) ElementType added in v2.8.0

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput added in v2.8.0

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutputWithContext added in v2.8.0

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutputWithContext(ctx context.Context) ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardPtrOutput added in v2.8.0

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardPtrOutput() ListenerDefaultActionForwardPtrOutput

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardPtrOutputWithContext added in v2.8.0

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardPtrOutputWithContext(ctx context.Context) ListenerDefaultActionForwardPtrOutput

type ListenerDefaultActionForwardInput added in v2.8.0

type ListenerDefaultActionForwardInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput
	ToListenerDefaultActionForwardOutputWithContext(context.Context) ListenerDefaultActionForwardOutput
}

ListenerDefaultActionForwardInput is an input type that accepts ListenerDefaultActionForwardArgs and ListenerDefaultActionForwardOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardInput` via:

ListenerDefaultActionForwardArgs{...}

type ListenerDefaultActionForwardOutput added in v2.8.0

type ListenerDefaultActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardOutput) ElementType added in v2.8.0

func (ListenerDefaultActionForwardOutput) Stickiness added in v2.8.0

The target group stickiness for the rule.

func (ListenerDefaultActionForwardOutput) TargetGroups added in v2.8.0

One or more target groups block.

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput added in v2.8.0

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutputWithContext(ctx context.Context) ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOutput added in v2.8.0

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOutput() ListenerDefaultActionForwardPtrOutput

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOutputWithContext(ctx context.Context) ListenerDefaultActionForwardPtrOutput

type ListenerDefaultActionForwardPtrInput added in v2.8.0

type ListenerDefaultActionForwardPtrInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardPtrOutput() ListenerDefaultActionForwardPtrOutput
	ToListenerDefaultActionForwardPtrOutputWithContext(context.Context) ListenerDefaultActionForwardPtrOutput
}

ListenerDefaultActionForwardPtrInput is an input type that accepts ListenerDefaultActionForwardArgs, ListenerDefaultActionForwardPtr and ListenerDefaultActionForwardPtrOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardPtrInput` via:

        ListenerDefaultActionForwardArgs{...}

or:

        nil

type ListenerDefaultActionForwardPtrOutput added in v2.8.0

type ListenerDefaultActionForwardPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardPtrOutput) Elem added in v2.8.0

func (ListenerDefaultActionForwardPtrOutput) ElementType added in v2.8.0

func (ListenerDefaultActionForwardPtrOutput) Stickiness added in v2.8.0

The target group stickiness for the rule.

func (ListenerDefaultActionForwardPtrOutput) TargetGroups added in v2.8.0

One or more target groups block.

func (ListenerDefaultActionForwardPtrOutput) ToListenerDefaultActionForwardPtrOutput added in v2.8.0

func (o ListenerDefaultActionForwardPtrOutput) ToListenerDefaultActionForwardPtrOutput() ListenerDefaultActionForwardPtrOutput

func (ListenerDefaultActionForwardPtrOutput) ToListenerDefaultActionForwardPtrOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardPtrOutput) ToListenerDefaultActionForwardPtrOutputWithContext(ctx context.Context) ListenerDefaultActionForwardPtrOutput

type ListenerDefaultActionForwardStickiness added in v2.8.0

type ListenerDefaultActionForwardStickiness struct {
	// The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
	Duration int `pulumi:"duration"`
	// Indicates whether target group stickiness is enabled.
	Enabled *bool `pulumi:"enabled"`
}

type ListenerDefaultActionForwardStickinessArgs added in v2.8.0

type ListenerDefaultActionForwardStickinessArgs struct {
	// The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
	Duration pulumi.IntInput `pulumi:"duration"`
	// Indicates whether target group stickiness is enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (ListenerDefaultActionForwardStickinessArgs) ElementType added in v2.8.0

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessOutput added in v2.8.0

func (i ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessOutput() ListenerDefaultActionForwardStickinessOutput

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessOutputWithContext added in v2.8.0

func (i ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessOutputWithContext(ctx context.Context) ListenerDefaultActionForwardStickinessOutput

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessPtrOutput added in v2.8.0

func (i ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessPtrOutput() ListenerDefaultActionForwardStickinessPtrOutput

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessPtrOutputWithContext added in v2.8.0

func (i ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessPtrOutputWithContext(ctx context.Context) ListenerDefaultActionForwardStickinessPtrOutput

type ListenerDefaultActionForwardStickinessInput added in v2.8.0

type ListenerDefaultActionForwardStickinessInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardStickinessOutput() ListenerDefaultActionForwardStickinessOutput
	ToListenerDefaultActionForwardStickinessOutputWithContext(context.Context) ListenerDefaultActionForwardStickinessOutput
}

ListenerDefaultActionForwardStickinessInput is an input type that accepts ListenerDefaultActionForwardStickinessArgs and ListenerDefaultActionForwardStickinessOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardStickinessInput` via:

ListenerDefaultActionForwardStickinessArgs{...}

type ListenerDefaultActionForwardStickinessOutput added in v2.8.0

type ListenerDefaultActionForwardStickinessOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardStickinessOutput) Duration added in v2.8.0

The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).

func (ListenerDefaultActionForwardStickinessOutput) ElementType added in v2.8.0

func (ListenerDefaultActionForwardStickinessOutput) Enabled added in v2.8.0

Indicates whether target group stickiness is enabled.

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessOutput added in v2.8.0

func (o ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessOutput() ListenerDefaultActionForwardStickinessOutput

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessOutputWithContext(ctx context.Context) ListenerDefaultActionForwardStickinessOutput

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessPtrOutput added in v2.8.0

func (o ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessPtrOutput() ListenerDefaultActionForwardStickinessPtrOutput

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessPtrOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessPtrOutputWithContext(ctx context.Context) ListenerDefaultActionForwardStickinessPtrOutput

type ListenerDefaultActionForwardStickinessPtrInput added in v2.8.0

type ListenerDefaultActionForwardStickinessPtrInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardStickinessPtrOutput() ListenerDefaultActionForwardStickinessPtrOutput
	ToListenerDefaultActionForwardStickinessPtrOutputWithContext(context.Context) ListenerDefaultActionForwardStickinessPtrOutput
}

ListenerDefaultActionForwardStickinessPtrInput is an input type that accepts ListenerDefaultActionForwardStickinessArgs, ListenerDefaultActionForwardStickinessPtr and ListenerDefaultActionForwardStickinessPtrOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardStickinessPtrInput` via:

        ListenerDefaultActionForwardStickinessArgs{...}

or:

        nil

type ListenerDefaultActionForwardStickinessPtrOutput added in v2.8.0

type ListenerDefaultActionForwardStickinessPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardStickinessPtrOutput) Duration added in v2.8.0

The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).

func (ListenerDefaultActionForwardStickinessPtrOutput) Elem added in v2.8.0

func (ListenerDefaultActionForwardStickinessPtrOutput) ElementType added in v2.8.0

func (ListenerDefaultActionForwardStickinessPtrOutput) Enabled added in v2.8.0

Indicates whether target group stickiness is enabled.

func (ListenerDefaultActionForwardStickinessPtrOutput) ToListenerDefaultActionForwardStickinessPtrOutput added in v2.8.0

func (o ListenerDefaultActionForwardStickinessPtrOutput) ToListenerDefaultActionForwardStickinessPtrOutput() ListenerDefaultActionForwardStickinessPtrOutput

func (ListenerDefaultActionForwardStickinessPtrOutput) ToListenerDefaultActionForwardStickinessPtrOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardStickinessPtrOutput) ToListenerDefaultActionForwardStickinessPtrOutputWithContext(ctx context.Context) ListenerDefaultActionForwardStickinessPtrOutput

type ListenerDefaultActionForwardTargetGroup added in v2.8.0

type ListenerDefaultActionForwardTargetGroup struct {
	// The Amazon Resource Name (ARN) of the target group.
	Arn string `pulumi:"arn"`
	// The weight. The range is 0 to 999.
	Weight *int `pulumi:"weight"`
}

type ListenerDefaultActionForwardTargetGroupArgs added in v2.8.0

type ListenerDefaultActionForwardTargetGroupArgs struct {
	// The Amazon Resource Name (ARN) of the target group.
	Arn pulumi.StringInput `pulumi:"arn"`
	// The weight. The range is 0 to 999.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ListenerDefaultActionForwardTargetGroupArgs) ElementType added in v2.8.0

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput added in v2.8.0

func (i ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutputWithContext added in v2.8.0

func (i ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupOutput

type ListenerDefaultActionForwardTargetGroupArray added in v2.8.0

type ListenerDefaultActionForwardTargetGroupArray []ListenerDefaultActionForwardTargetGroupInput

func (ListenerDefaultActionForwardTargetGroupArray) ElementType added in v2.8.0

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput added in v2.8.0

func (i ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext added in v2.8.0

func (i ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupArrayOutput

type ListenerDefaultActionForwardTargetGroupArrayInput added in v2.8.0

type ListenerDefaultActionForwardTargetGroupArrayInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput
	ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext(context.Context) ListenerDefaultActionForwardTargetGroupArrayOutput
}

ListenerDefaultActionForwardTargetGroupArrayInput is an input type that accepts ListenerDefaultActionForwardTargetGroupArray and ListenerDefaultActionForwardTargetGroupArrayOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardTargetGroupArrayInput` via:

ListenerDefaultActionForwardTargetGroupArray{ ListenerDefaultActionForwardTargetGroupArgs{...} }

type ListenerDefaultActionForwardTargetGroupArrayOutput added in v2.8.0

type ListenerDefaultActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ElementType added in v2.8.0

func (ListenerDefaultActionForwardTargetGroupArrayOutput) Index added in v2.8.0

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput added in v2.8.0

func (o ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupArrayOutput

type ListenerDefaultActionForwardTargetGroupInput added in v2.8.0

type ListenerDefaultActionForwardTargetGroupInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput
	ToListenerDefaultActionForwardTargetGroupOutputWithContext(context.Context) ListenerDefaultActionForwardTargetGroupOutput
}

ListenerDefaultActionForwardTargetGroupInput is an input type that accepts ListenerDefaultActionForwardTargetGroupArgs and ListenerDefaultActionForwardTargetGroupOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardTargetGroupInput` via:

ListenerDefaultActionForwardTargetGroupArgs{...}

type ListenerDefaultActionForwardTargetGroupOutput added in v2.8.0

type ListenerDefaultActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupOutput) Arn added in v2.8.0

The Amazon Resource Name (ARN) of the target group.

func (ListenerDefaultActionForwardTargetGroupOutput) ElementType added in v2.8.0

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput added in v2.8.0

func (o ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutputWithContext added in v2.8.0

func (o ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupOutput) Weight added in v2.8.0

The weight. The range is 0 to 999.

type ListenerDefaultActionInput

type ListenerDefaultActionInput interface {
	pulumi.Input

	ToListenerDefaultActionOutput() ListenerDefaultActionOutput
	ToListenerDefaultActionOutputWithContext(context.Context) ListenerDefaultActionOutput
}

ListenerDefaultActionInput is an input type that accepts ListenerDefaultActionArgs and ListenerDefaultActionOutput values. You can construct a concrete instance of `ListenerDefaultActionInput` via:

ListenerDefaultActionArgs{...}

type ListenerDefaultActionOutput

type ListenerDefaultActionOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionOutput) AuthenticateCognito

func (ListenerDefaultActionOutput) AuthenticateOidc

func (ListenerDefaultActionOutput) ElementType

func (ListenerDefaultActionOutput) FixedResponse

Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.

func (ListenerDefaultActionOutput) Forward added in v2.8.0

Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`.

func (ListenerDefaultActionOutput) Order

func (ListenerDefaultActionOutput) Redirect

Information for creating a redirect action. Required if `type` is `redirect`.

func (ListenerDefaultActionOutput) TargetGroupArn

The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead.

func (ListenerDefaultActionOutput) ToListenerDefaultActionOutput

func (o ListenerDefaultActionOutput) ToListenerDefaultActionOutput() ListenerDefaultActionOutput

func (ListenerDefaultActionOutput) ToListenerDefaultActionOutputWithContext

func (o ListenerDefaultActionOutput) ToListenerDefaultActionOutputWithContext(ctx context.Context) ListenerDefaultActionOutput

func (ListenerDefaultActionOutput) Type

The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.

type ListenerDefaultActionRedirect

type ListenerDefaultActionRedirect struct {
	// The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.
	Host *string `pulumi:"host"`
	// The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.
	Path *string `pulumi:"path"`
	// The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.
	Port *string `pulumi:"port"`
	// The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.
	Protocol *string `pulumi:"protocol"`
	// The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.
	Query *string `pulumi:"query"`
	// The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).
	StatusCode string `pulumi:"statusCode"`
}

type ListenerDefaultActionRedirectArgs

type ListenerDefaultActionRedirectArgs struct {
	// The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.
	Query pulumi.StringPtrInput `pulumi:"query"`
	// The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).
	StatusCode pulumi.StringInput `pulumi:"statusCode"`
}

func (ListenerDefaultActionRedirectArgs) ElementType

func (ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectOutput

func (i ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectOutput() ListenerDefaultActionRedirectOutput

func (ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectOutputWithContext

func (i ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectOutputWithContext(ctx context.Context) ListenerDefaultActionRedirectOutput

func (ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectPtrOutput

func (i ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectPtrOutput() ListenerDefaultActionRedirectPtrOutput

func (ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectPtrOutputWithContext

func (i ListenerDefaultActionRedirectArgs) ToListenerDefaultActionRedirectPtrOutputWithContext(ctx context.Context) ListenerDefaultActionRedirectPtrOutput

type ListenerDefaultActionRedirectInput

type ListenerDefaultActionRedirectInput interface {
	pulumi.Input

	ToListenerDefaultActionRedirectOutput() ListenerDefaultActionRedirectOutput
	ToListenerDefaultActionRedirectOutputWithContext(context.Context) ListenerDefaultActionRedirectOutput
}

ListenerDefaultActionRedirectInput is an input type that accepts ListenerDefaultActionRedirectArgs and ListenerDefaultActionRedirectOutput values. You can construct a concrete instance of `ListenerDefaultActionRedirectInput` via:

ListenerDefaultActionRedirectArgs{...}

type ListenerDefaultActionRedirectOutput

type ListenerDefaultActionRedirectOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionRedirectOutput) ElementType

func (ListenerDefaultActionRedirectOutput) Host

The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.

func (ListenerDefaultActionRedirectOutput) Path

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.

func (ListenerDefaultActionRedirectOutput) Port

The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.

func (ListenerDefaultActionRedirectOutput) Protocol

The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.

func (ListenerDefaultActionRedirectOutput) Query

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.

func (ListenerDefaultActionRedirectOutput) StatusCode

The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).

func (ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectOutput

func (o ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectOutput() ListenerDefaultActionRedirectOutput

func (ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectOutputWithContext

func (o ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectOutputWithContext(ctx context.Context) ListenerDefaultActionRedirectOutput

func (ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectPtrOutput

func (o ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectPtrOutput() ListenerDefaultActionRedirectPtrOutput

func (ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectPtrOutputWithContext

func (o ListenerDefaultActionRedirectOutput) ToListenerDefaultActionRedirectPtrOutputWithContext(ctx context.Context) ListenerDefaultActionRedirectPtrOutput

type ListenerDefaultActionRedirectPtrInput

type ListenerDefaultActionRedirectPtrInput interface {
	pulumi.Input

	ToListenerDefaultActionRedirectPtrOutput() ListenerDefaultActionRedirectPtrOutput
	ToListenerDefaultActionRedirectPtrOutputWithContext(context.Context) ListenerDefaultActionRedirectPtrOutput
}

ListenerDefaultActionRedirectPtrInput is an input type that accepts ListenerDefaultActionRedirectArgs, ListenerDefaultActionRedirectPtr and ListenerDefaultActionRedirectPtrOutput values. You can construct a concrete instance of `ListenerDefaultActionRedirectPtrInput` via:

        ListenerDefaultActionRedirectArgs{...}

or:

        nil

type ListenerDefaultActionRedirectPtrOutput

type ListenerDefaultActionRedirectPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionRedirectPtrOutput) Elem

func (ListenerDefaultActionRedirectPtrOutput) ElementType

func (ListenerDefaultActionRedirectPtrOutput) Host

The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.

func (ListenerDefaultActionRedirectPtrOutput) Path

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.

func (ListenerDefaultActionRedirectPtrOutput) Port

The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.

func (ListenerDefaultActionRedirectPtrOutput) Protocol

The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.

func (ListenerDefaultActionRedirectPtrOutput) Query

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.

func (ListenerDefaultActionRedirectPtrOutput) StatusCode

The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).

func (ListenerDefaultActionRedirectPtrOutput) ToListenerDefaultActionRedirectPtrOutput

func (o ListenerDefaultActionRedirectPtrOutput) ToListenerDefaultActionRedirectPtrOutput() ListenerDefaultActionRedirectPtrOutput

func (ListenerDefaultActionRedirectPtrOutput) ToListenerDefaultActionRedirectPtrOutputWithContext

func (o ListenerDefaultActionRedirectPtrOutput) ToListenerDefaultActionRedirectPtrOutputWithContext(ctx context.Context) ListenerDefaultActionRedirectPtrOutput

type ListenerRule deprecated

type ListenerRule struct {
	pulumi.CustomResourceState

	// An Action block. Action blocks are documented below.
	Actions ListenerRuleActionArrayOutput `pulumi:"actions"`
	// The Amazon Resource Name (ARN) of the target group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.
	Conditions ListenerRuleConditionArrayOutput `pulumi:"conditions"`
	// The ARN of the listener to which to attach the rule.
	ListenerArn pulumi.StringOutput `pulumi:"listenerArn"`
	// The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
	Priority pulumi.IntOutput `pulumi:"priority"`
}

Provides a Load Balancer Listener Rule resource.

> **Note:** `alb.ListenerRule` is known as `lb.ListenerRule`. The functionality is identical.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/cognito"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewLoadBalancer(ctx, "frontEndLoadBalancer", nil)
		if err != nil {
			return err
		}
		frontEndListener, err := lb.NewListener(ctx, "frontEndListener", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListenerRule(ctx, "static", &lb.ListenerRuleArgs{
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					TargetGroupArn: pulumi.String(aws_lb_target_group.Static.Arn),
					Type:           pulumi.String("forward"),
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					PathPattern: &lb.ListenerRuleConditionPathPatternArgs{
						Values: pulumi.StringArray{
							pulumi.String("/static/*"),
						},
					},
				},
				&lb.ListenerRuleConditionArgs{
					HostHeader: &lb.ListenerRuleConditionHostHeaderArgs{
						Values: pulumi.StringArray{
							pulumi.String("example.com"),
						},
					},
				},
			},
			ListenerArn: frontEndListener.Arn,
			Priority:    pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		_, err = lb.NewListenerRule(ctx, "hostBasedRouting", &lb.ListenerRuleArgs{
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Forward: &lb.ListenerRuleActionForwardArgs{
						Stickiness: &lb.ListenerRuleActionForwardStickinessArgs{
							Duration: pulumi.Int(600),
							Enabled:  pulumi.Bool(true),
						},
						TargetGroup: pulumi.MapArray{
							pulumi.Map{
								"arn":    pulumi.String(aws_lb_target_group.Main.Arn),
								"weight": pulumi.Float64(80),
							},
							pulumi.Map{
								"arn":    pulumi.String(aws_lb_target_group.Canary.Arn),
								"weight": pulumi.Float64(20),
							},
						},
					},
					Type: pulumi.String("forward"),
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					HostHeader: &lb.ListenerRuleConditionHostHeaderArgs{
						Values: pulumi.StringArray{
							pulumi.String("my-service.*.mycompany.io"),
						},
					},
				},
			},
			ListenerArn: frontEndListener.Arn,
			Priority:    pulumi.Int(99),
		})
		if err != nil {
			return err
		}
		_, err = lb.NewListenerRule(ctx, "hostBasedWeightedRouting", &lb.ListenerRuleArgs{
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					TargetGroupArn: pulumi.String(aws_lb_target_group.Static.Arn),
					Type:           pulumi.String("forward"),
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					HostHeader: &lb.ListenerRuleConditionHostHeaderArgs{
						Values: pulumi.StringArray{
							pulumi.String("my-service.*.mydomain.io"),
						},
					},
				},
			},
			ListenerArn: frontEndListener.Arn,
			Priority:    pulumi.Int(99),
		})
		if err != nil {
			return err
		}
		_, err = lb.NewListenerRule(ctx, "redirectHttpToHttps", &lb.ListenerRuleArgs{
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Redirect: &lb.ListenerRuleActionRedirectArgs{
						Port:       pulumi.String("443"),
						Protocol:   pulumi.String("HTTPS"),
						StatusCode: pulumi.String("HTTP_301"),
					},
					Type: pulumi.String("redirect"),
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					HttpHeader: &lb.ListenerRuleConditionHttpHeaderArgs{
						HttpHeaderName: pulumi.String("X-Forwarded-For"),
						Values: pulumi.StringArray{
							pulumi.String("192.168.1.*"),
						},
					},
				},
			},
			ListenerArn: frontEndListener.Arn,
		})
		if err != nil {
			return err
		}
		_, err = lb.NewListenerRule(ctx, "healthCheck", &lb.ListenerRuleArgs{
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					FixedResponse: &lb.ListenerRuleActionFixedResponseArgs{
						ContentType: pulumi.String("text/plain"),
						MessageBody: pulumi.String("HEALTHY"),
						StatusCode:  pulumi.String("200"),
					},
					Type: pulumi.String("fixed-response"),
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					QueryStrings: lb.ListenerRuleConditionQueryStringArray{
						&lb.ListenerRuleConditionQueryStringArgs{
							Key:   pulumi.String("health"),
							Value: pulumi.String("check"),
						},
						&lb.ListenerRuleConditionQueryStringArgs{
							Value: pulumi.String("bar"),
						},
					},
				},
			},
			ListenerArn: frontEndListener.Arn,
		})
		if err != nil {
			return err
		}
		_, err = cognito.NewUserPool(ctx, "pool", nil)
		if err != nil {
			return err
		}
		_, err = cognito.NewUserPoolClient(ctx, "client", nil)
		if err != nil {
			return err
		}
		_, err = cognito.NewUserPoolDomain(ctx, "domain", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListenerRule(ctx, "admin", &lb.ListenerRuleArgs{
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					AuthenticateOidc: &lb.ListenerRuleActionAuthenticateOidcArgs{
						AuthorizationEndpoint: pulumi.String("https://example.com/authorization_endpoint"),
						ClientId:              pulumi.String("client_id"),
						ClientSecret:          pulumi.String("client_secret"),
						Issuer:                pulumi.String("https://example.com"),
						TokenEndpoint:         pulumi.String("https://example.com/token_endpoint"),
						UserInfoEndpoint:      pulumi.String("https://example.com/user_info_endpoint"),
					},
					Type: pulumi.String("authenticate-oidc"),
				},
				&lb.ListenerRuleActionArgs{
					TargetGroupArn: pulumi.String(aws_lb_target_group.Static.Arn),
					Type:           pulumi.String("forward"),
				},
			},
			ListenerArn: frontEndListener.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.ListenerRule has been deprecated in favor of aws.alb.ListenerRule

func GetListenerRule

func GetListenerRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerRuleState, opts ...pulumi.ResourceOption) (*ListenerRule, error)

GetListenerRule gets an existing ListenerRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewListenerRule

func NewListenerRule(ctx *pulumi.Context,
	name string, args *ListenerRuleArgs, opts ...pulumi.ResourceOption) (*ListenerRule, error)

NewListenerRule registers a new resource with the given unique name, arguments, and options.

type ListenerRuleAction

type ListenerRuleAction struct {
	// Information for creating an authenticate action using Cognito. Required if `type` is `authenticate-cognito`.
	AuthenticateCognito *ListenerRuleActionAuthenticateCognito `pulumi:"authenticateCognito"`
	// Information for creating an authenticate action using OIDC. Required if `type` is `authenticate-oidc`.
	AuthenticateOidc *ListenerRuleActionAuthenticateOidc `pulumi:"authenticateOidc"`
	// Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.
	FixedResponse *ListenerRuleActionFixedResponse `pulumi:"fixedResponse"`
	// Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`.
	Forward *ListenerRuleActionForward `pulumi:"forward"`
	Order   *int                       `pulumi:"order"`
	// Information for creating a redirect action. Required if `type` is `redirect`.
	Redirect *ListenerRuleActionRedirect `pulumi:"redirect"`
	// The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead.
	TargetGroupArn *string `pulumi:"targetGroupArn"`
	// The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.
	Type string `pulumi:"type"`
}

type ListenerRuleActionArgs

type ListenerRuleActionArgs struct {
	// Information for creating an authenticate action using Cognito. Required if `type` is `authenticate-cognito`.
	AuthenticateCognito ListenerRuleActionAuthenticateCognitoPtrInput `pulumi:"authenticateCognito"`
	// Information for creating an authenticate action using OIDC. Required if `type` is `authenticate-oidc`.
	AuthenticateOidc ListenerRuleActionAuthenticateOidcPtrInput `pulumi:"authenticateOidc"`
	// Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.
	FixedResponse ListenerRuleActionFixedResponsePtrInput `pulumi:"fixedResponse"`
	// Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`.
	Forward ListenerRuleActionForwardPtrInput `pulumi:"forward"`
	Order   pulumi.IntPtrInput                `pulumi:"order"`
	// Information for creating a redirect action. Required if `type` is `redirect`.
	Redirect ListenerRuleActionRedirectPtrInput `pulumi:"redirect"`
	// The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead.
	TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"`
	// The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ListenerRuleActionArgs) ElementType

func (ListenerRuleActionArgs) ElementType() reflect.Type

func (ListenerRuleActionArgs) ToListenerRuleActionOutput

func (i ListenerRuleActionArgs) ToListenerRuleActionOutput() ListenerRuleActionOutput

func (ListenerRuleActionArgs) ToListenerRuleActionOutputWithContext

func (i ListenerRuleActionArgs) ToListenerRuleActionOutputWithContext(ctx context.Context) ListenerRuleActionOutput

type ListenerRuleActionArray

type ListenerRuleActionArray []ListenerRuleActionInput

func (ListenerRuleActionArray) ElementType

func (ListenerRuleActionArray) ElementType() reflect.Type

func (ListenerRuleActionArray) ToListenerRuleActionArrayOutput

func (i ListenerRuleActionArray) ToListenerRuleActionArrayOutput() ListenerRuleActionArrayOutput

func (ListenerRuleActionArray) ToListenerRuleActionArrayOutputWithContext

func (i ListenerRuleActionArray) ToListenerRuleActionArrayOutputWithContext(ctx context.Context) ListenerRuleActionArrayOutput

type ListenerRuleActionArrayInput

type ListenerRuleActionArrayInput interface {
	pulumi.Input

	ToListenerRuleActionArrayOutput() ListenerRuleActionArrayOutput
	ToListenerRuleActionArrayOutputWithContext(context.Context) ListenerRuleActionArrayOutput
}

ListenerRuleActionArrayInput is an input type that accepts ListenerRuleActionArray and ListenerRuleActionArrayOutput values. You can construct a concrete instance of `ListenerRuleActionArrayInput` via:

ListenerRuleActionArray{ ListenerRuleActionArgs{...} }

type ListenerRuleActionArrayOutput

type ListenerRuleActionArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionArrayOutput) ElementType

func (ListenerRuleActionArrayOutput) Index

func (ListenerRuleActionArrayOutput) ToListenerRuleActionArrayOutput

func (o ListenerRuleActionArrayOutput) ToListenerRuleActionArrayOutput() ListenerRuleActionArrayOutput

func (ListenerRuleActionArrayOutput) ToListenerRuleActionArrayOutputWithContext

func (o ListenerRuleActionArrayOutput) ToListenerRuleActionArrayOutputWithContext(ctx context.Context) ListenerRuleActionArrayOutput

type ListenerRuleActionAuthenticateCognito

type ListenerRuleActionAuthenticateCognito struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope *string `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName *string `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout *int `pulumi:"sessionTimeout"`
	// The ARN of the Cognito user pool.
	UserPoolArn string `pulumi:"userPoolArn"`
	// The ID of the Cognito user pool client.
	UserPoolClientId string `pulumi:"userPoolClientId"`
	// The domain prefix or fully-qualified domain name of the Cognito user pool.
	UserPoolDomain string `pulumi:"userPoolDomain"`
}

type ListenerRuleActionAuthenticateCognitoArgs

type ListenerRuleActionAuthenticateCognitoArgs struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName pulumi.StringPtrInput `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout pulumi.IntPtrInput `pulumi:"sessionTimeout"`
	// The ARN of the Cognito user pool.
	UserPoolArn pulumi.StringInput `pulumi:"userPoolArn"`
	// The ID of the Cognito user pool client.
	UserPoolClientId pulumi.StringInput `pulumi:"userPoolClientId"`
	// The domain prefix or fully-qualified domain name of the Cognito user pool.
	UserPoolDomain pulumi.StringInput `pulumi:"userPoolDomain"`
}

func (ListenerRuleActionAuthenticateCognitoArgs) ElementType

func (ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoOutput

func (i ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoOutput() ListenerRuleActionAuthenticateCognitoOutput

func (ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoOutputWithContext

func (i ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateCognitoOutput

func (ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoPtrOutput

func (i ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoPtrOutput() ListenerRuleActionAuthenticateCognitoPtrOutput

func (ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoPtrOutputWithContext

func (i ListenerRuleActionAuthenticateCognitoArgs) ToListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateCognitoPtrOutput

type ListenerRuleActionAuthenticateCognitoInput

type ListenerRuleActionAuthenticateCognitoInput interface {
	pulumi.Input

	ToListenerRuleActionAuthenticateCognitoOutput() ListenerRuleActionAuthenticateCognitoOutput
	ToListenerRuleActionAuthenticateCognitoOutputWithContext(context.Context) ListenerRuleActionAuthenticateCognitoOutput
}

ListenerRuleActionAuthenticateCognitoInput is an input type that accepts ListenerRuleActionAuthenticateCognitoArgs and ListenerRuleActionAuthenticateCognitoOutput values. You can construct a concrete instance of `ListenerRuleActionAuthenticateCognitoInput` via:

ListenerRuleActionAuthenticateCognitoArgs{...}

type ListenerRuleActionAuthenticateCognitoOutput

type ListenerRuleActionAuthenticateCognitoOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams

func (o ListenerRuleActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerRuleActionAuthenticateCognitoOutput) ElementType

func (ListenerRuleActionAuthenticateCognitoOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerRuleActionAuthenticateCognitoOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerRuleActionAuthenticateCognitoOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerRuleActionAuthenticateCognitoOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoOutput

func (o ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoOutput() ListenerRuleActionAuthenticateCognitoOutput

func (ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoOutputWithContext

func (o ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateCognitoOutput

func (ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoPtrOutput

func (o ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoPtrOutput() ListenerRuleActionAuthenticateCognitoPtrOutput

func (ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoPtrOutputWithContext

func (o ListenerRuleActionAuthenticateCognitoOutput) ToListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateCognitoPtrOutput

func (ListenerRuleActionAuthenticateCognitoOutput) UserPoolArn

The ARN of the Cognito user pool.

func (ListenerRuleActionAuthenticateCognitoOutput) UserPoolClientId

The ID of the Cognito user pool client.

func (ListenerRuleActionAuthenticateCognitoOutput) UserPoolDomain

The domain prefix or fully-qualified domain name of the Cognito user pool.

type ListenerRuleActionAuthenticateCognitoPtrInput

type ListenerRuleActionAuthenticateCognitoPtrInput interface {
	pulumi.Input

	ToListenerRuleActionAuthenticateCognitoPtrOutput() ListenerRuleActionAuthenticateCognitoPtrOutput
	ToListenerRuleActionAuthenticateCognitoPtrOutputWithContext(context.Context) ListenerRuleActionAuthenticateCognitoPtrOutput
}

ListenerRuleActionAuthenticateCognitoPtrInput is an input type that accepts ListenerRuleActionAuthenticateCognitoArgs, ListenerRuleActionAuthenticateCognitoPtr and ListenerRuleActionAuthenticateCognitoPtrOutput values. You can construct a concrete instance of `ListenerRuleActionAuthenticateCognitoPtrInput` via:

        ListenerRuleActionAuthenticateCognitoArgs{...}

or:

        nil

type ListenerRuleActionAuthenticateCognitoPtrOutput

type ListenerRuleActionAuthenticateCognitoPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionAuthenticateCognitoPtrOutput) AuthenticationRequestExtraParams

func (o ListenerRuleActionAuthenticateCognitoPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerRuleActionAuthenticateCognitoPtrOutput) Elem

func (ListenerRuleActionAuthenticateCognitoPtrOutput) ElementType

func (ListenerRuleActionAuthenticateCognitoPtrOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerRuleActionAuthenticateCognitoPtrOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerRuleActionAuthenticateCognitoPtrOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerRuleActionAuthenticateCognitoPtrOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerRuleActionAuthenticateCognitoPtrOutput) ToListenerRuleActionAuthenticateCognitoPtrOutput

func (o ListenerRuleActionAuthenticateCognitoPtrOutput) ToListenerRuleActionAuthenticateCognitoPtrOutput() ListenerRuleActionAuthenticateCognitoPtrOutput

func (ListenerRuleActionAuthenticateCognitoPtrOutput) ToListenerRuleActionAuthenticateCognitoPtrOutputWithContext

func (o ListenerRuleActionAuthenticateCognitoPtrOutput) ToListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateCognitoPtrOutput

func (ListenerRuleActionAuthenticateCognitoPtrOutput) UserPoolArn

The ARN of the Cognito user pool.

func (ListenerRuleActionAuthenticateCognitoPtrOutput) UserPoolClientId

The ID of the Cognito user pool client.

func (ListenerRuleActionAuthenticateCognitoPtrOutput) UserPoolDomain

The domain prefix or fully-qualified domain name of the Cognito user pool.

type ListenerRuleActionAuthenticateOidc

type ListenerRuleActionAuthenticateOidc struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"`
	// The authorization endpoint of the IdP.
	AuthorizationEndpoint string `pulumi:"authorizationEndpoint"`
	// The OAuth 2.0 client identifier.
	ClientId string `pulumi:"clientId"`
	// The OAuth 2.0 client secret.
	ClientSecret string `pulumi:"clientSecret"`
	// The OIDC issuer identifier of the IdP.
	Issuer string `pulumi:"issuer"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope *string `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName *string `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout *int `pulumi:"sessionTimeout"`
	// The token endpoint of the IdP.
	TokenEndpoint string `pulumi:"tokenEndpoint"`
	// The user info endpoint of the IdP.
	UserInfoEndpoint string `pulumi:"userInfoEndpoint"`
}

type ListenerRuleActionAuthenticateOidcArgs

type ListenerRuleActionAuthenticateOidcArgs struct {
	// The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	// The authorization endpoint of the IdP.
	AuthorizationEndpoint pulumi.StringInput `pulumi:"authorizationEndpoint"`
	// The OAuth 2.0 client identifier.
	ClientId pulumi.StringInput `pulumi:"clientId"`
	// The OAuth 2.0 client secret.
	ClientSecret pulumi.StringInput `pulumi:"clientSecret"`
	// The OIDC issuer identifier of the IdP.
	Issuer pulumi.StringInput `pulumi:"issuer"`
	// The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"`
	// The set of user claims to be requested from the IdP.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The name of the cookie used to maintain session information.
	SessionCookieName pulumi.StringPtrInput `pulumi:"sessionCookieName"`
	// The maximum duration of the authentication session, in seconds.
	SessionTimeout pulumi.IntPtrInput `pulumi:"sessionTimeout"`
	// The token endpoint of the IdP.
	TokenEndpoint pulumi.StringInput `pulumi:"tokenEndpoint"`
	// The user info endpoint of the IdP.
	UserInfoEndpoint pulumi.StringInput `pulumi:"userInfoEndpoint"`
}

func (ListenerRuleActionAuthenticateOidcArgs) ElementType

func (ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcOutput

func (i ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcOutput() ListenerRuleActionAuthenticateOidcOutput

func (ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcOutputWithContext

func (i ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateOidcOutput

func (ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcPtrOutput

func (i ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcPtrOutput() ListenerRuleActionAuthenticateOidcPtrOutput

func (ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcPtrOutputWithContext

func (i ListenerRuleActionAuthenticateOidcArgs) ToListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateOidcPtrOutput

type ListenerRuleActionAuthenticateOidcInput

type ListenerRuleActionAuthenticateOidcInput interface {
	pulumi.Input

	ToListenerRuleActionAuthenticateOidcOutput() ListenerRuleActionAuthenticateOidcOutput
	ToListenerRuleActionAuthenticateOidcOutputWithContext(context.Context) ListenerRuleActionAuthenticateOidcOutput
}

ListenerRuleActionAuthenticateOidcInput is an input type that accepts ListenerRuleActionAuthenticateOidcArgs and ListenerRuleActionAuthenticateOidcOutput values. You can construct a concrete instance of `ListenerRuleActionAuthenticateOidcInput` via:

ListenerRuleActionAuthenticateOidcArgs{...}

type ListenerRuleActionAuthenticateOidcOutput

type ListenerRuleActionAuthenticateOidcOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionAuthenticateOidcOutput) AuthenticationRequestExtraParams

func (o ListenerRuleActionAuthenticateOidcOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerRuleActionAuthenticateOidcOutput) AuthorizationEndpoint

The authorization endpoint of the IdP.

func (ListenerRuleActionAuthenticateOidcOutput) ClientId

The OAuth 2.0 client identifier.

func (ListenerRuleActionAuthenticateOidcOutput) ClientSecret

The OAuth 2.0 client secret.

func (ListenerRuleActionAuthenticateOidcOutput) ElementType

func (ListenerRuleActionAuthenticateOidcOutput) Issuer

The OIDC issuer identifier of the IdP.

func (ListenerRuleActionAuthenticateOidcOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerRuleActionAuthenticateOidcOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerRuleActionAuthenticateOidcOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerRuleActionAuthenticateOidcOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcOutput

func (o ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcOutput() ListenerRuleActionAuthenticateOidcOutput

func (ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcOutputWithContext

func (o ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateOidcOutput

func (ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcPtrOutput

func (o ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcPtrOutput() ListenerRuleActionAuthenticateOidcPtrOutput

func (ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcPtrOutputWithContext

func (o ListenerRuleActionAuthenticateOidcOutput) ToListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateOidcPtrOutput

func (ListenerRuleActionAuthenticateOidcOutput) TokenEndpoint

The token endpoint of the IdP.

func (ListenerRuleActionAuthenticateOidcOutput) UserInfoEndpoint

The user info endpoint of the IdP.

type ListenerRuleActionAuthenticateOidcPtrInput

type ListenerRuleActionAuthenticateOidcPtrInput interface {
	pulumi.Input

	ToListenerRuleActionAuthenticateOidcPtrOutput() ListenerRuleActionAuthenticateOidcPtrOutput
	ToListenerRuleActionAuthenticateOidcPtrOutputWithContext(context.Context) ListenerRuleActionAuthenticateOidcPtrOutput
}

ListenerRuleActionAuthenticateOidcPtrInput is an input type that accepts ListenerRuleActionAuthenticateOidcArgs, ListenerRuleActionAuthenticateOidcPtr and ListenerRuleActionAuthenticateOidcPtrOutput values. You can construct a concrete instance of `ListenerRuleActionAuthenticateOidcPtrInput` via:

        ListenerRuleActionAuthenticateOidcArgs{...}

or:

        nil

type ListenerRuleActionAuthenticateOidcPtrOutput

type ListenerRuleActionAuthenticateOidcPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionAuthenticateOidcPtrOutput) AuthenticationRequestExtraParams

func (o ListenerRuleActionAuthenticateOidcPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput

The query parameters to include in the redirect request to the authorization endpoint. Max: 10.

func (ListenerRuleActionAuthenticateOidcPtrOutput) AuthorizationEndpoint

The authorization endpoint of the IdP.

func (ListenerRuleActionAuthenticateOidcPtrOutput) ClientId

The OAuth 2.0 client identifier.

func (ListenerRuleActionAuthenticateOidcPtrOutput) ClientSecret

The OAuth 2.0 client secret.

func (ListenerRuleActionAuthenticateOidcPtrOutput) Elem

func (ListenerRuleActionAuthenticateOidcPtrOutput) ElementType

func (ListenerRuleActionAuthenticateOidcPtrOutput) Issuer

The OIDC issuer identifier of the IdP.

func (ListenerRuleActionAuthenticateOidcPtrOutput) OnUnauthenticatedRequest

The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`

func (ListenerRuleActionAuthenticateOidcPtrOutput) Scope

The set of user claims to be requested from the IdP.

func (ListenerRuleActionAuthenticateOidcPtrOutput) SessionCookieName

The name of the cookie used to maintain session information.

func (ListenerRuleActionAuthenticateOidcPtrOutput) SessionTimeout

The maximum duration of the authentication session, in seconds.

func (ListenerRuleActionAuthenticateOidcPtrOutput) ToListenerRuleActionAuthenticateOidcPtrOutput

func (o ListenerRuleActionAuthenticateOidcPtrOutput) ToListenerRuleActionAuthenticateOidcPtrOutput() ListenerRuleActionAuthenticateOidcPtrOutput

func (ListenerRuleActionAuthenticateOidcPtrOutput) ToListenerRuleActionAuthenticateOidcPtrOutputWithContext

func (o ListenerRuleActionAuthenticateOidcPtrOutput) ToListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) ListenerRuleActionAuthenticateOidcPtrOutput

func (ListenerRuleActionAuthenticateOidcPtrOutput) TokenEndpoint

The token endpoint of the IdP.

func (ListenerRuleActionAuthenticateOidcPtrOutput) UserInfoEndpoint

The user info endpoint of the IdP.

type ListenerRuleActionFixedResponse

type ListenerRuleActionFixedResponse struct {
	// The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.
	ContentType string `pulumi:"contentType"`
	// The message body.
	MessageBody *string `pulumi:"messageBody"`
	// The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.
	StatusCode *string `pulumi:"statusCode"`
}

type ListenerRuleActionFixedResponseArgs

type ListenerRuleActionFixedResponseArgs struct {
	// The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// The message body.
	MessageBody pulumi.StringPtrInput `pulumi:"messageBody"`
	// The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.
	StatusCode pulumi.StringPtrInput `pulumi:"statusCode"`
}

func (ListenerRuleActionFixedResponseArgs) ElementType

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutput

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutputWithContext

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutput

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutputWithContext

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionFixedResponseInput

type ListenerRuleActionFixedResponseInput interface {
	pulumi.Input

	ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput
	ToListenerRuleActionFixedResponseOutputWithContext(context.Context) ListenerRuleActionFixedResponseOutput
}

ListenerRuleActionFixedResponseInput is an input type that accepts ListenerRuleActionFixedResponseArgs and ListenerRuleActionFixedResponseOutput values. You can construct a concrete instance of `ListenerRuleActionFixedResponseInput` via:

ListenerRuleActionFixedResponseArgs{...}

type ListenerRuleActionFixedResponseOutput

type ListenerRuleActionFixedResponseOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionFixedResponseOutput) ContentType

The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.

func (ListenerRuleActionFixedResponseOutput) ElementType

func (ListenerRuleActionFixedResponseOutput) MessageBody

The message body.

func (ListenerRuleActionFixedResponseOutput) StatusCode

The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutput

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutputWithContext

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutput

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionFixedResponsePtrInput

type ListenerRuleActionFixedResponsePtrInput interface {
	pulumi.Input

	ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput
	ToListenerRuleActionFixedResponsePtrOutputWithContext(context.Context) ListenerRuleActionFixedResponsePtrOutput
}

ListenerRuleActionFixedResponsePtrInput is an input type that accepts ListenerRuleActionFixedResponseArgs, ListenerRuleActionFixedResponsePtr and ListenerRuleActionFixedResponsePtrOutput values. You can construct a concrete instance of `ListenerRuleActionFixedResponsePtrInput` via:

        ListenerRuleActionFixedResponseArgs{...}

or:

        nil

type ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionFixedResponsePtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionFixedResponsePtrOutput) ContentType

The content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.

func (ListenerRuleActionFixedResponsePtrOutput) Elem

func (ListenerRuleActionFixedResponsePtrOutput) ElementType

func (ListenerRuleActionFixedResponsePtrOutput) MessageBody

The message body.

func (ListenerRuleActionFixedResponsePtrOutput) StatusCode

The HTTP response code. Valid values are `2XX`, `4XX`, or `5XX`.

func (ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutput

func (o ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext

func (o ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionForward added in v2.8.0

type ListenerRuleActionForward struct {
	// The target group stickiness for the rule.
	Stickiness *ListenerRuleActionForwardStickiness `pulumi:"stickiness"`
	// One or more target groups block.
	TargetGroups []ListenerRuleActionForwardTargetGroup `pulumi:"targetGroups"`
}

type ListenerRuleActionForwardArgs added in v2.8.0

type ListenerRuleActionForwardArgs struct {
	// The target group stickiness for the rule.
	Stickiness ListenerRuleActionForwardStickinessPtrInput `pulumi:"stickiness"`
	// One or more target groups block.
	TargetGroups ListenerRuleActionForwardTargetGroupArrayInput `pulumi:"targetGroups"`
}

func (ListenerRuleActionForwardArgs) ElementType added in v2.8.0

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput added in v2.8.0

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutputWithContext added in v2.8.0

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutputWithContext(ctx context.Context) ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput added in v2.8.0

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutputWithContext added in v2.8.0

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardInput added in v2.8.0

type ListenerRuleActionForwardInput interface {
	pulumi.Input

	ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput
	ToListenerRuleActionForwardOutputWithContext(context.Context) ListenerRuleActionForwardOutput
}

ListenerRuleActionForwardInput is an input type that accepts ListenerRuleActionForwardArgs and ListenerRuleActionForwardOutput values. You can construct a concrete instance of `ListenerRuleActionForwardInput` via:

ListenerRuleActionForwardArgs{...}

type ListenerRuleActionForwardOutput added in v2.8.0

type ListenerRuleActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardOutput) ElementType added in v2.8.0

func (ListenerRuleActionForwardOutput) Stickiness added in v2.8.0

The target group stickiness for the rule.

func (ListenerRuleActionForwardOutput) TargetGroups added in v2.8.0

One or more target groups block.

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutput added in v2.8.0

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutputWithContext(ctx context.Context) ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput added in v2.8.0

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardPtrInput added in v2.8.0

type ListenerRuleActionForwardPtrInput interface {
	pulumi.Input

	ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput
	ToListenerRuleActionForwardPtrOutputWithContext(context.Context) ListenerRuleActionForwardPtrOutput
}

ListenerRuleActionForwardPtrInput is an input type that accepts ListenerRuleActionForwardArgs, ListenerRuleActionForwardPtr and ListenerRuleActionForwardPtrOutput values. You can construct a concrete instance of `ListenerRuleActionForwardPtrInput` via:

        ListenerRuleActionForwardArgs{...}

or:

        nil

func ListenerRuleActionForwardPtr added in v2.8.0

type ListenerRuleActionForwardPtrOutput added in v2.8.0

type ListenerRuleActionForwardPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardPtrOutput) Elem added in v2.8.0

func (ListenerRuleActionForwardPtrOutput) ElementType added in v2.8.0

func (ListenerRuleActionForwardPtrOutput) Stickiness added in v2.8.0

The target group stickiness for the rule.

func (ListenerRuleActionForwardPtrOutput) TargetGroups added in v2.8.0

One or more target groups block.

func (ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutput added in v2.8.0

func (o ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardStickiness added in v2.8.0

type ListenerRuleActionForwardStickiness struct {
	// The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
	Duration int `pulumi:"duration"`
	// Indicates whether target group stickiness is enabled.
	Enabled *bool `pulumi:"enabled"`
}

type ListenerRuleActionForwardStickinessArgs added in v2.8.0

type ListenerRuleActionForwardStickinessArgs struct {
	// The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
	Duration pulumi.IntInput `pulumi:"duration"`
	// Indicates whether target group stickiness is enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (ListenerRuleActionForwardStickinessArgs) ElementType added in v2.8.0

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessOutput added in v2.8.0

func (i ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessOutput() ListenerRuleActionForwardStickinessOutput

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessOutputWithContext added in v2.8.0

func (i ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessOutputWithContext(ctx context.Context) ListenerRuleActionForwardStickinessOutput

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessPtrOutput added in v2.8.0

func (i ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessPtrOutput() ListenerRuleActionForwardStickinessPtrOutput

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessPtrOutputWithContext added in v2.8.0

func (i ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardStickinessPtrOutput

type ListenerRuleActionForwardStickinessInput added in v2.8.0

type ListenerRuleActionForwardStickinessInput interface {
	pulumi.Input

	ToListenerRuleActionForwardStickinessOutput() ListenerRuleActionForwardStickinessOutput
	ToListenerRuleActionForwardStickinessOutputWithContext(context.Context) ListenerRuleActionForwardStickinessOutput
}

ListenerRuleActionForwardStickinessInput is an input type that accepts ListenerRuleActionForwardStickinessArgs and ListenerRuleActionForwardStickinessOutput values. You can construct a concrete instance of `ListenerRuleActionForwardStickinessInput` via:

ListenerRuleActionForwardStickinessArgs{...}

type ListenerRuleActionForwardStickinessOutput added in v2.8.0

type ListenerRuleActionForwardStickinessOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardStickinessOutput) Duration added in v2.8.0

The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).

func (ListenerRuleActionForwardStickinessOutput) ElementType added in v2.8.0

func (ListenerRuleActionForwardStickinessOutput) Enabled added in v2.8.0

Indicates whether target group stickiness is enabled.

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessOutput added in v2.8.0

func (o ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessOutput() ListenerRuleActionForwardStickinessOutput

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessOutputWithContext(ctx context.Context) ListenerRuleActionForwardStickinessOutput

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessPtrOutput added in v2.8.0

func (o ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessPtrOutput() ListenerRuleActionForwardStickinessPtrOutput

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessPtrOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardStickinessPtrOutput

type ListenerRuleActionForwardStickinessPtrInput added in v2.8.0

type ListenerRuleActionForwardStickinessPtrInput interface {
	pulumi.Input

	ToListenerRuleActionForwardStickinessPtrOutput() ListenerRuleActionForwardStickinessPtrOutput
	ToListenerRuleActionForwardStickinessPtrOutputWithContext(context.Context) ListenerRuleActionForwardStickinessPtrOutput
}

ListenerRuleActionForwardStickinessPtrInput is an input type that accepts ListenerRuleActionForwardStickinessArgs, ListenerRuleActionForwardStickinessPtr and ListenerRuleActionForwardStickinessPtrOutput values. You can construct a concrete instance of `ListenerRuleActionForwardStickinessPtrInput` via:

        ListenerRuleActionForwardStickinessArgs{...}

or:

        nil

type ListenerRuleActionForwardStickinessPtrOutput added in v2.8.0

type ListenerRuleActionForwardStickinessPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardStickinessPtrOutput) Duration added in v2.8.0

The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).

func (ListenerRuleActionForwardStickinessPtrOutput) Elem added in v2.8.0

func (ListenerRuleActionForwardStickinessPtrOutput) ElementType added in v2.8.0

func (ListenerRuleActionForwardStickinessPtrOutput) Enabled added in v2.8.0

Indicates whether target group stickiness is enabled.

func (ListenerRuleActionForwardStickinessPtrOutput) ToListenerRuleActionForwardStickinessPtrOutput added in v2.8.0

func (o ListenerRuleActionForwardStickinessPtrOutput) ToListenerRuleActionForwardStickinessPtrOutput() ListenerRuleActionForwardStickinessPtrOutput

func (ListenerRuleActionForwardStickinessPtrOutput) ToListenerRuleActionForwardStickinessPtrOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardStickinessPtrOutput) ToListenerRuleActionForwardStickinessPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardStickinessPtrOutput

type ListenerRuleActionForwardTargetGroup added in v2.8.0

type ListenerRuleActionForwardTargetGroup struct {
	// The Amazon Resource Name (ARN) of the target group.
	Arn string `pulumi:"arn"`
	// The weight. The range is 0 to 999.
	Weight *int `pulumi:"weight"`
}

type ListenerRuleActionForwardTargetGroupArgs added in v2.8.0

type ListenerRuleActionForwardTargetGroupArgs struct {
	// The Amazon Resource Name (ARN) of the target group.
	Arn pulumi.StringInput `pulumi:"arn"`
	// The weight. The range is 0 to 999.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ListenerRuleActionForwardTargetGroupArgs) ElementType added in v2.8.0

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput added in v2.8.0

func (i ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutputWithContext added in v2.8.0

func (i ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupOutput

type ListenerRuleActionForwardTargetGroupArray added in v2.8.0

type ListenerRuleActionForwardTargetGroupArray []ListenerRuleActionForwardTargetGroupInput

func (ListenerRuleActionForwardTargetGroupArray) ElementType added in v2.8.0

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput added in v2.8.0

func (i ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext added in v2.8.0

func (i ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupArrayOutput

type ListenerRuleActionForwardTargetGroupArrayInput added in v2.8.0

type ListenerRuleActionForwardTargetGroupArrayInput interface {
	pulumi.Input

	ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput
	ToListenerRuleActionForwardTargetGroupArrayOutputWithContext(context.Context) ListenerRuleActionForwardTargetGroupArrayOutput
}

ListenerRuleActionForwardTargetGroupArrayInput is an input type that accepts ListenerRuleActionForwardTargetGroupArray and ListenerRuleActionForwardTargetGroupArrayOutput values. You can construct a concrete instance of `ListenerRuleActionForwardTargetGroupArrayInput` via:

ListenerRuleActionForwardTargetGroupArray{ ListenerRuleActionForwardTargetGroupArgs{...} }

type ListenerRuleActionForwardTargetGroupArrayOutput added in v2.8.0

type ListenerRuleActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupArrayOutput) ElementType added in v2.8.0

func (ListenerRuleActionForwardTargetGroupArrayOutput) Index added in v2.8.0

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput added in v2.8.0

func (o ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupArrayOutput

type ListenerRuleActionForwardTargetGroupInput added in v2.8.0

type ListenerRuleActionForwardTargetGroupInput interface {
	pulumi.Input

	ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput
	ToListenerRuleActionForwardTargetGroupOutputWithContext(context.Context) ListenerRuleActionForwardTargetGroupOutput
}

ListenerRuleActionForwardTargetGroupInput is an input type that accepts ListenerRuleActionForwardTargetGroupArgs and ListenerRuleActionForwardTargetGroupOutput values. You can construct a concrete instance of `ListenerRuleActionForwardTargetGroupInput` via:

ListenerRuleActionForwardTargetGroupArgs{...}

type ListenerRuleActionForwardTargetGroupOutput added in v2.8.0

type ListenerRuleActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupOutput) Arn added in v2.8.0

The Amazon Resource Name (ARN) of the target group.

func (ListenerRuleActionForwardTargetGroupOutput) ElementType added in v2.8.0

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput added in v2.8.0

func (o ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutputWithContext added in v2.8.0

func (o ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupOutput) Weight added in v2.8.0

The weight. The range is 0 to 999.

type ListenerRuleActionInput

type ListenerRuleActionInput interface {
	pulumi.Input

	ToListenerRuleActionOutput() ListenerRuleActionOutput
	ToListenerRuleActionOutputWithContext(context.Context) ListenerRuleActionOutput
}

ListenerRuleActionInput is an input type that accepts ListenerRuleActionArgs and ListenerRuleActionOutput values. You can construct a concrete instance of `ListenerRuleActionInput` via:

ListenerRuleActionArgs{...}

type ListenerRuleActionOutput

type ListenerRuleActionOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionOutput) AuthenticateCognito

Information for creating an authenticate action using Cognito. Required if `type` is `authenticate-cognito`.

func (ListenerRuleActionOutput) AuthenticateOidc

Information for creating an authenticate action using OIDC. Required if `type` is `authenticate-oidc`.

func (ListenerRuleActionOutput) ElementType

func (ListenerRuleActionOutput) ElementType() reflect.Type

func (ListenerRuleActionOutput) FixedResponse

Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`.

func (ListenerRuleActionOutput) Forward added in v2.8.0

Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`.

func (ListenerRuleActionOutput) Order

func (ListenerRuleActionOutput) Redirect

Information for creating a redirect action. Required if `type` is `redirect`.

func (ListenerRuleActionOutput) TargetGroupArn

func (o ListenerRuleActionOutput) TargetGroupArn() pulumi.StringPtrOutput

The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead.

func (ListenerRuleActionOutput) ToListenerRuleActionOutput

func (o ListenerRuleActionOutput) ToListenerRuleActionOutput() ListenerRuleActionOutput

func (ListenerRuleActionOutput) ToListenerRuleActionOutputWithContext

func (o ListenerRuleActionOutput) ToListenerRuleActionOutputWithContext(ctx context.Context) ListenerRuleActionOutput

func (ListenerRuleActionOutput) Type

The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.

type ListenerRuleActionRedirect

type ListenerRuleActionRedirect struct {
	// The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.
	Host *string `pulumi:"host"`
	// The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.
	Path *string `pulumi:"path"`
	// The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.
	Port *string `pulumi:"port"`
	// The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.
	Protocol *string `pulumi:"protocol"`
	// The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.
	Query *string `pulumi:"query"`
	// The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).
	StatusCode string `pulumi:"statusCode"`
}

type ListenerRuleActionRedirectArgs

type ListenerRuleActionRedirectArgs struct {
	// The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.
	Query pulumi.StringPtrInput `pulumi:"query"`
	// The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).
	StatusCode pulumi.StringInput `pulumi:"statusCode"`
}

func (ListenerRuleActionRedirectArgs) ElementType

func (ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectOutput

func (i ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectOutput() ListenerRuleActionRedirectOutput

func (ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectOutputWithContext

func (i ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectOutputWithContext(ctx context.Context) ListenerRuleActionRedirectOutput

func (ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectPtrOutput

func (i ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectPtrOutput() ListenerRuleActionRedirectPtrOutput

func (ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectPtrOutputWithContext

func (i ListenerRuleActionRedirectArgs) ToListenerRuleActionRedirectPtrOutputWithContext(ctx context.Context) ListenerRuleActionRedirectPtrOutput

type ListenerRuleActionRedirectInput

type ListenerRuleActionRedirectInput interface {
	pulumi.Input

	ToListenerRuleActionRedirectOutput() ListenerRuleActionRedirectOutput
	ToListenerRuleActionRedirectOutputWithContext(context.Context) ListenerRuleActionRedirectOutput
}

ListenerRuleActionRedirectInput is an input type that accepts ListenerRuleActionRedirectArgs and ListenerRuleActionRedirectOutput values. You can construct a concrete instance of `ListenerRuleActionRedirectInput` via:

ListenerRuleActionRedirectArgs{...}

type ListenerRuleActionRedirectOutput

type ListenerRuleActionRedirectOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionRedirectOutput) ElementType

func (ListenerRuleActionRedirectOutput) Host

The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.

func (ListenerRuleActionRedirectOutput) Path

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.

func (ListenerRuleActionRedirectOutput) Port

The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.

func (ListenerRuleActionRedirectOutput) Protocol

The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.

func (ListenerRuleActionRedirectOutput) Query

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.

func (ListenerRuleActionRedirectOutput) StatusCode

The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).

func (ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectOutput

func (o ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectOutput() ListenerRuleActionRedirectOutput

func (ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectOutputWithContext

func (o ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectOutputWithContext(ctx context.Context) ListenerRuleActionRedirectOutput

func (ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectPtrOutput

func (o ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectPtrOutput() ListenerRuleActionRedirectPtrOutput

func (ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectPtrOutputWithContext

func (o ListenerRuleActionRedirectOutput) ToListenerRuleActionRedirectPtrOutputWithContext(ctx context.Context) ListenerRuleActionRedirectPtrOutput

type ListenerRuleActionRedirectPtrInput

type ListenerRuleActionRedirectPtrInput interface {
	pulumi.Input

	ToListenerRuleActionRedirectPtrOutput() ListenerRuleActionRedirectPtrOutput
	ToListenerRuleActionRedirectPtrOutputWithContext(context.Context) ListenerRuleActionRedirectPtrOutput
}

ListenerRuleActionRedirectPtrInput is an input type that accepts ListenerRuleActionRedirectArgs, ListenerRuleActionRedirectPtr and ListenerRuleActionRedirectPtrOutput values. You can construct a concrete instance of `ListenerRuleActionRedirectPtrInput` via:

        ListenerRuleActionRedirectArgs{...}

or:

        nil

type ListenerRuleActionRedirectPtrOutput

type ListenerRuleActionRedirectPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionRedirectPtrOutput) Elem

func (ListenerRuleActionRedirectPtrOutput) ElementType

func (ListenerRuleActionRedirectPtrOutput) Host

The hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.

func (ListenerRuleActionRedirectPtrOutput) Path

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. Defaults to `/#{path}`.

func (ListenerRuleActionRedirectPtrOutput) Port

The port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.

func (ListenerRuleActionRedirectPtrOutput) Protocol

The protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.

func (ListenerRuleActionRedirectPtrOutput) Query

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.

func (ListenerRuleActionRedirectPtrOutput) StatusCode

The HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).

func (ListenerRuleActionRedirectPtrOutput) ToListenerRuleActionRedirectPtrOutput

func (o ListenerRuleActionRedirectPtrOutput) ToListenerRuleActionRedirectPtrOutput() ListenerRuleActionRedirectPtrOutput

func (ListenerRuleActionRedirectPtrOutput) ToListenerRuleActionRedirectPtrOutputWithContext

func (o ListenerRuleActionRedirectPtrOutput) ToListenerRuleActionRedirectPtrOutputWithContext(ctx context.Context) ListenerRuleActionRedirectPtrOutput

type ListenerRuleArgs

type ListenerRuleArgs struct {
	// An Action block. Action blocks are documented below.
	Actions ListenerRuleActionArrayInput
	// A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.
	Conditions ListenerRuleConditionArrayInput
	// The ARN of the listener to which to attach the rule.
	ListenerArn pulumi.StringInput
	// The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
	Priority pulumi.IntPtrInput
}

The set of arguments for constructing a ListenerRule resource.

func (ListenerRuleArgs) ElementType

func (ListenerRuleArgs) ElementType() reflect.Type

type ListenerRuleCondition

type ListenerRuleCondition struct {
	// The type of condition. Valid values are `host-header` or `path-pattern`. Must also set `values`.
	//
	// Deprecated: use 'host_header' or 'path_pattern' attribute instead
	Field *string `pulumi:"field"`
	// Contains a single `values` item which is a list of host header patterns to match. The maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied.
	HostHeader *ListenerRuleConditionHostHeader `pulumi:"hostHeader"`
	// HTTP headers to match. HTTP Header block fields documented below.
	HttpHeader *ListenerRuleConditionHttpHeader `pulumi:"httpHeader"`
	// Contains a single `values` item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (\_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.
	HttpRequestMethod *ListenerRuleConditionHttpRequestMethod `pulumi:"httpRequestMethod"`
	// Contains a single `values` item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `queryString` condition.
	PathPattern *ListenerRuleConditionPathPattern `pulumi:"pathPattern"`
	// Query strings to match. Query String block fields documented below.
	QueryStrings []ListenerRuleConditionQueryString `pulumi:"queryStrings"`
	// Contains a single `values` item which is a list of source IP CIDR notations to match. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. Condition is satisfied if the source IP address of the request matches one of the CIDR blocks. Condition is not satisfied by the addresses in the `X-Forwarded-For` header, use `httpHeader` condition instead.
	SourceIp *ListenerRuleConditionSourceIp `pulumi:"sourceIp"`
	// List of exactly one pattern to match. Required when `field` is set.
	//
	// Deprecated: use 'host_header' or 'path_pattern' attribute instead
	Values *string `pulumi:"values"`
}

type ListenerRuleConditionArgs

type ListenerRuleConditionArgs struct {
	// The type of condition. Valid values are `host-header` or `path-pattern`. Must also set `values`.
	//
	// Deprecated: use 'host_header' or 'path_pattern' attribute instead
	Field pulumi.StringPtrInput `pulumi:"field"`
	// Contains a single `values` item which is a list of host header patterns to match. The maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied.
	HostHeader ListenerRuleConditionHostHeaderPtrInput `pulumi:"hostHeader"`
	// HTTP headers to match. HTTP Header block fields documented below.
	HttpHeader ListenerRuleConditionHttpHeaderPtrInput `pulumi:"httpHeader"`
	// Contains a single `values` item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (\_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.
	HttpRequestMethod ListenerRuleConditionHttpRequestMethodPtrInput `pulumi:"httpRequestMethod"`
	// Contains a single `values` item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `queryString` condition.
	PathPattern ListenerRuleConditionPathPatternPtrInput `pulumi:"pathPattern"`
	// Query strings to match. Query String block fields documented below.
	QueryStrings ListenerRuleConditionQueryStringArrayInput `pulumi:"queryStrings"`
	// Contains a single `values` item which is a list of source IP CIDR notations to match. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. Condition is satisfied if the source IP address of the request matches one of the CIDR blocks. Condition is not satisfied by the addresses in the `X-Forwarded-For` header, use `httpHeader` condition instead.
	SourceIp ListenerRuleConditionSourceIpPtrInput `pulumi:"sourceIp"`
	// List of exactly one pattern to match. Required when `field` is set.
	//
	// Deprecated: use 'host_header' or 'path_pattern' attribute instead
	Values pulumi.StringPtrInput `pulumi:"values"`
}

func (ListenerRuleConditionArgs) ElementType

func (ListenerRuleConditionArgs) ElementType() reflect.Type

func (ListenerRuleConditionArgs) ToListenerRuleConditionOutput

func (i ListenerRuleConditionArgs) ToListenerRuleConditionOutput() ListenerRuleConditionOutput

func (ListenerRuleConditionArgs) ToListenerRuleConditionOutputWithContext

func (i ListenerRuleConditionArgs) ToListenerRuleConditionOutputWithContext(ctx context.Context) ListenerRuleConditionOutput

type ListenerRuleConditionArray

type ListenerRuleConditionArray []ListenerRuleConditionInput

func (ListenerRuleConditionArray) ElementType

func (ListenerRuleConditionArray) ElementType() reflect.Type

func (ListenerRuleConditionArray) ToListenerRuleConditionArrayOutput

func (i ListenerRuleConditionArray) ToListenerRuleConditionArrayOutput() ListenerRuleConditionArrayOutput

func (ListenerRuleConditionArray) ToListenerRuleConditionArrayOutputWithContext

func (i ListenerRuleConditionArray) ToListenerRuleConditionArrayOutputWithContext(ctx context.Context) ListenerRuleConditionArrayOutput

type ListenerRuleConditionArrayInput

type ListenerRuleConditionArrayInput interface {
	pulumi.Input

	ToListenerRuleConditionArrayOutput() ListenerRuleConditionArrayOutput
	ToListenerRuleConditionArrayOutputWithContext(context.Context) ListenerRuleConditionArrayOutput
}

ListenerRuleConditionArrayInput is an input type that accepts ListenerRuleConditionArray and ListenerRuleConditionArrayOutput values. You can construct a concrete instance of `ListenerRuleConditionArrayInput` via:

ListenerRuleConditionArray{ ListenerRuleConditionArgs{...} }

type ListenerRuleConditionArrayOutput

type ListenerRuleConditionArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionArrayOutput) ElementType

func (ListenerRuleConditionArrayOutput) Index

func (ListenerRuleConditionArrayOutput) ToListenerRuleConditionArrayOutput

func (o ListenerRuleConditionArrayOutput) ToListenerRuleConditionArrayOutput() ListenerRuleConditionArrayOutput

func (ListenerRuleConditionArrayOutput) ToListenerRuleConditionArrayOutputWithContext

func (o ListenerRuleConditionArrayOutput) ToListenerRuleConditionArrayOutputWithContext(ctx context.Context) ListenerRuleConditionArrayOutput

type ListenerRuleConditionHostHeader

type ListenerRuleConditionHostHeader struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values []string `pulumi:"values"`
}

type ListenerRuleConditionHostHeaderArgs

type ListenerRuleConditionHostHeaderArgs struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (ListenerRuleConditionHostHeaderArgs) ElementType

func (ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderOutput

func (i ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderOutput() ListenerRuleConditionHostHeaderOutput

func (ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderOutputWithContext

func (i ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderOutputWithContext(ctx context.Context) ListenerRuleConditionHostHeaderOutput

func (ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderPtrOutput

func (i ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderPtrOutput() ListenerRuleConditionHostHeaderPtrOutput

func (ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderPtrOutputWithContext

func (i ListenerRuleConditionHostHeaderArgs) ToListenerRuleConditionHostHeaderPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHostHeaderPtrOutput

type ListenerRuleConditionHostHeaderInput

type ListenerRuleConditionHostHeaderInput interface {
	pulumi.Input

	ToListenerRuleConditionHostHeaderOutput() ListenerRuleConditionHostHeaderOutput
	ToListenerRuleConditionHostHeaderOutputWithContext(context.Context) ListenerRuleConditionHostHeaderOutput
}

ListenerRuleConditionHostHeaderInput is an input type that accepts ListenerRuleConditionHostHeaderArgs and ListenerRuleConditionHostHeaderOutput values. You can construct a concrete instance of `ListenerRuleConditionHostHeaderInput` via:

ListenerRuleConditionHostHeaderArgs{...}

type ListenerRuleConditionHostHeaderOutput

type ListenerRuleConditionHostHeaderOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionHostHeaderOutput) ElementType

func (ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderOutput

func (o ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderOutput() ListenerRuleConditionHostHeaderOutput

func (ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderOutputWithContext

func (o ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderOutputWithContext(ctx context.Context) ListenerRuleConditionHostHeaderOutput

func (ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderPtrOutput

func (o ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderPtrOutput() ListenerRuleConditionHostHeaderPtrOutput

func (ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderPtrOutputWithContext

func (o ListenerRuleConditionHostHeaderOutput) ToListenerRuleConditionHostHeaderPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHostHeaderPtrOutput

func (ListenerRuleConditionHostHeaderOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleConditionHostHeaderPtrInput

type ListenerRuleConditionHostHeaderPtrInput interface {
	pulumi.Input

	ToListenerRuleConditionHostHeaderPtrOutput() ListenerRuleConditionHostHeaderPtrOutput
	ToListenerRuleConditionHostHeaderPtrOutputWithContext(context.Context) ListenerRuleConditionHostHeaderPtrOutput
}

ListenerRuleConditionHostHeaderPtrInput is an input type that accepts ListenerRuleConditionHostHeaderArgs, ListenerRuleConditionHostHeaderPtr and ListenerRuleConditionHostHeaderPtrOutput values. You can construct a concrete instance of `ListenerRuleConditionHostHeaderPtrInput` via:

        ListenerRuleConditionHostHeaderArgs{...}

or:

        nil

type ListenerRuleConditionHostHeaderPtrOutput

type ListenerRuleConditionHostHeaderPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionHostHeaderPtrOutput) Elem

func (ListenerRuleConditionHostHeaderPtrOutput) ElementType

func (ListenerRuleConditionHostHeaderPtrOutput) ToListenerRuleConditionHostHeaderPtrOutput

func (o ListenerRuleConditionHostHeaderPtrOutput) ToListenerRuleConditionHostHeaderPtrOutput() ListenerRuleConditionHostHeaderPtrOutput

func (ListenerRuleConditionHostHeaderPtrOutput) ToListenerRuleConditionHostHeaderPtrOutputWithContext

func (o ListenerRuleConditionHostHeaderPtrOutput) ToListenerRuleConditionHostHeaderPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHostHeaderPtrOutput

func (ListenerRuleConditionHostHeaderPtrOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleConditionHttpHeader

type ListenerRuleConditionHttpHeader struct {
	// Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
	HttpHeaderName string `pulumi:"httpHeaderName"`
	// List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.
	Values []string `pulumi:"values"`
}

type ListenerRuleConditionHttpHeaderArgs

type ListenerRuleConditionHttpHeaderArgs struct {
	// Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
	HttpHeaderName pulumi.StringInput `pulumi:"httpHeaderName"`
	// List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (ListenerRuleConditionHttpHeaderArgs) ElementType

func (ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderOutput

func (i ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderOutput() ListenerRuleConditionHttpHeaderOutput

func (ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderOutputWithContext

func (i ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderOutputWithContext(ctx context.Context) ListenerRuleConditionHttpHeaderOutput

func (ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderPtrOutput

func (i ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderPtrOutput() ListenerRuleConditionHttpHeaderPtrOutput

func (ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderPtrOutputWithContext

func (i ListenerRuleConditionHttpHeaderArgs) ToListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHttpHeaderPtrOutput

type ListenerRuleConditionHttpHeaderInput

type ListenerRuleConditionHttpHeaderInput interface {
	pulumi.Input

	ToListenerRuleConditionHttpHeaderOutput() ListenerRuleConditionHttpHeaderOutput
	ToListenerRuleConditionHttpHeaderOutputWithContext(context.Context) ListenerRuleConditionHttpHeaderOutput
}

ListenerRuleConditionHttpHeaderInput is an input type that accepts ListenerRuleConditionHttpHeaderArgs and ListenerRuleConditionHttpHeaderOutput values. You can construct a concrete instance of `ListenerRuleConditionHttpHeaderInput` via:

ListenerRuleConditionHttpHeaderArgs{...}

type ListenerRuleConditionHttpHeaderOutput

type ListenerRuleConditionHttpHeaderOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionHttpHeaderOutput) ElementType

func (ListenerRuleConditionHttpHeaderOutput) HttpHeaderName

Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.

func (ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderOutput

func (o ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderOutput() ListenerRuleConditionHttpHeaderOutput

func (ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderOutputWithContext

func (o ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderOutputWithContext(ctx context.Context) ListenerRuleConditionHttpHeaderOutput

func (ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderPtrOutput

func (o ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderPtrOutput() ListenerRuleConditionHttpHeaderPtrOutput

func (ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderPtrOutputWithContext

func (o ListenerRuleConditionHttpHeaderOutput) ToListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHttpHeaderPtrOutput

func (ListenerRuleConditionHttpHeaderOutput) Values

List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.

type ListenerRuleConditionHttpHeaderPtrInput

type ListenerRuleConditionHttpHeaderPtrInput interface {
	pulumi.Input

	ToListenerRuleConditionHttpHeaderPtrOutput() ListenerRuleConditionHttpHeaderPtrOutput
	ToListenerRuleConditionHttpHeaderPtrOutputWithContext(context.Context) ListenerRuleConditionHttpHeaderPtrOutput
}

ListenerRuleConditionHttpHeaderPtrInput is an input type that accepts ListenerRuleConditionHttpHeaderArgs, ListenerRuleConditionHttpHeaderPtr and ListenerRuleConditionHttpHeaderPtrOutput values. You can construct a concrete instance of `ListenerRuleConditionHttpHeaderPtrInput` via:

        ListenerRuleConditionHttpHeaderArgs{...}

or:

        nil

type ListenerRuleConditionHttpHeaderPtrOutput

type ListenerRuleConditionHttpHeaderPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionHttpHeaderPtrOutput) Elem

func (ListenerRuleConditionHttpHeaderPtrOutput) ElementType

func (ListenerRuleConditionHttpHeaderPtrOutput) HttpHeaderName

Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.

func (ListenerRuleConditionHttpHeaderPtrOutput) ToListenerRuleConditionHttpHeaderPtrOutput

func (o ListenerRuleConditionHttpHeaderPtrOutput) ToListenerRuleConditionHttpHeaderPtrOutput() ListenerRuleConditionHttpHeaderPtrOutput

func (ListenerRuleConditionHttpHeaderPtrOutput) ToListenerRuleConditionHttpHeaderPtrOutputWithContext

func (o ListenerRuleConditionHttpHeaderPtrOutput) ToListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHttpHeaderPtrOutput

func (ListenerRuleConditionHttpHeaderPtrOutput) Values

List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.

type ListenerRuleConditionHttpRequestMethod

type ListenerRuleConditionHttpRequestMethod struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values []string `pulumi:"values"`
}

type ListenerRuleConditionHttpRequestMethodArgs

type ListenerRuleConditionHttpRequestMethodArgs struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (ListenerRuleConditionHttpRequestMethodArgs) ElementType

func (ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodOutput

func (i ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodOutput() ListenerRuleConditionHttpRequestMethodOutput

func (ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodOutputWithContext

func (i ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodOutputWithContext(ctx context.Context) ListenerRuleConditionHttpRequestMethodOutput

func (ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodPtrOutput

func (i ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodPtrOutput() ListenerRuleConditionHttpRequestMethodPtrOutput

func (ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodPtrOutputWithContext

func (i ListenerRuleConditionHttpRequestMethodArgs) ToListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHttpRequestMethodPtrOutput

type ListenerRuleConditionHttpRequestMethodInput

type ListenerRuleConditionHttpRequestMethodInput interface {
	pulumi.Input

	ToListenerRuleConditionHttpRequestMethodOutput() ListenerRuleConditionHttpRequestMethodOutput
	ToListenerRuleConditionHttpRequestMethodOutputWithContext(context.Context) ListenerRuleConditionHttpRequestMethodOutput
}

ListenerRuleConditionHttpRequestMethodInput is an input type that accepts ListenerRuleConditionHttpRequestMethodArgs and ListenerRuleConditionHttpRequestMethodOutput values. You can construct a concrete instance of `ListenerRuleConditionHttpRequestMethodInput` via:

ListenerRuleConditionHttpRequestMethodArgs{...}

type ListenerRuleConditionHttpRequestMethodOutput

type ListenerRuleConditionHttpRequestMethodOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionHttpRequestMethodOutput) ElementType

func (ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodOutput

func (o ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodOutput() ListenerRuleConditionHttpRequestMethodOutput

func (ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodOutputWithContext

func (o ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodOutputWithContext(ctx context.Context) ListenerRuleConditionHttpRequestMethodOutput

func (ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodPtrOutput

func (o ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodPtrOutput() ListenerRuleConditionHttpRequestMethodPtrOutput

func (ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodPtrOutputWithContext

func (o ListenerRuleConditionHttpRequestMethodOutput) ToListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHttpRequestMethodPtrOutput

func (ListenerRuleConditionHttpRequestMethodOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleConditionHttpRequestMethodPtrInput

type ListenerRuleConditionHttpRequestMethodPtrInput interface {
	pulumi.Input

	ToListenerRuleConditionHttpRequestMethodPtrOutput() ListenerRuleConditionHttpRequestMethodPtrOutput
	ToListenerRuleConditionHttpRequestMethodPtrOutputWithContext(context.Context) ListenerRuleConditionHttpRequestMethodPtrOutput
}

ListenerRuleConditionHttpRequestMethodPtrInput is an input type that accepts ListenerRuleConditionHttpRequestMethodArgs, ListenerRuleConditionHttpRequestMethodPtr and ListenerRuleConditionHttpRequestMethodPtrOutput values. You can construct a concrete instance of `ListenerRuleConditionHttpRequestMethodPtrInput` via:

        ListenerRuleConditionHttpRequestMethodArgs{...}

or:

        nil

type ListenerRuleConditionHttpRequestMethodPtrOutput

type ListenerRuleConditionHttpRequestMethodPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionHttpRequestMethodPtrOutput) Elem

func (ListenerRuleConditionHttpRequestMethodPtrOutput) ElementType

func (ListenerRuleConditionHttpRequestMethodPtrOutput) ToListenerRuleConditionHttpRequestMethodPtrOutput

func (o ListenerRuleConditionHttpRequestMethodPtrOutput) ToListenerRuleConditionHttpRequestMethodPtrOutput() ListenerRuleConditionHttpRequestMethodPtrOutput

func (ListenerRuleConditionHttpRequestMethodPtrOutput) ToListenerRuleConditionHttpRequestMethodPtrOutputWithContext

func (o ListenerRuleConditionHttpRequestMethodPtrOutput) ToListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx context.Context) ListenerRuleConditionHttpRequestMethodPtrOutput

func (ListenerRuleConditionHttpRequestMethodPtrOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleConditionInput

type ListenerRuleConditionInput interface {
	pulumi.Input

	ToListenerRuleConditionOutput() ListenerRuleConditionOutput
	ToListenerRuleConditionOutputWithContext(context.Context) ListenerRuleConditionOutput
}

ListenerRuleConditionInput is an input type that accepts ListenerRuleConditionArgs and ListenerRuleConditionOutput values. You can construct a concrete instance of `ListenerRuleConditionInput` via:

ListenerRuleConditionArgs{...}

type ListenerRuleConditionOutput

type ListenerRuleConditionOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionOutput) ElementType

func (ListenerRuleConditionOutput) Field deprecated

The type of condition. Valid values are `host-header` or `path-pattern`. Must also set `values`.

Deprecated: use 'host_header' or 'path_pattern' attribute instead

func (ListenerRuleConditionOutput) HostHeader

Contains a single `values` item which is a list of host header patterns to match. The maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied.

func (ListenerRuleConditionOutput) HttpHeader

HTTP headers to match. HTTP Header block fields documented below.

func (ListenerRuleConditionOutput) HttpRequestMethod

Contains a single `values` item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (\_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.

func (ListenerRuleConditionOutput) PathPattern

Contains a single `values` item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `queryString` condition.

func (ListenerRuleConditionOutput) QueryStrings

Query strings to match. Query String block fields documented below.

func (ListenerRuleConditionOutput) SourceIp

Contains a single `values` item which is a list of source IP CIDR notations to match. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. Condition is satisfied if the source IP address of the request matches one of the CIDR blocks. Condition is not satisfied by the addresses in the `X-Forwarded-For` header, use `httpHeader` condition instead.

func (ListenerRuleConditionOutput) ToListenerRuleConditionOutput

func (o ListenerRuleConditionOutput) ToListenerRuleConditionOutput() ListenerRuleConditionOutput

func (ListenerRuleConditionOutput) ToListenerRuleConditionOutputWithContext

func (o ListenerRuleConditionOutput) ToListenerRuleConditionOutputWithContext(ctx context.Context) ListenerRuleConditionOutput

func (ListenerRuleConditionOutput) Values deprecated

List of exactly one pattern to match. Required when `field` is set.

Deprecated: use 'host_header' or 'path_pattern' attribute instead

type ListenerRuleConditionPathPattern

type ListenerRuleConditionPathPattern struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values []string `pulumi:"values"`
}

type ListenerRuleConditionPathPatternArgs

type ListenerRuleConditionPathPatternArgs struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (ListenerRuleConditionPathPatternArgs) ElementType

func (ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternOutput

func (i ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternOutput() ListenerRuleConditionPathPatternOutput

func (ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternOutputWithContext

func (i ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternOutputWithContext(ctx context.Context) ListenerRuleConditionPathPatternOutput

func (ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternPtrOutput

func (i ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternPtrOutput() ListenerRuleConditionPathPatternPtrOutput

func (ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternPtrOutputWithContext

func (i ListenerRuleConditionPathPatternArgs) ToListenerRuleConditionPathPatternPtrOutputWithContext(ctx context.Context) ListenerRuleConditionPathPatternPtrOutput

type ListenerRuleConditionPathPatternInput

type ListenerRuleConditionPathPatternInput interface {
	pulumi.Input

	ToListenerRuleConditionPathPatternOutput() ListenerRuleConditionPathPatternOutput
	ToListenerRuleConditionPathPatternOutputWithContext(context.Context) ListenerRuleConditionPathPatternOutput
}

ListenerRuleConditionPathPatternInput is an input type that accepts ListenerRuleConditionPathPatternArgs and ListenerRuleConditionPathPatternOutput values. You can construct a concrete instance of `ListenerRuleConditionPathPatternInput` via:

ListenerRuleConditionPathPatternArgs{...}

type ListenerRuleConditionPathPatternOutput

type ListenerRuleConditionPathPatternOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionPathPatternOutput) ElementType

func (ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternOutput

func (o ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternOutput() ListenerRuleConditionPathPatternOutput

func (ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternOutputWithContext

func (o ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternOutputWithContext(ctx context.Context) ListenerRuleConditionPathPatternOutput

func (ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternPtrOutput

func (o ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternPtrOutput() ListenerRuleConditionPathPatternPtrOutput

func (ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternPtrOutputWithContext

func (o ListenerRuleConditionPathPatternOutput) ToListenerRuleConditionPathPatternPtrOutputWithContext(ctx context.Context) ListenerRuleConditionPathPatternPtrOutput

func (ListenerRuleConditionPathPatternOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleConditionPathPatternPtrInput

type ListenerRuleConditionPathPatternPtrInput interface {
	pulumi.Input

	ToListenerRuleConditionPathPatternPtrOutput() ListenerRuleConditionPathPatternPtrOutput
	ToListenerRuleConditionPathPatternPtrOutputWithContext(context.Context) ListenerRuleConditionPathPatternPtrOutput
}

ListenerRuleConditionPathPatternPtrInput is an input type that accepts ListenerRuleConditionPathPatternArgs, ListenerRuleConditionPathPatternPtr and ListenerRuleConditionPathPatternPtrOutput values. You can construct a concrete instance of `ListenerRuleConditionPathPatternPtrInput` via:

        ListenerRuleConditionPathPatternArgs{...}

or:

        nil

type ListenerRuleConditionPathPatternPtrOutput

type ListenerRuleConditionPathPatternPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionPathPatternPtrOutput) Elem

func (ListenerRuleConditionPathPatternPtrOutput) ElementType

func (ListenerRuleConditionPathPatternPtrOutput) ToListenerRuleConditionPathPatternPtrOutput

func (o ListenerRuleConditionPathPatternPtrOutput) ToListenerRuleConditionPathPatternPtrOutput() ListenerRuleConditionPathPatternPtrOutput

func (ListenerRuleConditionPathPatternPtrOutput) ToListenerRuleConditionPathPatternPtrOutputWithContext

func (o ListenerRuleConditionPathPatternPtrOutput) ToListenerRuleConditionPathPatternPtrOutputWithContext(ctx context.Context) ListenerRuleConditionPathPatternPtrOutput

func (ListenerRuleConditionPathPatternPtrOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleConditionQueryString

type ListenerRuleConditionQueryString struct {
	// Query string key pattern to match.
	Key *string `pulumi:"key"`
	// Query string value pattern to match.
	Value string `pulumi:"value"`
}

type ListenerRuleConditionQueryStringArgs

type ListenerRuleConditionQueryStringArgs struct {
	// Query string key pattern to match.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Query string value pattern to match.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ListenerRuleConditionQueryStringArgs) ElementType

func (ListenerRuleConditionQueryStringArgs) ToListenerRuleConditionQueryStringOutput

func (i ListenerRuleConditionQueryStringArgs) ToListenerRuleConditionQueryStringOutput() ListenerRuleConditionQueryStringOutput

func (ListenerRuleConditionQueryStringArgs) ToListenerRuleConditionQueryStringOutputWithContext

func (i ListenerRuleConditionQueryStringArgs) ToListenerRuleConditionQueryStringOutputWithContext(ctx context.Context) ListenerRuleConditionQueryStringOutput

type ListenerRuleConditionQueryStringArray

type ListenerRuleConditionQueryStringArray []ListenerRuleConditionQueryStringInput

func (ListenerRuleConditionQueryStringArray) ElementType

func (ListenerRuleConditionQueryStringArray) ToListenerRuleConditionQueryStringArrayOutput

func (i ListenerRuleConditionQueryStringArray) ToListenerRuleConditionQueryStringArrayOutput() ListenerRuleConditionQueryStringArrayOutput

func (ListenerRuleConditionQueryStringArray) ToListenerRuleConditionQueryStringArrayOutputWithContext

func (i ListenerRuleConditionQueryStringArray) ToListenerRuleConditionQueryStringArrayOutputWithContext(ctx context.Context) ListenerRuleConditionQueryStringArrayOutput

type ListenerRuleConditionQueryStringArrayInput

type ListenerRuleConditionQueryStringArrayInput interface {
	pulumi.Input

	ToListenerRuleConditionQueryStringArrayOutput() ListenerRuleConditionQueryStringArrayOutput
	ToListenerRuleConditionQueryStringArrayOutputWithContext(context.Context) ListenerRuleConditionQueryStringArrayOutput
}

ListenerRuleConditionQueryStringArrayInput is an input type that accepts ListenerRuleConditionQueryStringArray and ListenerRuleConditionQueryStringArrayOutput values. You can construct a concrete instance of `ListenerRuleConditionQueryStringArrayInput` via:

ListenerRuleConditionQueryStringArray{ ListenerRuleConditionQueryStringArgs{...} }

type ListenerRuleConditionQueryStringArrayOutput

type ListenerRuleConditionQueryStringArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionQueryStringArrayOutput) ElementType

func (ListenerRuleConditionQueryStringArrayOutput) Index

func (ListenerRuleConditionQueryStringArrayOutput) ToListenerRuleConditionQueryStringArrayOutput

func (o ListenerRuleConditionQueryStringArrayOutput) ToListenerRuleConditionQueryStringArrayOutput() ListenerRuleConditionQueryStringArrayOutput

func (ListenerRuleConditionQueryStringArrayOutput) ToListenerRuleConditionQueryStringArrayOutputWithContext

func (o ListenerRuleConditionQueryStringArrayOutput) ToListenerRuleConditionQueryStringArrayOutputWithContext(ctx context.Context) ListenerRuleConditionQueryStringArrayOutput

type ListenerRuleConditionQueryStringInput

type ListenerRuleConditionQueryStringInput interface {
	pulumi.Input

	ToListenerRuleConditionQueryStringOutput() ListenerRuleConditionQueryStringOutput
	ToListenerRuleConditionQueryStringOutputWithContext(context.Context) ListenerRuleConditionQueryStringOutput
}

ListenerRuleConditionQueryStringInput is an input type that accepts ListenerRuleConditionQueryStringArgs and ListenerRuleConditionQueryStringOutput values. You can construct a concrete instance of `ListenerRuleConditionQueryStringInput` via:

ListenerRuleConditionQueryStringArgs{...}

type ListenerRuleConditionQueryStringOutput

type ListenerRuleConditionQueryStringOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionQueryStringOutput) ElementType

func (ListenerRuleConditionQueryStringOutput) Key

Query string key pattern to match.

func (ListenerRuleConditionQueryStringOutput) ToListenerRuleConditionQueryStringOutput

func (o ListenerRuleConditionQueryStringOutput) ToListenerRuleConditionQueryStringOutput() ListenerRuleConditionQueryStringOutput

func (ListenerRuleConditionQueryStringOutput) ToListenerRuleConditionQueryStringOutputWithContext

func (o ListenerRuleConditionQueryStringOutput) ToListenerRuleConditionQueryStringOutputWithContext(ctx context.Context) ListenerRuleConditionQueryStringOutput

func (ListenerRuleConditionQueryStringOutput) Value

Query string value pattern to match.

type ListenerRuleConditionSourceIp

type ListenerRuleConditionSourceIp struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values []string `pulumi:"values"`
}

type ListenerRuleConditionSourceIpArgs

type ListenerRuleConditionSourceIpArgs struct {
	// List of exactly one pattern to match. Required when `field` is set.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (ListenerRuleConditionSourceIpArgs) ElementType

func (ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpOutput

func (i ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpOutput() ListenerRuleConditionSourceIpOutput

func (ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpOutputWithContext

func (i ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpOutputWithContext(ctx context.Context) ListenerRuleConditionSourceIpOutput

func (ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpPtrOutput

func (i ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpPtrOutput() ListenerRuleConditionSourceIpPtrOutput

func (ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpPtrOutputWithContext

func (i ListenerRuleConditionSourceIpArgs) ToListenerRuleConditionSourceIpPtrOutputWithContext(ctx context.Context) ListenerRuleConditionSourceIpPtrOutput

type ListenerRuleConditionSourceIpInput

type ListenerRuleConditionSourceIpInput interface {
	pulumi.Input

	ToListenerRuleConditionSourceIpOutput() ListenerRuleConditionSourceIpOutput
	ToListenerRuleConditionSourceIpOutputWithContext(context.Context) ListenerRuleConditionSourceIpOutput
}

ListenerRuleConditionSourceIpInput is an input type that accepts ListenerRuleConditionSourceIpArgs and ListenerRuleConditionSourceIpOutput values. You can construct a concrete instance of `ListenerRuleConditionSourceIpInput` via:

ListenerRuleConditionSourceIpArgs{...}

type ListenerRuleConditionSourceIpOutput

type ListenerRuleConditionSourceIpOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionSourceIpOutput) ElementType

func (ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpOutput

func (o ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpOutput() ListenerRuleConditionSourceIpOutput

func (ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpOutputWithContext

func (o ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpOutputWithContext(ctx context.Context) ListenerRuleConditionSourceIpOutput

func (ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpPtrOutput

func (o ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpPtrOutput() ListenerRuleConditionSourceIpPtrOutput

func (ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpPtrOutputWithContext

func (o ListenerRuleConditionSourceIpOutput) ToListenerRuleConditionSourceIpPtrOutputWithContext(ctx context.Context) ListenerRuleConditionSourceIpPtrOutput

func (ListenerRuleConditionSourceIpOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleConditionSourceIpPtrInput

type ListenerRuleConditionSourceIpPtrInput interface {
	pulumi.Input

	ToListenerRuleConditionSourceIpPtrOutput() ListenerRuleConditionSourceIpPtrOutput
	ToListenerRuleConditionSourceIpPtrOutputWithContext(context.Context) ListenerRuleConditionSourceIpPtrOutput
}

ListenerRuleConditionSourceIpPtrInput is an input type that accepts ListenerRuleConditionSourceIpArgs, ListenerRuleConditionSourceIpPtr and ListenerRuleConditionSourceIpPtrOutput values. You can construct a concrete instance of `ListenerRuleConditionSourceIpPtrInput` via:

        ListenerRuleConditionSourceIpArgs{...}

or:

        nil

type ListenerRuleConditionSourceIpPtrOutput

type ListenerRuleConditionSourceIpPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleConditionSourceIpPtrOutput) Elem

func (ListenerRuleConditionSourceIpPtrOutput) ElementType

func (ListenerRuleConditionSourceIpPtrOutput) ToListenerRuleConditionSourceIpPtrOutput

func (o ListenerRuleConditionSourceIpPtrOutput) ToListenerRuleConditionSourceIpPtrOutput() ListenerRuleConditionSourceIpPtrOutput

func (ListenerRuleConditionSourceIpPtrOutput) ToListenerRuleConditionSourceIpPtrOutputWithContext

func (o ListenerRuleConditionSourceIpPtrOutput) ToListenerRuleConditionSourceIpPtrOutputWithContext(ctx context.Context) ListenerRuleConditionSourceIpPtrOutput

func (ListenerRuleConditionSourceIpPtrOutput) Values

List of exactly one pattern to match. Required when `field` is set.

type ListenerRuleState

type ListenerRuleState struct {
	// An Action block. Action blocks are documented below.
	Actions ListenerRuleActionArrayInput
	// The Amazon Resource Name (ARN) of the target group.
	Arn pulumi.StringPtrInput
	// A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.
	Conditions ListenerRuleConditionArrayInput
	// The ARN of the listener to which to attach the rule.
	ListenerArn pulumi.StringPtrInput
	// The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
	Priority pulumi.IntPtrInput
}

func (ListenerRuleState) ElementType

func (ListenerRuleState) ElementType() reflect.Type

type ListenerState

type ListenerState struct {
	// The Amazon Resource Name (ARN) of the target group.
	Arn pulumi.StringPtrInput
	// The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource.
	CertificateArn pulumi.StringPtrInput
	// An Action block. Action blocks are documented below.
	DefaultActions ListenerDefaultActionArrayInput
	// The ARN of the load balancer.
	LoadBalancerArn pulumi.StringPtrInput
	// The port on which the load balancer is listening.
	Port pulumi.IntPtrInput
	// The protocol for connections from clients to the load balancer. Valid values are `TCP`, `TLS`, `UDP`, `TCP_UDP`, `HTTP` and `HTTPS`. Defaults to `HTTP`.
	Protocol pulumi.StringPtrInput
	// The name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`.
	SslPolicy pulumi.StringPtrInput
}

func (ListenerState) ElementType

func (ListenerState) ElementType() reflect.Type

type LoadBalancer deprecated

type LoadBalancer struct {
	pulumi.CustomResourceState

	// An Access Logs block. Access Logs documented below.
	AccessLogs LoadBalancerAccessLogsPtrOutput `pulumi:"accessLogs"`
	// The ARN of the load balancer (matches `id`).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringOutput `pulumi:"arnSuffix"`
	// The DNS name of the load balancer.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type `application`.
	DropInvalidHeaderFields pulumi.BoolPtrOutput `pulumi:"dropInvalidHeaderFields"`
	// If true, cross-zone load balancing of the load balancer will be enabled.
	// This is a `network` load balancer feature. Defaults to `false`.
	EnableCrossZoneLoadBalancing pulumi.BoolPtrOutput `pulumi:"enableCrossZoneLoadBalancing"`
	// If true, deletion of the load balancer will be disabled via
	// the AWS API. This will prevent this provider from deleting the load balancer. Defaults to `false`.
	EnableDeletionProtection pulumi.BoolPtrOutput `pulumi:"enableDeletionProtection"`
	// Indicates whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
	EnableHttp2 pulumi.BoolPtrOutput `pulumi:"enableHttp2"`
	// The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60.
	IdleTimeout pulumi.IntPtrOutput `pulumi:"idleTimeout"`
	// If true, the LB will be internal.
	Internal pulumi.BoolOutput `pulumi:"internal"`
	// The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`
	IpAddressType pulumi.StringOutput `pulumi:"ipAddressType"`
	// The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
	LoadBalancerType pulumi.StringPtrOutput `pulumi:"loadBalancerType"`
	// The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters,
	// must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified,
	// this provider will autogenerate a name beginning with `tf-lb`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// A list of security group IDs to assign to the LB. Only valid for Load Balancers of type `application`.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// A subnet mapping block as documented below.
	SubnetMappings LoadBalancerSubnetMappingArrayOutput `pulumi:"subnetMappings"`
	// A list of subnet IDs to attach to the LB. Subnets
	// cannot be updated for Load Balancers of type `network`. Changing this value
	// for load balancers of type `network` will force a recreation of the resource.
	Subnets pulumi.StringArrayOutput `pulumi:"subnets"`
	// A map of tags to assign to the resource.
	Tags  pulumi.StringMapOutput `pulumi:"tags"`
	VpcId pulumi.StringOutput    `pulumi:"vpcId"`
	// The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides a Load Balancer resource.

> **Note:** `alb.LoadBalancer` is known as `lb.LoadBalancer`. The functionality is identical.

## Example Usage ### Specifying Elastic IPs

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
			LoadBalancerType: pulumi.String("network"),
			SubnetMappings: lb.LoadBalancerSubnetMappingArray{
				&lb.LoadBalancerSubnetMappingArgs{
					AllocationId: pulumi.String(aws_eip.Example1.Id),
					SubnetId:     pulumi.String(aws_subnet.Example1.Id),
				},
				&lb.LoadBalancerSubnetMappingArgs{
					AllocationId: pulumi.String(aws_eip.Example2.Id),
					SubnetId:     pulumi.String(aws_subnet.Example2.Id),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.LoadBalancer has been deprecated in favor of aws.alb.LoadBalancer

func GetLoadBalancer

func GetLoadBalancer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

GetLoadBalancer gets an existing LoadBalancer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLoadBalancer

func NewLoadBalancer(ctx *pulumi.Context,
	name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

NewLoadBalancer registers a new resource with the given unique name, arguments, and options.

type LoadBalancerAccessLogs

type LoadBalancerAccessLogs struct {
	// The S3 bucket name to store the logs in.
	Bucket string `pulumi:"bucket"`
	// Boolean to enable / disable `accessLogs`. Defaults to `false`, even when `bucket` is specified.
	Enabled *bool `pulumi:"enabled"`
	// The S3 bucket prefix. Logs are stored in the root if not configured.
	Prefix *string `pulumi:"prefix"`
}

type LoadBalancerAccessLogsArgs

type LoadBalancerAccessLogsArgs struct {
	// The S3 bucket name to store the logs in.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Boolean to enable / disable `accessLogs`. Defaults to `false`, even when `bucket` is specified.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The S3 bucket prefix. Logs are stored in the root if not configured.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
}

func (LoadBalancerAccessLogsArgs) ElementType

func (LoadBalancerAccessLogsArgs) ElementType() reflect.Type

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutput

func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutputWithContext

func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutputWithContext(ctx context.Context) LoadBalancerAccessLogsOutput

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutput

func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutputWithContext

func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput

type LoadBalancerAccessLogsInput

type LoadBalancerAccessLogsInput interface {
	pulumi.Input

	ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput
	ToLoadBalancerAccessLogsOutputWithContext(context.Context) LoadBalancerAccessLogsOutput
}

LoadBalancerAccessLogsInput is an input type that accepts LoadBalancerAccessLogsArgs and LoadBalancerAccessLogsOutput values. You can construct a concrete instance of `LoadBalancerAccessLogsInput` via:

LoadBalancerAccessLogsArgs{...}

type LoadBalancerAccessLogsOutput

type LoadBalancerAccessLogsOutput struct{ *pulumi.OutputState }

func (LoadBalancerAccessLogsOutput) Bucket

The S3 bucket name to store the logs in.

func (LoadBalancerAccessLogsOutput) ElementType

func (LoadBalancerAccessLogsOutput) Enabled

Boolean to enable / disable `accessLogs`. Defaults to `false`, even when `bucket` is specified.

func (LoadBalancerAccessLogsOutput) Prefix

The S3 bucket prefix. Logs are stored in the root if not configured.

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutput

func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutputWithContext

func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutputWithContext(ctx context.Context) LoadBalancerAccessLogsOutput

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutput

func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutputWithContext

func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput

type LoadBalancerAccessLogsPtrInput

type LoadBalancerAccessLogsPtrInput interface {
	pulumi.Input

	ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput
	ToLoadBalancerAccessLogsPtrOutputWithContext(context.Context) LoadBalancerAccessLogsPtrOutput
}

LoadBalancerAccessLogsPtrInput is an input type that accepts LoadBalancerAccessLogsArgs, LoadBalancerAccessLogsPtr and LoadBalancerAccessLogsPtrOutput values. You can construct a concrete instance of `LoadBalancerAccessLogsPtrInput` via:

        LoadBalancerAccessLogsArgs{...}

or:

        nil

type LoadBalancerAccessLogsPtrOutput

type LoadBalancerAccessLogsPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerAccessLogsPtrOutput) Bucket

The S3 bucket name to store the logs in.

func (LoadBalancerAccessLogsPtrOutput) Elem

func (LoadBalancerAccessLogsPtrOutput) ElementType

func (LoadBalancerAccessLogsPtrOutput) Enabled

Boolean to enable / disable `accessLogs`. Defaults to `false`, even when `bucket` is specified.

func (LoadBalancerAccessLogsPtrOutput) Prefix

The S3 bucket prefix. Logs are stored in the root if not configured.

func (LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutput

func (o LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput

func (LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutputWithContext

func (o LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutputWithContext(ctx context.Context) LoadBalancerAccessLogsPtrOutput

type LoadBalancerArgs

type LoadBalancerArgs struct {
	// An Access Logs block. Access Logs documented below.
	AccessLogs LoadBalancerAccessLogsPtrInput
	// Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type `application`.
	DropInvalidHeaderFields pulumi.BoolPtrInput
	// If true, cross-zone load balancing of the load balancer will be enabled.
	// This is a `network` load balancer feature. Defaults to `false`.
	EnableCrossZoneLoadBalancing pulumi.BoolPtrInput
	// If true, deletion of the load balancer will be disabled via
	// the AWS API. This will prevent this provider from deleting the load balancer. Defaults to `false`.
	EnableDeletionProtection pulumi.BoolPtrInput
	// Indicates whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
	EnableHttp2 pulumi.BoolPtrInput
	// The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60.
	IdleTimeout pulumi.IntPtrInput
	// If true, the LB will be internal.
	Internal pulumi.BoolPtrInput
	// The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`
	IpAddressType pulumi.StringPtrInput
	// The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
	LoadBalancerType pulumi.StringPtrInput
	// The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters,
	// must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified,
	// this provider will autogenerate a name beginning with `tf-lb`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// A list of security group IDs to assign to the LB. Only valid for Load Balancers of type `application`.
	SecurityGroups pulumi.StringArrayInput
	// A subnet mapping block as documented below.
	SubnetMappings LoadBalancerSubnetMappingArrayInput
	// A list of subnet IDs to attach to the LB. Subnets
	// cannot be updated for Load Balancers of type `network`. Changing this value
	// for load balancers of type `network` will force a recreation of the resource.
	Subnets pulumi.StringArrayInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LoadBalancer resource.

func (LoadBalancerArgs) ElementType

func (LoadBalancerArgs) ElementType() reflect.Type

type LoadBalancerState

type LoadBalancerState struct {
	// An Access Logs block. Access Logs documented below.
	AccessLogs LoadBalancerAccessLogsPtrInput
	// The ARN of the load balancer (matches `id`).
	Arn pulumi.StringPtrInput
	// The ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringPtrInput
	// The DNS name of the load balancer.
	DnsName pulumi.StringPtrInput
	// Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type `application`.
	DropInvalidHeaderFields pulumi.BoolPtrInput
	// If true, cross-zone load balancing of the load balancer will be enabled.
	// This is a `network` load balancer feature. Defaults to `false`.
	EnableCrossZoneLoadBalancing pulumi.BoolPtrInput
	// If true, deletion of the load balancer will be disabled via
	// the AWS API. This will prevent this provider from deleting the load balancer. Defaults to `false`.
	EnableDeletionProtection pulumi.BoolPtrInput
	// Indicates whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
	EnableHttp2 pulumi.BoolPtrInput
	// The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60.
	IdleTimeout pulumi.IntPtrInput
	// If true, the LB will be internal.
	Internal pulumi.BoolPtrInput
	// The type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`
	IpAddressType pulumi.StringPtrInput
	// The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
	LoadBalancerType pulumi.StringPtrInput
	// The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters,
	// must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified,
	// this provider will autogenerate a name beginning with `tf-lb`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// A list of security group IDs to assign to the LB. Only valid for Load Balancers of type `application`.
	SecurityGroups pulumi.StringArrayInput
	// A subnet mapping block as documented below.
	SubnetMappings LoadBalancerSubnetMappingArrayInput
	// A list of subnet IDs to attach to the LB. Subnets
	// cannot be updated for Load Balancers of type `network`. Changing this value
	// for load balancers of type `network` will force a recreation of the resource.
	Subnets pulumi.StringArrayInput
	// A map of tags to assign to the resource.
	Tags  pulumi.StringMapInput
	VpcId pulumi.StringPtrInput
	// The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).
	ZoneId pulumi.StringPtrInput
}

func (LoadBalancerState) ElementType

func (LoadBalancerState) ElementType() reflect.Type

type LoadBalancerSubnetMapping

type LoadBalancerSubnetMapping struct {
	// The allocation ID of the Elastic IP address.
	AllocationId *string `pulumi:"allocationId"`
	// The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone.
	SubnetId string `pulumi:"subnetId"`
}

type LoadBalancerSubnetMappingArgs

type LoadBalancerSubnetMappingArgs struct {
	// The allocation ID of the Elastic IP address.
	AllocationId pulumi.StringPtrInput `pulumi:"allocationId"`
	// The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (LoadBalancerSubnetMappingArgs) ElementType

func (LoadBalancerSubnetMappingArgs) ToLoadBalancerSubnetMappingOutput

func (i LoadBalancerSubnetMappingArgs) ToLoadBalancerSubnetMappingOutput() LoadBalancerSubnetMappingOutput

func (LoadBalancerSubnetMappingArgs) ToLoadBalancerSubnetMappingOutputWithContext

func (i LoadBalancerSubnetMappingArgs) ToLoadBalancerSubnetMappingOutputWithContext(ctx context.Context) LoadBalancerSubnetMappingOutput

type LoadBalancerSubnetMappingArray

type LoadBalancerSubnetMappingArray []LoadBalancerSubnetMappingInput

func (LoadBalancerSubnetMappingArray) ElementType

func (LoadBalancerSubnetMappingArray) ToLoadBalancerSubnetMappingArrayOutput

func (i LoadBalancerSubnetMappingArray) ToLoadBalancerSubnetMappingArrayOutput() LoadBalancerSubnetMappingArrayOutput

func (LoadBalancerSubnetMappingArray) ToLoadBalancerSubnetMappingArrayOutputWithContext

func (i LoadBalancerSubnetMappingArray) ToLoadBalancerSubnetMappingArrayOutputWithContext(ctx context.Context) LoadBalancerSubnetMappingArrayOutput

type LoadBalancerSubnetMappingArrayInput

type LoadBalancerSubnetMappingArrayInput interface {
	pulumi.Input

	ToLoadBalancerSubnetMappingArrayOutput() LoadBalancerSubnetMappingArrayOutput
	ToLoadBalancerSubnetMappingArrayOutputWithContext(context.Context) LoadBalancerSubnetMappingArrayOutput
}

LoadBalancerSubnetMappingArrayInput is an input type that accepts LoadBalancerSubnetMappingArray and LoadBalancerSubnetMappingArrayOutput values. You can construct a concrete instance of `LoadBalancerSubnetMappingArrayInput` via:

LoadBalancerSubnetMappingArray{ LoadBalancerSubnetMappingArgs{...} }

type LoadBalancerSubnetMappingArrayOutput

type LoadBalancerSubnetMappingArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerSubnetMappingArrayOutput) ElementType

func (LoadBalancerSubnetMappingArrayOutput) Index

func (LoadBalancerSubnetMappingArrayOutput) ToLoadBalancerSubnetMappingArrayOutput

func (o LoadBalancerSubnetMappingArrayOutput) ToLoadBalancerSubnetMappingArrayOutput() LoadBalancerSubnetMappingArrayOutput

func (LoadBalancerSubnetMappingArrayOutput) ToLoadBalancerSubnetMappingArrayOutputWithContext

func (o LoadBalancerSubnetMappingArrayOutput) ToLoadBalancerSubnetMappingArrayOutputWithContext(ctx context.Context) LoadBalancerSubnetMappingArrayOutput

type LoadBalancerSubnetMappingInput

type LoadBalancerSubnetMappingInput interface {
	pulumi.Input

	ToLoadBalancerSubnetMappingOutput() LoadBalancerSubnetMappingOutput
	ToLoadBalancerSubnetMappingOutputWithContext(context.Context) LoadBalancerSubnetMappingOutput
}

LoadBalancerSubnetMappingInput is an input type that accepts LoadBalancerSubnetMappingArgs and LoadBalancerSubnetMappingOutput values. You can construct a concrete instance of `LoadBalancerSubnetMappingInput` via:

LoadBalancerSubnetMappingArgs{...}

type LoadBalancerSubnetMappingOutput

type LoadBalancerSubnetMappingOutput struct{ *pulumi.OutputState }

func (LoadBalancerSubnetMappingOutput) AllocationId

The allocation ID of the Elastic IP address.

func (LoadBalancerSubnetMappingOutput) ElementType

func (LoadBalancerSubnetMappingOutput) SubnetId

The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone.

func (LoadBalancerSubnetMappingOutput) ToLoadBalancerSubnetMappingOutput

func (o LoadBalancerSubnetMappingOutput) ToLoadBalancerSubnetMappingOutput() LoadBalancerSubnetMappingOutput

func (LoadBalancerSubnetMappingOutput) ToLoadBalancerSubnetMappingOutputWithContext

func (o LoadBalancerSubnetMappingOutput) ToLoadBalancerSubnetMappingOutputWithContext(ctx context.Context) LoadBalancerSubnetMappingOutput

type LookupListenerArgs

type LookupListenerArgs struct {
	// The arn of the listener. Required if `loadBalancerArn` and `port` is not set.
	Arn *string `pulumi:"arn"`
	// The arn of the load balancer. Required if `arn` is not set.
	LoadBalancerArn *string `pulumi:"loadBalancerArn"`
	// The port of the listener. Required if `arn` is not set.
	Port *int `pulumi:"port"`
}

A collection of arguments for invoking getListener.

type LookupListenerResult

type LookupListenerResult struct {
	Arn            string                     `pulumi:"arn"`
	CertificateArn string                     `pulumi:"certificateArn"`
	DefaultActions []GetListenerDefaultAction `pulumi:"defaultActions"`
	// The provider-assigned unique ID for this managed resource.
	Id              string `pulumi:"id"`
	LoadBalancerArn string `pulumi:"loadBalancerArn"`
	Port            int    `pulumi:"port"`
	Protocol        string `pulumi:"protocol"`
	SslPolicy       string `pulumi:"sslPolicy"`
}

A collection of values returned by getListener.

func LookupListener deprecated

func LookupListener(ctx *pulumi.Context, args *LookupListenerArgs, opts ...pulumi.InvokeOption) (*LookupListenerResult, error)

> **Note:** `alb.Listener` is known as `lb.Listener`. The functionality is identical.

Provides information about a Load Balancer Listener.

This data source can prove useful when a module accepts an LB Listener as an input variable and needs to know the LB it is attached to, or other information specific to the listener in question.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := listenerArn
		_, err := lb.LookupListener(ctx, &lb.LookupListenerArgs{
			Arn: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		opt1 := "default-public"
		selected, err := lb.LookupLoadBalancer(ctx, &lb.LookupLoadBalancerArgs{
			Name: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		opt2 := selected.Arn
		opt3 := 443
		_, err = lb.LookupListener(ctx, &lb.LookupListenerArgs{
			LoadBalancerArn: &opt2,
			Port:            &opt3,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.getListener has been deprecated in favor of aws.alb.getListener

type LookupLoadBalancerArgs

type LookupLoadBalancerArgs struct {
	// The full ARN of the load balancer.
	Arn *string `pulumi:"arn"`
	// The unique name of the load balancer.
	Name *string           `pulumi:"name"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getLoadBalancer.

type LookupLoadBalancerResult

type LookupLoadBalancerResult struct {
	AccessLogs               GetLoadBalancerAccessLogs `pulumi:"accessLogs"`
	Arn                      string                    `pulumi:"arn"`
	ArnSuffix                string                    `pulumi:"arnSuffix"`
	DnsName                  string                    `pulumi:"dnsName"`
	DropInvalidHeaderFields  bool                      `pulumi:"dropInvalidHeaderFields"`
	EnableDeletionProtection bool                      `pulumi:"enableDeletionProtection"`
	// The provider-assigned unique ID for this managed resource.
	Id               string                         `pulumi:"id"`
	IdleTimeout      int                            `pulumi:"idleTimeout"`
	Internal         bool                           `pulumi:"internal"`
	IpAddressType    string                         `pulumi:"ipAddressType"`
	LoadBalancerType string                         `pulumi:"loadBalancerType"`
	Name             string                         `pulumi:"name"`
	SecurityGroups   []string                       `pulumi:"securityGroups"`
	SubnetMappings   []GetLoadBalancerSubnetMapping `pulumi:"subnetMappings"`
	Subnets          []string                       `pulumi:"subnets"`
	Tags             map[string]string              `pulumi:"tags"`
	VpcId            string                         `pulumi:"vpcId"`
	ZoneId           string                         `pulumi:"zoneId"`
}

A collection of values returned by getLoadBalancer.

func LookupLoadBalancer deprecated

func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error)

> **Note:** `alb.LoadBalancer` is known as `lb.LoadBalancer`. The functionality is identical.

Provides information about a Load Balancer.

This data source can prove useful when a module accepts an LB as an input variable and needs to, for example, determine the security groups associated with it, etc.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := lbArn
		opt1 := lbName
		_, err := lb.LookupLoadBalancer(ctx, &lb.LookupLoadBalancerArgs{
			Arn:  &opt0,
			Name: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.getLoadBalancer has been deprecated in favor of aws.alb.getLoadBalancer

type LookupTargetGroupArgs

type LookupTargetGroupArgs struct {
	// The full ARN of the target group.
	Arn *string `pulumi:"arn"`
	// The unique name of the target group.
	Name *string           `pulumi:"name"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getTargetGroup.

type LookupTargetGroupResult

type LookupTargetGroupResult struct {
	Arn                 string                    `pulumi:"arn"`
	ArnSuffix           string                    `pulumi:"arnSuffix"`
	DeregistrationDelay int                       `pulumi:"deregistrationDelay"`
	HealthCheck         GetTargetGroupHealthCheck `pulumi:"healthCheck"`
	// The provider-assigned unique ID for this managed resource.
	Id                             string                   `pulumi:"id"`
	LambdaMultiValueHeadersEnabled bool                     `pulumi:"lambdaMultiValueHeadersEnabled"`
	LoadBalancingAlgorithmType     string                   `pulumi:"loadBalancingAlgorithmType"`
	Name                           string                   `pulumi:"name"`
	Port                           int                      `pulumi:"port"`
	Protocol                       string                   `pulumi:"protocol"`
	ProxyProtocolV2                bool                     `pulumi:"proxyProtocolV2"`
	SlowStart                      int                      `pulumi:"slowStart"`
	Stickiness                     GetTargetGroupStickiness `pulumi:"stickiness"`
	Tags                           map[string]string        `pulumi:"tags"`
	TargetType                     string                   `pulumi:"targetType"`
	VpcId                          string                   `pulumi:"vpcId"`
}

A collection of values returned by getTargetGroup.

func LookupTargetGroup deprecated

func LookupTargetGroup(ctx *pulumi.Context, args *LookupTargetGroupArgs, opts ...pulumi.InvokeOption) (*LookupTargetGroupResult, error)

> **Note:** `alb.TargetGroup` is known as `lb.TargetGroup`. The functionality is identical.

Provides information about a Load Balancer Target Group.

This data source can prove useful when a module accepts an LB Target Group as an input variable and needs to know its attributes. It can also be used to get the ARN of an LB Target Group for use in other resources, given LB Target Group name.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := lbTgArn
		opt1 := lbTgName
		_, err := lb.LookupTargetGroup(ctx, &lb.LookupTargetGroupArgs{
			Arn:  &opt0,
			Name: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.getTargetGroup has been deprecated in favor of aws.alb.getTargetGroup

type TargetGroup deprecated

type TargetGroup struct {
	pulumi.CustomResourceState

	// The ARN of the Target Group (matches `id`)
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringOutput `pulumi:"arnSuffix"`
	// The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.
	DeregistrationDelay pulumi.IntPtrOutput `pulumi:"deregistrationDelay"`
	// A Health Check block. Health Check blocks are documented below.
	HealthCheck TargetGroupHealthCheckOutput `pulumi:"healthCheck"`
	// Boolean whether the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings. Only applies when `targetType` is `lambda`.
	LambdaMultiValueHeadersEnabled pulumi.BoolPtrOutput `pulumi:"lambdaMultiValueHeadersEnabled"`
	// Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin` or `leastOutstandingRequests`. The default is `roundRobin`.
	LoadBalancingAlgorithmType pulumi.StringOutput `pulumi:"loadBalancingAlgorithmType"`
	// The name of the target group. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// The port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol) for more information.
	ProxyProtocolV2 pulumi.BoolPtrOutput `pulumi:"proxyProtocolV2"`
	// The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.
	SlowStart pulumi.IntPtrOutput `pulumi:"slowStart"`
	// A Stickiness block. Stickiness blocks are documented below. `stickiness` is only valid if used with Load Balancers of type `Application`
	Stickiness TargetGroupStickinessOutput `pulumi:"stickiness"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The type of target that you must specify when registering targets with this target group.
	// The possible values are `instance` (targets are specified by instance ID) or `ip` (targets are specified by IP address) or `lambda` (targets are specified by lambda arn).
	// The default is `instance`. Note that you can't specify targets for a target group using both instance IDs and IP addresses.
	// If the target type is `ip`, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group,
	// the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10).
	// You can't specify publicly routable IP addresses.
	TargetType pulumi.StringPtrOutput `pulumi:"targetType"`
	// The identifier of the VPC in which to create the target group. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides a Target Group resource for use with Load Balancer resources.

> **Note:** `alb.TargetGroup` is known as `lb.TargetGroup`. The functionality is identical.

## Example Usage ### Instance Target Group

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = lb.NewTargetGroup(ctx, "test", &lb.TargetGroupArgs{
			Port:     pulumi.Int(80),
			Protocol: pulumi.String("HTTP"),
			VpcId:    main.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### IP Target Group

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = lb.NewTargetGroup(ctx, "ip_example", &lb.TargetGroupArgs{
			Port:       pulumi.Int(80),
			Protocol:   pulumi.String("HTTP"),
			TargetType: pulumi.String("ip"),
			VpcId:      main.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Lambda Target Group

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewTargetGroup(ctx, "lambda_example", &lb.TargetGroupArgs{
			TargetType: pulumi.String("lambda"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.TargetGroup has been deprecated in favor of aws.alb.TargetGroup

func GetTargetGroup

func GetTargetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TargetGroupState, opts ...pulumi.ResourceOption) (*TargetGroup, error)

GetTargetGroup gets an existing TargetGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTargetGroup

func NewTargetGroup(ctx *pulumi.Context,
	name string, args *TargetGroupArgs, opts ...pulumi.ResourceOption) (*TargetGroup, error)

NewTargetGroup registers a new resource with the given unique name, arguments, and options.

type TargetGroupArgs

type TargetGroupArgs struct {
	// The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.
	DeregistrationDelay pulumi.IntPtrInput
	// A Health Check block. Health Check blocks are documented below.
	HealthCheck TargetGroupHealthCheckPtrInput
	// Boolean whether the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings. Only applies when `targetType` is `lambda`.
	LambdaMultiValueHeadersEnabled pulumi.BoolPtrInput
	// Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin` or `leastOutstandingRequests`. The default is `roundRobin`.
	LoadBalancingAlgorithmType pulumi.StringPtrInput
	// The name of the target group. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
	NamePrefix pulumi.StringPtrInput
	// The port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Port pulumi.IntPtrInput
	// The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Protocol pulumi.StringPtrInput
	// Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol) for more information.
	ProxyProtocolV2 pulumi.BoolPtrInput
	// The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.
	SlowStart pulumi.IntPtrInput
	// A Stickiness block. Stickiness blocks are documented below. `stickiness` is only valid if used with Load Balancers of type `Application`
	Stickiness TargetGroupStickinessPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The type of target that you must specify when registering targets with this target group.
	// The possible values are `instance` (targets are specified by instance ID) or `ip` (targets are specified by IP address) or `lambda` (targets are specified by lambda arn).
	// The default is `instance`. Note that you can't specify targets for a target group using both instance IDs and IP addresses.
	// If the target type is `ip`, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group,
	// the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10).
	// You can't specify publicly routable IP addresses.
	TargetType pulumi.StringPtrInput
	// The identifier of the VPC in which to create the target group. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a TargetGroup resource.

func (TargetGroupArgs) ElementType

func (TargetGroupArgs) ElementType() reflect.Type

type TargetGroupAttachment deprecated

type TargetGroupAttachment struct {
	pulumi.CustomResourceState

	// The Availability Zone where the IP address of the target is to be registered. If the private ip address is outside of the VPC scope, this value must be set to 'all'.
	AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"`
	// The port on which targets receive traffic.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The ARN of the target group with which to register targets
	TargetGroupArn pulumi.StringOutput `pulumi:"targetGroupArn"`
	// The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda.
	TargetId pulumi.StringOutput `pulumi:"targetId"`
}

Provides the ability to register instances and containers with an Application Load Balancer (ALB) or Network Load Balancer (NLB) target group. For attaching resources with Elastic Load Balancer (ELB), see the `elb.Attachment` resource.

> **Note:** `alb.TargetGroupAttachment` is known as `lb.TargetGroupAttachment`. The functionality is identical.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testTargetGroup, err := lb.NewTargetGroup(ctx, "testTargetGroup", nil)
		if err != nil {
			return err
		}
		testInstance, err := ec2.NewInstance(ctx, "testInstance", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewTargetGroupAttachment(ctx, "testTargetGroupAttachment", &lb.TargetGroupAttachmentArgs{
			Port:           pulumi.Int(80),
			TargetGroupArn: testTargetGroup.Arn,
			TargetId:       testInstance.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Usage with lambda

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lambda"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testTargetGroup, err := lb.NewTargetGroup(ctx, "testTargetGroup", &lb.TargetGroupArgs{
			TargetType: pulumi.String("lambda"),
		})
		if err != nil {
			return err
		}
		testFunction, err := lambda.NewFunction(ctx, "testFunction", nil)
		if err != nil {
			return err
		}
		_, err = lambda.NewPermission(ctx, "withLb", &lambda.PermissionArgs{
			Action:    pulumi.String("lambda:InvokeFunction"),
			Function:  testFunction.Arn,
			Principal: pulumi.String("elasticloadbalancing.amazonaws.com"),
			SourceArn: testTargetGroup.Arn,
		})
		if err != nil {
			return err
		}
		_, err = lb.NewTargetGroupAttachment(ctx, "testTargetGroupAttachment", &lb.TargetGroupAttachmentArgs{
			TargetGroupArn: testTargetGroup.Arn,
			TargetId:       testFunction.Arn,
		}, pulumi.DependsOn([]pulumi.Resource{
			"aws_lambda_permission.with_lb",
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: aws.applicationloadbalancing.TargetGroupAttachment has been deprecated in favor of aws.alb.TargetGroupAttachment

func GetTargetGroupAttachment

func GetTargetGroupAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TargetGroupAttachmentState, opts ...pulumi.ResourceOption) (*TargetGroupAttachment, error)

GetTargetGroupAttachment gets an existing TargetGroupAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTargetGroupAttachment

func NewTargetGroupAttachment(ctx *pulumi.Context,
	name string, args *TargetGroupAttachmentArgs, opts ...pulumi.ResourceOption) (*TargetGroupAttachment, error)

NewTargetGroupAttachment registers a new resource with the given unique name, arguments, and options.

type TargetGroupAttachmentArgs

type TargetGroupAttachmentArgs struct {
	// The Availability Zone where the IP address of the target is to be registered. If the private ip address is outside of the VPC scope, this value must be set to 'all'.
	AvailabilityZone pulumi.StringPtrInput
	// The port on which targets receive traffic.
	Port pulumi.IntPtrInput
	// The ARN of the target group with which to register targets
	TargetGroupArn pulumi.StringInput
	// The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda.
	TargetId pulumi.StringInput
}

The set of arguments for constructing a TargetGroupAttachment resource.

func (TargetGroupAttachmentArgs) ElementType

func (TargetGroupAttachmentArgs) ElementType() reflect.Type

type TargetGroupAttachmentState

type TargetGroupAttachmentState struct {
	// The Availability Zone where the IP address of the target is to be registered. If the private ip address is outside of the VPC scope, this value must be set to 'all'.
	AvailabilityZone pulumi.StringPtrInput
	// The port on which targets receive traffic.
	Port pulumi.IntPtrInput
	// The ARN of the target group with which to register targets
	TargetGroupArn pulumi.StringPtrInput
	// The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda.
	TargetId pulumi.StringPtrInput
}

func (TargetGroupAttachmentState) ElementType

func (TargetGroupAttachmentState) ElementType() reflect.Type

type TargetGroupHealthCheck

type TargetGroupHealthCheck struct {
	// Boolean to enable / disable `stickiness`. Default is `true`
	Enabled *bool `pulumi:"enabled"`
	// The number of consecutive health checks successes required before considering an unhealthy target healthy. Defaults to 3.
	HealthyThreshold *int `pulumi:"healthyThreshold"`
	// The approximate amount of time, in seconds, between health checks of an individual target. Minimum value 5 seconds, Maximum value 300 seconds. For `lambda` target groups, it needs to be greater as the `timeout` of the underlying `lambda`. Default 30 seconds.
	Interval *int `pulumi:"interval"`
	// The HTTP codes to use when checking for a successful response from a target. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).
	Matcher *string `pulumi:"matcher"`
	// The destination for the health check request. Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).
	Path *string `pulumi:"path"`
	// The port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Port *string `pulumi:"port"`
	// The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Protocol *string `pulumi:"protocol"`
	// The amount of time, in seconds, during which no response means a failed health check. For Application Load Balancers, the range is 2 to 120 seconds, and the default is 5 seconds for the `instance` target type and 30 seconds for the `lambda` target type. For Network Load Balancers, you cannot set a custom value, and the default is 10 seconds for TCP and HTTPS health checks and 6 seconds for HTTP health checks.
	Timeout *int `pulumi:"timeout"`
	// The number of consecutive health check failures required before considering the target unhealthy . For Network Load Balancers, this value must be the same as the `healthyThreshold`. Defaults to 3.
	UnhealthyThreshold *int `pulumi:"unhealthyThreshold"`
}

type TargetGroupHealthCheckArgs

type TargetGroupHealthCheckArgs struct {
	// Boolean to enable / disable `stickiness`. Default is `true`
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The number of consecutive health checks successes required before considering an unhealthy target healthy. Defaults to 3.
	HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"`
	// The approximate amount of time, in seconds, between health checks of an individual target. Minimum value 5 seconds, Maximum value 300 seconds. For `lambda` target groups, it needs to be greater as the `timeout` of the underlying `lambda`. Default 30 seconds.
	Interval pulumi.IntPtrInput `pulumi:"interval"`
	// The HTTP codes to use when checking for a successful response from a target. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).
	Matcher pulumi.StringPtrInput `pulumi:"matcher"`
	// The destination for the health check request. Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// The amount of time, in seconds, during which no response means a failed health check. For Application Load Balancers, the range is 2 to 120 seconds, and the default is 5 seconds for the `instance` target type and 30 seconds for the `lambda` target type. For Network Load Balancers, you cannot set a custom value, and the default is 10 seconds for TCP and HTTPS health checks and 6 seconds for HTTP health checks.
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
	// The number of consecutive health check failures required before considering the target unhealthy . For Network Load Balancers, this value must be the same as the `healthyThreshold`. Defaults to 3.
	UnhealthyThreshold pulumi.IntPtrInput `pulumi:"unhealthyThreshold"`
}

func (TargetGroupHealthCheckArgs) ElementType

func (TargetGroupHealthCheckArgs) ElementType() reflect.Type

func (TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckOutput

func (i TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckOutput() TargetGroupHealthCheckOutput

func (TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckOutputWithContext

func (i TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckOutputWithContext(ctx context.Context) TargetGroupHealthCheckOutput

func (TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckPtrOutput

func (i TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckPtrOutput() TargetGroupHealthCheckPtrOutput

func (TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckPtrOutputWithContext

func (i TargetGroupHealthCheckArgs) ToTargetGroupHealthCheckPtrOutputWithContext(ctx context.Context) TargetGroupHealthCheckPtrOutput

type TargetGroupHealthCheckInput

type TargetGroupHealthCheckInput interface {
	pulumi.Input

	ToTargetGroupHealthCheckOutput() TargetGroupHealthCheckOutput
	ToTargetGroupHealthCheckOutputWithContext(context.Context) TargetGroupHealthCheckOutput
}

TargetGroupHealthCheckInput is an input type that accepts TargetGroupHealthCheckArgs and TargetGroupHealthCheckOutput values. You can construct a concrete instance of `TargetGroupHealthCheckInput` via:

TargetGroupHealthCheckArgs{...}

type TargetGroupHealthCheckOutput

type TargetGroupHealthCheckOutput struct{ *pulumi.OutputState }

func (TargetGroupHealthCheckOutput) ElementType

func (TargetGroupHealthCheckOutput) Enabled

Boolean to enable / disable `stickiness`. Default is `true`

func (TargetGroupHealthCheckOutput) HealthyThreshold

func (o TargetGroupHealthCheckOutput) HealthyThreshold() pulumi.IntPtrOutput

The number of consecutive health checks successes required before considering an unhealthy target healthy. Defaults to 3.

func (TargetGroupHealthCheckOutput) Interval

The approximate amount of time, in seconds, between health checks of an individual target. Minimum value 5 seconds, Maximum value 300 seconds. For `lambda` target groups, it needs to be greater as the `timeout` of the underlying `lambda`. Default 30 seconds.

func (TargetGroupHealthCheckOutput) Matcher

The HTTP codes to use when checking for a successful response from a target. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).

func (TargetGroupHealthCheckOutput) Path

The destination for the health check request. Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).

func (TargetGroupHealthCheckOutput) Port

The port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.

func (TargetGroupHealthCheckOutput) Protocol

The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.

func (TargetGroupHealthCheckOutput) Timeout

The amount of time, in seconds, during which no response means a failed health check. For Application Load Balancers, the range is 2 to 120 seconds, and the default is 5 seconds for the `instance` target type and 30 seconds for the `lambda` target type. For Network Load Balancers, you cannot set a custom value, and the default is 10 seconds for TCP and HTTPS health checks and 6 seconds for HTTP health checks.

func (TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckOutput

func (o TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckOutput() TargetGroupHealthCheckOutput

func (TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckOutputWithContext

func (o TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckOutputWithContext(ctx context.Context) TargetGroupHealthCheckOutput

func (TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckPtrOutput

func (o TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckPtrOutput() TargetGroupHealthCheckPtrOutput

func (TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckPtrOutputWithContext

func (o TargetGroupHealthCheckOutput) ToTargetGroupHealthCheckPtrOutputWithContext(ctx context.Context) TargetGroupHealthCheckPtrOutput

func (TargetGroupHealthCheckOutput) UnhealthyThreshold

func (o TargetGroupHealthCheckOutput) UnhealthyThreshold() pulumi.IntPtrOutput

The number of consecutive health check failures required before considering the target unhealthy . For Network Load Balancers, this value must be the same as the `healthyThreshold`. Defaults to 3.

type TargetGroupHealthCheckPtrInput

type TargetGroupHealthCheckPtrInput interface {
	pulumi.Input

	ToTargetGroupHealthCheckPtrOutput() TargetGroupHealthCheckPtrOutput
	ToTargetGroupHealthCheckPtrOutputWithContext(context.Context) TargetGroupHealthCheckPtrOutput
}

TargetGroupHealthCheckPtrInput is an input type that accepts TargetGroupHealthCheckArgs, TargetGroupHealthCheckPtr and TargetGroupHealthCheckPtrOutput values. You can construct a concrete instance of `TargetGroupHealthCheckPtrInput` via:

        TargetGroupHealthCheckArgs{...}

or:

        nil

type TargetGroupHealthCheckPtrOutput

type TargetGroupHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupHealthCheckPtrOutput) Elem

func (TargetGroupHealthCheckPtrOutput) ElementType

func (TargetGroupHealthCheckPtrOutput) Enabled

Boolean to enable / disable `stickiness`. Default is `true`

func (TargetGroupHealthCheckPtrOutput) HealthyThreshold

The number of consecutive health checks successes required before considering an unhealthy target healthy. Defaults to 3.

func (TargetGroupHealthCheckPtrOutput) Interval

The approximate amount of time, in seconds, between health checks of an individual target. Minimum value 5 seconds, Maximum value 300 seconds. For `lambda` target groups, it needs to be greater as the `timeout` of the underlying `lambda`. Default 30 seconds.

func (TargetGroupHealthCheckPtrOutput) Matcher

The HTTP codes to use when checking for a successful response from a target. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).

func (TargetGroupHealthCheckPtrOutput) Path

The destination for the health check request. Applies to Application Load Balancers only (HTTP/HTTPS), not Network Load Balancers (TCP).

func (TargetGroupHealthCheckPtrOutput) Port

The port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.

func (TargetGroupHealthCheckPtrOutput) Protocol

The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.

func (TargetGroupHealthCheckPtrOutput) Timeout

The amount of time, in seconds, during which no response means a failed health check. For Application Load Balancers, the range is 2 to 120 seconds, and the default is 5 seconds for the `instance` target type and 30 seconds for the `lambda` target type. For Network Load Balancers, you cannot set a custom value, and the default is 10 seconds for TCP and HTTPS health checks and 6 seconds for HTTP health checks.

func (TargetGroupHealthCheckPtrOutput) ToTargetGroupHealthCheckPtrOutput

func (o TargetGroupHealthCheckPtrOutput) ToTargetGroupHealthCheckPtrOutput() TargetGroupHealthCheckPtrOutput

func (TargetGroupHealthCheckPtrOutput) ToTargetGroupHealthCheckPtrOutputWithContext

func (o TargetGroupHealthCheckPtrOutput) ToTargetGroupHealthCheckPtrOutputWithContext(ctx context.Context) TargetGroupHealthCheckPtrOutput

func (TargetGroupHealthCheckPtrOutput) UnhealthyThreshold

func (o TargetGroupHealthCheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput

The number of consecutive health check failures required before considering the target unhealthy . For Network Load Balancers, this value must be the same as the `healthyThreshold`. Defaults to 3.

type TargetGroupState

type TargetGroupState struct {
	// The ARN of the Target Group (matches `id`)
	Arn pulumi.StringPtrInput
	// The ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringPtrInput
	// The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.
	DeregistrationDelay pulumi.IntPtrInput
	// A Health Check block. Health Check blocks are documented below.
	HealthCheck TargetGroupHealthCheckPtrInput
	// Boolean whether the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings. Only applies when `targetType` is `lambda`.
	LambdaMultiValueHeadersEnabled pulumi.BoolPtrInput
	// Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin` or `leastOutstandingRequests`. The default is `roundRobin`.
	LoadBalancingAlgorithmType pulumi.StringPtrInput
	// The name of the target group. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
	NamePrefix pulumi.StringPtrInput
	// The port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Port pulumi.IntPtrInput
	// The protocol to use for routing traffic to the targets. Should be one of "TCP", "TLS", "UDP", "TCP_UDP", "HTTP" or "HTTPS". Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	Protocol pulumi.StringPtrInput
	// Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol) for more information.
	ProxyProtocolV2 pulumi.BoolPtrInput
	// The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.
	SlowStart pulumi.IntPtrInput
	// A Stickiness block. Stickiness blocks are documented below. `stickiness` is only valid if used with Load Balancers of type `Application`
	Stickiness TargetGroupStickinessPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The type of target that you must specify when registering targets with this target group.
	// The possible values are `instance` (targets are specified by instance ID) or `ip` (targets are specified by IP address) or `lambda` (targets are specified by lambda arn).
	// The default is `instance`. Note that you can't specify targets for a target group using both instance IDs and IP addresses.
	// If the target type is `ip`, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group,
	// the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10).
	// You can't specify publicly routable IP addresses.
	TargetType pulumi.StringPtrInput
	// The identifier of the VPC in which to create the target group. Required when `targetType` is `instance` or `ip`. Does not apply when `targetType` is `lambda`.
	VpcId pulumi.StringPtrInput
}

func (TargetGroupState) ElementType

func (TargetGroupState) ElementType() reflect.Type

type TargetGroupStickiness

type TargetGroupStickiness struct {
	// The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
	CookieDuration *int `pulumi:"cookieDuration"`
	// Indicates whether  health checks are enabled. Defaults to true.
	Enabled *bool `pulumi:"enabled"`
	// The type of sticky sessions. The only current possible value is `lbCookie`.
	Type string `pulumi:"type"`
}

type TargetGroupStickinessArgs

type TargetGroupStickinessArgs struct {
	// The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
	CookieDuration pulumi.IntPtrInput `pulumi:"cookieDuration"`
	// Indicates whether  health checks are enabled. Defaults to true.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The type of sticky sessions. The only current possible value is `lbCookie`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (TargetGroupStickinessArgs) ElementType

func (TargetGroupStickinessArgs) ElementType() reflect.Type

func (TargetGroupStickinessArgs) ToTargetGroupStickinessOutput

func (i TargetGroupStickinessArgs) ToTargetGroupStickinessOutput() TargetGroupStickinessOutput

func (TargetGroupStickinessArgs) ToTargetGroupStickinessOutputWithContext

func (i TargetGroupStickinessArgs) ToTargetGroupStickinessOutputWithContext(ctx context.Context) TargetGroupStickinessOutput

func (TargetGroupStickinessArgs) ToTargetGroupStickinessPtrOutput

func (i TargetGroupStickinessArgs) ToTargetGroupStickinessPtrOutput() TargetGroupStickinessPtrOutput

func (TargetGroupStickinessArgs) ToTargetGroupStickinessPtrOutputWithContext

func (i TargetGroupStickinessArgs) ToTargetGroupStickinessPtrOutputWithContext(ctx context.Context) TargetGroupStickinessPtrOutput

type TargetGroupStickinessInput

type TargetGroupStickinessInput interface {
	pulumi.Input

	ToTargetGroupStickinessOutput() TargetGroupStickinessOutput
	ToTargetGroupStickinessOutputWithContext(context.Context) TargetGroupStickinessOutput
}

TargetGroupStickinessInput is an input type that accepts TargetGroupStickinessArgs and TargetGroupStickinessOutput values. You can construct a concrete instance of `TargetGroupStickinessInput` via:

TargetGroupStickinessArgs{...}

type TargetGroupStickinessOutput

type TargetGroupStickinessOutput struct{ *pulumi.OutputState }

func (TargetGroupStickinessOutput) CookieDuration

func (o TargetGroupStickinessOutput) CookieDuration() pulumi.IntPtrOutput

The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).

func (TargetGroupStickinessOutput) ElementType

func (TargetGroupStickinessOutput) Enabled

Indicates whether health checks are enabled. Defaults to true.

func (TargetGroupStickinessOutput) ToTargetGroupStickinessOutput

func (o TargetGroupStickinessOutput) ToTargetGroupStickinessOutput() TargetGroupStickinessOutput

func (TargetGroupStickinessOutput) ToTargetGroupStickinessOutputWithContext

func (o TargetGroupStickinessOutput) ToTargetGroupStickinessOutputWithContext(ctx context.Context) TargetGroupStickinessOutput

func (TargetGroupStickinessOutput) ToTargetGroupStickinessPtrOutput

func (o TargetGroupStickinessOutput) ToTargetGroupStickinessPtrOutput() TargetGroupStickinessPtrOutput

func (TargetGroupStickinessOutput) ToTargetGroupStickinessPtrOutputWithContext

func (o TargetGroupStickinessOutput) ToTargetGroupStickinessPtrOutputWithContext(ctx context.Context) TargetGroupStickinessPtrOutput

func (TargetGroupStickinessOutput) Type

The type of sticky sessions. The only current possible value is `lbCookie`.

type TargetGroupStickinessPtrInput

type TargetGroupStickinessPtrInput interface {
	pulumi.Input

	ToTargetGroupStickinessPtrOutput() TargetGroupStickinessPtrOutput
	ToTargetGroupStickinessPtrOutputWithContext(context.Context) TargetGroupStickinessPtrOutput
}

TargetGroupStickinessPtrInput is an input type that accepts TargetGroupStickinessArgs, TargetGroupStickinessPtr and TargetGroupStickinessPtrOutput values. You can construct a concrete instance of `TargetGroupStickinessPtrInput` via:

        TargetGroupStickinessArgs{...}

or:

        nil

type TargetGroupStickinessPtrOutput

type TargetGroupStickinessPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupStickinessPtrOutput) CookieDuration

The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).

func (TargetGroupStickinessPtrOutput) Elem

func (TargetGroupStickinessPtrOutput) ElementType

func (TargetGroupStickinessPtrOutput) Enabled

Indicates whether health checks are enabled. Defaults to true.

func (TargetGroupStickinessPtrOutput) ToTargetGroupStickinessPtrOutput

func (o TargetGroupStickinessPtrOutput) ToTargetGroupStickinessPtrOutput() TargetGroupStickinessPtrOutput

func (TargetGroupStickinessPtrOutput) ToTargetGroupStickinessPtrOutputWithContext

func (o TargetGroupStickinessPtrOutput) ToTargetGroupStickinessPtrOutputWithContext(ctx context.Context) TargetGroupStickinessPtrOutput

func (TargetGroupStickinessPtrOutput) Type

The type of sticky sessions. The only current possible value is `lbCookie`.

Jump to

Keyboard shortcuts

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