lb

package
v6.32.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetHostedZoneIdArgs

type GetHostedZoneIdArgs struct {
	// Type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
	LoadBalancerType *string `pulumi:"loadBalancerType"`
	// Name of the region whose AWS ELB HostedZoneId is desired.
	// Defaults to the region from the AWS provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getHostedZoneId.

type GetHostedZoneIdOutputArgs

type GetHostedZoneIdOutputArgs struct {
	// Type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
	LoadBalancerType pulumi.StringPtrInput `pulumi:"loadBalancerType"`
	// Name of the region whose AWS ELB HostedZoneId is desired.
	// Defaults to the region from the AWS provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getHostedZoneId.

func (GetHostedZoneIdOutputArgs) ElementType

func (GetHostedZoneIdOutputArgs) ElementType() reflect.Type

type GetHostedZoneIdResult

type GetHostedZoneIdResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	LoadBalancerType *string `pulumi:"loadBalancerType"`
	Region           *string `pulumi:"region"`
}

A collection of values returned by getHostedZoneId.

func GetHostedZoneId

func GetHostedZoneId(ctx *pulumi.Context, args *GetHostedZoneIdArgs, opts ...pulumi.InvokeOption) (*GetHostedZoneIdResult, error)

Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing (ELB) in a given region for the purpose of using in an AWS Route53 Alias. Specify the ELB type (`network` or `application`) to return the relevant the associated HostedZoneId. Ref: [ELB service endpoints](https://docs.aws.amazon.com/general/latest/gr/elb.html#elb_region)

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := lb.GetHostedZoneId(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = route53.NewRecord(ctx, "www", &route53.RecordArgs{
			ZoneId: pulumi.Any(primary.ZoneId),
			Name:   pulumi.String("example.com"),
			Type:   pulumi.String(route53.RecordTypeA),
			Aliases: route53.RecordAliasArray{
				&route53.RecordAliasArgs{
					Name:                 pulumi.Any(mainAwsLb.DnsName),
					ZoneId:               pulumi.String(main.Id),
					EvaluateTargetHealth: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetHostedZoneIdResultOutput

type GetHostedZoneIdResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHostedZoneId.

func (GetHostedZoneIdResultOutput) ElementType

func (GetHostedZoneIdResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetHostedZoneIdResultOutput) LoadBalancerType

func (o GetHostedZoneIdResultOutput) LoadBalancerType() pulumi.StringPtrOutput

func (GetHostedZoneIdResultOutput) Region

func (GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutput

func (o GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutput() GetHostedZoneIdResultOutput

func (GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutputWithContext

func (o GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutputWithContext(ctx context.Context) GetHostedZoneIdResultOutput

type GetLbsArgs

type GetLbsArgs struct {
	// Map of tags, each pair of which must exactly match
	// a pair on the desired Load Balancers.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getLbs.

type GetLbsOutputArgs

type GetLbsOutputArgs struct {
	// Map of tags, each pair of which must exactly match
	// a pair on the desired Load Balancers.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getLbs.

func (GetLbsOutputArgs) ElementType

func (GetLbsOutputArgs) ElementType() reflect.Type

type GetLbsResult

type GetLbsResult struct {
	// Set of Load Balancer ARNs.
	Arns []string `pulumi:"arns"`
	// The provider-assigned unique ID for this managed resource.
	Id   string            `pulumi:"id"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getLbs.

func GetLbs

func GetLbs(ctx *pulumi.Context, args *GetLbsArgs, opts ...pulumi.InvokeOption) (*GetLbsResult, error)

Use this data source to get a list of Load Balancer ARNs matching the specified criteria. Useful for passing to other resources.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.GetLbs(ctx, &lb.GetLbsArgs{
			Tags: map[string]interface{}{
				"elbv2.k8s.aws/cluster": "my-cluster",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetLbsResultOutput

type GetLbsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLbs.

func GetLbsOutput

func GetLbsOutput(ctx *pulumi.Context, args GetLbsOutputArgs, opts ...pulumi.InvokeOption) GetLbsResultOutput

func (GetLbsResultOutput) Arns

Set of Load Balancer ARNs.

func (GetLbsResultOutput) ElementType

func (GetLbsResultOutput) ElementType() reflect.Type

func (GetLbsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLbsResultOutput) Tags

func (GetLbsResultOutput) ToGetLbsResultOutput

func (o GetLbsResultOutput) ToGetLbsResultOutput() GetLbsResultOutput

func (GetLbsResultOutput) ToGetLbsResultOutputWithContext

func (o GetLbsResultOutput) ToGetLbsResultOutputWithContext(ctx context.Context) GetLbsResultOutput

type GetListenerDefaultAction

type GetListenerDefaultAction struct {
	AuthenticateCognitos []GetListenerDefaultActionAuthenticateCognito `pulumi:"authenticateCognitos"`
	AuthenticateOidcs    []GetListenerDefaultActionAuthenticateOidc    `pulumi:"authenticateOidcs"`
	FixedResponses       []GetListenerDefaultActionFixedResponse       `pulumi:"fixedResponses"`
	Forwards             []GetListenerDefaultActionForward             `pulumi:"forwards"`
	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"`
	Forwards             GetListenerDefaultActionForwardArrayInput             `pulumi:"forwards"`
	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 GetListenerDefaultActionForward

type GetListenerDefaultActionForward struct {
	Stickinesses []GetListenerDefaultActionForwardStickiness  `pulumi:"stickinesses"`
	TargetGroups []GetListenerDefaultActionForwardTargetGroup `pulumi:"targetGroups"`
}

type GetListenerDefaultActionForwardArgs

type GetListenerDefaultActionForwardArgs struct {
	Stickinesses GetListenerDefaultActionForwardStickinessArrayInput  `pulumi:"stickinesses"`
	TargetGroups GetListenerDefaultActionForwardTargetGroupArrayInput `pulumi:"targetGroups"`
}

func (GetListenerDefaultActionForwardArgs) ElementType

func (GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutput

func (i GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput

func (GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutputWithContext

func (i GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardOutput

type GetListenerDefaultActionForwardArray

type GetListenerDefaultActionForwardArray []GetListenerDefaultActionForwardInput

func (GetListenerDefaultActionForwardArray) ElementType

func (GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutput

func (i GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput

func (GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutputWithContext

func (i GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardArrayOutput

type GetListenerDefaultActionForwardArrayInput

type GetListenerDefaultActionForwardArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput
	ToGetListenerDefaultActionForwardArrayOutputWithContext(context.Context) GetListenerDefaultActionForwardArrayOutput
}

GetListenerDefaultActionForwardArrayInput is an input type that accepts GetListenerDefaultActionForwardArray and GetListenerDefaultActionForwardArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardArrayInput` via:

GetListenerDefaultActionForwardArray{ GetListenerDefaultActionForwardArgs{...} }

type GetListenerDefaultActionForwardArrayOutput

type GetListenerDefaultActionForwardArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardArrayOutput) ElementType

func (GetListenerDefaultActionForwardArrayOutput) Index

func (GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutput

func (o GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput

func (GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutputWithContext

func (o GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardArrayOutput

type GetListenerDefaultActionForwardInput

type GetListenerDefaultActionForwardInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput
	ToGetListenerDefaultActionForwardOutputWithContext(context.Context) GetListenerDefaultActionForwardOutput
}

GetListenerDefaultActionForwardInput is an input type that accepts GetListenerDefaultActionForwardArgs and GetListenerDefaultActionForwardOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardInput` via:

GetListenerDefaultActionForwardArgs{...}

type GetListenerDefaultActionForwardOutput

type GetListenerDefaultActionForwardOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardOutput) ElementType

func (GetListenerDefaultActionForwardOutput) Stickinesses

func (GetListenerDefaultActionForwardOutput) TargetGroups

func (GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutput

func (o GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput

func (GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutputWithContext

func (o GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardOutput

type GetListenerDefaultActionForwardStickiness

type GetListenerDefaultActionForwardStickiness struct {
	Duration int  `pulumi:"duration"`
	Enabled  bool `pulumi:"enabled"`
}

type GetListenerDefaultActionForwardStickinessArgs

type GetListenerDefaultActionForwardStickinessArgs struct {
	Duration pulumi.IntInput  `pulumi:"duration"`
	Enabled  pulumi.BoolInput `pulumi:"enabled"`
}

func (GetListenerDefaultActionForwardStickinessArgs) ElementType

func (GetListenerDefaultActionForwardStickinessArgs) ToGetListenerDefaultActionForwardStickinessOutput

func (i GetListenerDefaultActionForwardStickinessArgs) ToGetListenerDefaultActionForwardStickinessOutput() GetListenerDefaultActionForwardStickinessOutput

func (GetListenerDefaultActionForwardStickinessArgs) ToGetListenerDefaultActionForwardStickinessOutputWithContext

func (i GetListenerDefaultActionForwardStickinessArgs) ToGetListenerDefaultActionForwardStickinessOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardStickinessOutput

type GetListenerDefaultActionForwardStickinessArray

type GetListenerDefaultActionForwardStickinessArray []GetListenerDefaultActionForwardStickinessInput

func (GetListenerDefaultActionForwardStickinessArray) ElementType

func (GetListenerDefaultActionForwardStickinessArray) ToGetListenerDefaultActionForwardStickinessArrayOutput

func (i GetListenerDefaultActionForwardStickinessArray) ToGetListenerDefaultActionForwardStickinessArrayOutput() GetListenerDefaultActionForwardStickinessArrayOutput

func (GetListenerDefaultActionForwardStickinessArray) ToGetListenerDefaultActionForwardStickinessArrayOutputWithContext

func (i GetListenerDefaultActionForwardStickinessArray) ToGetListenerDefaultActionForwardStickinessArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardStickinessArrayOutput

type GetListenerDefaultActionForwardStickinessArrayInput

type GetListenerDefaultActionForwardStickinessArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardStickinessArrayOutput() GetListenerDefaultActionForwardStickinessArrayOutput
	ToGetListenerDefaultActionForwardStickinessArrayOutputWithContext(context.Context) GetListenerDefaultActionForwardStickinessArrayOutput
}

GetListenerDefaultActionForwardStickinessArrayInput is an input type that accepts GetListenerDefaultActionForwardStickinessArray and GetListenerDefaultActionForwardStickinessArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardStickinessArrayInput` via:

GetListenerDefaultActionForwardStickinessArray{ GetListenerDefaultActionForwardStickinessArgs{...} }

type GetListenerDefaultActionForwardStickinessArrayOutput

type GetListenerDefaultActionForwardStickinessArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardStickinessArrayOutput) ElementType

func (GetListenerDefaultActionForwardStickinessArrayOutput) Index

func (GetListenerDefaultActionForwardStickinessArrayOutput) ToGetListenerDefaultActionForwardStickinessArrayOutput

func (GetListenerDefaultActionForwardStickinessArrayOutput) ToGetListenerDefaultActionForwardStickinessArrayOutputWithContext

func (o GetListenerDefaultActionForwardStickinessArrayOutput) ToGetListenerDefaultActionForwardStickinessArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardStickinessArrayOutput

type GetListenerDefaultActionForwardStickinessInput

type GetListenerDefaultActionForwardStickinessInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardStickinessOutput() GetListenerDefaultActionForwardStickinessOutput
	ToGetListenerDefaultActionForwardStickinessOutputWithContext(context.Context) GetListenerDefaultActionForwardStickinessOutput
}

GetListenerDefaultActionForwardStickinessInput is an input type that accepts GetListenerDefaultActionForwardStickinessArgs and GetListenerDefaultActionForwardStickinessOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardStickinessInput` via:

GetListenerDefaultActionForwardStickinessArgs{...}

type GetListenerDefaultActionForwardStickinessOutput

type GetListenerDefaultActionForwardStickinessOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardStickinessOutput) Duration

func (GetListenerDefaultActionForwardStickinessOutput) ElementType

func (GetListenerDefaultActionForwardStickinessOutput) Enabled

func (GetListenerDefaultActionForwardStickinessOutput) ToGetListenerDefaultActionForwardStickinessOutput

func (o GetListenerDefaultActionForwardStickinessOutput) ToGetListenerDefaultActionForwardStickinessOutput() GetListenerDefaultActionForwardStickinessOutput

func (GetListenerDefaultActionForwardStickinessOutput) ToGetListenerDefaultActionForwardStickinessOutputWithContext

func (o GetListenerDefaultActionForwardStickinessOutput) ToGetListenerDefaultActionForwardStickinessOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardStickinessOutput

type GetListenerDefaultActionForwardTargetGroup

type GetListenerDefaultActionForwardTargetGroup struct {
	// ARN of the listener. Required if `loadBalancerArn` and `port` is not set.
	Arn    string `pulumi:"arn"`
	Weight int    `pulumi:"weight"`
}

type GetListenerDefaultActionForwardTargetGroupArgs

type GetListenerDefaultActionForwardTargetGroupArgs struct {
	// ARN of the listener. Required if `loadBalancerArn` and `port` is not set.
	Arn    pulumi.StringInput `pulumi:"arn"`
	Weight pulumi.IntInput    `pulumi:"weight"`
}

func (GetListenerDefaultActionForwardTargetGroupArgs) ElementType

func (GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutput

func (i GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext

func (i GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupOutput

type GetListenerDefaultActionForwardTargetGroupArray

type GetListenerDefaultActionForwardTargetGroupArray []GetListenerDefaultActionForwardTargetGroupInput

func (GetListenerDefaultActionForwardTargetGroupArray) ElementType

func (GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutput

func (i GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutput() GetListenerDefaultActionForwardTargetGroupArrayOutput

func (GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext

func (i GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupArrayOutput

type GetListenerDefaultActionForwardTargetGroupArrayInput

type GetListenerDefaultActionForwardTargetGroupArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardTargetGroupArrayOutput() GetListenerDefaultActionForwardTargetGroupArrayOutput
	ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext(context.Context) GetListenerDefaultActionForwardTargetGroupArrayOutput
}

GetListenerDefaultActionForwardTargetGroupArrayInput is an input type that accepts GetListenerDefaultActionForwardTargetGroupArray and GetListenerDefaultActionForwardTargetGroupArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardTargetGroupArrayInput` via:

GetListenerDefaultActionForwardTargetGroupArray{ GetListenerDefaultActionForwardTargetGroupArgs{...} }

type GetListenerDefaultActionForwardTargetGroupArrayOutput

type GetListenerDefaultActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ElementType

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) Index

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutput

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext

func (o GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupArrayOutput

type GetListenerDefaultActionForwardTargetGroupInput

type GetListenerDefaultActionForwardTargetGroupInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput
	ToGetListenerDefaultActionForwardTargetGroupOutputWithContext(context.Context) GetListenerDefaultActionForwardTargetGroupOutput
}

GetListenerDefaultActionForwardTargetGroupInput is an input type that accepts GetListenerDefaultActionForwardTargetGroupArgs and GetListenerDefaultActionForwardTargetGroupOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardTargetGroupInput` via:

GetListenerDefaultActionForwardTargetGroupArgs{...}

type GetListenerDefaultActionForwardTargetGroupOutput

type GetListenerDefaultActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardTargetGroupOutput) Arn

ARN of the listener. Required if `loadBalancerArn` and `port` is not set.

func (GetListenerDefaultActionForwardTargetGroupOutput) ElementType

func (GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutput

func (o GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext

func (o GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupOutput) Weight

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

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"`
	// 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"`
	// 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

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 GetListenerMutualAuthentication added in v6.14.0

type GetListenerMutualAuthentication struct {
	IgnoreClientCertificateExpiry bool   `pulumi:"ignoreClientCertificateExpiry"`
	Mode                          string `pulumi:"mode"`
	TrustStoreArn                 string `pulumi:"trustStoreArn"`
}

type GetListenerMutualAuthenticationArgs added in v6.14.0

type GetListenerMutualAuthenticationArgs struct {
	IgnoreClientCertificateExpiry pulumi.BoolInput   `pulumi:"ignoreClientCertificateExpiry"`
	Mode                          pulumi.StringInput `pulumi:"mode"`
	TrustStoreArn                 pulumi.StringInput `pulumi:"trustStoreArn"`
}

func (GetListenerMutualAuthenticationArgs) ElementType added in v6.14.0

func (GetListenerMutualAuthenticationArgs) ToGetListenerMutualAuthenticationOutput added in v6.14.0

func (i GetListenerMutualAuthenticationArgs) ToGetListenerMutualAuthenticationOutput() GetListenerMutualAuthenticationOutput

func (GetListenerMutualAuthenticationArgs) ToGetListenerMutualAuthenticationOutputWithContext added in v6.14.0

func (i GetListenerMutualAuthenticationArgs) ToGetListenerMutualAuthenticationOutputWithContext(ctx context.Context) GetListenerMutualAuthenticationOutput

type GetListenerMutualAuthenticationArray added in v6.14.0

type GetListenerMutualAuthenticationArray []GetListenerMutualAuthenticationInput

func (GetListenerMutualAuthenticationArray) ElementType added in v6.14.0

func (GetListenerMutualAuthenticationArray) ToGetListenerMutualAuthenticationArrayOutput added in v6.14.0

func (i GetListenerMutualAuthenticationArray) ToGetListenerMutualAuthenticationArrayOutput() GetListenerMutualAuthenticationArrayOutput

func (GetListenerMutualAuthenticationArray) ToGetListenerMutualAuthenticationArrayOutputWithContext added in v6.14.0

func (i GetListenerMutualAuthenticationArray) ToGetListenerMutualAuthenticationArrayOutputWithContext(ctx context.Context) GetListenerMutualAuthenticationArrayOutput

type GetListenerMutualAuthenticationArrayInput added in v6.14.0

type GetListenerMutualAuthenticationArrayInput interface {
	pulumi.Input

	ToGetListenerMutualAuthenticationArrayOutput() GetListenerMutualAuthenticationArrayOutput
	ToGetListenerMutualAuthenticationArrayOutputWithContext(context.Context) GetListenerMutualAuthenticationArrayOutput
}

GetListenerMutualAuthenticationArrayInput is an input type that accepts GetListenerMutualAuthenticationArray and GetListenerMutualAuthenticationArrayOutput values. You can construct a concrete instance of `GetListenerMutualAuthenticationArrayInput` via:

GetListenerMutualAuthenticationArray{ GetListenerMutualAuthenticationArgs{...} }

type GetListenerMutualAuthenticationArrayOutput added in v6.14.0

type GetListenerMutualAuthenticationArrayOutput struct{ *pulumi.OutputState }

func (GetListenerMutualAuthenticationArrayOutput) ElementType added in v6.14.0

func (GetListenerMutualAuthenticationArrayOutput) Index added in v6.14.0

func (GetListenerMutualAuthenticationArrayOutput) ToGetListenerMutualAuthenticationArrayOutput added in v6.14.0

func (o GetListenerMutualAuthenticationArrayOutput) ToGetListenerMutualAuthenticationArrayOutput() GetListenerMutualAuthenticationArrayOutput

func (GetListenerMutualAuthenticationArrayOutput) ToGetListenerMutualAuthenticationArrayOutputWithContext added in v6.14.0

func (o GetListenerMutualAuthenticationArrayOutput) ToGetListenerMutualAuthenticationArrayOutputWithContext(ctx context.Context) GetListenerMutualAuthenticationArrayOutput

type GetListenerMutualAuthenticationInput added in v6.14.0

type GetListenerMutualAuthenticationInput interface {
	pulumi.Input

	ToGetListenerMutualAuthenticationOutput() GetListenerMutualAuthenticationOutput
	ToGetListenerMutualAuthenticationOutputWithContext(context.Context) GetListenerMutualAuthenticationOutput
}

GetListenerMutualAuthenticationInput is an input type that accepts GetListenerMutualAuthenticationArgs and GetListenerMutualAuthenticationOutput values. You can construct a concrete instance of `GetListenerMutualAuthenticationInput` via:

GetListenerMutualAuthenticationArgs{...}

type GetListenerMutualAuthenticationOutput added in v6.14.0

type GetListenerMutualAuthenticationOutput struct{ *pulumi.OutputState }

func (GetListenerMutualAuthenticationOutput) ElementType added in v6.14.0

func (GetListenerMutualAuthenticationOutput) IgnoreClientCertificateExpiry added in v6.14.0

func (o GetListenerMutualAuthenticationOutput) IgnoreClientCertificateExpiry() pulumi.BoolOutput

func (GetListenerMutualAuthenticationOutput) Mode added in v6.14.0

func (GetListenerMutualAuthenticationOutput) ToGetListenerMutualAuthenticationOutput added in v6.14.0

func (o GetListenerMutualAuthenticationOutput) ToGetListenerMutualAuthenticationOutput() GetListenerMutualAuthenticationOutput

func (GetListenerMutualAuthenticationOutput) ToGetListenerMutualAuthenticationOutputWithContext added in v6.14.0

func (o GetListenerMutualAuthenticationOutput) ToGetListenerMutualAuthenticationOutputWithContext(ctx context.Context) GetListenerMutualAuthenticationOutput

func (GetListenerMutualAuthenticationOutput) TrustStoreArn added in v6.14.0

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 GetLoadBalancerConnectionLog added in v6.15.0

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

type GetLoadBalancerConnectionLogArgs added in v6.15.0

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

func (GetLoadBalancerConnectionLogArgs) ElementType added in v6.15.0

func (GetLoadBalancerConnectionLogArgs) ToGetLoadBalancerConnectionLogOutput added in v6.15.0

func (i GetLoadBalancerConnectionLogArgs) ToGetLoadBalancerConnectionLogOutput() GetLoadBalancerConnectionLogOutput

func (GetLoadBalancerConnectionLogArgs) ToGetLoadBalancerConnectionLogOutputWithContext added in v6.15.0

func (i GetLoadBalancerConnectionLogArgs) ToGetLoadBalancerConnectionLogOutputWithContext(ctx context.Context) GetLoadBalancerConnectionLogOutput

type GetLoadBalancerConnectionLogArray added in v6.15.0

type GetLoadBalancerConnectionLogArray []GetLoadBalancerConnectionLogInput

func (GetLoadBalancerConnectionLogArray) ElementType added in v6.15.0

func (GetLoadBalancerConnectionLogArray) ToGetLoadBalancerConnectionLogArrayOutput added in v6.15.0

func (i GetLoadBalancerConnectionLogArray) ToGetLoadBalancerConnectionLogArrayOutput() GetLoadBalancerConnectionLogArrayOutput

func (GetLoadBalancerConnectionLogArray) ToGetLoadBalancerConnectionLogArrayOutputWithContext added in v6.15.0

func (i GetLoadBalancerConnectionLogArray) ToGetLoadBalancerConnectionLogArrayOutputWithContext(ctx context.Context) GetLoadBalancerConnectionLogArrayOutput

type GetLoadBalancerConnectionLogArrayInput added in v6.15.0

type GetLoadBalancerConnectionLogArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerConnectionLogArrayOutput() GetLoadBalancerConnectionLogArrayOutput
	ToGetLoadBalancerConnectionLogArrayOutputWithContext(context.Context) GetLoadBalancerConnectionLogArrayOutput
}

GetLoadBalancerConnectionLogArrayInput is an input type that accepts GetLoadBalancerConnectionLogArray and GetLoadBalancerConnectionLogArrayOutput values. You can construct a concrete instance of `GetLoadBalancerConnectionLogArrayInput` via:

GetLoadBalancerConnectionLogArray{ GetLoadBalancerConnectionLogArgs{...} }

type GetLoadBalancerConnectionLogArrayOutput added in v6.15.0

type GetLoadBalancerConnectionLogArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerConnectionLogArrayOutput) ElementType added in v6.15.0

func (GetLoadBalancerConnectionLogArrayOutput) Index added in v6.15.0

func (GetLoadBalancerConnectionLogArrayOutput) ToGetLoadBalancerConnectionLogArrayOutput added in v6.15.0

func (o GetLoadBalancerConnectionLogArrayOutput) ToGetLoadBalancerConnectionLogArrayOutput() GetLoadBalancerConnectionLogArrayOutput

func (GetLoadBalancerConnectionLogArrayOutput) ToGetLoadBalancerConnectionLogArrayOutputWithContext added in v6.15.0

func (o GetLoadBalancerConnectionLogArrayOutput) ToGetLoadBalancerConnectionLogArrayOutputWithContext(ctx context.Context) GetLoadBalancerConnectionLogArrayOutput

type GetLoadBalancerConnectionLogInput added in v6.15.0

type GetLoadBalancerConnectionLogInput interface {
	pulumi.Input

	ToGetLoadBalancerConnectionLogOutput() GetLoadBalancerConnectionLogOutput
	ToGetLoadBalancerConnectionLogOutputWithContext(context.Context) GetLoadBalancerConnectionLogOutput
}

GetLoadBalancerConnectionLogInput is an input type that accepts GetLoadBalancerConnectionLogArgs and GetLoadBalancerConnectionLogOutput values. You can construct a concrete instance of `GetLoadBalancerConnectionLogInput` via:

GetLoadBalancerConnectionLogArgs{...}

type GetLoadBalancerConnectionLogOutput added in v6.15.0

type GetLoadBalancerConnectionLogOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerConnectionLogOutput) Bucket added in v6.15.0

func (GetLoadBalancerConnectionLogOutput) ElementType added in v6.15.0

func (GetLoadBalancerConnectionLogOutput) Enabled added in v6.15.0

func (GetLoadBalancerConnectionLogOutput) Prefix added in v6.15.0

func (GetLoadBalancerConnectionLogOutput) ToGetLoadBalancerConnectionLogOutput added in v6.15.0

func (o GetLoadBalancerConnectionLogOutput) ToGetLoadBalancerConnectionLogOutput() GetLoadBalancerConnectionLogOutput

func (GetLoadBalancerConnectionLogOutput) ToGetLoadBalancerConnectionLogOutputWithContext added in v6.15.0

func (o GetLoadBalancerConnectionLogOutput) ToGetLoadBalancerConnectionLogOutputWithContext(ctx context.Context) GetLoadBalancerConnectionLogOutput

type GetLoadBalancerSubnetMapping

type GetLoadBalancerSubnetMapping struct {
	AllocationId       string `pulumi:"allocationId"`
	Ipv6Address        string `pulumi:"ipv6Address"`
	OutpostId          string `pulumi:"outpostId"`
	PrivateIpv4Address string `pulumi:"privateIpv4Address"`
	SubnetId           string `pulumi:"subnetId"`
}

type GetLoadBalancerSubnetMappingArgs

type GetLoadBalancerSubnetMappingArgs struct {
	AllocationId       pulumi.StringInput `pulumi:"allocationId"`
	Ipv6Address        pulumi.StringInput `pulumi:"ipv6Address"`
	OutpostId          pulumi.StringInput `pulumi:"outpostId"`
	PrivateIpv4Address pulumi.StringInput `pulumi:"privateIpv4Address"`
	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) Ipv6Address

func (GetLoadBalancerSubnetMappingOutput) OutpostId

func (GetLoadBalancerSubnetMappingOutput) PrivateIpv4Address

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"`
	CookieName     string `pulumi:"cookieName"`
	Enabled        bool   `pulumi:"enabled"`
	Type           string `pulumi:"type"`
}

type GetTargetGroupStickinessArgs

type GetTargetGroupStickinessArgs struct {
	CookieDuration pulumi.IntInput    `pulumi:"cookieDuration"`
	CookieName     pulumi.StringInput `pulumi:"cookieName"`
	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) CookieName

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

type Listener struct {
	pulumi.CustomResourceState

	// Name of the Application-Layer Protocol Negotiation (ALPN) policy. Can be set if `protocol` is `TLS`. Valid values are `HTTP1Only`, `HTTP2Only`, `HTTP2Optional`, `HTTP2Preferred`, and `None`.
	AlpnPolicy pulumi.StringPtrOutput `pulumi:"alpnPolicy"`
	// ARN of the target group.
	//
	// The following arguments are optional:
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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"`
	// Configuration block for default actions. Detailed below.
	DefaultActions ListenerDefaultActionArrayOutput `pulumi:"defaultActions"`
	// ARN of the load balancer.
	//
	// The following arguments are optional:
	LoadBalancerArn pulumi.StringOutput `pulumi:"loadBalancerArn"`
	// The mutual authentication configuration information. Detailed below.
	MutualAuthentication ListenerMutualAuthenticationOutput `pulumi:"mutualAuthentication"`
	// Port on which the load balancer is listening. Not valid for Gateway Load Balancers.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`.
	SslPolicy pulumi.StringOutput `pulumi:"sslPolicy"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a Load Balancer Listener resource.

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

## Example Usage

### Forward Action

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` <!--End PulumiCodeChooser -->

To a NLB:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewListener(ctx, "front_end", &lb.ListenerArgs{
			LoadBalancerArn: pulumi.Any(frontEndAwsLb.Arn),
			Port:            pulumi.Int(443),
			Protocol:        pulumi.String("TLS"),
			CertificateArn:  pulumi.String("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4"),
			AlpnPolicy:      pulumi.String("HTTP2Preferred"),
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					Type:           pulumi.String("forward"),
					TargetGroupArn: pulumi.Any(frontEndAwsLbTargetGroup.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Redirect Action

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` <!--End PulumiCodeChooser -->

### Fixed-response Action

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` <!--End PulumiCodeChooser -->

### Authenticate-cognito Action

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		frontEnd, err := lb.NewLoadBalancer(ctx, "front_end", nil)
		if err != nil {
			return err
		}
		frontEndTargetGroup, err := lb.NewTargetGroup(ctx, "front_end", 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, "front_end", &lb.ListenerArgs{
			LoadBalancerArn: frontEnd.Arn,
			Port:            pulumi.Int(80),
			Protocol:        pulumi.String("HTTP"),
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					Type: pulumi.String("authenticate-cognito"),
					AuthenticateCognito: &lb.ListenerDefaultActionAuthenticateCognitoArgs{
						UserPoolArn:      pool.Arn,
						UserPoolClientId: client.ID(),
						UserPoolDomain:   domain.Domain,
					},
				},
				&lb.ListenerDefaultActionArgs{
					Type:           pulumi.String("forward"),
					TargetGroupArn: frontEndTargetGroup.Arn,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Authenticate-OIDC Action

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		frontEnd, err := lb.NewLoadBalancer(ctx, "front_end", nil)
		if err != nil {
			return err
		}
		frontEndTargetGroup, err := lb.NewTargetGroup(ctx, "front_end", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "front_end", &lb.ListenerArgs{
			LoadBalancerArn: frontEnd.Arn,
			Port:            pulumi.Int(80),
			Protocol:        pulumi.String("HTTP"),
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					Type: pulumi.String("authenticate-oidc"),
					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"),
					},
				},
				&lb.ListenerDefaultActionArgs{
					Type:           pulumi.String("forward"),
					TargetGroupArn: frontEndTargetGroup.Arn,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Gateway Load Balancer Listener

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
			LoadBalancerType: pulumi.String("gateway"),
			Name:             pulumi.String("example"),
			SubnetMappings: lb.LoadBalancerSubnetMappingArray{
				&lb.LoadBalancerSubnetMappingArgs{
					SubnetId: pulumi.Any(exampleAwsSubnet.Id),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleTargetGroup, err := lb.NewTargetGroup(ctx, "example", &lb.TargetGroupArgs{
			Name:     pulumi.String("example"),
			Port:     pulumi.Int(6081),
			Protocol: pulumi.String("GENEVE"),
			VpcId:    pulumi.Any(exampleAwsVpc.Id),
			HealthCheck: &lb.TargetGroupHealthCheckArgs{
				Port:     pulumi.String("80"),
				Protocol: pulumi.String("HTTP"),
			},
		})
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "example", &lb.ListenerArgs{
			LoadBalancerArn: example.ID(),
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					TargetGroupArn: exampleTargetGroup.ID(),
					Type:           pulumi.String("forward"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Mutual TLS Authentication

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
			LoadBalancerType: pulumi.String("application"),
		})
		if err != nil {
			return err
		}
		exampleTargetGroup, err := lb.NewTargetGroup(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListener(ctx, "example", &lb.ListenerArgs{
			LoadBalancerArn: example.ID(),
			DefaultActions: lb.ListenerDefaultActionArray{
				&lb.ListenerDefaultActionArgs{
					TargetGroupArn: exampleTargetGroup.ID(),
					Type:           pulumi.String("forward"),
				},
			},
			MutualAuthentication: &lb.ListenerMutualAuthenticationArgs{
				Mode:          pulumi.String("verify"),
				TrustStoreArn: pulumi.String("..."),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import listeners using their ARN. For example:

```sh $ pulumi import aws:lb/listener:Listener front_end arn:aws:elasticloadbalancing:us-west-2:187416307283:listener/app/front-end-alb/8e4497da625e2d8a/9ab28ade35828f96 ```

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.

func (*Listener) ElementType

func (*Listener) ElementType() reflect.Type

func (*Listener) ToListenerOutput

func (i *Listener) ToListenerOutput() ListenerOutput

func (*Listener) ToListenerOutputWithContext

func (i *Listener) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerArgs

type ListenerArgs struct {
	// Name of the Application-Layer Protocol Negotiation (ALPN) policy. Can be set if `protocol` is `TLS`. Valid values are `HTTP1Only`, `HTTP2Only`, `HTTP2Optional`, `HTTP2Preferred`, and `None`.
	AlpnPolicy pulumi.StringPtrInput
	// 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
	// Configuration block for default actions. Detailed below.
	DefaultActions ListenerDefaultActionArrayInput
	// ARN of the load balancer.
	//
	// The following arguments are optional:
	LoadBalancerArn pulumi.StringInput
	// The mutual authentication configuration information. Detailed below.
	MutualAuthentication ListenerMutualAuthenticationPtrInput
	// Port on which the load balancer is listening. Not valid for Gateway Load Balancers.
	Port pulumi.IntPtrInput
	// Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers.
	Protocol pulumi.StringPtrInput
	// Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`.
	SslPolicy pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Listener resource.

func (ListenerArgs) ElementType

func (ListenerArgs) ElementType() reflect.Type

type ListenerArray

type ListenerArray []ListenerInput

func (ListenerArray) ElementType

func (ListenerArray) ElementType() reflect.Type

func (ListenerArray) ToListenerArrayOutput

func (i ListenerArray) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArray) ToListenerArrayOutputWithContext

func (i ListenerArray) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerArrayInput

type ListenerArrayInput interface {
	pulumi.Input

	ToListenerArrayOutput() ListenerArrayOutput
	ToListenerArrayOutputWithContext(context.Context) ListenerArrayOutput
}

ListenerArrayInput is an input type that accepts ListenerArray and ListenerArrayOutput values. You can construct a concrete instance of `ListenerArrayInput` via:

ListenerArray{ ListenerArgs{...} }

type ListenerArrayOutput

type ListenerArrayOutput struct{ *pulumi.OutputState }

func (ListenerArrayOutput) ElementType

func (ListenerArrayOutput) ElementType() reflect.Type

func (ListenerArrayOutput) Index

func (ListenerArrayOutput) ToListenerArrayOutput

func (o ListenerArrayOutput) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArrayOutput) ToListenerArrayOutputWithContext

func (o ListenerArrayOutput) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerCertificate

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Listener Certificates using the listener arn and certificate arn, separated by an underscore (`_`). For example:

```sh $ pulumi import aws:lb/listenerCertificate:ListenerCertificate example arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/test/8e4497da625e2d8a/9ab28ade35828f96/67b3d2d36dd7c26b_arn:aws:iam::123456789012:server-certificate/tf-acc-test-6453083910015726063 ```

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.

func (*ListenerCertificate) ElementType

func (*ListenerCertificate) ElementType() reflect.Type

func (*ListenerCertificate) ToListenerCertificateOutput

func (i *ListenerCertificate) ToListenerCertificateOutput() ListenerCertificateOutput

func (*ListenerCertificate) ToListenerCertificateOutputWithContext

func (i *ListenerCertificate) ToListenerCertificateOutputWithContext(ctx context.Context) ListenerCertificateOutput

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 ListenerCertificateArray

type ListenerCertificateArray []ListenerCertificateInput

func (ListenerCertificateArray) ElementType

func (ListenerCertificateArray) ElementType() reflect.Type

func (ListenerCertificateArray) ToListenerCertificateArrayOutput

func (i ListenerCertificateArray) ToListenerCertificateArrayOutput() ListenerCertificateArrayOutput

func (ListenerCertificateArray) ToListenerCertificateArrayOutputWithContext

func (i ListenerCertificateArray) ToListenerCertificateArrayOutputWithContext(ctx context.Context) ListenerCertificateArrayOutput

type ListenerCertificateArrayInput

type ListenerCertificateArrayInput interface {
	pulumi.Input

	ToListenerCertificateArrayOutput() ListenerCertificateArrayOutput
	ToListenerCertificateArrayOutputWithContext(context.Context) ListenerCertificateArrayOutput
}

ListenerCertificateArrayInput is an input type that accepts ListenerCertificateArray and ListenerCertificateArrayOutput values. You can construct a concrete instance of `ListenerCertificateArrayInput` via:

ListenerCertificateArray{ ListenerCertificateArgs{...} }

type ListenerCertificateArrayOutput

type ListenerCertificateArrayOutput struct{ *pulumi.OutputState }

func (ListenerCertificateArrayOutput) ElementType

func (ListenerCertificateArrayOutput) Index

func (ListenerCertificateArrayOutput) ToListenerCertificateArrayOutput

func (o ListenerCertificateArrayOutput) ToListenerCertificateArrayOutput() ListenerCertificateArrayOutput

func (ListenerCertificateArrayOutput) ToListenerCertificateArrayOutputWithContext

func (o ListenerCertificateArrayOutput) ToListenerCertificateArrayOutputWithContext(ctx context.Context) ListenerCertificateArrayOutput

type ListenerCertificateInput

type ListenerCertificateInput interface {
	pulumi.Input

	ToListenerCertificateOutput() ListenerCertificateOutput
	ToListenerCertificateOutputWithContext(ctx context.Context) ListenerCertificateOutput
}

type ListenerCertificateMap

type ListenerCertificateMap map[string]ListenerCertificateInput

func (ListenerCertificateMap) ElementType

func (ListenerCertificateMap) ElementType() reflect.Type

func (ListenerCertificateMap) ToListenerCertificateMapOutput

func (i ListenerCertificateMap) ToListenerCertificateMapOutput() ListenerCertificateMapOutput

func (ListenerCertificateMap) ToListenerCertificateMapOutputWithContext

func (i ListenerCertificateMap) ToListenerCertificateMapOutputWithContext(ctx context.Context) ListenerCertificateMapOutput

type ListenerCertificateMapInput

type ListenerCertificateMapInput interface {
	pulumi.Input

	ToListenerCertificateMapOutput() ListenerCertificateMapOutput
	ToListenerCertificateMapOutputWithContext(context.Context) ListenerCertificateMapOutput
}

ListenerCertificateMapInput is an input type that accepts ListenerCertificateMap and ListenerCertificateMapOutput values. You can construct a concrete instance of `ListenerCertificateMapInput` via:

ListenerCertificateMap{ "key": ListenerCertificateArgs{...} }

type ListenerCertificateMapOutput

type ListenerCertificateMapOutput struct{ *pulumi.OutputState }

func (ListenerCertificateMapOutput) ElementType

func (ListenerCertificateMapOutput) MapIndex

func (ListenerCertificateMapOutput) ToListenerCertificateMapOutput

func (o ListenerCertificateMapOutput) ToListenerCertificateMapOutput() ListenerCertificateMapOutput

func (ListenerCertificateMapOutput) ToListenerCertificateMapOutputWithContext

func (o ListenerCertificateMapOutput) ToListenerCertificateMapOutputWithContext(ctx context.Context) ListenerCertificateMapOutput

type ListenerCertificateOutput

type ListenerCertificateOutput struct{ *pulumi.OutputState }

func (ListenerCertificateOutput) CertificateArn

func (o ListenerCertificateOutput) CertificateArn() pulumi.StringOutput

The ARN of the certificate to attach to the listener.

func (ListenerCertificateOutput) ElementType

func (ListenerCertificateOutput) ElementType() reflect.Type

func (ListenerCertificateOutput) ListenerArn

The ARN of the listener to which to attach the certificate.

func (ListenerCertificateOutput) ToListenerCertificateOutput

func (o ListenerCertificateOutput) ToListenerCertificateOutput() ListenerCertificateOutput

func (ListenerCertificateOutput) ToListenerCertificateOutputWithContext

func (o ListenerCertificateOutput) ToListenerCertificateOutputWithContext(ctx context.Context) ListenerCertificateOutput

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 {
	// Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. Detailed below.
	AuthenticateCognito *ListenerDefaultActionAuthenticateCognito `pulumi:"authenticateCognito"`
	// Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. Detailed below.
	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"`
	// Configuration block 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`. Detailed below.
	Forward *ListenerDefaultActionForward `pulumi:"forward"`
	// Order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`.
	Order *int `pulumi:"order"`
	// Configuration block for creating a redirect action. Required if `type` is `redirect`. Detailed below.
	Redirect *ListenerDefaultActionRedirect `pulumi:"redirect"`
	// 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"`
	// Type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.
	//
	// The following arguments are optional:
	Type string `pulumi:"type"`
}

type ListenerDefaultActionArgs

type ListenerDefaultActionArgs struct {
	// Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. Detailed below.
	AuthenticateCognito ListenerDefaultActionAuthenticateCognitoPtrInput `pulumi:"authenticateCognito"`
	// Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. Detailed below.
	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"`
	// Configuration block 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`. Detailed below.
	Forward ListenerDefaultActionForwardPtrInput `pulumi:"forward"`
	// Order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`.
	Order pulumi.IntPtrInput `pulumi:"order"`
	// Configuration block for creating a redirect action. Required if `type` is `redirect`. Detailed below.
	Redirect ListenerDefaultActionRedirectPtrInput `pulumi:"redirect"`
	// 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"`
	// Type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`.
	//
	// The following arguments are optional:
	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 {
	// Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below.
	AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"`
	// Behavior if the user is not authenticated. Valid values are `deny`, `allow` and `authenticate`.
	OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"`
	// Set of user claims to be requested from the IdP.
	Scope *string `pulumi:"scope"`
	// Name of the cookie used to maintain session information.
	SessionCookieName *string `pulumi:"sessionCookieName"`
	// Maximum duration of the authentication session, in seconds.
	SessionTimeout *int `pulumi:"sessionTimeout"`
	// ARN of the Cognito user pool.
	UserPoolArn string `pulumi:"userPoolArn"`
	// ID of the Cognito user pool client.
	UserPoolClientId string `pulumi:"userPoolClientId"`
	// Domain prefix or fully-qualified domain name of the Cognito user pool.
	//
	// The following arguments are optional:
	UserPoolDomain string `pulumi:"userPoolDomain"`
}

type ListenerDefaultActionAuthenticateCognitoArgs

type ListenerDefaultActionAuthenticateCognitoArgs struct {
	// Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below.
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	// Behavior if the user is not authenticated. Valid values are `deny`, `allow` and `authenticate`.
	OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"`
	// Set of user claims to be requested from the IdP.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// Name of the cookie used to maintain session information.
	SessionCookieName pulumi.StringPtrInput `pulumi:"sessionCookieName"`
	// Maximum duration of the authentication session, in seconds.
	SessionTimeout pulumi.IntPtrInput `pulumi:"sessionTimeout"`
	// ARN of the Cognito user pool.
	UserPoolArn pulumi.StringInput `pulumi:"userPoolArn"`
	// ID of the Cognito user pool client.
	UserPoolClientId pulumi.StringInput `pulumi:"userPoolClientId"`
	// Domain prefix or fully-qualified domain name of the Cognito user pool.
	//
	// The following arguments are optional:
	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

Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below.

func (ListenerDefaultActionAuthenticateCognitoOutput) ElementType

func (ListenerDefaultActionAuthenticateCognitoOutput) OnUnauthenticatedRequest

Behavior if the user is not authenticated. Valid values are `deny`, `allow` and `authenticate`.

func (ListenerDefaultActionAuthenticateCognitoOutput) Scope

Set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateCognitoOutput) SessionCookieName

Name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateCognitoOutput) SessionTimeout

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

ARN of the Cognito user pool.

func (ListenerDefaultActionAuthenticateCognitoOutput) UserPoolClientId

ID of the Cognito user pool client.

func (ListenerDefaultActionAuthenticateCognitoOutput) UserPoolDomain

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

The following arguments are optional:

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

Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) Elem

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) ElementType

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) OnUnauthenticatedRequest

Behavior if the user is not authenticated. Valid values are `deny`, `allow` and `authenticate`.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) Scope

Set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) SessionCookieName

Name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) SessionTimeout

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

ARN of the Cognito user pool.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) UserPoolClientId

ID of the Cognito user pool client.

func (ListenerDefaultActionAuthenticateCognitoPtrOutput) UserPoolDomain

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

The following arguments are optional:

type ListenerDefaultActionAuthenticateOidc

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

type ListenerDefaultActionAuthenticateOidcArgs

type ListenerDefaultActionAuthenticateOidcArgs struct {
	// Query parameters to include in the redirect request to the authorization endpoint. Max: 10.
	AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"`
	// Authorization endpoint of the IdP.
	AuthorizationEndpoint pulumi.StringInput `pulumi:"authorizationEndpoint"`
	// OAuth 2.0 client identifier.
	ClientId pulumi.StringInput `pulumi:"clientId"`
	// OAuth 2.0 client secret.
	ClientSecret pulumi.StringInput `pulumi:"clientSecret"`
	// OIDC issuer identifier of the IdP.
	Issuer pulumi.StringInput `pulumi:"issuer"`
	// Behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
	OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"`
	// Set of user claims to be requested from the IdP.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// Name of the cookie used to maintain session information.
	SessionCookieName pulumi.StringPtrInput `pulumi:"sessionCookieName"`
	// Maximum duration of the authentication session, in seconds.
	SessionTimeout pulumi.IntPtrInput `pulumi:"sessionTimeout"`
	// Token endpoint of the IdP.
	TokenEndpoint pulumi.StringInput `pulumi:"tokenEndpoint"`
	// User info endpoint of the IdP.
	//
	// The following arguments are optional:
	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

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

func (ListenerDefaultActionAuthenticateOidcOutput) AuthorizationEndpoint

Authorization endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) ClientId

OAuth 2.0 client identifier.

func (ListenerDefaultActionAuthenticateOidcOutput) ClientSecret

OAuth 2.0 client secret.

func (ListenerDefaultActionAuthenticateOidcOutput) ElementType

func (ListenerDefaultActionAuthenticateOidcOutput) Issuer

OIDC issuer identifier of the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) OnUnauthenticatedRequest

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

func (ListenerDefaultActionAuthenticateOidcOutput) Scope

Set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) SessionCookieName

Name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateOidcOutput) SessionTimeout

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

Token endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcOutput) UserInfoEndpoint

User info endpoint of the IdP.

The following arguments are optional:

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

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

func (ListenerDefaultActionAuthenticateOidcPtrOutput) AuthorizationEndpoint

Authorization endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ClientId

OAuth 2.0 client identifier.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ClientSecret

OAuth 2.0 client secret.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) Elem

func (ListenerDefaultActionAuthenticateOidcPtrOutput) ElementType

func (ListenerDefaultActionAuthenticateOidcPtrOutput) Issuer

OIDC issuer identifier of the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) OnUnauthenticatedRequest

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

func (ListenerDefaultActionAuthenticateOidcPtrOutput) Scope

Set of user claims to be requested from the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) SessionCookieName

Name of the cookie used to maintain session information.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) SessionTimeout

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

Token endpoint of the IdP.

func (ListenerDefaultActionAuthenticateOidcPtrOutput) UserInfoEndpoint

User info endpoint of the IdP.

The following arguments are optional:

type ListenerDefaultActionFixedResponse

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

type ListenerDefaultActionFixedResponseArgs

type ListenerDefaultActionFixedResponseArgs struct {
	// Content type. Valid values are `text/plain`, `text/css`, `text/html`, `application/javascript` and `application/json`.
	//
	// The following arguments are optional:
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// Message body.
	MessageBody pulumi.StringPtrInput `pulumi:"messageBody"`
	// 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

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

The following arguments are optional:

func (ListenerDefaultActionFixedResponseOutput) ElementType

func (ListenerDefaultActionFixedResponseOutput) MessageBody

Message body.

func (ListenerDefaultActionFixedResponseOutput) StatusCode

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

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

The following arguments are optional:

func (ListenerDefaultActionFixedResponsePtrOutput) Elem

func (ListenerDefaultActionFixedResponsePtrOutput) ElementType

func (ListenerDefaultActionFixedResponsePtrOutput) MessageBody

Message body.

func (ListenerDefaultActionFixedResponsePtrOutput) StatusCode

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

type ListenerDefaultActionForward struct {
	// Configuration block for target group stickiness for the rule. Detailed below.
	Stickiness *ListenerDefaultActionForwardStickiness `pulumi:"stickiness"`
	// Set of 1-5 target group blocks. Detailed below.
	//
	// The following arguments are optional:
	TargetGroups []ListenerDefaultActionForwardTargetGroup `pulumi:"targetGroups"`
}

type ListenerDefaultActionForwardArgs

type ListenerDefaultActionForwardArgs struct {
	// Configuration block for target group stickiness for the rule. Detailed below.
	Stickiness ListenerDefaultActionForwardStickinessPtrInput `pulumi:"stickiness"`
	// Set of 1-5 target group blocks. Detailed below.
	//
	// The following arguments are optional:
	TargetGroups ListenerDefaultActionForwardTargetGroupArrayInput `pulumi:"targetGroups"`
}

func (ListenerDefaultActionForwardArgs) ElementType

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutputWithContext

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

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardPtrOutput

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardPtrOutput() ListenerDefaultActionForwardPtrOutput

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardPtrOutputWithContext

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

type ListenerDefaultActionForwardInput

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

type ListenerDefaultActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardOutput) ElementType

func (ListenerDefaultActionForwardOutput) Stickiness

Configuration block for target group stickiness for the rule. Detailed below.

func (ListenerDefaultActionForwardOutput) TargetGroups

Set of 1-5 target group blocks. Detailed below.

The following arguments are optional:

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutputWithContext

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

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOutput

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOutput() ListenerDefaultActionForwardPtrOutput

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOutputWithContext

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

type ListenerDefaultActionForwardPtrInput

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

type ListenerDefaultActionForwardPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardPtrOutput) Elem

func (ListenerDefaultActionForwardPtrOutput) ElementType

func (ListenerDefaultActionForwardPtrOutput) Stickiness

Configuration block for target group stickiness for the rule. Detailed below.

func (ListenerDefaultActionForwardPtrOutput) TargetGroups

Set of 1-5 target group blocks. Detailed below.

The following arguments are optional:

func (ListenerDefaultActionForwardPtrOutput) ToListenerDefaultActionForwardPtrOutput

func (o ListenerDefaultActionForwardPtrOutput) ToListenerDefaultActionForwardPtrOutput() ListenerDefaultActionForwardPtrOutput

func (ListenerDefaultActionForwardPtrOutput) ToListenerDefaultActionForwardPtrOutputWithContext

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

type ListenerDefaultActionForwardStickiness

type ListenerDefaultActionForwardStickiness struct {
	// 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).
	//
	// The following arguments are optional:
	Duration int `pulumi:"duration"`
	// Whether target group stickiness is enabled. Default is `false`.
	Enabled *bool `pulumi:"enabled"`
}

type ListenerDefaultActionForwardStickinessArgs

type ListenerDefaultActionForwardStickinessArgs struct {
	// 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).
	//
	// The following arguments are optional:
	Duration pulumi.IntInput `pulumi:"duration"`
	// Whether target group stickiness is enabled. Default is `false`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (ListenerDefaultActionForwardStickinessArgs) ElementType

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessOutput

func (i ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessOutput() ListenerDefaultActionForwardStickinessOutput

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessOutputWithContext

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

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessPtrOutput

func (i ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessPtrOutput() ListenerDefaultActionForwardStickinessPtrOutput

func (ListenerDefaultActionForwardStickinessArgs) ToListenerDefaultActionForwardStickinessPtrOutputWithContext

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

type ListenerDefaultActionForwardStickinessInput

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

type ListenerDefaultActionForwardStickinessOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardStickinessOutput) Duration

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

The following arguments are optional:

func (ListenerDefaultActionForwardStickinessOutput) ElementType

func (ListenerDefaultActionForwardStickinessOutput) Enabled

Whether target group stickiness is enabled. Default is `false`.

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessOutput

func (o ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessOutput() ListenerDefaultActionForwardStickinessOutput

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessOutputWithContext

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

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessPtrOutput

func (o ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessPtrOutput() ListenerDefaultActionForwardStickinessPtrOutput

func (ListenerDefaultActionForwardStickinessOutput) ToListenerDefaultActionForwardStickinessPtrOutputWithContext

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

type ListenerDefaultActionForwardStickinessPtrInput

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

type ListenerDefaultActionForwardStickinessPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardStickinessPtrOutput) Duration

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

The following arguments are optional:

func (ListenerDefaultActionForwardStickinessPtrOutput) Elem

func (ListenerDefaultActionForwardStickinessPtrOutput) ElementType

func (ListenerDefaultActionForwardStickinessPtrOutput) Enabled

Whether target group stickiness is enabled. Default is `false`.

func (ListenerDefaultActionForwardStickinessPtrOutput) ToListenerDefaultActionForwardStickinessPtrOutput

func (o ListenerDefaultActionForwardStickinessPtrOutput) ToListenerDefaultActionForwardStickinessPtrOutput() ListenerDefaultActionForwardStickinessPtrOutput

func (ListenerDefaultActionForwardStickinessPtrOutput) ToListenerDefaultActionForwardStickinessPtrOutputWithContext

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

type ListenerDefaultActionForwardTargetGroup

type ListenerDefaultActionForwardTargetGroup struct {
	// ARN of the target group.
	//
	// The following arguments are optional:
	Arn string `pulumi:"arn"`
	// Weight. The range is 0 to 999.
	Weight *int `pulumi:"weight"`
}

type ListenerDefaultActionForwardTargetGroupArgs

type ListenerDefaultActionForwardTargetGroupArgs struct {
	// ARN of the target group.
	//
	// The following arguments are optional:
	Arn pulumi.StringInput `pulumi:"arn"`
	// Weight. The range is 0 to 999.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ListenerDefaultActionForwardTargetGroupArgs) ElementType

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput

func (i ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutputWithContext

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

type ListenerDefaultActionForwardTargetGroupArray

type ListenerDefaultActionForwardTargetGroupArray []ListenerDefaultActionForwardTargetGroupInput

func (ListenerDefaultActionForwardTargetGroupArray) ElementType

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput

func (i ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext

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

type ListenerDefaultActionForwardTargetGroupArrayInput

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

type ListenerDefaultActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ElementType

func (ListenerDefaultActionForwardTargetGroupArrayOutput) Index

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput

func (o ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext

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

type ListenerDefaultActionForwardTargetGroupInput

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

type ListenerDefaultActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupOutput) Arn

ARN of the target group.

The following arguments are optional:

func (ListenerDefaultActionForwardTargetGroupOutput) ElementType

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput

func (o ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutputWithContext

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

func (ListenerDefaultActionForwardTargetGroupOutput) Weight

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

Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. Detailed below.

func (ListenerDefaultActionOutput) AuthenticateOidc

Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. Detailed below.

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

Configuration block 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`. Detailed below.

func (ListenerDefaultActionOutput) Order

Order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`.

func (ListenerDefaultActionOutput) Redirect

Configuration block for creating a redirect action. Required if `type` is `redirect`. Detailed below.

func (ListenerDefaultActionOutput) TargetGroupArn

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

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

The following arguments are optional:

type ListenerDefaultActionRedirect

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

type ListenerDefaultActionRedirectArgs

type ListenerDefaultActionRedirectArgs struct {
	// Hostname. This component is not percent-encoded. The hostname can contain `#{host}`. Defaults to `#{host}`.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// 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"`
	// Port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// Protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// Query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?". Defaults to `#{query}`.
	Query pulumi.StringPtrInput `pulumi:"query"`
	// HTTP redirect code. The redirect is either permanent (`HTTP_301`) or temporary (`HTTP_302`).
	//
	// The following arguments are optional:
	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

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

func (ListenerDefaultActionRedirectOutput) Path

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

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

func (ListenerDefaultActionRedirectOutput) Protocol

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

func (ListenerDefaultActionRedirectOutput) Query

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

func (ListenerDefaultActionRedirectOutput) StatusCode

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

The following arguments are optional:

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

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

func (ListenerDefaultActionRedirectPtrOutput) Path

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

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

func (ListenerDefaultActionRedirectPtrOutput) Protocol

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

func (ListenerDefaultActionRedirectPtrOutput) Query

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

func (ListenerDefaultActionRedirectPtrOutput) StatusCode

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

The following arguments are optional:

func (ListenerDefaultActionRedirectPtrOutput) ToListenerDefaultActionRedirectPtrOutput

func (o ListenerDefaultActionRedirectPtrOutput) ToListenerDefaultActionRedirectPtrOutput() ListenerDefaultActionRedirectPtrOutput

func (ListenerDefaultActionRedirectPtrOutput) ToListenerDefaultActionRedirectPtrOutputWithContext

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

type ListenerInput

type ListenerInput interface {
	pulumi.Input

	ToListenerOutput() ListenerOutput
	ToListenerOutputWithContext(ctx context.Context) ListenerOutput
}

type ListenerMap

type ListenerMap map[string]ListenerInput

func (ListenerMap) ElementType

func (ListenerMap) ElementType() reflect.Type

func (ListenerMap) ToListenerMapOutput

func (i ListenerMap) ToListenerMapOutput() ListenerMapOutput

func (ListenerMap) ToListenerMapOutputWithContext

func (i ListenerMap) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerMapInput

type ListenerMapInput interface {
	pulumi.Input

	ToListenerMapOutput() ListenerMapOutput
	ToListenerMapOutputWithContext(context.Context) ListenerMapOutput
}

ListenerMapInput is an input type that accepts ListenerMap and ListenerMapOutput values. You can construct a concrete instance of `ListenerMapInput` via:

ListenerMap{ "key": ListenerArgs{...} }

type ListenerMapOutput

type ListenerMapOutput struct{ *pulumi.OutputState }

func (ListenerMapOutput) ElementType

func (ListenerMapOutput) ElementType() reflect.Type

func (ListenerMapOutput) MapIndex

func (ListenerMapOutput) ToListenerMapOutput

func (o ListenerMapOutput) ToListenerMapOutput() ListenerMapOutput

func (ListenerMapOutput) ToListenerMapOutputWithContext

func (o ListenerMapOutput) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerMutualAuthentication added in v6.14.0

type ListenerMutualAuthentication struct {
	// Whether client certificate expiry is ignored. Default is `false`.
	IgnoreClientCertificateExpiry *bool `pulumi:"ignoreClientCertificateExpiry"`
	// Valid values are `off`, `verify` and `passthrough`.
	Mode string `pulumi:"mode"`
	// ARN of the elbv2 Trust Store.
	TrustStoreArn *string `pulumi:"trustStoreArn"`
}

type ListenerMutualAuthenticationArgs added in v6.14.0

type ListenerMutualAuthenticationArgs struct {
	// Whether client certificate expiry is ignored. Default is `false`.
	IgnoreClientCertificateExpiry pulumi.BoolPtrInput `pulumi:"ignoreClientCertificateExpiry"`
	// Valid values are `off`, `verify` and `passthrough`.
	Mode pulumi.StringInput `pulumi:"mode"`
	// ARN of the elbv2 Trust Store.
	TrustStoreArn pulumi.StringPtrInput `pulumi:"trustStoreArn"`
}

func (ListenerMutualAuthenticationArgs) ElementType added in v6.14.0

func (ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationOutput added in v6.14.0

func (i ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationOutput() ListenerMutualAuthenticationOutput

func (ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationOutputWithContext added in v6.14.0

func (i ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationOutputWithContext(ctx context.Context) ListenerMutualAuthenticationOutput

func (ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationPtrOutput added in v6.14.0

func (i ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationPtrOutput() ListenerMutualAuthenticationPtrOutput

func (ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationPtrOutputWithContext added in v6.14.0

func (i ListenerMutualAuthenticationArgs) ToListenerMutualAuthenticationPtrOutputWithContext(ctx context.Context) ListenerMutualAuthenticationPtrOutput

type ListenerMutualAuthenticationInput added in v6.14.0

type ListenerMutualAuthenticationInput interface {
	pulumi.Input

	ToListenerMutualAuthenticationOutput() ListenerMutualAuthenticationOutput
	ToListenerMutualAuthenticationOutputWithContext(context.Context) ListenerMutualAuthenticationOutput
}

ListenerMutualAuthenticationInput is an input type that accepts ListenerMutualAuthenticationArgs and ListenerMutualAuthenticationOutput values. You can construct a concrete instance of `ListenerMutualAuthenticationInput` via:

ListenerMutualAuthenticationArgs{...}

type ListenerMutualAuthenticationOutput added in v6.14.0

type ListenerMutualAuthenticationOutput struct{ *pulumi.OutputState }

func (ListenerMutualAuthenticationOutput) ElementType added in v6.14.0

func (ListenerMutualAuthenticationOutput) IgnoreClientCertificateExpiry added in v6.14.0

func (o ListenerMutualAuthenticationOutput) IgnoreClientCertificateExpiry() pulumi.BoolPtrOutput

Whether client certificate expiry is ignored. Default is `false`.

func (ListenerMutualAuthenticationOutput) Mode added in v6.14.0

Valid values are `off`, `verify` and `passthrough`.

func (ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationOutput added in v6.14.0

func (o ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationOutput() ListenerMutualAuthenticationOutput

func (ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationOutputWithContext added in v6.14.0

func (o ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationOutputWithContext(ctx context.Context) ListenerMutualAuthenticationOutput

func (ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationPtrOutput added in v6.14.0

func (o ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationPtrOutput() ListenerMutualAuthenticationPtrOutput

func (ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationPtrOutputWithContext added in v6.14.0

func (o ListenerMutualAuthenticationOutput) ToListenerMutualAuthenticationPtrOutputWithContext(ctx context.Context) ListenerMutualAuthenticationPtrOutput

func (ListenerMutualAuthenticationOutput) TrustStoreArn added in v6.14.0

ARN of the elbv2 Trust Store.

type ListenerMutualAuthenticationPtrInput added in v6.14.0

type ListenerMutualAuthenticationPtrInput interface {
	pulumi.Input

	ToListenerMutualAuthenticationPtrOutput() ListenerMutualAuthenticationPtrOutput
	ToListenerMutualAuthenticationPtrOutputWithContext(context.Context) ListenerMutualAuthenticationPtrOutput
}

ListenerMutualAuthenticationPtrInput is an input type that accepts ListenerMutualAuthenticationArgs, ListenerMutualAuthenticationPtr and ListenerMutualAuthenticationPtrOutput values. You can construct a concrete instance of `ListenerMutualAuthenticationPtrInput` via:

        ListenerMutualAuthenticationArgs{...}

or:

        nil

func ListenerMutualAuthenticationPtr added in v6.14.0

type ListenerMutualAuthenticationPtrOutput added in v6.14.0

type ListenerMutualAuthenticationPtrOutput struct{ *pulumi.OutputState }

func (ListenerMutualAuthenticationPtrOutput) Elem added in v6.14.0

func (ListenerMutualAuthenticationPtrOutput) ElementType added in v6.14.0

func (ListenerMutualAuthenticationPtrOutput) IgnoreClientCertificateExpiry added in v6.14.0

func (o ListenerMutualAuthenticationPtrOutput) IgnoreClientCertificateExpiry() pulumi.BoolPtrOutput

Whether client certificate expiry is ignored. Default is `false`.

func (ListenerMutualAuthenticationPtrOutput) Mode added in v6.14.0

Valid values are `off`, `verify` and `passthrough`.

func (ListenerMutualAuthenticationPtrOutput) ToListenerMutualAuthenticationPtrOutput added in v6.14.0

func (o ListenerMutualAuthenticationPtrOutput) ToListenerMutualAuthenticationPtrOutput() ListenerMutualAuthenticationPtrOutput

func (ListenerMutualAuthenticationPtrOutput) ToListenerMutualAuthenticationPtrOutputWithContext added in v6.14.0

func (o ListenerMutualAuthenticationPtrOutput) ToListenerMutualAuthenticationPtrOutputWithContext(ctx context.Context) ListenerMutualAuthenticationPtrOutput

func (ListenerMutualAuthenticationPtrOutput) TrustStoreArn added in v6.14.0

ARN of the elbv2 Trust Store.

type ListenerOutput

type ListenerOutput struct{ *pulumi.OutputState }

func (ListenerOutput) AlpnPolicy

func (o ListenerOutput) AlpnPolicy() pulumi.StringPtrOutput

Name of the Application-Layer Protocol Negotiation (ALPN) policy. Can be set if `protocol` is `TLS`. Valid values are `HTTP1Only`, `HTTP2Only`, `HTTP2Optional`, `HTTP2Preferred`, and `None`.

func (ListenerOutput) Arn

ARN of the target group.

The following arguments are optional:

func (ListenerOutput) CertificateArn

func (o ListenerOutput) CertificateArn() pulumi.StringPtrOutput

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.

func (ListenerOutput) DefaultActions

Configuration block for default actions. Detailed below.

func (ListenerOutput) ElementType

func (ListenerOutput) ElementType() reflect.Type

func (ListenerOutput) LoadBalancerArn

func (o ListenerOutput) LoadBalancerArn() pulumi.StringOutput

ARN of the load balancer.

The following arguments are optional:

func (ListenerOutput) MutualAuthentication added in v6.14.0

func (o ListenerOutput) MutualAuthentication() ListenerMutualAuthenticationOutput

The mutual authentication configuration information. Detailed below.

func (ListenerOutput) Port

Port on which the load balancer is listening. Not valid for Gateway Load Balancers.

func (ListenerOutput) Protocol

func (o ListenerOutput) Protocol() pulumi.StringOutput

Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers.

func (ListenerOutput) SslPolicy

func (o ListenerOutput) SslPolicy() pulumi.StringOutput

Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`.

func (ListenerOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

> **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol.

func (ListenerOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ListenerOutput) ToListenerOutput

func (o ListenerOutput) ToListenerOutput() ListenerOutput

func (ListenerOutput) ToListenerOutputWithContext

func (o ListenerOutput) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerRule

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"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a Load Balancer Listener Rule resource.

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewLoadBalancer(ctx, "front_end", nil)
		if err != nil {
			return err
		}
		frontEndListener, err := lb.NewListener(ctx, "front_end", nil)
		if err != nil {
			return err
		}
		_, err = lb.NewListenerRule(ctx, "static", &lb.ListenerRuleArgs{
			ListenerArn: frontEndListener.Arn,
			Priority:    pulumi.Int(100),
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Type:           pulumi.String("forward"),
					TargetGroupArn: pulumi.Any(staticAwsLbTargetGroup.Arn),
				},
			},
			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"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		// Forward action
		_, err = lb.NewListenerRule(ctx, "host_based_weighted_routing", &lb.ListenerRuleArgs{
			ListenerArn: frontEndListener.Arn,
			Priority:    pulumi.Int(99),
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Type:           pulumi.String("forward"),
					TargetGroupArn: pulumi.Any(staticAwsLbTargetGroup.Arn),
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					HostHeader: &lb.ListenerRuleConditionHostHeaderArgs{
						Values: pulumi.StringArray{
							pulumi.String("my-service.*.mycompany.io"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		// Weighted Forward action
		_, err = lb.NewListenerRule(ctx, "host_based_routing", &lb.ListenerRuleArgs{
			ListenerArn: frontEndListener.Arn,
			Priority:    pulumi.Int(99),
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Type: pulumi.String("forward"),
					Forward: &lb.ListenerRuleActionForwardArgs{
						TargetGroups: lb.ListenerRuleActionForwardTargetGroupArray{
							&lb.ListenerRuleActionForwardTargetGroupArgs{
								Arn:    pulumi.Any(main.Arn),
								Weight: pulumi.Int(80),
							},
							&lb.ListenerRuleActionForwardTargetGroupArgs{
								Arn:    pulumi.Any(canary.Arn),
								Weight: pulumi.Int(20),
							},
						},
						Stickiness: &lb.ListenerRuleActionForwardStickinessArgs{
							Enabled:  pulumi.Bool(true),
							Duration: pulumi.Int(600),
						},
					},
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					HostHeader: &lb.ListenerRuleConditionHostHeaderArgs{
						Values: pulumi.StringArray{
							pulumi.String("my-service.*.mycompany.io"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		// Redirect action
		_, err = lb.NewListenerRule(ctx, "redirect_http_to_https", &lb.ListenerRuleArgs{
			ListenerArn: frontEndListener.Arn,
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Type: pulumi.String("redirect"),
					Redirect: &lb.ListenerRuleActionRedirectArgs{
						Port:       pulumi.String("443"),
						Protocol:   pulumi.String("HTTPS"),
						StatusCode: pulumi.String("HTTP_301"),
					},
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					HttpHeader: &lb.ListenerRuleConditionHttpHeaderArgs{
						HttpHeaderName: pulumi.String("X-Forwarded-For"),
						Values: pulumi.StringArray{
							pulumi.String("192.168.1.*"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		// Fixed-response action
		_, err = lb.NewListenerRule(ctx, "health_check", &lb.ListenerRuleArgs{
			ListenerArn: frontEndListener.Arn,
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Type: pulumi.String("fixed-response"),
					FixedResponse: &lb.ListenerRuleActionFixedResponseArgs{
						ContentType: pulumi.String("text/plain"),
						MessageBody: pulumi.String("HEALTHY"),
						StatusCode:  pulumi.String("200"),
					},
				},
			},
			Conditions: lb.ListenerRuleConditionArray{
				&lb.ListenerRuleConditionArgs{
					QueryStrings: lb.ListenerRuleConditionQueryStringArray{
						&lb.ListenerRuleConditionQueryStringArgs{
							Key:   pulumi.String("health"),
							Value: pulumi.String("check"),
						},
						&lb.ListenerRuleConditionQueryStringArgs{
							Value: pulumi.String("bar"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		// Authenticate-cognito Action
		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.NewListenerRule(ctx, "admin", &lb.ListenerRuleArgs{
			ListenerArn: frontEndListener.Arn,
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Type: pulumi.String("authenticate-cognito"),
					AuthenticateCognito: &lb.ListenerRuleActionAuthenticateCognitoArgs{
						UserPoolArn:      pool.Arn,
						UserPoolClientId: client.ID(),
						UserPoolDomain:   domain.Domain,
					},
				},
				&lb.ListenerRuleActionArgs{
					Type:           pulumi.String("forward"),
					TargetGroupArn: pulumi.Any(staticAwsLbTargetGroup.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		// Authenticate-oidc Action
		_, err = lb.NewListenerRule(ctx, "oidc", &lb.ListenerRuleArgs{
			ListenerArn: frontEndListener.Arn,
			Actions: lb.ListenerRuleActionArray{
				&lb.ListenerRuleActionArgs{
					Type: pulumi.String("authenticate-oidc"),
					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"),
					},
				},
				&lb.ListenerRuleActionArgs{
					Type:           pulumi.String("forward"),
					TargetGroupArn: pulumi.Any(staticAwsLbTargetGroup.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import rules using their ARN. For example:

```sh $ pulumi import aws:lb/listenerRule:ListenerRule front_end arn:aws:elasticloadbalancing:us-west-2:187416307283:listener-rule/app/test/8e4497da625e2d8a/9ab28ade35828f96/67b3d2d36dd7c26b ```

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.

func (*ListenerRule) ElementType

func (*ListenerRule) ElementType() reflect.Type

func (*ListenerRule) ToListenerRuleOutput

func (i *ListenerRule) ToListenerRuleOutput() ListenerRuleOutput

func (*ListenerRule) ToListenerRuleOutputWithContext

func (i *ListenerRule) ToListenerRuleOutputWithContext(ctx context.Context) ListenerRuleOutput

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

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

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

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutputWithContext

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

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutputWithContext

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

type ListenerRuleActionForwardInput

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

type ListenerRuleActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardOutput) ElementType

func (ListenerRuleActionForwardOutput) Stickiness

The target group stickiness for the rule.

func (ListenerRuleActionForwardOutput) TargetGroups

One or more target groups block.

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutput

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutputWithContext

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

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutputWithContext

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

type ListenerRuleActionForwardPtrInput

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

type ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardPtrOutput) Elem

func (ListenerRuleActionForwardPtrOutput) ElementType

func (ListenerRuleActionForwardPtrOutput) Stickiness

The target group stickiness for the rule.

func (ListenerRuleActionForwardPtrOutput) TargetGroups

One or more target groups block.

func (ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutput

func (o ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutputWithContext

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

type ListenerRuleActionForwardStickiness

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

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

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessOutput

func (i ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessOutput() ListenerRuleActionForwardStickinessOutput

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessOutputWithContext

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

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessPtrOutput

func (i ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessPtrOutput() ListenerRuleActionForwardStickinessPtrOutput

func (ListenerRuleActionForwardStickinessArgs) ToListenerRuleActionForwardStickinessPtrOutputWithContext

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

type ListenerRuleActionForwardStickinessInput

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

type ListenerRuleActionForwardStickinessOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardStickinessOutput) Duration

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

func (ListenerRuleActionForwardStickinessOutput) Enabled

Indicates whether target group stickiness is enabled.

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessOutput

func (o ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessOutput() ListenerRuleActionForwardStickinessOutput

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessOutputWithContext

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

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessPtrOutput

func (o ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessPtrOutput() ListenerRuleActionForwardStickinessPtrOutput

func (ListenerRuleActionForwardStickinessOutput) ToListenerRuleActionForwardStickinessPtrOutputWithContext

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

type ListenerRuleActionForwardStickinessPtrInput

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

type ListenerRuleActionForwardStickinessPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardStickinessPtrOutput) Duration

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

func (ListenerRuleActionForwardStickinessPtrOutput) ElementType

func (ListenerRuleActionForwardStickinessPtrOutput) Enabled

Indicates whether target group stickiness is enabled.

func (ListenerRuleActionForwardStickinessPtrOutput) ToListenerRuleActionForwardStickinessPtrOutput

func (o ListenerRuleActionForwardStickinessPtrOutput) ToListenerRuleActionForwardStickinessPtrOutput() ListenerRuleActionForwardStickinessPtrOutput

func (ListenerRuleActionForwardStickinessPtrOutput) ToListenerRuleActionForwardStickinessPtrOutputWithContext

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

type ListenerRuleActionForwardTargetGroup

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

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

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput

func (i ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutputWithContext

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

type ListenerRuleActionForwardTargetGroupArray

type ListenerRuleActionForwardTargetGroupArray []ListenerRuleActionForwardTargetGroupInput

func (ListenerRuleActionForwardTargetGroupArray) ElementType

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput

func (i ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext

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

type ListenerRuleActionForwardTargetGroupArrayInput

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

type ListenerRuleActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupArrayOutput) ElementType

func (ListenerRuleActionForwardTargetGroupArrayOutput) Index

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput

func (o ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext

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

type ListenerRuleActionForwardTargetGroupInput

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

type ListenerRuleActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupOutput) Arn

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

func (ListenerRuleActionForwardTargetGroupOutput) ElementType

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput

func (o ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutputWithContext

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

func (ListenerRuleActionForwardTargetGroupOutput) Weight

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

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
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ListenerRule resource.

func (ListenerRuleArgs) ElementType

func (ListenerRuleArgs) ElementType() reflect.Type

type ListenerRuleArray

type ListenerRuleArray []ListenerRuleInput

func (ListenerRuleArray) ElementType

func (ListenerRuleArray) ElementType() reflect.Type

func (ListenerRuleArray) ToListenerRuleArrayOutput

func (i ListenerRuleArray) ToListenerRuleArrayOutput() ListenerRuleArrayOutput

func (ListenerRuleArray) ToListenerRuleArrayOutputWithContext

func (i ListenerRuleArray) ToListenerRuleArrayOutputWithContext(ctx context.Context) ListenerRuleArrayOutput

type ListenerRuleArrayInput

type ListenerRuleArrayInput interface {
	pulumi.Input

	ToListenerRuleArrayOutput() ListenerRuleArrayOutput
	ToListenerRuleArrayOutputWithContext(context.Context) ListenerRuleArrayOutput
}

ListenerRuleArrayInput is an input type that accepts ListenerRuleArray and ListenerRuleArrayOutput values. You can construct a concrete instance of `ListenerRuleArrayInput` via:

ListenerRuleArray{ ListenerRuleArgs{...} }

type ListenerRuleArrayOutput

type ListenerRuleArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleArrayOutput) ElementType

func (ListenerRuleArrayOutput) ElementType() reflect.Type

func (ListenerRuleArrayOutput) Index

func (ListenerRuleArrayOutput) ToListenerRuleArrayOutput

func (o ListenerRuleArrayOutput) ToListenerRuleArrayOutput() ListenerRuleArrayOutput

func (ListenerRuleArrayOutput) ToListenerRuleArrayOutputWithContext

func (o ListenerRuleArrayOutput) ToListenerRuleArrayOutputWithContext(ctx context.Context) ListenerRuleArrayOutput

type ListenerRuleCondition

type ListenerRuleCondition struct {
	// 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.
	//
	// > **NOTE::** Exactly one of `hostHeader`, `httpHeader`, `httpRequestMethod`, `pathPattern`, `queryString` or `sourceIp` must be set per condition.
	SourceIp *ListenerRuleConditionSourceIp `pulumi:"sourceIp"`
}

type ListenerRuleConditionArgs

type ListenerRuleConditionArgs struct {
	// 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.
	//
	// > **NOTE::** Exactly one of `hostHeader`, `httpHeader`, `httpRequestMethod`, `pathPattern`, `queryString` or `sourceIp` must be set per condition.
	SourceIp ListenerRuleConditionSourceIpPtrInput `pulumi:"sourceIp"`
}

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 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 ListenerRuleConditionHostHeaderArgs

type ListenerRuleConditionHostHeaderArgs struct {
	// 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 (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 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 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 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 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 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 ListenerRuleConditionHttpRequestMethodArgs

type ListenerRuleConditionHttpRequestMethodArgs struct {
	// 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 (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 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 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 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 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) 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.

> **NOTE::** Exactly one of `hostHeader`, `httpHeader`, `httpRequestMethod`, `pathPattern`, `queryString` or `sourceIp` must be set per condition.

func (ListenerRuleConditionOutput) ToListenerRuleConditionOutput

func (o ListenerRuleConditionOutput) ToListenerRuleConditionOutput() ListenerRuleConditionOutput

func (ListenerRuleConditionOutput) ToListenerRuleConditionOutputWithContext

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

type ListenerRuleConditionPathPattern

type ListenerRuleConditionPathPattern struct {
	// 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 ListenerRuleConditionPathPatternArgs

type ListenerRuleConditionPathPatternArgs struct {
	// 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 (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 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 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 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 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 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 ListenerRuleConditionSourceIpArgs

type ListenerRuleConditionSourceIpArgs struct {
	// 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 (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 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 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 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 ListenerRuleInput

type ListenerRuleInput interface {
	pulumi.Input

	ToListenerRuleOutput() ListenerRuleOutput
	ToListenerRuleOutputWithContext(ctx context.Context) ListenerRuleOutput
}

type ListenerRuleMap

type ListenerRuleMap map[string]ListenerRuleInput

func (ListenerRuleMap) ElementType

func (ListenerRuleMap) ElementType() reflect.Type

func (ListenerRuleMap) ToListenerRuleMapOutput

func (i ListenerRuleMap) ToListenerRuleMapOutput() ListenerRuleMapOutput

func (ListenerRuleMap) ToListenerRuleMapOutputWithContext

func (i ListenerRuleMap) ToListenerRuleMapOutputWithContext(ctx context.Context) ListenerRuleMapOutput

type ListenerRuleMapInput

type ListenerRuleMapInput interface {
	pulumi.Input

	ToListenerRuleMapOutput() ListenerRuleMapOutput
	ToListenerRuleMapOutputWithContext(context.Context) ListenerRuleMapOutput
}

ListenerRuleMapInput is an input type that accepts ListenerRuleMap and ListenerRuleMapOutput values. You can construct a concrete instance of `ListenerRuleMapInput` via:

ListenerRuleMap{ "key": ListenerRuleArgs{...} }

type ListenerRuleMapOutput

type ListenerRuleMapOutput struct{ *pulumi.OutputState }

func (ListenerRuleMapOutput) ElementType

func (ListenerRuleMapOutput) ElementType() reflect.Type

func (ListenerRuleMapOutput) MapIndex

func (ListenerRuleMapOutput) ToListenerRuleMapOutput

func (o ListenerRuleMapOutput) ToListenerRuleMapOutput() ListenerRuleMapOutput

func (ListenerRuleMapOutput) ToListenerRuleMapOutputWithContext

func (o ListenerRuleMapOutput) ToListenerRuleMapOutputWithContext(ctx context.Context) ListenerRuleMapOutput

type ListenerRuleOutput

type ListenerRuleOutput struct{ *pulumi.OutputState }

func (ListenerRuleOutput) Actions

An Action block. Action blocks are documented below.

func (ListenerRuleOutput) Arn

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

func (ListenerRuleOutput) Conditions

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.

func (ListenerRuleOutput) ElementType

func (ListenerRuleOutput) ElementType() reflect.Type

func (ListenerRuleOutput) ListenerArn

func (o ListenerRuleOutput) ListenerArn() pulumi.StringOutput

The ARN of the listener to which to attach the rule.

func (ListenerRuleOutput) Priority

func (o ListenerRuleOutput) Priority() pulumi.IntOutput

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.

func (ListenerRuleOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ListenerRuleOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ListenerRuleOutput) ToListenerRuleOutput

func (o ListenerRuleOutput) ToListenerRuleOutput() ListenerRuleOutput

func (ListenerRuleOutput) ToListenerRuleOutputWithContext

func (o ListenerRuleOutput) ToListenerRuleOutputWithContext(ctx context.Context) ListenerRuleOutput

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
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ListenerRuleState) ElementType

func (ListenerRuleState) ElementType() reflect.Type

type ListenerState

type ListenerState struct {
	// Name of the Application-Layer Protocol Negotiation (ALPN) policy. Can be set if `protocol` is `TLS`. Valid values are `HTTP1Only`, `HTTP2Only`, `HTTP2Optional`, `HTTP2Preferred`, and `None`.
	AlpnPolicy pulumi.StringPtrInput
	// ARN of the target group.
	//
	// The following arguments are optional:
	Arn pulumi.StringPtrInput
	// 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
	// Configuration block for default actions. Detailed below.
	DefaultActions ListenerDefaultActionArrayInput
	// ARN of the load balancer.
	//
	// The following arguments are optional:
	LoadBalancerArn pulumi.StringPtrInput
	// The mutual authentication configuration information. Detailed below.
	MutualAuthentication ListenerMutualAuthenticationPtrInput
	// Port on which the load balancer is listening. Not valid for Gateway Load Balancers.
	Port pulumi.IntPtrInput
	// Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers.
	Protocol pulumi.StringPtrInput
	// Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`.
	SslPolicy pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ListenerState) ElementType

func (ListenerState) ElementType() reflect.Type

type LoadBalancer

type LoadBalancer struct {
	pulumi.CustomResourceState

	// Access Logs block. See below.
	AccessLogs LoadBalancerAccessLogsPtrOutput `pulumi:"accessLogs"`
	// ARN of the load balancer (matches `id`).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringOutput `pulumi:"arnSuffix"`
	// Client keep alive value in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds.
	ClientKeepAlive pulumi.IntPtrOutput `pulumi:"clientKeepAlive"`
	// Connection Logs block. See below. Only valid for Load Balancers of type `application`.
	ConnectionLogs LoadBalancerConnectionLogsPtrOutput `pulumi:"connectionLogs"`
	// ID of the customer owned ipv4 pool to use for this load balancer.
	CustomerOwnedIpv4Pool pulumi.StringPtrOutput `pulumi:"customerOwnedIpv4Pool"`
	// How the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`.
	DesyncMitigationMode pulumi.StringPtrOutput `pulumi:"desyncMitigationMode"`
	// DNS name of the load balancer.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// How traffic is distributed among the load balancer Availability Zones. Possible values are `anyAvailabilityZone` (default), `availabilityZoneAffinity`, or `partialAvailabilityZoneAffinity`. See   [Availability Zone DNS affinity](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#zonal-dns-affinity) for additional details. Only valid for `network` type load balancers.
	DnsRecordClientRoutingPolicy pulumi.StringPtrOutput `pulumi:"dnsRecordClientRoutingPolicy"`
	// 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. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. 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"`
	// Whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
	EnableHttp2 pulumi.BoolPtrOutput `pulumi:"enableHttp2"`
	// Whether the two headers (`x-amzn-tls-version` and `x-amzn-tls-cipher-suite`), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. Only valid for Load Balancers of type `application`. Defaults to `false`
	EnableTlsVersionAndCipherSuiteHeaders pulumi.BoolPtrOutput `pulumi:"enableTlsVersionAndCipherSuiteHeaders"`
	// Whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to AWS WAF. Defaults to `false`.
	EnableWafFailOpen pulumi.BoolPtrOutput `pulumi:"enableWafFailOpen"`
	// Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`.
	EnableXffClientPort pulumi.BoolPtrOutput `pulumi:"enableXffClientPort"`
	// Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`.
	EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic pulumi.StringOutput `pulumi:"enforceSecurityGroupInboundRulesOnPrivateLinkTraffic"`
	// 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. Defaults to `false`.
	Internal pulumi.BoolOutput `pulumi:"internal"`
	// Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`.
	IpAddressType pulumi.StringOutput `pulumi:"ipAddressType"`
	// Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`.
	LoadBalancerType pulumi.StringPtrOutput `pulumi:"loadBalancerType"`
	// 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.StringOutput `pulumi:"namePrefix"`
	// Whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. Defaults to `false`.
	PreserveHostHeader pulumi.BoolPtrOutput `pulumi:"preserveHostHeader"`
	// List of security group IDs to assign to the LB. Only valid for Load Balancers of type `application` or `network`. For load balancers of type `network` security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// Subnet mapping block. See below. For Load Balancers of type `network` subnet mappings can only be added.
	SubnetMappings LoadBalancerSubnetMappingArrayOutput `pulumi:"subnetMappings"`
	// List of subnet IDs to attach to the LB. For Load Balancers of type `network` subnets can only be added (see [Availability Zones](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#availability-zones)), deleting a subnet for load balancers of type `network` will force a recreation of the resource.
	Subnets pulumi.StringArrayOutput `pulumi:"subnets"`
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	VpcId   pulumi.StringOutput    `pulumi:"vpcId"`
	// Determines how the load balancer modifies the `X-Forwarded-For` header in the HTTP request before sending the request to the target. The possible values are `append`, `preserve`, and `remove`. Only valid for Load Balancers of type `application`. The default is `append`.
	XffHeaderProcessingMode pulumi.StringPtrOutput `pulumi:"xffHeaderProcessingMode"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
			Name:             pulumi.String("example"),
			LoadBalancerType: pulumi.String("network"),
			SubnetMappings: lb.LoadBalancerSubnetMappingArray{
				&lb.LoadBalancerSubnetMappingArgs{
					SubnetId:     pulumi.Any(example1AwsSubnet.Id),
					AllocationId: pulumi.Any(example1.Id),
				},
				&lb.LoadBalancerSubnetMappingArgs{
					SubnetId:     pulumi.Any(example2AwsSubnet.Id),
					AllocationId: pulumi.Any(example2.Id),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Specifying private IP addresses for an internal-facing load balancer

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
			Name:             pulumi.String("example"),
			LoadBalancerType: pulumi.String("network"),
			SubnetMappings: lb.LoadBalancerSubnetMappingArray{
				&lb.LoadBalancerSubnetMappingArgs{
					SubnetId:           pulumi.Any(example1.Id),
					PrivateIpv4Address: pulumi.String("10.0.1.15"),
				},
				&lb.LoadBalancerSubnetMappingArgs{
					SubnetId:           pulumi.Any(example2.Id),
					PrivateIpv4Address: pulumi.String("10.0.2.15"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import LBs using their ARN. For example:

```sh $ pulumi import aws:lb/loadBalancer:LoadBalancer bar arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188 ```

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.

func (*LoadBalancer) ElementType

func (*LoadBalancer) ElementType() reflect.Type

func (*LoadBalancer) ToLoadBalancerOutput

func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput

func (*LoadBalancer) ToLoadBalancerOutputWithContext

func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

type LoadBalancerAccessLogs

type LoadBalancerAccessLogs struct {
	// 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"`
	// S3 bucket prefix. Logs are stored in the root if not configured.
	Prefix *string `pulumi:"prefix"`
}

type LoadBalancerAccessLogsArgs

type LoadBalancerAccessLogsArgs struct {
	// 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"`
	// 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

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

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

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

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 {
	// Access Logs block. See below.
	AccessLogs LoadBalancerAccessLogsPtrInput
	// Client keep alive value in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds.
	ClientKeepAlive pulumi.IntPtrInput
	// Connection Logs block. See below. Only valid for Load Balancers of type `application`.
	ConnectionLogs LoadBalancerConnectionLogsPtrInput
	// ID of the customer owned ipv4 pool to use for this load balancer.
	CustomerOwnedIpv4Pool pulumi.StringPtrInput
	// How the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`.
	DesyncMitigationMode pulumi.StringPtrInput
	// How traffic is distributed among the load balancer Availability Zones. Possible values are `anyAvailabilityZone` (default), `availabilityZoneAffinity`, or `partialAvailabilityZoneAffinity`. See   [Availability Zone DNS affinity](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#zonal-dns-affinity) for additional details. Only valid for `network` type load balancers.
	DnsRecordClientRoutingPolicy pulumi.StringPtrInput
	// 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. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. 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
	// Whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
	EnableHttp2 pulumi.BoolPtrInput
	// Whether the two headers (`x-amzn-tls-version` and `x-amzn-tls-cipher-suite`), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. Only valid for Load Balancers of type `application`. Defaults to `false`
	EnableTlsVersionAndCipherSuiteHeaders pulumi.BoolPtrInput
	// Whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to AWS WAF. Defaults to `false`.
	EnableWafFailOpen pulumi.BoolPtrInput
	// Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`.
	EnableXffClientPort pulumi.BoolPtrInput
	// Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`.
	EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic pulumi.StringPtrInput
	// 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. Defaults to `false`.
	Internal pulumi.BoolPtrInput
	// Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`.
	IpAddressType pulumi.StringPtrInput
	// Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`.
	LoadBalancerType pulumi.StringPtrInput
	// 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
	// Whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. Defaults to `false`.
	PreserveHostHeader pulumi.BoolPtrInput
	// List of security group IDs to assign to the LB. Only valid for Load Balancers of type `application` or `network`. For load balancers of type `network` security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource.
	SecurityGroups pulumi.StringArrayInput
	// Subnet mapping block. See below. For Load Balancers of type `network` subnet mappings can only be added.
	SubnetMappings LoadBalancerSubnetMappingArrayInput
	// List of subnet IDs to attach to the LB. For Load Balancers of type `network` subnets can only be added (see [Availability Zones](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#availability-zones)), deleting a subnet for load balancers of type `network` will force a recreation of the resource.
	Subnets pulumi.StringArrayInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Determines how the load balancer modifies the `X-Forwarded-For` header in the HTTP request before sending the request to the target. The possible values are `append`, `preserve`, and `remove`. Only valid for Load Balancers of type `application`. The default is `append`.
	XffHeaderProcessingMode pulumi.StringPtrInput
}

The set of arguments for constructing a LoadBalancer resource.

func (LoadBalancerArgs) ElementType

func (LoadBalancerArgs) ElementType() reflect.Type

type LoadBalancerArray

type LoadBalancerArray []LoadBalancerInput

func (LoadBalancerArray) ElementType

func (LoadBalancerArray) ElementType() reflect.Type

func (LoadBalancerArray) ToLoadBalancerArrayOutput

func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArray) ToLoadBalancerArrayOutputWithContext

func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerArrayInput

type LoadBalancerArrayInput interface {
	pulumi.Input

	ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
	ToLoadBalancerArrayOutputWithContext(context.Context) LoadBalancerArrayOutput
}

LoadBalancerArrayInput is an input type that accepts LoadBalancerArray and LoadBalancerArrayOutput values. You can construct a concrete instance of `LoadBalancerArrayInput` via:

LoadBalancerArray{ LoadBalancerArgs{...} }

type LoadBalancerArrayOutput

type LoadBalancerArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerArrayOutput) ElementType

func (LoadBalancerArrayOutput) ElementType() reflect.Type

func (LoadBalancerArrayOutput) Index

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutput

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerConnectionLogs added in v6.15.0

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

type LoadBalancerConnectionLogsArgs added in v6.15.0

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

func (LoadBalancerConnectionLogsArgs) ElementType added in v6.15.0

func (LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsOutput added in v6.15.0

func (i LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsOutput() LoadBalancerConnectionLogsOutput

func (LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsOutputWithContext added in v6.15.0

func (i LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsOutputWithContext(ctx context.Context) LoadBalancerConnectionLogsOutput

func (LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsPtrOutput added in v6.15.0

func (i LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsPtrOutput() LoadBalancerConnectionLogsPtrOutput

func (LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsPtrOutputWithContext added in v6.15.0

func (i LoadBalancerConnectionLogsArgs) ToLoadBalancerConnectionLogsPtrOutputWithContext(ctx context.Context) LoadBalancerConnectionLogsPtrOutput

type LoadBalancerConnectionLogsInput added in v6.15.0

type LoadBalancerConnectionLogsInput interface {
	pulumi.Input

	ToLoadBalancerConnectionLogsOutput() LoadBalancerConnectionLogsOutput
	ToLoadBalancerConnectionLogsOutputWithContext(context.Context) LoadBalancerConnectionLogsOutput
}

LoadBalancerConnectionLogsInput is an input type that accepts LoadBalancerConnectionLogsArgs and LoadBalancerConnectionLogsOutput values. You can construct a concrete instance of `LoadBalancerConnectionLogsInput` via:

LoadBalancerConnectionLogsArgs{...}

type LoadBalancerConnectionLogsOutput added in v6.15.0

type LoadBalancerConnectionLogsOutput struct{ *pulumi.OutputState }

func (LoadBalancerConnectionLogsOutput) Bucket added in v6.15.0

S3 bucket name to store the logs in.

func (LoadBalancerConnectionLogsOutput) ElementType added in v6.15.0

func (LoadBalancerConnectionLogsOutput) Enabled added in v6.15.0

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

func (LoadBalancerConnectionLogsOutput) Prefix added in v6.15.0

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

func (LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsOutput added in v6.15.0

func (o LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsOutput() LoadBalancerConnectionLogsOutput

func (LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsOutputWithContext added in v6.15.0

func (o LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsOutputWithContext(ctx context.Context) LoadBalancerConnectionLogsOutput

func (LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsPtrOutput added in v6.15.0

func (o LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsPtrOutput() LoadBalancerConnectionLogsPtrOutput

func (LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsPtrOutputWithContext added in v6.15.0

func (o LoadBalancerConnectionLogsOutput) ToLoadBalancerConnectionLogsPtrOutputWithContext(ctx context.Context) LoadBalancerConnectionLogsPtrOutput

type LoadBalancerConnectionLogsPtrInput added in v6.15.0

type LoadBalancerConnectionLogsPtrInput interface {
	pulumi.Input

	ToLoadBalancerConnectionLogsPtrOutput() LoadBalancerConnectionLogsPtrOutput
	ToLoadBalancerConnectionLogsPtrOutputWithContext(context.Context) LoadBalancerConnectionLogsPtrOutput
}

LoadBalancerConnectionLogsPtrInput is an input type that accepts LoadBalancerConnectionLogsArgs, LoadBalancerConnectionLogsPtr and LoadBalancerConnectionLogsPtrOutput values. You can construct a concrete instance of `LoadBalancerConnectionLogsPtrInput` via:

        LoadBalancerConnectionLogsArgs{...}

or:

        nil

func LoadBalancerConnectionLogsPtr added in v6.15.0

type LoadBalancerConnectionLogsPtrOutput added in v6.15.0

type LoadBalancerConnectionLogsPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerConnectionLogsPtrOutput) Bucket added in v6.15.0

S3 bucket name to store the logs in.

func (LoadBalancerConnectionLogsPtrOutput) Elem added in v6.15.0

func (LoadBalancerConnectionLogsPtrOutput) ElementType added in v6.15.0

func (LoadBalancerConnectionLogsPtrOutput) Enabled added in v6.15.0

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

func (LoadBalancerConnectionLogsPtrOutput) Prefix added in v6.15.0

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

func (LoadBalancerConnectionLogsPtrOutput) ToLoadBalancerConnectionLogsPtrOutput added in v6.15.0

func (o LoadBalancerConnectionLogsPtrOutput) ToLoadBalancerConnectionLogsPtrOutput() LoadBalancerConnectionLogsPtrOutput

func (LoadBalancerConnectionLogsPtrOutput) ToLoadBalancerConnectionLogsPtrOutputWithContext added in v6.15.0

func (o LoadBalancerConnectionLogsPtrOutput) ToLoadBalancerConnectionLogsPtrOutputWithContext(ctx context.Context) LoadBalancerConnectionLogsPtrOutput

type LoadBalancerInput

type LoadBalancerInput interface {
	pulumi.Input

	ToLoadBalancerOutput() LoadBalancerOutput
	ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
}

type LoadBalancerMap

type LoadBalancerMap map[string]LoadBalancerInput

func (LoadBalancerMap) ElementType

func (LoadBalancerMap) ElementType() reflect.Type

func (LoadBalancerMap) ToLoadBalancerMapOutput

func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMap) ToLoadBalancerMapOutputWithContext

func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerMapInput

type LoadBalancerMapInput interface {
	pulumi.Input

	ToLoadBalancerMapOutput() LoadBalancerMapOutput
	ToLoadBalancerMapOutputWithContext(context.Context) LoadBalancerMapOutput
}

LoadBalancerMapInput is an input type that accepts LoadBalancerMap and LoadBalancerMapOutput values. You can construct a concrete instance of `LoadBalancerMapInput` via:

LoadBalancerMap{ "key": LoadBalancerArgs{...} }

type LoadBalancerMapOutput

type LoadBalancerMapOutput struct{ *pulumi.OutputState }

func (LoadBalancerMapOutput) ElementType

func (LoadBalancerMapOutput) ElementType() reflect.Type

func (LoadBalancerMapOutput) MapIndex

func (LoadBalancerMapOutput) ToLoadBalancerMapOutput

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerOutput

type LoadBalancerOutput struct{ *pulumi.OutputState }

func (LoadBalancerOutput) AccessLogs

Access Logs block. See below.

func (LoadBalancerOutput) Arn

ARN of the load balancer (matches `id`).

func (LoadBalancerOutput) ArnSuffix

func (o LoadBalancerOutput) ArnSuffix() pulumi.StringOutput

ARN suffix for use with CloudWatch Metrics.

func (LoadBalancerOutput) ClientKeepAlive added in v6.32.0

func (o LoadBalancerOutput) ClientKeepAlive() pulumi.IntPtrOutput

Client keep alive value in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds.

func (LoadBalancerOutput) ConnectionLogs added in v6.15.0

Connection Logs block. See below. Only valid for Load Balancers of type `application`.

func (LoadBalancerOutput) CustomerOwnedIpv4Pool

func (o LoadBalancerOutput) CustomerOwnedIpv4Pool() pulumi.StringPtrOutput

ID of the customer owned ipv4 pool to use for this load balancer.

func (LoadBalancerOutput) DesyncMitigationMode

func (o LoadBalancerOutput) DesyncMitigationMode() pulumi.StringPtrOutput

How the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`.

func (LoadBalancerOutput) DnsName

DNS name of the load balancer.

func (LoadBalancerOutput) DnsRecordClientRoutingPolicy added in v6.7.0

func (o LoadBalancerOutput) DnsRecordClientRoutingPolicy() pulumi.StringPtrOutput

How traffic is distributed among the load balancer Availability Zones. Possible values are `anyAvailabilityZone` (default), `availabilityZoneAffinity`, or `partialAvailabilityZoneAffinity`. See [Availability Zone DNS affinity](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#zonal-dns-affinity) for additional details. Only valid for `network` type load balancers.

func (LoadBalancerOutput) DropInvalidHeaderFields

func (o LoadBalancerOutput) DropInvalidHeaderFields() pulumi.BoolPtrOutput

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`.

func (LoadBalancerOutput) ElementType

func (LoadBalancerOutput) ElementType() reflect.Type

func (LoadBalancerOutput) EnableCrossZoneLoadBalancing

func (o LoadBalancerOutput) EnableCrossZoneLoadBalancing() pulumi.BoolPtrOutput

If true, cross-zone load balancing of the load balancer will be enabled. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. Defaults to `false`.

func (LoadBalancerOutput) EnableDeletionProtection

func (o LoadBalancerOutput) EnableDeletionProtection() pulumi.BoolPtrOutput

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`.

func (LoadBalancerOutput) EnableHttp2

func (o LoadBalancerOutput) EnableHttp2() pulumi.BoolPtrOutput

Whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.

func (LoadBalancerOutput) EnableTlsVersionAndCipherSuiteHeaders

func (o LoadBalancerOutput) EnableTlsVersionAndCipherSuiteHeaders() pulumi.BoolPtrOutput

Whether the two headers (`x-amzn-tls-version` and `x-amzn-tls-cipher-suite`), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. Only valid for Load Balancers of type `application`. Defaults to `false`

func (LoadBalancerOutput) EnableWafFailOpen

func (o LoadBalancerOutput) EnableWafFailOpen() pulumi.BoolPtrOutput

Whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to AWS WAF. Defaults to `false`.

func (LoadBalancerOutput) EnableXffClientPort

func (o LoadBalancerOutput) EnableXffClientPort() pulumi.BoolPtrOutput

Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`.

func (LoadBalancerOutput) EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic added in v6.14.0

func (o LoadBalancerOutput) EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() pulumi.StringOutput

Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`.

func (LoadBalancerOutput) IdleTimeout

func (o LoadBalancerOutput) IdleTimeout() pulumi.IntPtrOutput

Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60.

func (LoadBalancerOutput) Internal

func (o LoadBalancerOutput) Internal() pulumi.BoolOutput

If true, the LB will be internal. Defaults to `false`.

func (LoadBalancerOutput) IpAddressType

func (o LoadBalancerOutput) IpAddressType() pulumi.StringOutput

Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`.

func (LoadBalancerOutput) LoadBalancerType

func (o LoadBalancerOutput) LoadBalancerType() pulumi.StringPtrOutput

Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`.

func (LoadBalancerOutput) Name

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`.

func (LoadBalancerOutput) NamePrefix

func (o LoadBalancerOutput) NamePrefix() pulumi.StringOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (LoadBalancerOutput) PreserveHostHeader

func (o LoadBalancerOutput) PreserveHostHeader() pulumi.BoolPtrOutput

Whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. Defaults to `false`.

func (LoadBalancerOutput) SecurityGroups

func (o LoadBalancerOutput) SecurityGroups() pulumi.StringArrayOutput

List of security group IDs to assign to the LB. Only valid for Load Balancers of type `application` or `network`. For load balancers of type `network` security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource.

func (LoadBalancerOutput) SubnetMappings

Subnet mapping block. See below. For Load Balancers of type `network` subnet mappings can only be added.

func (LoadBalancerOutput) Subnets

List of subnet IDs to attach to the LB. For Load Balancers of type `network` subnets can only be added (see [Availability Zones](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#availability-zones)), deleting a subnet for load balancers of type `network` will force a recreation of the resource.

func (LoadBalancerOutput) Tags

Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LoadBalancerOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LoadBalancerOutput) ToLoadBalancerOutput

func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerOutputWithContext

func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

func (LoadBalancerOutput) VpcId

func (LoadBalancerOutput) XffHeaderProcessingMode

func (o LoadBalancerOutput) XffHeaderProcessingMode() pulumi.StringPtrOutput

Determines how the load balancer modifies the `X-Forwarded-For` header in the HTTP request before sending the request to the target. The possible values are `append`, `preserve`, and `remove`. Only valid for Load Balancers of type `application`. The default is `append`.

func (LoadBalancerOutput) ZoneId

Canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

type LoadBalancerState

type LoadBalancerState struct {
	// Access Logs block. See below.
	AccessLogs LoadBalancerAccessLogsPtrInput
	// ARN of the load balancer (matches `id`).
	Arn pulumi.StringPtrInput
	// ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringPtrInput
	// Client keep alive value in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds.
	ClientKeepAlive pulumi.IntPtrInput
	// Connection Logs block. See below. Only valid for Load Balancers of type `application`.
	ConnectionLogs LoadBalancerConnectionLogsPtrInput
	// ID of the customer owned ipv4 pool to use for this load balancer.
	CustomerOwnedIpv4Pool pulumi.StringPtrInput
	// How the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`.
	DesyncMitigationMode pulumi.StringPtrInput
	// DNS name of the load balancer.
	DnsName pulumi.StringPtrInput
	// How traffic is distributed among the load balancer Availability Zones. Possible values are `anyAvailabilityZone` (default), `availabilityZoneAffinity`, or `partialAvailabilityZoneAffinity`. See   [Availability Zone DNS affinity](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#zonal-dns-affinity) for additional details. Only valid for `network` type load balancers.
	DnsRecordClientRoutingPolicy pulumi.StringPtrInput
	// 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. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. 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
	// Whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
	EnableHttp2 pulumi.BoolPtrInput
	// Whether the two headers (`x-amzn-tls-version` and `x-amzn-tls-cipher-suite`), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. Only valid for Load Balancers of type `application`. Defaults to `false`
	EnableTlsVersionAndCipherSuiteHeaders pulumi.BoolPtrInput
	// Whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to AWS WAF. Defaults to `false`.
	EnableWafFailOpen pulumi.BoolPtrInput
	// Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`.
	EnableXffClientPort pulumi.BoolPtrInput
	// Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`.
	EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic pulumi.StringPtrInput
	// 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. Defaults to `false`.
	Internal pulumi.BoolPtrInput
	// Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`.
	IpAddressType pulumi.StringPtrInput
	// Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`.
	LoadBalancerType pulumi.StringPtrInput
	// 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
	// Whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. Defaults to `false`.
	PreserveHostHeader pulumi.BoolPtrInput
	// List of security group IDs to assign to the LB. Only valid for Load Balancers of type `application` or `network`. For load balancers of type `network` security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource.
	SecurityGroups pulumi.StringArrayInput
	// Subnet mapping block. See below. For Load Balancers of type `network` subnet mappings can only be added.
	SubnetMappings LoadBalancerSubnetMappingArrayInput
	// List of subnet IDs to attach to the LB. For Load Balancers of type `network` subnets can only be added (see [Availability Zones](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#availability-zones)), deleting a subnet for load balancers of type `network` will force a recreation of the resource.
	Subnets pulumi.StringArrayInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	VpcId   pulumi.StringPtrInput
	// Determines how the load balancer modifies the `X-Forwarded-For` header in the HTTP request before sending the request to the target. The possible values are `append`, `preserve`, and `remove`. Only valid for Load Balancers of type `application`. The default is `append`.
	XffHeaderProcessingMode pulumi.StringPtrInput
	// 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 {
	// Allocation ID of the Elastic IP address for an internet-facing load balancer.
	AllocationId *string `pulumi:"allocationId"`
	// IPv6 address. You associate IPv6 CIDR blocks with your VPC and choose the subnets where you launch both internet-facing and internal Application Load Balancers or Network Load Balancers.
	Ipv6Address *string `pulumi:"ipv6Address"`
	OutpostId   *string `pulumi:"outpostId"`
	// Private IPv4 address for an internal load balancer.
	PrivateIpv4Address *string `pulumi:"privateIpv4Address"`
	// 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 {
	// Allocation ID of the Elastic IP address for an internet-facing load balancer.
	AllocationId pulumi.StringPtrInput `pulumi:"allocationId"`
	// IPv6 address. You associate IPv6 CIDR blocks with your VPC and choose the subnets where you launch both internet-facing and internal Application Load Balancers or Network Load Balancers.
	Ipv6Address pulumi.StringPtrInput `pulumi:"ipv6Address"`
	OutpostId   pulumi.StringPtrInput `pulumi:"outpostId"`
	// Private IPv4 address for an internal load balancer.
	PrivateIpv4Address pulumi.StringPtrInput `pulumi:"privateIpv4Address"`
	// 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

Allocation ID of the Elastic IP address for an internet-facing load balancer.

func (LoadBalancerSubnetMappingOutput) ElementType

func (LoadBalancerSubnetMappingOutput) Ipv6Address

IPv6 address. You associate IPv6 CIDR blocks with your VPC and choose the subnets where you launch both internet-facing and internal Application Load Balancers or Network Load Balancers.

func (LoadBalancerSubnetMappingOutput) OutpostId

func (LoadBalancerSubnetMappingOutput) PrivateIpv4Address

Private IPv4 address for an internal load balancer.

func (LoadBalancerSubnetMappingOutput) SubnetId

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 {
	// ARN of the listener. Required if `loadBalancerArn` and `port` is not set.
	Arn *string `pulumi:"arn"`
	// ARN of the load balancer. Required if `arn` is not set.
	LoadBalancerArn *string `pulumi:"loadBalancerArn"`
	// Port of the listener. Required if `arn` is not set.
	Port *int              `pulumi:"port"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getListener.

type LookupListenerOutputArgs

type LookupListenerOutputArgs struct {
	// ARN of the listener. Required if `loadBalancerArn` and `port` is not set.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// ARN of the load balancer. Required if `arn` is not set.
	LoadBalancerArn pulumi.StringPtrInput `pulumi:"loadBalancerArn"`
	// Port of the listener. Required if `arn` is not set.
	Port pulumi.IntPtrInput    `pulumi:"port"`
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getListener.

func (LookupListenerOutputArgs) ElementType

func (LookupListenerOutputArgs) ElementType() reflect.Type

type LookupListenerResult

type LookupListenerResult struct {
	AlpnPolicy     string                     `pulumi:"alpnPolicy"`
	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"`
	MutualAuthentications []GetListenerMutualAuthentication `pulumi:"mutualAuthentications"`
	Port                  int                               `pulumi:"port"`
	Protocol              string                            `pulumi:"protocol"`
	SslPolicy             string                            `pulumi:"sslPolicy"`
	Tags                  map[string]string                 `pulumi:"tags"`
}

A collection of values returned by getListener.

func LookupListener

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		listenerArn := cfg.Require("listenerArn")
		_, err := lb.LookupListener(ctx, &lb.LookupListenerArgs{
			Arn: pulumi.StringRef(listenerArn),
		}, nil)
		if err != nil {
			return err
		}
		// get listener from load_balancer_arn and port
		selected, err := lb.LookupLoadBalancer(ctx, &lb.LookupLoadBalancerArgs{
			Name: pulumi.StringRef("default-public"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = lb.LookupListener(ctx, &lb.LookupListenerArgs{
			LoadBalancerArn: pulumi.StringRef(selected.Arn),
			Port:            pulumi.IntRef(443),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupListenerResultOutput

type LookupListenerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getListener.

func (LookupListenerResultOutput) AlpnPolicy

func (LookupListenerResultOutput) Arn

func (LookupListenerResultOutput) CertificateArn

func (o LookupListenerResultOutput) CertificateArn() pulumi.StringOutput

func (LookupListenerResultOutput) DefaultActions

func (LookupListenerResultOutput) ElementType

func (LookupListenerResultOutput) ElementType() reflect.Type

func (LookupListenerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupListenerResultOutput) LoadBalancerArn

func (o LookupListenerResultOutput) LoadBalancerArn() pulumi.StringOutput

func (LookupListenerResultOutput) MutualAuthentications added in v6.14.0

func (LookupListenerResultOutput) Port

func (LookupListenerResultOutput) Protocol

func (LookupListenerResultOutput) SslPolicy

func (LookupListenerResultOutput) Tags

func (LookupListenerResultOutput) ToLookupListenerResultOutput

func (o LookupListenerResultOutput) ToLookupListenerResultOutput() LookupListenerResultOutput

func (LookupListenerResultOutput) ToLookupListenerResultOutputWithContext

func (o LookupListenerResultOutput) ToLookupListenerResultOutputWithContext(ctx context.Context) LookupListenerResultOutput

type LookupLoadBalancerArgs

type LookupLoadBalancerArgs struct {
	// Full ARN of the load balancer.
	Arn *string `pulumi:"arn"`
	// Unique name of the load balancer.
	Name *string `pulumi:"name"`
	// Mapping of tags, each pair of which must exactly match a pair on the desired load balancer.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. `tags` has lowest precedence.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getLoadBalancer.

type LookupLoadBalancerOutputArgs

type LookupLoadBalancerOutputArgs struct {
	// Full ARN of the load balancer.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// Unique name of the load balancer.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Mapping of tags, each pair of which must exactly match a pair on the desired load balancer.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. `tags` has lowest precedence.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getLoadBalancer.

func (LookupLoadBalancerOutputArgs) ElementType

type LookupLoadBalancerResult

type LookupLoadBalancerResult struct {
	AccessLogs                                           GetLoadBalancerAccessLogs      `pulumi:"accessLogs"`
	Arn                                                  string                         `pulumi:"arn"`
	ArnSuffix                                            string                         `pulumi:"arnSuffix"`
	ClientKeepAlive                                      int                            `pulumi:"clientKeepAlive"`
	ConnectionLogs                                       []GetLoadBalancerConnectionLog `pulumi:"connectionLogs"`
	CustomerOwnedIpv4Pool                                string                         `pulumi:"customerOwnedIpv4Pool"`
	DesyncMitigationMode                                 string                         `pulumi:"desyncMitigationMode"`
	DnsName                                              string                         `pulumi:"dnsName"`
	DnsRecordClientRoutingPolicy                         string                         `pulumi:"dnsRecordClientRoutingPolicy"`
	DropInvalidHeaderFields                              bool                           `pulumi:"dropInvalidHeaderFields"`
	EnableCrossZoneLoadBalancing                         bool                           `pulumi:"enableCrossZoneLoadBalancing"`
	EnableDeletionProtection                             bool                           `pulumi:"enableDeletionProtection"`
	EnableHttp2                                          bool                           `pulumi:"enableHttp2"`
	EnableTlsVersionAndCipherSuiteHeaders                bool                           `pulumi:"enableTlsVersionAndCipherSuiteHeaders"`
	EnableWafFailOpen                                    bool                           `pulumi:"enableWafFailOpen"`
	EnableXffClientPort                                  bool                           `pulumi:"enableXffClientPort"`
	EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic string                         `pulumi:"enforceSecurityGroupInboundRulesOnPrivateLinkTraffic"`
	// 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"`
	PreserveHostHeader      bool                           `pulumi:"preserveHostHeader"`
	SecurityGroups          []string                       `pulumi:"securityGroups"`
	SubnetMappings          []GetLoadBalancerSubnetMapping `pulumi:"subnetMappings"`
	Subnets                 []string                       `pulumi:"subnets"`
	Tags                    map[string]string              `pulumi:"tags"`
	VpcId                   string                         `pulumi:"vpcId"`
	XffHeaderProcessingMode string                         `pulumi:"xffHeaderProcessingMode"`
	ZoneId                  string                         `pulumi:"zoneId"`
}

A collection of values returned by getLoadBalancer.

func LookupLoadBalancer

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		lbArn := ""
		if param := cfg.Get("lbArn"); param != "" {
			lbArn = param
		}
		lbName := ""
		if param := cfg.Get("lbName"); param != "" {
			lbName = param
		}
		_, err := lb.LookupLoadBalancer(ctx, &lb.LookupLoadBalancerArgs{
			Arn:  pulumi.StringRef(lbArn),
			Name: pulumi.StringRef(lbName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupLoadBalancerResultOutput

type LookupLoadBalancerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLoadBalancer.

func (LookupLoadBalancerResultOutput) AccessLogs

func (LookupLoadBalancerResultOutput) Arn

func (LookupLoadBalancerResultOutput) ArnSuffix

func (LookupLoadBalancerResultOutput) ClientKeepAlive added in v6.32.0

func (o LookupLoadBalancerResultOutput) ClientKeepAlive() pulumi.IntOutput

func (LookupLoadBalancerResultOutput) ConnectionLogs added in v6.15.0

func (LookupLoadBalancerResultOutput) CustomerOwnedIpv4Pool

func (o LookupLoadBalancerResultOutput) CustomerOwnedIpv4Pool() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) DesyncMitigationMode

func (o LookupLoadBalancerResultOutput) DesyncMitigationMode() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) DnsName

func (LookupLoadBalancerResultOutput) DnsRecordClientRoutingPolicy added in v6.15.0

func (o LookupLoadBalancerResultOutput) DnsRecordClientRoutingPolicy() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) DropInvalidHeaderFields

func (o LookupLoadBalancerResultOutput) DropInvalidHeaderFields() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) ElementType

func (LookupLoadBalancerResultOutput) EnableCrossZoneLoadBalancing

func (o LookupLoadBalancerResultOutput) EnableCrossZoneLoadBalancing() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) EnableDeletionProtection

func (o LookupLoadBalancerResultOutput) EnableDeletionProtection() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) EnableHttp2

func (LookupLoadBalancerResultOutput) EnableTlsVersionAndCipherSuiteHeaders

func (o LookupLoadBalancerResultOutput) EnableTlsVersionAndCipherSuiteHeaders() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) EnableWafFailOpen

func (o LookupLoadBalancerResultOutput) EnableWafFailOpen() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) EnableXffClientPort

func (o LookupLoadBalancerResultOutput) EnableXffClientPort() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic added in v6.14.0

func (o LookupLoadBalancerResultOutput) EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupLoadBalancerResultOutput) IdleTimeout

func (LookupLoadBalancerResultOutput) Internal

func (LookupLoadBalancerResultOutput) IpAddressType

func (LookupLoadBalancerResultOutput) LoadBalancerType

func (o LookupLoadBalancerResultOutput) LoadBalancerType() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) Name

func (LookupLoadBalancerResultOutput) PreserveHostHeader

func (o LookupLoadBalancerResultOutput) PreserveHostHeader() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) SecurityGroups

func (LookupLoadBalancerResultOutput) SubnetMappings

func (LookupLoadBalancerResultOutput) Subnets

func (LookupLoadBalancerResultOutput) Tags

func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput

func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput

func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext

func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput

func (LookupLoadBalancerResultOutput) VpcId

func (LookupLoadBalancerResultOutput) XffHeaderProcessingMode

func (o LookupLoadBalancerResultOutput) XffHeaderProcessingMode() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) ZoneId

type LookupTargetGroupArgs

type LookupTargetGroupArgs struct {
	// Full ARN of the target group.
	Arn                            *string `pulumi:"arn"`
	LoadBalancingAnomalyMitigation *string `pulumi:"loadBalancingAnomalyMitigation"`
	// Unique name of the target group.
	Name *string `pulumi:"name"`
	// Mapping of tags, each pair of which must exactly match a pair on the desired target group.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. `tags` has the lowest precedence.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getTargetGroup.

type LookupTargetGroupOutputArgs

type LookupTargetGroupOutputArgs struct {
	// Full ARN of the target group.
	Arn                            pulumi.StringPtrInput `pulumi:"arn"`
	LoadBalancingAnomalyMitigation pulumi.StringPtrInput `pulumi:"loadBalancingAnomalyMitigation"`
	// Unique name of the target group.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Mapping of tags, each pair of which must exactly match a pair on the desired target group.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. `tags` has the lowest precedence.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getTargetGroup.

func (LookupTargetGroupOutputArgs) ElementType

type LookupTargetGroupResult

type LookupTargetGroupResult struct {
	Arn                   string                    `pulumi:"arn"`
	ArnSuffix             string                    `pulumi:"arnSuffix"`
	ConnectionTermination bool                      `pulumi:"connectionTermination"`
	DeregistrationDelay   string                    `pulumi:"deregistrationDelay"`
	HealthCheck           GetTargetGroupHealthCheck `pulumi:"healthCheck"`
	// The provider-assigned unique ID for this managed resource.
	Id                             string                   `pulumi:"id"`
	LambdaMultiValueHeadersEnabled bool                     `pulumi:"lambdaMultiValueHeadersEnabled"`
	LoadBalancerArns               []string                 `pulumi:"loadBalancerArns"`
	LoadBalancingAlgorithmType     string                   `pulumi:"loadBalancingAlgorithmType"`
	LoadBalancingAnomalyMitigation string                   `pulumi:"loadBalancingAnomalyMitigation"`
	LoadBalancingCrossZoneEnabled  string                   `pulumi:"loadBalancingCrossZoneEnabled"`
	Name                           string                   `pulumi:"name"`
	Port                           int                      `pulumi:"port"`
	PreserveClientIp               string                   `pulumi:"preserveClientIp"`
	Protocol                       string                   `pulumi:"protocol"`
	ProtocolVersion                string                   `pulumi:"protocolVersion"`
	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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		lbTgArn := ""
		if param := cfg.Get("lbTgArn"); param != "" {
			lbTgArn = param
		}
		lbTgName := ""
		if param := cfg.Get("lbTgName"); param != "" {
			lbTgName = param
		}
		_, err := lb.LookupTargetGroup(ctx, &lb.LookupTargetGroupArgs{
			Arn:  pulumi.StringRef(lbTgArn),
			Name: pulumi.StringRef(lbTgName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTargetGroupResultOutput

type LookupTargetGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTargetGroup.

func (LookupTargetGroupResultOutput) Arn

func (LookupTargetGroupResultOutput) ArnSuffix

func (LookupTargetGroupResultOutput) ConnectionTermination

func (o LookupTargetGroupResultOutput) ConnectionTermination() pulumi.BoolOutput

func (LookupTargetGroupResultOutput) DeregistrationDelay

func (o LookupTargetGroupResultOutput) DeregistrationDelay() pulumi.StringOutput

func (LookupTargetGroupResultOutput) ElementType

func (LookupTargetGroupResultOutput) HealthCheck

func (LookupTargetGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTargetGroupResultOutput) LambdaMultiValueHeadersEnabled

func (o LookupTargetGroupResultOutput) LambdaMultiValueHeadersEnabled() pulumi.BoolOutput

func (LookupTargetGroupResultOutput) LoadBalancerArns added in v6.24.2

func (LookupTargetGroupResultOutput) LoadBalancingAlgorithmType

func (o LookupTargetGroupResultOutput) LoadBalancingAlgorithmType() pulumi.StringOutput

func (LookupTargetGroupResultOutput) LoadBalancingAnomalyMitigation added in v6.18.2

func (o LookupTargetGroupResultOutput) LoadBalancingAnomalyMitigation() pulumi.StringOutput

func (LookupTargetGroupResultOutput) LoadBalancingCrossZoneEnabled

func (o LookupTargetGroupResultOutput) LoadBalancingCrossZoneEnabled() pulumi.StringOutput

func (LookupTargetGroupResultOutput) Name

func (LookupTargetGroupResultOutput) Port

func (LookupTargetGroupResultOutput) PreserveClientIp

func (o LookupTargetGroupResultOutput) PreserveClientIp() pulumi.StringOutput

func (LookupTargetGroupResultOutput) Protocol

func (LookupTargetGroupResultOutput) ProtocolVersion

func (LookupTargetGroupResultOutput) ProxyProtocolV2

func (o LookupTargetGroupResultOutput) ProxyProtocolV2() pulumi.BoolOutput

func (LookupTargetGroupResultOutput) SlowStart

func (LookupTargetGroupResultOutput) Stickiness

func (LookupTargetGroupResultOutput) Tags

func (LookupTargetGroupResultOutput) TargetType

func (LookupTargetGroupResultOutput) ToLookupTargetGroupResultOutput

func (o LookupTargetGroupResultOutput) ToLookupTargetGroupResultOutput() LookupTargetGroupResultOutput

func (LookupTargetGroupResultOutput) ToLookupTargetGroupResultOutputWithContext

func (o LookupTargetGroupResultOutput) ToLookupTargetGroupResultOutputWithContext(ctx context.Context) LookupTargetGroupResultOutput

func (LookupTargetGroupResultOutput) VpcId

type LookupTrustStoreArgs added in v6.14.0

type LookupTrustStoreArgs struct {
	// Full ARN of the trust store.
	Arn *string `pulumi:"arn"`
	// Unique name of the trust store.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getTrustStore.

type LookupTrustStoreOutputArgs added in v6.14.0

type LookupTrustStoreOutputArgs struct {
	// Full ARN of the trust store.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// Unique name of the trust store.
	//
	// > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getTrustStore.

func (LookupTrustStoreOutputArgs) ElementType added in v6.14.0

func (LookupTrustStoreOutputArgs) ElementType() reflect.Type

type LookupTrustStoreResult added in v6.14.0

type LookupTrustStoreResult struct {
	Arn string `pulumi:"arn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getTrustStore.

func LookupTrustStore added in v6.14.0

func LookupTrustStore(ctx *pulumi.Context, args *LookupTrustStoreArgs, opts ...pulumi.InvokeOption) (*LookupTrustStoreResult, error)

> **Note:** `awsAlbTrustStore` is known as `lb.TrustStore`. The functionality is identical.

Provides information about a Load Balancer Trust Store.

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		lbTsArn := ""
		if param := cfg.Get("lbTsArn"); param != "" {
			lbTsArn = param
		}
		lbTsName := ""
		if param := cfg.Get("lbTsName"); param != "" {
			lbTsName = param
		}
		_, err := lb.LookupTrustStore(ctx, &lb.LookupTrustStoreArgs{
			Arn:  pulumi.StringRef(lbTsArn),
			Name: pulumi.StringRef(lbTsName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTrustStoreResultOutput added in v6.14.0

type LookupTrustStoreResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTrustStore.

func LookupTrustStoreOutput added in v6.14.0

func (LookupTrustStoreResultOutput) Arn added in v6.14.0

func (LookupTrustStoreResultOutput) ElementType added in v6.14.0

func (LookupTrustStoreResultOutput) Id added in v6.14.0

The provider-assigned unique ID for this managed resource.

func (LookupTrustStoreResultOutput) Name added in v6.14.0

func (LookupTrustStoreResultOutput) ToLookupTrustStoreResultOutput added in v6.14.0

func (o LookupTrustStoreResultOutput) ToLookupTrustStoreResultOutput() LookupTrustStoreResultOutput

func (LookupTrustStoreResultOutput) ToLookupTrustStoreResultOutputWithContext added in v6.14.0

func (o LookupTrustStoreResultOutput) ToLookupTrustStoreResultOutputWithContext(ctx context.Context) LookupTrustStoreResultOutput

type TargetGroup

type TargetGroup struct {
	pulumi.CustomResourceState

	// ARN of the Target Group (matches `id`).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringOutput `pulumi:"arnSuffix"`
	// Whether to terminate connections at the end of the deregistration timeout on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay) for more information. Default is `false`.
	ConnectionTermination pulumi.BoolOutput `pulumi:"connectionTermination"`
	// 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"`
	// Health Check configuration block. Detailed below.
	HealthCheck TargetGroupHealthCheckOutput `pulumi:"healthCheck"`
	// The type of IP addresses used by the target group, only supported when target type is set to `ip`. Possible values are `ipv4` or `ipv6`.
	IpAddressType pulumi.StringOutput `pulumi:"ipAddressType"`
	// 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`. Default is `false`.
	LambdaMultiValueHeadersEnabled pulumi.BoolPtrOutput `pulumi:"lambdaMultiValueHeadersEnabled"`
	// ARNs of the Load Balancers associated with the Target Group.
	LoadBalancerArns pulumi.StringArrayOutput `pulumi:"loadBalancerArns"`
	// Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin`, `leastOutstandingRequests`, or `weightedRandom`. The default is `roundRobin`.
	LoadBalancingAlgorithmType pulumi.StringOutput `pulumi:"loadBalancingAlgorithmType"`
	// Determines whether to enable target anomaly mitigation.  Target anomaly mitigation is only supported by the `weightedRandom` load balancing algorithm type.  See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#automatic-target-weights) for more information.  The value is `"on"` or `"off"`. The default is `"off"`.
	LoadBalancingAnomalyMitigation pulumi.StringOutput `pulumi:"loadBalancingAnomalyMitigation"`
	// Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"useLoadBalancerConfiguration"`. The default is `"useLoadBalancerConfiguration"`.
	LoadBalancingCrossZoneEnabled pulumi.StringOutput `pulumi:"loadBalancingCrossZoneEnabled"`
	// Name of the target group. If omitted, this provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	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.StringOutput `pulumi:"namePrefix"`
	// Port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance`, `ip` or `alb`. Does not apply when `targetType` is `lambda`.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// Whether client IP preservation is enabled. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#client-ip-preservation) for more information.
	PreserveClientIp pulumi.StringOutput `pulumi:"preserveClientIp"`
	// Protocol to use for routing traffic to the targets.
	// Should be one of `GENEVE`, `HTTP`, `HTTPS`, `TCP`, `TCP_UDP`, `TLS`, or `UDP`.
	// Required when `targetType` is `instance`, `ip`, or `alb`.
	// Does not apply when `targetType` is `lambda`.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// Only applicable when `protocol` is `HTTP` or `HTTPS`. The protocol version. Specify `GRPC` to send requests to targets using gRPC. Specify `HTTP2` to send requests to targets using HTTP/2. The default is `HTTP1`, which sends requests to targets using HTTP/1.1
	ProtocolVersion pulumi.StringOutput `pulumi:"protocolVersion"`
	// Whether to enable 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. Default is `false`.
	ProxyProtocolV2 pulumi.BoolPtrOutput `pulumi:"proxyProtocolV2"`
	// 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"`
	// Stickiness configuration block. Detailed below.
	Stickiness TargetGroupStickinessOutput `pulumi:"stickiness"`
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information.
	TargetFailovers TargetGroupTargetFailoverArrayOutput `pulumi:"targetFailovers"`
	// Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information.
	TargetHealthStates TargetGroupTargetHealthStateArrayOutput `pulumi:"targetHealthStates"`
	// Type of target that you must specify when registering targets with this target group.
	// See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) for supported values.
	// 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.
	//
	// Network Load Balancers do not support the `lambda` target type.
	//
	// Application Load Balancers do not support the `alb` target type.
	TargetType pulumi.StringPtrOutput `pulumi:"targetType"`
	// Identifier of the VPC in which to create the target group. Required when `targetType` is `instance`, `ip` or `alb`. 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/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{
			Name:     pulumi.String("tf-example-lb-tg"),
			Port:     pulumi.Int(80),
			Protocol: pulumi.String("HTTP"),
			VpcId:    main.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### IP Target Group

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/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{
			Name:       pulumi.String("tf-example-lb-tg"),
			Port:       pulumi.Int(80),
			Protocol:   pulumi.String("HTTP"),
			TargetType: pulumi.String("ip"),
			VpcId:      main.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Lambda Target Group

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` <!--End PulumiCodeChooser -->

### ALB Target Group

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewTargetGroup(ctx, "alb-example", &lb.TargetGroupArgs{
			Name:       pulumi.String("tf-example-lb-alb-tg"),
			TargetType: pulumi.String("alb"),
			Port:       pulumi.Int(80),
			Protocol:   pulumi.String("TCP"),
			VpcId:      pulumi.Any(main.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Target group with unhealthy connection termination disabled

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lb.NewTargetGroup(ctx, "tcp-example", &lb.TargetGroupArgs{
			Name:     pulumi.String("tf-example-lb-nlb-tg"),
			Port:     pulumi.Int(25),
			Protocol: pulumi.String("TCP"),
			VpcId:    pulumi.Any(main.Id),
			TargetHealthStates: lb.TargetGroupTargetHealthStateArray{
				&lb.TargetGroupTargetHealthStateArgs{
					EnableUnhealthyConnectionTermination: pulumi.Bool(false),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Target Groups using their ARN. For example:

```sh $ pulumi import aws:lb/targetGroup:TargetGroup app_front_end arn:aws:elasticloadbalancing:us-west-2:187416307283:targetgroup/app-front-end/20cfe21448b66314 ```

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.

func (*TargetGroup) ElementType

func (*TargetGroup) ElementType() reflect.Type

func (*TargetGroup) ToTargetGroupOutput

func (i *TargetGroup) ToTargetGroupOutput() TargetGroupOutput

func (*TargetGroup) ToTargetGroupOutputWithContext

func (i *TargetGroup) ToTargetGroupOutputWithContext(ctx context.Context) TargetGroupOutput

type TargetGroupArgs

type TargetGroupArgs struct {
	// Whether to terminate connections at the end of the deregistration timeout on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay) for more information. Default is `false`.
	ConnectionTermination pulumi.BoolPtrInput
	// 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
	// Health Check configuration block. Detailed below.
	HealthCheck TargetGroupHealthCheckPtrInput
	// The type of IP addresses used by the target group, only supported when target type is set to `ip`. Possible values are `ipv4` or `ipv6`.
	IpAddressType pulumi.StringPtrInput
	// 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`. Default is `false`.
	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`, `leastOutstandingRequests`, or `weightedRandom`. The default is `roundRobin`.
	LoadBalancingAlgorithmType pulumi.StringPtrInput
	// Determines whether to enable target anomaly mitigation.  Target anomaly mitigation is only supported by the `weightedRandom` load balancing algorithm type.  See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#automatic-target-weights) for more information.  The value is `"on"` or `"off"`. The default is `"off"`.
	LoadBalancingAnomalyMitigation pulumi.StringPtrInput
	// Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"useLoadBalancerConfiguration"`. The default is `"useLoadBalancerConfiguration"`.
	LoadBalancingCrossZoneEnabled pulumi.StringPtrInput
	// Name of the target group. If omitted, this provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
	NamePrefix pulumi.StringPtrInput
	// Port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance`, `ip` or `alb`. Does not apply when `targetType` is `lambda`.
	Port pulumi.IntPtrInput
	// Whether client IP preservation is enabled. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#client-ip-preservation) for more information.
	PreserveClientIp pulumi.StringPtrInput
	// Protocol to use for routing traffic to the targets.
	// Should be one of `GENEVE`, `HTTP`, `HTTPS`, `TCP`, `TCP_UDP`, `TLS`, or `UDP`.
	// Required when `targetType` is `instance`, `ip`, or `alb`.
	// Does not apply when `targetType` is `lambda`.
	Protocol pulumi.StringPtrInput
	// Only applicable when `protocol` is `HTTP` or `HTTPS`. The protocol version. Specify `GRPC` to send requests to targets using gRPC. Specify `HTTP2` to send requests to targets using HTTP/2. The default is `HTTP1`, which sends requests to targets using HTTP/1.1
	ProtocolVersion pulumi.StringPtrInput
	// Whether to enable 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. Default is `false`.
	ProxyProtocolV2 pulumi.BoolPtrInput
	// 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
	// Stickiness configuration block. Detailed below.
	Stickiness TargetGroupStickinessPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information.
	TargetFailovers TargetGroupTargetFailoverArrayInput
	// Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information.
	TargetHealthStates TargetGroupTargetHealthStateArrayInput
	// Type of target that you must specify when registering targets with this target group.
	// See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) for supported values.
	// 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.
	//
	// Network Load Balancers do not support the `lambda` target type.
	//
	// Application Load Balancers do not support the `alb` target type.
	TargetType pulumi.StringPtrInput
	// Identifier of the VPC in which to create the target group. Required when `targetType` is `instance`, `ip` or `alb`. 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 TargetGroupArray

type TargetGroupArray []TargetGroupInput

func (TargetGroupArray) ElementType

func (TargetGroupArray) ElementType() reflect.Type

func (TargetGroupArray) ToTargetGroupArrayOutput

func (i TargetGroupArray) ToTargetGroupArrayOutput() TargetGroupArrayOutput

func (TargetGroupArray) ToTargetGroupArrayOutputWithContext

func (i TargetGroupArray) ToTargetGroupArrayOutputWithContext(ctx context.Context) TargetGroupArrayOutput

type TargetGroupArrayInput

type TargetGroupArrayInput interface {
	pulumi.Input

	ToTargetGroupArrayOutput() TargetGroupArrayOutput
	ToTargetGroupArrayOutputWithContext(context.Context) TargetGroupArrayOutput
}

TargetGroupArrayInput is an input type that accepts TargetGroupArray and TargetGroupArrayOutput values. You can construct a concrete instance of `TargetGroupArrayInput` via:

TargetGroupArray{ TargetGroupArgs{...} }

type TargetGroupArrayOutput

type TargetGroupArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupArrayOutput) ElementType

func (TargetGroupArrayOutput) ElementType() reflect.Type

func (TargetGroupArrayOutput) Index

func (TargetGroupArrayOutput) ToTargetGroupArrayOutput

func (o TargetGroupArrayOutput) ToTargetGroupArrayOutput() TargetGroupArrayOutput

func (TargetGroupArrayOutput) ToTargetGroupArrayOutputWithContext

func (o TargetGroupArrayOutput) ToTargetGroupArrayOutputWithContext(ctx context.Context) TargetGroupArrayOutput

type TargetGroupAttachment

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 Lambda function ARN. If the target type is `alb`, specify the ALB ARN.
	//
	// The following arguments are optional:
	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

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

### Lambda Target

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

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.

func (*TargetGroupAttachment) ElementType

func (*TargetGroupAttachment) ElementType() reflect.Type

func (*TargetGroupAttachment) ToTargetGroupAttachmentOutput

func (i *TargetGroupAttachment) ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput

func (*TargetGroupAttachment) ToTargetGroupAttachmentOutputWithContext

func (i *TargetGroupAttachment) ToTargetGroupAttachmentOutputWithContext(ctx context.Context) TargetGroupAttachmentOutput

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 Lambda function ARN. If the target type is `alb`, specify the ALB ARN.
	//
	// The following arguments are optional:
	TargetId pulumi.StringInput
}

The set of arguments for constructing a TargetGroupAttachment resource.

func (TargetGroupAttachmentArgs) ElementType

func (TargetGroupAttachmentArgs) ElementType() reflect.Type

type TargetGroupAttachmentArray

type TargetGroupAttachmentArray []TargetGroupAttachmentInput

func (TargetGroupAttachmentArray) ElementType

func (TargetGroupAttachmentArray) ElementType() reflect.Type

func (TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutput

func (i TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput

func (TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutputWithContext

func (i TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutputWithContext(ctx context.Context) TargetGroupAttachmentArrayOutput

type TargetGroupAttachmentArrayInput

type TargetGroupAttachmentArrayInput interface {
	pulumi.Input

	ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput
	ToTargetGroupAttachmentArrayOutputWithContext(context.Context) TargetGroupAttachmentArrayOutput
}

TargetGroupAttachmentArrayInput is an input type that accepts TargetGroupAttachmentArray and TargetGroupAttachmentArrayOutput values. You can construct a concrete instance of `TargetGroupAttachmentArrayInput` via:

TargetGroupAttachmentArray{ TargetGroupAttachmentArgs{...} }

type TargetGroupAttachmentArrayOutput

type TargetGroupAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentArrayOutput) ElementType

func (TargetGroupAttachmentArrayOutput) Index

func (TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutput

func (o TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput

func (TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutputWithContext

func (o TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutputWithContext(ctx context.Context) TargetGroupAttachmentArrayOutput

type TargetGroupAttachmentInput

type TargetGroupAttachmentInput interface {
	pulumi.Input

	ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput
	ToTargetGroupAttachmentOutputWithContext(ctx context.Context) TargetGroupAttachmentOutput
}

type TargetGroupAttachmentMap

type TargetGroupAttachmentMap map[string]TargetGroupAttachmentInput

func (TargetGroupAttachmentMap) ElementType

func (TargetGroupAttachmentMap) ElementType() reflect.Type

func (TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutput

func (i TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput

func (TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutputWithContext

func (i TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutputWithContext(ctx context.Context) TargetGroupAttachmentMapOutput

type TargetGroupAttachmentMapInput

type TargetGroupAttachmentMapInput interface {
	pulumi.Input

	ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput
	ToTargetGroupAttachmentMapOutputWithContext(context.Context) TargetGroupAttachmentMapOutput
}

TargetGroupAttachmentMapInput is an input type that accepts TargetGroupAttachmentMap and TargetGroupAttachmentMapOutput values. You can construct a concrete instance of `TargetGroupAttachmentMapInput` via:

TargetGroupAttachmentMap{ "key": TargetGroupAttachmentArgs{...} }

type TargetGroupAttachmentMapOutput

type TargetGroupAttachmentMapOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentMapOutput) ElementType

func (TargetGroupAttachmentMapOutput) MapIndex

func (TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutput

func (o TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput

func (TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutputWithContext

func (o TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutputWithContext(ctx context.Context) TargetGroupAttachmentMapOutput

type TargetGroupAttachmentOutput

type TargetGroupAttachmentOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentOutput) AvailabilityZone

func (o TargetGroupAttachmentOutput) AvailabilityZone() pulumi.StringPtrOutput

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`.

func (TargetGroupAttachmentOutput) ElementType

func (TargetGroupAttachmentOutput) Port

The port on which targets receive traffic.

func (TargetGroupAttachmentOutput) TargetGroupArn

func (o TargetGroupAttachmentOutput) TargetGroupArn() pulumi.StringOutput

The ARN of the target group with which to register targets.

func (TargetGroupAttachmentOutput) TargetId

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 Lambda function ARN. If the target type is `alb`, specify the ALB ARN.

The following arguments are optional:

func (TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutput

func (o TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput

func (TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutputWithContext

func (o TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutputWithContext(ctx context.Context) TargetGroupAttachmentOutput

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 Lambda function ARN. If the target type is `alb`, specify the ALB ARN.
	//
	// The following arguments are optional:
	TargetId pulumi.StringPtrInput
}

func (TargetGroupAttachmentState) ElementType

func (TargetGroupAttachmentState) ElementType() reflect.Type

type TargetGroupHealthCheck

type TargetGroupHealthCheck struct {
	// Whether health checks are enabled. Defaults to `true`.
	Enabled *bool `pulumi:"enabled"`
	// Number of consecutive health check successes required before considering a target healthy. The range is 2-10. Defaults to 3.
	HealthyThreshold *int `pulumi:"healthyThreshold"`
	// Approximate amount of time, in seconds, between health checks of an individual target. The range is 5-300. For `lambda` target groups, it needs to be greater than the timeout of the underlying `lambda`. Defaults to 30.
	Interval *int `pulumi:"interval"`
	// The HTTP or gRPC codes to use when checking for a successful response from a target.
	// The `health_check.protocol` must be one of `HTTP` or `HTTPS` or the `targetType` must be `lambda`.
	// Values can be comma-separated individual values (e.g., "200,202") or a range of values (e.g., "200-299").
	// * For gRPC-based target groups (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is `GRPC`), values can be between `0` and `99`. The default is `12`.
	// * When used with an Application Load Balancer (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is not `GRPC`), values can be between `200` and `499`. The default is `200`.
	// * When used with a Network Load Balancer (i.e., the `protocol` is one of `TCP`, `TCP_UDP`, `UDP`, or `TLS`), values can be between `200` and `599`. The default is `200-399`.
	// * When the `targetType` is `lambda`, values can be between `200` and `499`. The default is `200`.
	Matcher *string `pulumi:"matcher"`
	// Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS.
	// * For HTTP and HTTPS health checks, the default is `/`.
	// * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`.
	Path *string `pulumi:"path"`
	// The port the load balancer uses when performing health checks on targets.
	// Valid values are either `traffic-port`, to use the same port as the target group, or a valid port number between `1` and `65536`.
	// Default is `traffic-port`.
	Port *string `pulumi:"port"`
	// Protocol the load balancer uses when performing health checks on targets.
	// Must be one of `TCP`, `HTTP`, or `HTTPS`.
	// The `TCP` protocol is not supported for health checks if the protocol of the target group is `HTTP` or `HTTPS`.
	// Default is `HTTP`.
	// Cannot be specified when the `targetType` is `lambda`.
	Protocol *string `pulumi:"protocol"`
	// Amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If the target type is lambda, the default is 30 seconds.
	Timeout *int `pulumi:"timeout"`
	// Number of consecutive health check failures required before considering a target unhealthy. The range is 2-10. Defaults to 3.
	UnhealthyThreshold *int `pulumi:"unhealthyThreshold"`
}

type TargetGroupHealthCheckArgs

type TargetGroupHealthCheckArgs struct {
	// Whether health checks are enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Number of consecutive health check successes required before considering a target healthy. The range is 2-10. Defaults to 3.
	HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"`
	// Approximate amount of time, in seconds, between health checks of an individual target. The range is 5-300. For `lambda` target groups, it needs to be greater than the timeout of the underlying `lambda`. Defaults to 30.
	Interval pulumi.IntPtrInput `pulumi:"interval"`
	// The HTTP or gRPC codes to use when checking for a successful response from a target.
	// The `health_check.protocol` must be one of `HTTP` or `HTTPS` or the `targetType` must be `lambda`.
	// Values can be comma-separated individual values (e.g., "200,202") or a range of values (e.g., "200-299").
	// * For gRPC-based target groups (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is `GRPC`), values can be between `0` and `99`. The default is `12`.
	// * When used with an Application Load Balancer (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is not `GRPC`), values can be between `200` and `499`. The default is `200`.
	// * When used with a Network Load Balancer (i.e., the `protocol` is one of `TCP`, `TCP_UDP`, `UDP`, or `TLS`), values can be between `200` and `599`. The default is `200-399`.
	// * When the `targetType` is `lambda`, values can be between `200` and `499`. The default is `200`.
	Matcher pulumi.StringPtrInput `pulumi:"matcher"`
	// Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS.
	// * For HTTP and HTTPS health checks, the default is `/`.
	// * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The port the load balancer uses when performing health checks on targets.
	// Valid values are either `traffic-port`, to use the same port as the target group, or a valid port number between `1` and `65536`.
	// Default is `traffic-port`.
	Port pulumi.StringPtrInput `pulumi:"port"`
	// Protocol the load balancer uses when performing health checks on targets.
	// Must be one of `TCP`, `HTTP`, or `HTTPS`.
	// The `TCP` protocol is not supported for health checks if the protocol of the target group is `HTTP` or `HTTPS`.
	// Default is `HTTP`.
	// Cannot be specified when the `targetType` is `lambda`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// Amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If the target type is lambda, the default is 30 seconds.
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
	// Number of consecutive health check failures required before considering a target unhealthy. The range is 2-10. 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

Whether health checks are enabled. Defaults to `true`.

func (TargetGroupHealthCheckOutput) HealthyThreshold

func (o TargetGroupHealthCheckOutput) HealthyThreshold() pulumi.IntPtrOutput

Number of consecutive health check successes required before considering a target healthy. The range is 2-10. Defaults to 3.

func (TargetGroupHealthCheckOutput) Interval

Approximate amount of time, in seconds, between health checks of an individual target. The range is 5-300. For `lambda` target groups, it needs to be greater than the timeout of the underlying `lambda`. Defaults to 30.

func (TargetGroupHealthCheckOutput) Matcher

The HTTP or gRPC codes to use when checking for a successful response from a target. The `health_check.protocol` must be one of `HTTP` or `HTTPS` or the `targetType` must be `lambda`. Values can be comma-separated individual values (e.g., "200,202") or a range of values (e.g., "200-299"). * For gRPC-based target groups (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is `GRPC`), values can be between `0` and `99`. The default is `12`. * When used with an Application Load Balancer (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is not `GRPC`), values can be between `200` and `499`. The default is `200`. * When used with a Network Load Balancer (i.e., the `protocol` is one of `TCP`, `TCP_UDP`, `UDP`, or `TLS`), values can be between `200` and `599`. The default is `200-399`. * When the `targetType` is `lambda`, values can be between `200` and `499`. The default is `200`.

func (TargetGroupHealthCheckOutput) Path

Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS. * For HTTP and HTTPS health checks, the default is `/`. * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`.

func (TargetGroupHealthCheckOutput) Port

The port the load balancer uses when performing health checks on targets. Valid values are either `traffic-port`, to use the same port as the target group, or a valid port number between `1` and `65536`. Default is `traffic-port`.

func (TargetGroupHealthCheckOutput) Protocol

Protocol the load balancer uses when performing health checks on targets. Must be one of `TCP`, `HTTP`, or `HTTPS`. The `TCP` protocol is not supported for health checks if the protocol of the target group is `HTTP` or `HTTPS`. Default is `HTTP`. Cannot be specified when the `targetType` is `lambda`.

func (TargetGroupHealthCheckOutput) Timeout

Amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If the target type is lambda, the default is 30 seconds.

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

Number of consecutive health check failures required before considering a target unhealthy. The range is 2-10. 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

Whether health checks are enabled. Defaults to `true`.

func (TargetGroupHealthCheckPtrOutput) HealthyThreshold

Number of consecutive health check successes required before considering a target healthy. The range is 2-10. Defaults to 3.

func (TargetGroupHealthCheckPtrOutput) Interval

Approximate amount of time, in seconds, between health checks of an individual target. The range is 5-300. For `lambda` target groups, it needs to be greater than the timeout of the underlying `lambda`. Defaults to 30.

func (TargetGroupHealthCheckPtrOutput) Matcher

The HTTP or gRPC codes to use when checking for a successful response from a target. The `health_check.protocol` must be one of `HTTP` or `HTTPS` or the `targetType` must be `lambda`. Values can be comma-separated individual values (e.g., "200,202") or a range of values (e.g., "200-299"). * For gRPC-based target groups (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is `GRPC`), values can be between `0` and `99`. The default is `12`. * When used with an Application Load Balancer (i.e., the `protocol` is one of `HTTP` or `HTTPS` and the `protocolVersion` is not `GRPC`), values can be between `200` and `499`. The default is `200`. * When used with a Network Load Balancer (i.e., the `protocol` is one of `TCP`, `TCP_UDP`, `UDP`, or `TLS`), values can be between `200` and `599`. The default is `200-399`. * When the `targetType` is `lambda`, values can be between `200` and `499`. The default is `200`.

func (TargetGroupHealthCheckPtrOutput) Path

Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS. * For HTTP and HTTPS health checks, the default is `/`. * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`.

func (TargetGroupHealthCheckPtrOutput) Port

The port the load balancer uses when performing health checks on targets. Valid values are either `traffic-port`, to use the same port as the target group, or a valid port number between `1` and `65536`. Default is `traffic-port`.

func (TargetGroupHealthCheckPtrOutput) Protocol

Protocol the load balancer uses when performing health checks on targets. Must be one of `TCP`, `HTTP`, or `HTTPS`. The `TCP` protocol is not supported for health checks if the protocol of the target group is `HTTP` or `HTTPS`. Default is `HTTP`. Cannot be specified when the `targetType` is `lambda`.

func (TargetGroupHealthCheckPtrOutput) Timeout

Amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If the target type is lambda, the default is 30 seconds.

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

Number of consecutive health check failures required before considering a target unhealthy. The range is 2-10. Defaults to 3.

type TargetGroupInput

type TargetGroupInput interface {
	pulumi.Input

	ToTargetGroupOutput() TargetGroupOutput
	ToTargetGroupOutputWithContext(ctx context.Context) TargetGroupOutput
}

type TargetGroupMap

type TargetGroupMap map[string]TargetGroupInput

func (TargetGroupMap) ElementType

func (TargetGroupMap) ElementType() reflect.Type

func (TargetGroupMap) ToTargetGroupMapOutput

func (i TargetGroupMap) ToTargetGroupMapOutput() TargetGroupMapOutput

func (TargetGroupMap) ToTargetGroupMapOutputWithContext

func (i TargetGroupMap) ToTargetGroupMapOutputWithContext(ctx context.Context) TargetGroupMapOutput

type TargetGroupMapInput

type TargetGroupMapInput interface {
	pulumi.Input

	ToTargetGroupMapOutput() TargetGroupMapOutput
	ToTargetGroupMapOutputWithContext(context.Context) TargetGroupMapOutput
}

TargetGroupMapInput is an input type that accepts TargetGroupMap and TargetGroupMapOutput values. You can construct a concrete instance of `TargetGroupMapInput` via:

TargetGroupMap{ "key": TargetGroupArgs{...} }

type TargetGroupMapOutput

type TargetGroupMapOutput struct{ *pulumi.OutputState }

func (TargetGroupMapOutput) ElementType

func (TargetGroupMapOutput) ElementType() reflect.Type

func (TargetGroupMapOutput) MapIndex

func (TargetGroupMapOutput) ToTargetGroupMapOutput

func (o TargetGroupMapOutput) ToTargetGroupMapOutput() TargetGroupMapOutput

func (TargetGroupMapOutput) ToTargetGroupMapOutputWithContext

func (o TargetGroupMapOutput) ToTargetGroupMapOutputWithContext(ctx context.Context) TargetGroupMapOutput

type TargetGroupOutput

type TargetGroupOutput struct{ *pulumi.OutputState }

func (TargetGroupOutput) Arn

ARN of the Target Group (matches `id`).

func (TargetGroupOutput) ArnSuffix

func (o TargetGroupOutput) ArnSuffix() pulumi.StringOutput

ARN suffix for use with CloudWatch Metrics.

func (TargetGroupOutput) ConnectionTermination

func (o TargetGroupOutput) ConnectionTermination() pulumi.BoolOutput

Whether to terminate connections at the end of the deregistration timeout on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay) for more information. Default is `false`.

func (TargetGroupOutput) DeregistrationDelay

func (o TargetGroupOutput) DeregistrationDelay() pulumi.IntPtrOutput

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.

func (TargetGroupOutput) ElementType

func (TargetGroupOutput) ElementType() reflect.Type

func (TargetGroupOutput) HealthCheck

Health Check configuration block. Detailed below.

func (TargetGroupOutput) IpAddressType

func (o TargetGroupOutput) IpAddressType() pulumi.StringOutput

The type of IP addresses used by the target group, only supported when target type is set to `ip`. Possible values are `ipv4` or `ipv6`.

func (TargetGroupOutput) LambdaMultiValueHeadersEnabled

func (o TargetGroupOutput) LambdaMultiValueHeadersEnabled() pulumi.BoolPtrOutput

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`. Default is `false`.

func (TargetGroupOutput) LoadBalancerArns added in v6.24.2

func (o TargetGroupOutput) LoadBalancerArns() pulumi.StringArrayOutput

ARNs of the Load Balancers associated with the Target Group.

func (TargetGroupOutput) LoadBalancingAlgorithmType

func (o TargetGroupOutput) LoadBalancingAlgorithmType() pulumi.StringOutput

Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin`, `leastOutstandingRequests`, or `weightedRandom`. The default is `roundRobin`.

func (TargetGroupOutput) LoadBalancingAnomalyMitigation added in v6.18.2

func (o TargetGroupOutput) LoadBalancingAnomalyMitigation() pulumi.StringOutput

Determines whether to enable target anomaly mitigation. Target anomaly mitigation is only supported by the `weightedRandom` load balancing algorithm type. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#automatic-target-weights) for more information. The value is `"on"` or `"off"`. The default is `"off"`.

func (TargetGroupOutput) LoadBalancingCrossZoneEnabled

func (o TargetGroupOutput) LoadBalancingCrossZoneEnabled() pulumi.StringOutput

Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"useLoadBalancerConfiguration"`. The default is `"useLoadBalancerConfiguration"`.

func (TargetGroupOutput) Name

Name of the target group. If omitted, this provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

func (TargetGroupOutput) NamePrefix

func (o TargetGroupOutput) NamePrefix() pulumi.StringOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.

func (TargetGroupOutput) Port

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

func (TargetGroupOutput) PreserveClientIp

func (o TargetGroupOutput) PreserveClientIp() pulumi.StringOutput

Whether client IP preservation is enabled. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#client-ip-preservation) for more information.

func (TargetGroupOutput) Protocol

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

func (TargetGroupOutput) ProtocolVersion

func (o TargetGroupOutput) ProtocolVersion() pulumi.StringOutput

Only applicable when `protocol` is `HTTP` or `HTTPS`. The protocol version. Specify `GRPC` to send requests to targets using gRPC. Specify `HTTP2` to send requests to targets using HTTP/2. The default is `HTTP1`, which sends requests to targets using HTTP/1.1

func (TargetGroupOutput) ProxyProtocolV2

func (o TargetGroupOutput) ProxyProtocolV2() pulumi.BoolPtrOutput

Whether to enable 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. Default is `false`.

func (TargetGroupOutput) SlowStart

func (o TargetGroupOutput) SlowStart() pulumi.IntPtrOutput

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.

func (TargetGroupOutput) Stickiness

Stickiness configuration block. Detailed below.

func (TargetGroupOutput) Tags

Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (TargetGroupOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (TargetGroupOutput) TargetFailovers

Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information.

func (TargetGroupOutput) TargetHealthStates added in v6.7.0

Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information.

func (TargetGroupOutput) TargetType

func (o TargetGroupOutput) TargetType() pulumi.StringPtrOutput

Type of target that you must specify when registering targets with this target group. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) for supported values. 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.

Network Load Balancers do not support the `lambda` target type.

Application Load Balancers do not support the `alb` target type.

func (TargetGroupOutput) ToTargetGroupOutput

func (o TargetGroupOutput) ToTargetGroupOutput() TargetGroupOutput

func (TargetGroupOutput) ToTargetGroupOutputWithContext

func (o TargetGroupOutput) ToTargetGroupOutputWithContext(ctx context.Context) TargetGroupOutput

func (TargetGroupOutput) VpcId

Identifier of the VPC in which to create the target group. Required when `targetType` is `instance`, `ip` or `alb`. Does not apply when `targetType` is `lambda`.

type TargetGroupState

type TargetGroupState struct {
	// ARN of the Target Group (matches `id`).
	Arn pulumi.StringPtrInput
	// ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringPtrInput
	// Whether to terminate connections at the end of the deregistration timeout on Network Load Balancers. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay) for more information. Default is `false`.
	ConnectionTermination pulumi.BoolPtrInput
	// 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
	// Health Check configuration block. Detailed below.
	HealthCheck TargetGroupHealthCheckPtrInput
	// The type of IP addresses used by the target group, only supported when target type is set to `ip`. Possible values are `ipv4` or `ipv6`.
	IpAddressType pulumi.StringPtrInput
	// 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`. Default is `false`.
	LambdaMultiValueHeadersEnabled pulumi.BoolPtrInput
	// ARNs of the Load Balancers associated with the Target Group.
	LoadBalancerArns pulumi.StringArrayInput
	// Determines how the load balancer selects targets when routing requests. Only applicable for Application Load Balancer Target Groups. The value is `roundRobin`, `leastOutstandingRequests`, or `weightedRandom`. The default is `roundRobin`.
	LoadBalancingAlgorithmType pulumi.StringPtrInput
	// Determines whether to enable target anomaly mitigation.  Target anomaly mitigation is only supported by the `weightedRandom` load balancing algorithm type.  See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#automatic-target-weights) for more information.  The value is `"on"` or `"off"`. The default is `"off"`.
	LoadBalancingAnomalyMitigation pulumi.StringPtrInput
	// Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"useLoadBalancerConfiguration"`. The default is `"useLoadBalancerConfiguration"`.
	LoadBalancingCrossZoneEnabled pulumi.StringPtrInput
	// Name of the target group. If omitted, this provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
	NamePrefix pulumi.StringPtrInput
	// Port on which targets receive traffic, unless overridden when registering a specific target. Required when `targetType` is `instance`, `ip` or `alb`. Does not apply when `targetType` is `lambda`.
	Port pulumi.IntPtrInput
	// Whether client IP preservation is enabled. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#client-ip-preservation) for more information.
	PreserveClientIp pulumi.StringPtrInput
	// Protocol to use for routing traffic to the targets.
	// Should be one of `GENEVE`, `HTTP`, `HTTPS`, `TCP`, `TCP_UDP`, `TLS`, or `UDP`.
	// Required when `targetType` is `instance`, `ip`, or `alb`.
	// Does not apply when `targetType` is `lambda`.
	Protocol pulumi.StringPtrInput
	// Only applicable when `protocol` is `HTTP` or `HTTPS`. The protocol version. Specify `GRPC` to send requests to targets using gRPC. Specify `HTTP2` to send requests to targets using HTTP/2. The default is `HTTP1`, which sends requests to targets using HTTP/1.1
	ProtocolVersion pulumi.StringPtrInput
	// Whether to enable 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. Default is `false`.
	ProxyProtocolV2 pulumi.BoolPtrInput
	// 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
	// Stickiness configuration block. Detailed below.
	Stickiness TargetGroupStickinessPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information.
	TargetFailovers TargetGroupTargetFailoverArrayInput
	// Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information.
	TargetHealthStates TargetGroupTargetHealthStateArrayInput
	// Type of target that you must specify when registering targets with this target group.
	// See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) for supported values.
	// 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.
	//
	// Network Load Balancers do not support the `lambda` target type.
	//
	// Application Load Balancers do not support the `alb` target type.
	TargetType pulumi.StringPtrInput
	// Identifier of the VPC in which to create the target group. Required when `targetType` is `instance`, `ip` or `alb`. Does not apply when `targetType` is `lambda`.
	VpcId pulumi.StringPtrInput
}

func (TargetGroupState) ElementType

func (TargetGroupState) ElementType() reflect.Type

type TargetGroupStickiness

type TargetGroupStickiness struct {
	// Only used when the type is `lbCookie`. 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"`
	// Name of the application based cookie. AWSALB, AWSALBAPP, and AWSALBTG prefixes are reserved and cannot be used. Only needed when type is `appCookie`.
	CookieName *string `pulumi:"cookieName"`
	// Boolean to enable / disable `stickiness`. Default is `true`.
	Enabled *bool `pulumi:"enabled"`
	// The type of sticky sessions. The only current possible values are `lbCookie`, `appCookie` for ALBs, `sourceIp` for NLBs, and `sourceIpDestIp`, `sourceIpDestIpProto` for GWLBs.
	Type string `pulumi:"type"`
}

type TargetGroupStickinessArgs

type TargetGroupStickinessArgs struct {
	// Only used when the type is `lbCookie`. 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"`
	// Name of the application based cookie. AWSALB, AWSALBAPP, and AWSALBTG prefixes are reserved and cannot be used. Only needed when type is `appCookie`.
	CookieName pulumi.StringPtrInput `pulumi:"cookieName"`
	// Boolean to enable / disable `stickiness`. Default is `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The type of sticky sessions. The only current possible values are `lbCookie`, `appCookie` for ALBs, `sourceIp` for NLBs, and `sourceIpDestIp`, `sourceIpDestIpProto` for GWLBs.
	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

Only used when the type is `lbCookie`. 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) CookieName

Name of the application based cookie. AWSALB, AWSALBAPP, and AWSALBTG prefixes are reserved and cannot be used. Only needed when type is `appCookie`.

func (TargetGroupStickinessOutput) ElementType

func (TargetGroupStickinessOutput) Enabled

Boolean to enable / disable `stickiness`. Default is `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 values are `lbCookie`, `appCookie` for ALBs, `sourceIp` for NLBs, and `sourceIpDestIp`, `sourceIpDestIpProto` for GWLBs.

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

Only used when the type is `lbCookie`. 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) CookieName

Name of the application based cookie. AWSALB, AWSALBAPP, and AWSALBTG prefixes are reserved and cannot be used. Only needed when type is `appCookie`.

func (TargetGroupStickinessPtrOutput) Elem

func (TargetGroupStickinessPtrOutput) ElementType

func (TargetGroupStickinessPtrOutput) Enabled

Boolean to enable / disable `stickiness`. Default is `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 values are `lbCookie`, `appCookie` for ALBs, `sourceIp` for NLBs, and `sourceIpDestIp`, `sourceIpDestIpProto` for GWLBs.

type TargetGroupTargetFailover

type TargetGroupTargetFailover struct {
	// Indicates how the GWLB handles existing flows when a target is deregistered. Possible values are `rebalance` and `noRebalance`. Must match the attribute value set for `onUnhealthy`. Default: `noRebalance`.
	OnDeregistration string `pulumi:"onDeregistration"`
	// Indicates how the GWLB handles existing flows when a target is unhealthy. Possible values are `rebalance` and `noRebalance`. Must match the attribute value set for `onDeregistration`. Default: `noRebalance`.
	OnUnhealthy string `pulumi:"onUnhealthy"`
}

type TargetGroupTargetFailoverArgs

type TargetGroupTargetFailoverArgs struct {
	// Indicates how the GWLB handles existing flows when a target is deregistered. Possible values are `rebalance` and `noRebalance`. Must match the attribute value set for `onUnhealthy`. Default: `noRebalance`.
	OnDeregistration pulumi.StringInput `pulumi:"onDeregistration"`
	// Indicates how the GWLB handles existing flows when a target is unhealthy. Possible values are `rebalance` and `noRebalance`. Must match the attribute value set for `onDeregistration`. Default: `noRebalance`.
	OnUnhealthy pulumi.StringInput `pulumi:"onUnhealthy"`
}

func (TargetGroupTargetFailoverArgs) ElementType

func (TargetGroupTargetFailoverArgs) ToTargetGroupTargetFailoverOutput

func (i TargetGroupTargetFailoverArgs) ToTargetGroupTargetFailoverOutput() TargetGroupTargetFailoverOutput

func (TargetGroupTargetFailoverArgs) ToTargetGroupTargetFailoverOutputWithContext

func (i TargetGroupTargetFailoverArgs) ToTargetGroupTargetFailoverOutputWithContext(ctx context.Context) TargetGroupTargetFailoverOutput

type TargetGroupTargetFailoverArray

type TargetGroupTargetFailoverArray []TargetGroupTargetFailoverInput

func (TargetGroupTargetFailoverArray) ElementType

func (TargetGroupTargetFailoverArray) ToTargetGroupTargetFailoverArrayOutput

func (i TargetGroupTargetFailoverArray) ToTargetGroupTargetFailoverArrayOutput() TargetGroupTargetFailoverArrayOutput

func (TargetGroupTargetFailoverArray) ToTargetGroupTargetFailoverArrayOutputWithContext

func (i TargetGroupTargetFailoverArray) ToTargetGroupTargetFailoverArrayOutputWithContext(ctx context.Context) TargetGroupTargetFailoverArrayOutput

type TargetGroupTargetFailoverArrayInput

type TargetGroupTargetFailoverArrayInput interface {
	pulumi.Input

	ToTargetGroupTargetFailoverArrayOutput() TargetGroupTargetFailoverArrayOutput
	ToTargetGroupTargetFailoverArrayOutputWithContext(context.Context) TargetGroupTargetFailoverArrayOutput
}

TargetGroupTargetFailoverArrayInput is an input type that accepts TargetGroupTargetFailoverArray and TargetGroupTargetFailoverArrayOutput values. You can construct a concrete instance of `TargetGroupTargetFailoverArrayInput` via:

TargetGroupTargetFailoverArray{ TargetGroupTargetFailoverArgs{...} }

type TargetGroupTargetFailoverArrayOutput

type TargetGroupTargetFailoverArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupTargetFailoverArrayOutput) ElementType

func (TargetGroupTargetFailoverArrayOutput) Index

func (TargetGroupTargetFailoverArrayOutput) ToTargetGroupTargetFailoverArrayOutput

func (o TargetGroupTargetFailoverArrayOutput) ToTargetGroupTargetFailoverArrayOutput() TargetGroupTargetFailoverArrayOutput

func (TargetGroupTargetFailoverArrayOutput) ToTargetGroupTargetFailoverArrayOutputWithContext

func (o TargetGroupTargetFailoverArrayOutput) ToTargetGroupTargetFailoverArrayOutputWithContext(ctx context.Context) TargetGroupTargetFailoverArrayOutput

type TargetGroupTargetFailoverInput

type TargetGroupTargetFailoverInput interface {
	pulumi.Input

	ToTargetGroupTargetFailoverOutput() TargetGroupTargetFailoverOutput
	ToTargetGroupTargetFailoverOutputWithContext(context.Context) TargetGroupTargetFailoverOutput
}

TargetGroupTargetFailoverInput is an input type that accepts TargetGroupTargetFailoverArgs and TargetGroupTargetFailoverOutput values. You can construct a concrete instance of `TargetGroupTargetFailoverInput` via:

TargetGroupTargetFailoverArgs{...}

type TargetGroupTargetFailoverOutput

type TargetGroupTargetFailoverOutput struct{ *pulumi.OutputState }

func (TargetGroupTargetFailoverOutput) ElementType

func (TargetGroupTargetFailoverOutput) OnDeregistration

Indicates how the GWLB handles existing flows when a target is deregistered. Possible values are `rebalance` and `noRebalance`. Must match the attribute value set for `onUnhealthy`. Default: `noRebalance`.

func (TargetGroupTargetFailoverOutput) OnUnhealthy

Indicates how the GWLB handles existing flows when a target is unhealthy. Possible values are `rebalance` and `noRebalance`. Must match the attribute value set for `onDeregistration`. Default: `noRebalance`.

func (TargetGroupTargetFailoverOutput) ToTargetGroupTargetFailoverOutput

func (o TargetGroupTargetFailoverOutput) ToTargetGroupTargetFailoverOutput() TargetGroupTargetFailoverOutput

func (TargetGroupTargetFailoverOutput) ToTargetGroupTargetFailoverOutputWithContext

func (o TargetGroupTargetFailoverOutput) ToTargetGroupTargetFailoverOutputWithContext(ctx context.Context) TargetGroupTargetFailoverOutput

type TargetGroupTargetHealthState added in v6.7.0

type TargetGroupTargetHealthState struct {
	// Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`.
	EnableUnhealthyConnectionTermination bool `pulumi:"enableUnhealthyConnectionTermination"`
}

type TargetGroupTargetHealthStateArgs added in v6.7.0

type TargetGroupTargetHealthStateArgs struct {
	// Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`.
	EnableUnhealthyConnectionTermination pulumi.BoolInput `pulumi:"enableUnhealthyConnectionTermination"`
}

func (TargetGroupTargetHealthStateArgs) ElementType added in v6.7.0

func (TargetGroupTargetHealthStateArgs) ToTargetGroupTargetHealthStateOutput added in v6.7.0

func (i TargetGroupTargetHealthStateArgs) ToTargetGroupTargetHealthStateOutput() TargetGroupTargetHealthStateOutput

func (TargetGroupTargetHealthStateArgs) ToTargetGroupTargetHealthStateOutputWithContext added in v6.7.0

func (i TargetGroupTargetHealthStateArgs) ToTargetGroupTargetHealthStateOutputWithContext(ctx context.Context) TargetGroupTargetHealthStateOutput

type TargetGroupTargetHealthStateArray added in v6.7.0

type TargetGroupTargetHealthStateArray []TargetGroupTargetHealthStateInput

func (TargetGroupTargetHealthStateArray) ElementType added in v6.7.0

func (TargetGroupTargetHealthStateArray) ToTargetGroupTargetHealthStateArrayOutput added in v6.7.0

func (i TargetGroupTargetHealthStateArray) ToTargetGroupTargetHealthStateArrayOutput() TargetGroupTargetHealthStateArrayOutput

func (TargetGroupTargetHealthStateArray) ToTargetGroupTargetHealthStateArrayOutputWithContext added in v6.7.0

func (i TargetGroupTargetHealthStateArray) ToTargetGroupTargetHealthStateArrayOutputWithContext(ctx context.Context) TargetGroupTargetHealthStateArrayOutput

type TargetGroupTargetHealthStateArrayInput added in v6.7.0

type TargetGroupTargetHealthStateArrayInput interface {
	pulumi.Input

	ToTargetGroupTargetHealthStateArrayOutput() TargetGroupTargetHealthStateArrayOutput
	ToTargetGroupTargetHealthStateArrayOutputWithContext(context.Context) TargetGroupTargetHealthStateArrayOutput
}

TargetGroupTargetHealthStateArrayInput is an input type that accepts TargetGroupTargetHealthStateArray and TargetGroupTargetHealthStateArrayOutput values. You can construct a concrete instance of `TargetGroupTargetHealthStateArrayInput` via:

TargetGroupTargetHealthStateArray{ TargetGroupTargetHealthStateArgs{...} }

type TargetGroupTargetHealthStateArrayOutput added in v6.7.0

type TargetGroupTargetHealthStateArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupTargetHealthStateArrayOutput) ElementType added in v6.7.0

func (TargetGroupTargetHealthStateArrayOutput) Index added in v6.7.0

func (TargetGroupTargetHealthStateArrayOutput) ToTargetGroupTargetHealthStateArrayOutput added in v6.7.0

func (o TargetGroupTargetHealthStateArrayOutput) ToTargetGroupTargetHealthStateArrayOutput() TargetGroupTargetHealthStateArrayOutput

func (TargetGroupTargetHealthStateArrayOutput) ToTargetGroupTargetHealthStateArrayOutputWithContext added in v6.7.0

func (o TargetGroupTargetHealthStateArrayOutput) ToTargetGroupTargetHealthStateArrayOutputWithContext(ctx context.Context) TargetGroupTargetHealthStateArrayOutput

type TargetGroupTargetHealthStateInput added in v6.7.0

type TargetGroupTargetHealthStateInput interface {
	pulumi.Input

	ToTargetGroupTargetHealthStateOutput() TargetGroupTargetHealthStateOutput
	ToTargetGroupTargetHealthStateOutputWithContext(context.Context) TargetGroupTargetHealthStateOutput
}

TargetGroupTargetHealthStateInput is an input type that accepts TargetGroupTargetHealthStateArgs and TargetGroupTargetHealthStateOutput values. You can construct a concrete instance of `TargetGroupTargetHealthStateInput` via:

TargetGroupTargetHealthStateArgs{...}

type TargetGroupTargetHealthStateOutput added in v6.7.0

type TargetGroupTargetHealthStateOutput struct{ *pulumi.OutputState }

func (TargetGroupTargetHealthStateOutput) ElementType added in v6.7.0

func (TargetGroupTargetHealthStateOutput) EnableUnhealthyConnectionTermination added in v6.7.0

func (o TargetGroupTargetHealthStateOutput) EnableUnhealthyConnectionTermination() pulumi.BoolOutput

Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`.

func (TargetGroupTargetHealthStateOutput) ToTargetGroupTargetHealthStateOutput added in v6.7.0

func (o TargetGroupTargetHealthStateOutput) ToTargetGroupTargetHealthStateOutput() TargetGroupTargetHealthStateOutput

func (TargetGroupTargetHealthStateOutput) ToTargetGroupTargetHealthStateOutputWithContext added in v6.7.0

func (o TargetGroupTargetHealthStateOutput) ToTargetGroupTargetHealthStateOutputWithContext(ctx context.Context) TargetGroupTargetHealthStateOutput

type TrustStore added in v6.14.0

type TrustStore struct {
	pulumi.CustomResourceState

	// ARN of the Trust Store (matches `id`).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringOutput `pulumi:"arnSuffix"`
	// S3 Bucket name holding the client certificate CA bundle.
	CaCertificatesBundleS3Bucket pulumi.StringOutput `pulumi:"caCertificatesBundleS3Bucket"`
	// S3 object key holding the client certificate CA bundle.
	CaCertificatesBundleS3Key pulumi.StringOutput `pulumi:"caCertificatesBundleS3Key"`
	// Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.
	CaCertificatesBundleS3ObjectVersion pulumi.StringPtrOutput `pulumi:"caCertificatesBundleS3ObjectVersion"`
	// Name of the Trust Store. If omitted, the provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	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.StringOutput `pulumi:"namePrefix"`
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a ELBv2 Trust Store for use with Application Load Balancer Listener resources.

## Example Usage

## Import

Using `pulumi import`, import Target Groups using their ARN. For example:

```sh $ pulumi import aws:lb/trustStore:TrustStore example arn:aws:elasticloadbalancing:us-west-2:187416307283:truststore/my-trust-store/20cfe21448b66314 ```

func GetTrustStore added in v6.14.0

func GetTrustStore(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TrustStoreState, opts ...pulumi.ResourceOption) (*TrustStore, error)

GetTrustStore gets an existing TrustStore 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 NewTrustStore added in v6.14.0

func NewTrustStore(ctx *pulumi.Context,
	name string, args *TrustStoreArgs, opts ...pulumi.ResourceOption) (*TrustStore, error)

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

func (*TrustStore) ElementType added in v6.14.0

func (*TrustStore) ElementType() reflect.Type

func (*TrustStore) ToTrustStoreOutput added in v6.14.0

func (i *TrustStore) ToTrustStoreOutput() TrustStoreOutput

func (*TrustStore) ToTrustStoreOutputWithContext added in v6.14.0

func (i *TrustStore) ToTrustStoreOutputWithContext(ctx context.Context) TrustStoreOutput

type TrustStoreArgs added in v6.14.0

type TrustStoreArgs struct {
	// S3 Bucket name holding the client certificate CA bundle.
	CaCertificatesBundleS3Bucket pulumi.StringInput
	// S3 object key holding the client certificate CA bundle.
	CaCertificatesBundleS3Key pulumi.StringInput
	// Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.
	CaCertificatesBundleS3ObjectVersion pulumi.StringPtrInput
	// Name of the Trust Store. If omitted, the provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
	NamePrefix pulumi.StringPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a TrustStore resource.

func (TrustStoreArgs) ElementType added in v6.14.0

func (TrustStoreArgs) ElementType() reflect.Type

type TrustStoreArray added in v6.14.0

type TrustStoreArray []TrustStoreInput

func (TrustStoreArray) ElementType added in v6.14.0

func (TrustStoreArray) ElementType() reflect.Type

func (TrustStoreArray) ToTrustStoreArrayOutput added in v6.14.0

func (i TrustStoreArray) ToTrustStoreArrayOutput() TrustStoreArrayOutput

func (TrustStoreArray) ToTrustStoreArrayOutputWithContext added in v6.14.0

func (i TrustStoreArray) ToTrustStoreArrayOutputWithContext(ctx context.Context) TrustStoreArrayOutput

type TrustStoreArrayInput added in v6.14.0

type TrustStoreArrayInput interface {
	pulumi.Input

	ToTrustStoreArrayOutput() TrustStoreArrayOutput
	ToTrustStoreArrayOutputWithContext(context.Context) TrustStoreArrayOutput
}

TrustStoreArrayInput is an input type that accepts TrustStoreArray and TrustStoreArrayOutput values. You can construct a concrete instance of `TrustStoreArrayInput` via:

TrustStoreArray{ TrustStoreArgs{...} }

type TrustStoreArrayOutput added in v6.14.0

type TrustStoreArrayOutput struct{ *pulumi.OutputState }

func (TrustStoreArrayOutput) ElementType added in v6.14.0

func (TrustStoreArrayOutput) ElementType() reflect.Type

func (TrustStoreArrayOutput) Index added in v6.14.0

func (TrustStoreArrayOutput) ToTrustStoreArrayOutput added in v6.14.0

func (o TrustStoreArrayOutput) ToTrustStoreArrayOutput() TrustStoreArrayOutput

func (TrustStoreArrayOutput) ToTrustStoreArrayOutputWithContext added in v6.14.0

func (o TrustStoreArrayOutput) ToTrustStoreArrayOutputWithContext(ctx context.Context) TrustStoreArrayOutput

type TrustStoreInput added in v6.14.0

type TrustStoreInput interface {
	pulumi.Input

	ToTrustStoreOutput() TrustStoreOutput
	ToTrustStoreOutputWithContext(ctx context.Context) TrustStoreOutput
}

type TrustStoreMap added in v6.14.0

type TrustStoreMap map[string]TrustStoreInput

func (TrustStoreMap) ElementType added in v6.14.0

func (TrustStoreMap) ElementType() reflect.Type

func (TrustStoreMap) ToTrustStoreMapOutput added in v6.14.0

func (i TrustStoreMap) ToTrustStoreMapOutput() TrustStoreMapOutput

func (TrustStoreMap) ToTrustStoreMapOutputWithContext added in v6.14.0

func (i TrustStoreMap) ToTrustStoreMapOutputWithContext(ctx context.Context) TrustStoreMapOutput

type TrustStoreMapInput added in v6.14.0

type TrustStoreMapInput interface {
	pulumi.Input

	ToTrustStoreMapOutput() TrustStoreMapOutput
	ToTrustStoreMapOutputWithContext(context.Context) TrustStoreMapOutput
}

TrustStoreMapInput is an input type that accepts TrustStoreMap and TrustStoreMapOutput values. You can construct a concrete instance of `TrustStoreMapInput` via:

TrustStoreMap{ "key": TrustStoreArgs{...} }

type TrustStoreMapOutput added in v6.14.0

type TrustStoreMapOutput struct{ *pulumi.OutputState }

func (TrustStoreMapOutput) ElementType added in v6.14.0

func (TrustStoreMapOutput) ElementType() reflect.Type

func (TrustStoreMapOutput) MapIndex added in v6.14.0

func (TrustStoreMapOutput) ToTrustStoreMapOutput added in v6.14.0

func (o TrustStoreMapOutput) ToTrustStoreMapOutput() TrustStoreMapOutput

func (TrustStoreMapOutput) ToTrustStoreMapOutputWithContext added in v6.14.0

func (o TrustStoreMapOutput) ToTrustStoreMapOutputWithContext(ctx context.Context) TrustStoreMapOutput

type TrustStoreOutput added in v6.14.0

type TrustStoreOutput struct{ *pulumi.OutputState }

func (TrustStoreOutput) Arn added in v6.14.0

ARN of the Trust Store (matches `id`).

func (TrustStoreOutput) ArnSuffix added in v6.14.0

func (o TrustStoreOutput) ArnSuffix() pulumi.StringOutput

ARN suffix for use with CloudWatch Metrics.

func (TrustStoreOutput) CaCertificatesBundleS3Bucket added in v6.14.0

func (o TrustStoreOutput) CaCertificatesBundleS3Bucket() pulumi.StringOutput

S3 Bucket name holding the client certificate CA bundle.

func (TrustStoreOutput) CaCertificatesBundleS3Key added in v6.14.0

func (o TrustStoreOutput) CaCertificatesBundleS3Key() pulumi.StringOutput

S3 object key holding the client certificate CA bundle.

func (TrustStoreOutput) CaCertificatesBundleS3ObjectVersion added in v6.14.0

func (o TrustStoreOutput) CaCertificatesBundleS3ObjectVersion() pulumi.StringPtrOutput

Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.

func (TrustStoreOutput) ElementType added in v6.14.0

func (TrustStoreOutput) ElementType() reflect.Type

func (TrustStoreOutput) Name added in v6.14.0

Name of the Trust Store. If omitted, the provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

func (TrustStoreOutput) NamePrefix added in v6.14.0

func (o TrustStoreOutput) NamePrefix() pulumi.StringOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.

func (TrustStoreOutput) Tags added in v6.14.0

Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (TrustStoreOutput) TagsAll deprecated added in v6.14.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (TrustStoreOutput) ToTrustStoreOutput added in v6.14.0

func (o TrustStoreOutput) ToTrustStoreOutput() TrustStoreOutput

func (TrustStoreOutput) ToTrustStoreOutputWithContext added in v6.14.0

func (o TrustStoreOutput) ToTrustStoreOutputWithContext(ctx context.Context) TrustStoreOutput

type TrustStoreRevocation added in v6.14.0

type TrustStoreRevocation struct {
	pulumi.CustomResourceState

	// AWS assigned RevocationId, (number).
	RevocationId pulumi.IntOutput `pulumi:"revocationId"`
	// S3 Bucket name holding the client certificate CA bundle.
	RevocationsS3Bucket pulumi.StringOutput `pulumi:"revocationsS3Bucket"`
	// S3 object key holding the client certificate CA bundle.
	RevocationsS3Key pulumi.StringOutput `pulumi:"revocationsS3Key"`
	// Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.
	RevocationsS3ObjectVersion pulumi.StringPtrOutput `pulumi:"revocationsS3ObjectVersion"`
	// Trust Store ARN.
	TrustStoreArn pulumi.StringOutput `pulumi:"trustStoreArn"`
}

Provides a ELBv2 Trust Store Revocation for use with Application Load Balancer Listener resources.

## Example Usage

### Trust Store With Revocations

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := lb.NewTrustStore(ctx, "test", &lb.TrustStoreArgs{
			Name:                         pulumi.String("tf-example-lb-ts"),
			CaCertificatesBundleS3Bucket: pulumi.String("..."),
			CaCertificatesBundleS3Key:    pulumi.String("..."),
		})
		if err != nil {
			return err
		}
		_, err = lb.NewTrustStoreRevocation(ctx, "test", &lb.TrustStoreRevocationArgs{
			TrustStoreArn:       test.Arn,
			RevocationsS3Bucket: pulumi.String("..."),
			RevocationsS3Key:    pulumi.String("..."),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Trust Store Revocations using their ARN. For example:

```sh $ pulumi import aws:lb/trustStoreRevocation:TrustStoreRevocation example arn:aws:elasticloadbalancing:us-west-2:187416307283:truststore/my-trust-store/20cfe21448b66314,6 ```

func GetTrustStoreRevocation added in v6.14.0

func GetTrustStoreRevocation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TrustStoreRevocationState, opts ...pulumi.ResourceOption) (*TrustStoreRevocation, error)

GetTrustStoreRevocation gets an existing TrustStoreRevocation 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 NewTrustStoreRevocation added in v6.14.0

func NewTrustStoreRevocation(ctx *pulumi.Context,
	name string, args *TrustStoreRevocationArgs, opts ...pulumi.ResourceOption) (*TrustStoreRevocation, error)

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

func (*TrustStoreRevocation) ElementType added in v6.14.0

func (*TrustStoreRevocation) ElementType() reflect.Type

func (*TrustStoreRevocation) ToTrustStoreRevocationOutput added in v6.14.0

func (i *TrustStoreRevocation) ToTrustStoreRevocationOutput() TrustStoreRevocationOutput

func (*TrustStoreRevocation) ToTrustStoreRevocationOutputWithContext added in v6.14.0

func (i *TrustStoreRevocation) ToTrustStoreRevocationOutputWithContext(ctx context.Context) TrustStoreRevocationOutput

type TrustStoreRevocationArgs added in v6.14.0

type TrustStoreRevocationArgs struct {
	// S3 Bucket name holding the client certificate CA bundle.
	RevocationsS3Bucket pulumi.StringInput
	// S3 object key holding the client certificate CA bundle.
	RevocationsS3Key pulumi.StringInput
	// Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.
	RevocationsS3ObjectVersion pulumi.StringPtrInput
	// Trust Store ARN.
	TrustStoreArn pulumi.StringInput
}

The set of arguments for constructing a TrustStoreRevocation resource.

func (TrustStoreRevocationArgs) ElementType added in v6.14.0

func (TrustStoreRevocationArgs) ElementType() reflect.Type

type TrustStoreRevocationArray added in v6.14.0

type TrustStoreRevocationArray []TrustStoreRevocationInput

func (TrustStoreRevocationArray) ElementType added in v6.14.0

func (TrustStoreRevocationArray) ElementType() reflect.Type

func (TrustStoreRevocationArray) ToTrustStoreRevocationArrayOutput added in v6.14.0

func (i TrustStoreRevocationArray) ToTrustStoreRevocationArrayOutput() TrustStoreRevocationArrayOutput

func (TrustStoreRevocationArray) ToTrustStoreRevocationArrayOutputWithContext added in v6.14.0

func (i TrustStoreRevocationArray) ToTrustStoreRevocationArrayOutputWithContext(ctx context.Context) TrustStoreRevocationArrayOutput

type TrustStoreRevocationArrayInput added in v6.14.0

type TrustStoreRevocationArrayInput interface {
	pulumi.Input

	ToTrustStoreRevocationArrayOutput() TrustStoreRevocationArrayOutput
	ToTrustStoreRevocationArrayOutputWithContext(context.Context) TrustStoreRevocationArrayOutput
}

TrustStoreRevocationArrayInput is an input type that accepts TrustStoreRevocationArray and TrustStoreRevocationArrayOutput values. You can construct a concrete instance of `TrustStoreRevocationArrayInput` via:

TrustStoreRevocationArray{ TrustStoreRevocationArgs{...} }

type TrustStoreRevocationArrayOutput added in v6.14.0

type TrustStoreRevocationArrayOutput struct{ *pulumi.OutputState }

func (TrustStoreRevocationArrayOutput) ElementType added in v6.14.0

func (TrustStoreRevocationArrayOutput) Index added in v6.14.0

func (TrustStoreRevocationArrayOutput) ToTrustStoreRevocationArrayOutput added in v6.14.0

func (o TrustStoreRevocationArrayOutput) ToTrustStoreRevocationArrayOutput() TrustStoreRevocationArrayOutput

func (TrustStoreRevocationArrayOutput) ToTrustStoreRevocationArrayOutputWithContext added in v6.14.0

func (o TrustStoreRevocationArrayOutput) ToTrustStoreRevocationArrayOutputWithContext(ctx context.Context) TrustStoreRevocationArrayOutput

type TrustStoreRevocationInput added in v6.14.0

type TrustStoreRevocationInput interface {
	pulumi.Input

	ToTrustStoreRevocationOutput() TrustStoreRevocationOutput
	ToTrustStoreRevocationOutputWithContext(ctx context.Context) TrustStoreRevocationOutput
}

type TrustStoreRevocationMap added in v6.14.0

type TrustStoreRevocationMap map[string]TrustStoreRevocationInput

func (TrustStoreRevocationMap) ElementType added in v6.14.0

func (TrustStoreRevocationMap) ElementType() reflect.Type

func (TrustStoreRevocationMap) ToTrustStoreRevocationMapOutput added in v6.14.0

func (i TrustStoreRevocationMap) ToTrustStoreRevocationMapOutput() TrustStoreRevocationMapOutput

func (TrustStoreRevocationMap) ToTrustStoreRevocationMapOutputWithContext added in v6.14.0

func (i TrustStoreRevocationMap) ToTrustStoreRevocationMapOutputWithContext(ctx context.Context) TrustStoreRevocationMapOutput

type TrustStoreRevocationMapInput added in v6.14.0

type TrustStoreRevocationMapInput interface {
	pulumi.Input

	ToTrustStoreRevocationMapOutput() TrustStoreRevocationMapOutput
	ToTrustStoreRevocationMapOutputWithContext(context.Context) TrustStoreRevocationMapOutput
}

TrustStoreRevocationMapInput is an input type that accepts TrustStoreRevocationMap and TrustStoreRevocationMapOutput values. You can construct a concrete instance of `TrustStoreRevocationMapInput` via:

TrustStoreRevocationMap{ "key": TrustStoreRevocationArgs{...} }

type TrustStoreRevocationMapOutput added in v6.14.0

type TrustStoreRevocationMapOutput struct{ *pulumi.OutputState }

func (TrustStoreRevocationMapOutput) ElementType added in v6.14.0

func (TrustStoreRevocationMapOutput) MapIndex added in v6.14.0

func (TrustStoreRevocationMapOutput) ToTrustStoreRevocationMapOutput added in v6.14.0

func (o TrustStoreRevocationMapOutput) ToTrustStoreRevocationMapOutput() TrustStoreRevocationMapOutput

func (TrustStoreRevocationMapOutput) ToTrustStoreRevocationMapOutputWithContext added in v6.14.0

func (o TrustStoreRevocationMapOutput) ToTrustStoreRevocationMapOutputWithContext(ctx context.Context) TrustStoreRevocationMapOutput

type TrustStoreRevocationOutput added in v6.14.0

type TrustStoreRevocationOutput struct{ *pulumi.OutputState }

func (TrustStoreRevocationOutput) ElementType added in v6.14.0

func (TrustStoreRevocationOutput) ElementType() reflect.Type

func (TrustStoreRevocationOutput) RevocationId added in v6.14.0

func (o TrustStoreRevocationOutput) RevocationId() pulumi.IntOutput

AWS assigned RevocationId, (number).

func (TrustStoreRevocationOutput) RevocationsS3Bucket added in v6.14.0

func (o TrustStoreRevocationOutput) RevocationsS3Bucket() pulumi.StringOutput

S3 Bucket name holding the client certificate CA bundle.

func (TrustStoreRevocationOutput) RevocationsS3Key added in v6.14.0

func (o TrustStoreRevocationOutput) RevocationsS3Key() pulumi.StringOutput

S3 object key holding the client certificate CA bundle.

func (TrustStoreRevocationOutput) RevocationsS3ObjectVersion added in v6.14.0

func (o TrustStoreRevocationOutput) RevocationsS3ObjectVersion() pulumi.StringPtrOutput

Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.

func (TrustStoreRevocationOutput) ToTrustStoreRevocationOutput added in v6.14.0

func (o TrustStoreRevocationOutput) ToTrustStoreRevocationOutput() TrustStoreRevocationOutput

func (TrustStoreRevocationOutput) ToTrustStoreRevocationOutputWithContext added in v6.14.0

func (o TrustStoreRevocationOutput) ToTrustStoreRevocationOutputWithContext(ctx context.Context) TrustStoreRevocationOutput

func (TrustStoreRevocationOutput) TrustStoreArn added in v6.14.0

Trust Store ARN.

type TrustStoreRevocationState added in v6.14.0

type TrustStoreRevocationState struct {
	// AWS assigned RevocationId, (number).
	RevocationId pulumi.IntPtrInput
	// S3 Bucket name holding the client certificate CA bundle.
	RevocationsS3Bucket pulumi.StringPtrInput
	// S3 object key holding the client certificate CA bundle.
	RevocationsS3Key pulumi.StringPtrInput
	// Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.
	RevocationsS3ObjectVersion pulumi.StringPtrInput
	// Trust Store ARN.
	TrustStoreArn pulumi.StringPtrInput
}

func (TrustStoreRevocationState) ElementType added in v6.14.0

func (TrustStoreRevocationState) ElementType() reflect.Type

type TrustStoreState added in v6.14.0

type TrustStoreState struct {
	// ARN of the Trust Store (matches `id`).
	Arn pulumi.StringPtrInput
	// ARN suffix for use with CloudWatch Metrics.
	ArnSuffix pulumi.StringPtrInput
	// S3 Bucket name holding the client certificate CA bundle.
	CaCertificatesBundleS3Bucket pulumi.StringPtrInput
	// S3 object key holding the client certificate CA bundle.
	CaCertificatesBundleS3Key pulumi.StringPtrInput
	// Version Id of CA bundle S3 bucket object, if versioned, defaults to latest if omitted.
	CaCertificatesBundleS3ObjectVersion pulumi.StringPtrInput
	// Name of the Trust Store. If omitted, the provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. Cannot be longer than 6 characters.
	NamePrefix pulumi.StringPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (TrustStoreState) ElementType added in v6.14.0

func (TrustStoreState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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