elb

package
v6.0.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppCookieStickinessPolicy

type AppCookieStickinessPolicy struct {
	pulumi.CustomResourceState

	// Application cookie whose lifetime the ELB's cookie should follow.
	CookieName pulumi.StringOutput `pulumi:"cookieName"`
	// Load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntOutput `pulumi:"lbPort"`
	// Name of load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringOutput `pulumi:"loadBalancer"`
	// Name of the stickiness policy.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides an application cookie stickiness policy, which allows an ELB to wed its sticky cookie's expiration to a cookie generated by your application.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		lb, err := elb.NewLoadBalancer(ctx, "lb", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-east-1a"),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(8000),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(80),
					LbProtocol:       pulumi.String("http"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewAppCookieStickinessPolicy(ctx, "foo", &elb.AppCookieStickinessPolicyArgs{
			LoadBalancer: lb.Name,
			LbPort:       pulumi.Int(80),
			CookieName:   pulumi.String("MyAppCookie"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_app_cookie_stickiness_policy.example

id = "my-elb:80:my-policy" } Using `pulumi import`, import application cookie stickiness policies using the ELB name, port, and policy name separated by colons (`:`). For exampleconsole % pulumi import aws_app_cookie_stickiness_policy.example my-elb:80:my-policy

func GetAppCookieStickinessPolicy

func GetAppCookieStickinessPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppCookieStickinessPolicyState, opts ...pulumi.ResourceOption) (*AppCookieStickinessPolicy, error)

GetAppCookieStickinessPolicy gets an existing AppCookieStickinessPolicy 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 NewAppCookieStickinessPolicy

func NewAppCookieStickinessPolicy(ctx *pulumi.Context,
	name string, args *AppCookieStickinessPolicyArgs, opts ...pulumi.ResourceOption) (*AppCookieStickinessPolicy, error)

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

func (*AppCookieStickinessPolicy) ElementType

func (*AppCookieStickinessPolicy) ElementType() reflect.Type

func (*AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutput

func (i *AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutput() AppCookieStickinessPolicyOutput

func (*AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutputWithContext

func (i *AppCookieStickinessPolicy) ToAppCookieStickinessPolicyOutputWithContext(ctx context.Context) AppCookieStickinessPolicyOutput

type AppCookieStickinessPolicyArgs

type AppCookieStickinessPolicyArgs struct {
	// Application cookie whose lifetime the ELB's cookie should follow.
	CookieName pulumi.StringInput
	// Load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntInput
	// Name of load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringInput
	// Name of the stickiness policy.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a AppCookieStickinessPolicy resource.

func (AppCookieStickinessPolicyArgs) ElementType

type AppCookieStickinessPolicyArray

type AppCookieStickinessPolicyArray []AppCookieStickinessPolicyInput

func (AppCookieStickinessPolicyArray) ElementType

func (AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutput

func (i AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput

func (AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutputWithContext

func (i AppCookieStickinessPolicyArray) ToAppCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) AppCookieStickinessPolicyArrayOutput

type AppCookieStickinessPolicyArrayInput

type AppCookieStickinessPolicyArrayInput interface {
	pulumi.Input

	ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput
	ToAppCookieStickinessPolicyArrayOutputWithContext(context.Context) AppCookieStickinessPolicyArrayOutput
}

AppCookieStickinessPolicyArrayInput is an input type that accepts AppCookieStickinessPolicyArray and AppCookieStickinessPolicyArrayOutput values. You can construct a concrete instance of `AppCookieStickinessPolicyArrayInput` via:

AppCookieStickinessPolicyArray{ AppCookieStickinessPolicyArgs{...} }

type AppCookieStickinessPolicyArrayOutput

type AppCookieStickinessPolicyArrayOutput struct{ *pulumi.OutputState }

func (AppCookieStickinessPolicyArrayOutput) ElementType

func (AppCookieStickinessPolicyArrayOutput) Index

func (AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutput

func (o AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutput() AppCookieStickinessPolicyArrayOutput

func (AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutputWithContext

func (o AppCookieStickinessPolicyArrayOutput) ToAppCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) AppCookieStickinessPolicyArrayOutput

type AppCookieStickinessPolicyInput

type AppCookieStickinessPolicyInput interface {
	pulumi.Input

	ToAppCookieStickinessPolicyOutput() AppCookieStickinessPolicyOutput
	ToAppCookieStickinessPolicyOutputWithContext(ctx context.Context) AppCookieStickinessPolicyOutput
}

type AppCookieStickinessPolicyMap

type AppCookieStickinessPolicyMap map[string]AppCookieStickinessPolicyInput

func (AppCookieStickinessPolicyMap) ElementType

func (AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutput

func (i AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput

func (AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutputWithContext

func (i AppCookieStickinessPolicyMap) ToAppCookieStickinessPolicyMapOutputWithContext(ctx context.Context) AppCookieStickinessPolicyMapOutput

type AppCookieStickinessPolicyMapInput

type AppCookieStickinessPolicyMapInput interface {
	pulumi.Input

	ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput
	ToAppCookieStickinessPolicyMapOutputWithContext(context.Context) AppCookieStickinessPolicyMapOutput
}

AppCookieStickinessPolicyMapInput is an input type that accepts AppCookieStickinessPolicyMap and AppCookieStickinessPolicyMapOutput values. You can construct a concrete instance of `AppCookieStickinessPolicyMapInput` via:

AppCookieStickinessPolicyMap{ "key": AppCookieStickinessPolicyArgs{...} }

type AppCookieStickinessPolicyMapOutput

type AppCookieStickinessPolicyMapOutput struct{ *pulumi.OutputState }

func (AppCookieStickinessPolicyMapOutput) ElementType

func (AppCookieStickinessPolicyMapOutput) MapIndex

func (AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutput

func (o AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutput() AppCookieStickinessPolicyMapOutput

func (AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutputWithContext

func (o AppCookieStickinessPolicyMapOutput) ToAppCookieStickinessPolicyMapOutputWithContext(ctx context.Context) AppCookieStickinessPolicyMapOutput

type AppCookieStickinessPolicyOutput

type AppCookieStickinessPolicyOutput struct{ *pulumi.OutputState }

func (AppCookieStickinessPolicyOutput) CookieName

Application cookie whose lifetime the ELB's cookie should follow.

func (AppCookieStickinessPolicyOutput) ElementType

func (AppCookieStickinessPolicyOutput) LbPort

Load balancer port to which the policy should be applied. This must be an active listener on the load balancer.

func (AppCookieStickinessPolicyOutput) LoadBalancer

Name of load balancer to which the policy should be attached.

func (AppCookieStickinessPolicyOutput) Name

Name of the stickiness policy.

func (AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutput

func (o AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutput() AppCookieStickinessPolicyOutput

func (AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutputWithContext

func (o AppCookieStickinessPolicyOutput) ToAppCookieStickinessPolicyOutputWithContext(ctx context.Context) AppCookieStickinessPolicyOutput

type AppCookieStickinessPolicyState

type AppCookieStickinessPolicyState struct {
	// Application cookie whose lifetime the ELB's cookie should follow.
	CookieName pulumi.StringPtrInput
	// Load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntPtrInput
	// Name of load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringPtrInput
	// Name of the stickiness policy.
	Name pulumi.StringPtrInput
}

func (AppCookieStickinessPolicyState) ElementType

type Attachment

type Attachment struct {
	pulumi.CustomResourceState

	// The name of the ELB.
	Elb pulumi.StringOutput `pulumi:"elb"`
	// Instance ID to place in the ELB pool.
	Instance pulumi.StringOutput `pulumi:"instance"`
}

Attaches an EC2 instance to an Elastic Load Balancer (ELB). For attaching resources with Application Load Balancer (ALB) or Network Load Balancer (NLB), see the `lb.TargetGroupAttachment` resource.

> **NOTE on ELB Instances and ELB Attachments:** This provider currently provides both a standalone ELB Attachment resource (describing an instance attached to an ELB), and an Elastic Load Balancer resource with `instances` defined in-line. At this time you cannot use an ELB with in-line instances in conjunction with an ELB Attachment resource. Doing so will cause a conflict and will overwrite attachments.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elb.NewAttachment(ctx, "baz", &elb.AttachmentArgs{
			Elb:      pulumi.Any(aws_elb.Bar.Id),
			Instance: pulumi.Any(aws_instance.Foo.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAttachment

func GetAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AttachmentState, opts ...pulumi.ResourceOption) (*Attachment, error)

GetAttachment gets an existing Attachment 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 NewAttachment

func NewAttachment(ctx *pulumi.Context,
	name string, args *AttachmentArgs, opts ...pulumi.ResourceOption) (*Attachment, error)

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

func (*Attachment) ElementType

func (*Attachment) ElementType() reflect.Type

func (*Attachment) ToAttachmentOutput

func (i *Attachment) ToAttachmentOutput() AttachmentOutput

func (*Attachment) ToAttachmentOutputWithContext

func (i *Attachment) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput

type AttachmentArgs

type AttachmentArgs struct {
	// The name of the ELB.
	Elb pulumi.StringInput
	// Instance ID to place in the ELB pool.
	Instance pulumi.StringInput
}

The set of arguments for constructing a Attachment resource.

func (AttachmentArgs) ElementType

func (AttachmentArgs) ElementType() reflect.Type

type AttachmentArray

type AttachmentArray []AttachmentInput

func (AttachmentArray) ElementType

func (AttachmentArray) ElementType() reflect.Type

func (AttachmentArray) ToAttachmentArrayOutput

func (i AttachmentArray) ToAttachmentArrayOutput() AttachmentArrayOutput

func (AttachmentArray) ToAttachmentArrayOutputWithContext

func (i AttachmentArray) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput

type AttachmentArrayInput

type AttachmentArrayInput interface {
	pulumi.Input

	ToAttachmentArrayOutput() AttachmentArrayOutput
	ToAttachmentArrayOutputWithContext(context.Context) AttachmentArrayOutput
}

AttachmentArrayInput is an input type that accepts AttachmentArray and AttachmentArrayOutput values. You can construct a concrete instance of `AttachmentArrayInput` via:

AttachmentArray{ AttachmentArgs{...} }

type AttachmentArrayOutput

type AttachmentArrayOutput struct{ *pulumi.OutputState }

func (AttachmentArrayOutput) ElementType

func (AttachmentArrayOutput) ElementType() reflect.Type

func (AttachmentArrayOutput) Index

func (AttachmentArrayOutput) ToAttachmentArrayOutput

func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput

func (AttachmentArrayOutput) ToAttachmentArrayOutputWithContext

func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput

type AttachmentInput

type AttachmentInput interface {
	pulumi.Input

	ToAttachmentOutput() AttachmentOutput
	ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
}

type AttachmentMap

type AttachmentMap map[string]AttachmentInput

func (AttachmentMap) ElementType

func (AttachmentMap) ElementType() reflect.Type

func (AttachmentMap) ToAttachmentMapOutput

func (i AttachmentMap) ToAttachmentMapOutput() AttachmentMapOutput

func (AttachmentMap) ToAttachmentMapOutputWithContext

func (i AttachmentMap) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput

type AttachmentMapInput

type AttachmentMapInput interface {
	pulumi.Input

	ToAttachmentMapOutput() AttachmentMapOutput
	ToAttachmentMapOutputWithContext(context.Context) AttachmentMapOutput
}

AttachmentMapInput is an input type that accepts AttachmentMap and AttachmentMapOutput values. You can construct a concrete instance of `AttachmentMapInput` via:

AttachmentMap{ "key": AttachmentArgs{...} }

type AttachmentMapOutput

type AttachmentMapOutput struct{ *pulumi.OutputState }

func (AttachmentMapOutput) ElementType

func (AttachmentMapOutput) ElementType() reflect.Type

func (AttachmentMapOutput) MapIndex

func (AttachmentMapOutput) ToAttachmentMapOutput

func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput

func (AttachmentMapOutput) ToAttachmentMapOutputWithContext

func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput

type AttachmentOutput

type AttachmentOutput struct{ *pulumi.OutputState }

func (AttachmentOutput) Elb

The name of the ELB.

func (AttachmentOutput) ElementType

func (AttachmentOutput) ElementType() reflect.Type

func (AttachmentOutput) Instance

func (o AttachmentOutput) Instance() pulumi.StringOutput

Instance ID to place in the ELB pool.

func (AttachmentOutput) ToAttachmentOutput

func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput

func (AttachmentOutput) ToAttachmentOutputWithContext

func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput

type AttachmentState

type AttachmentState struct {
	// The name of the ELB.
	Elb pulumi.StringPtrInput
	// Instance ID to place in the ELB pool.
	Instance pulumi.StringPtrInput
}

func (AttachmentState) ElementType

func (AttachmentState) ElementType() reflect.Type

type GetHostedZoneIdArgs

type GetHostedZoneIdArgs struct {
	// 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 {
	// 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"`
	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 HostedZoneId in a given region for the purpose of using in an AWS Route53 Alias.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elb"
"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 := elb.GetHostedZoneId(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = route53.NewRecord(ctx, "www", &route53.RecordArgs{
			ZoneId: pulumi.Any(aws_route53_zone.Primary.Zone_id),
			Name:   pulumi.String("example.com"),
			Type:   pulumi.String("A"),
			Aliases: route53.RecordAliasArray{
				&route53.RecordAliasArgs{
					Name:                 pulumi.Any(aws_elb.Main.Dns_name),
					ZoneId:               *pulumi.String(main.Id),
					EvaluateTargetHealth: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutput

func (o GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutput() GetHostedZoneIdResultOutput

func (GetHostedZoneIdResultOutput) ToGetHostedZoneIdResultOutputWithContext

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

type GetLoadBalancerAccessLogs

type GetLoadBalancerAccessLogs struct {
	Bucket       string `pulumi:"bucket"`
	BucketPrefix string `pulumi:"bucketPrefix"`
	Enabled      bool   `pulumi:"enabled"`
	Interval     int    `pulumi:"interval"`
}

type GetLoadBalancerAccessLogsArgs

type GetLoadBalancerAccessLogsArgs struct {
	Bucket       pulumi.StringInput `pulumi:"bucket"`
	BucketPrefix pulumi.StringInput `pulumi:"bucketPrefix"`
	Enabled      pulumi.BoolInput   `pulumi:"enabled"`
	Interval     pulumi.IntInput    `pulumi:"interval"`
}

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

func (GetLoadBalancerAccessLogsOutput) ElementType

func (GetLoadBalancerAccessLogsOutput) Enabled

func (GetLoadBalancerAccessLogsOutput) Interval

func (GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutput

func (o GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutput() GetLoadBalancerAccessLogsOutput

func (GetLoadBalancerAccessLogsOutput) ToGetLoadBalancerAccessLogsOutputWithContext

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

type GetLoadBalancerHealthCheck

type GetLoadBalancerHealthCheck struct {
	HealthyThreshold   int    `pulumi:"healthyThreshold"`
	Interval           int    `pulumi:"interval"`
	Target             string `pulumi:"target"`
	Timeout            int    `pulumi:"timeout"`
	UnhealthyThreshold int    `pulumi:"unhealthyThreshold"`
}

type GetLoadBalancerHealthCheckArgs

type GetLoadBalancerHealthCheckArgs struct {
	HealthyThreshold   pulumi.IntInput    `pulumi:"healthyThreshold"`
	Interval           pulumi.IntInput    `pulumi:"interval"`
	Target             pulumi.StringInput `pulumi:"target"`
	Timeout            pulumi.IntInput    `pulumi:"timeout"`
	UnhealthyThreshold pulumi.IntInput    `pulumi:"unhealthyThreshold"`
}

func (GetLoadBalancerHealthCheckArgs) ElementType

func (GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutput

func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput

func (GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutputWithContext

func (i GetLoadBalancerHealthCheckArgs) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput

type GetLoadBalancerHealthCheckInput

type GetLoadBalancerHealthCheckInput interface {
	pulumi.Input

	ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput
	ToGetLoadBalancerHealthCheckOutputWithContext(context.Context) GetLoadBalancerHealthCheckOutput
}

GetLoadBalancerHealthCheckInput is an input type that accepts GetLoadBalancerHealthCheckArgs and GetLoadBalancerHealthCheckOutput values. You can construct a concrete instance of `GetLoadBalancerHealthCheckInput` via:

GetLoadBalancerHealthCheckArgs{...}

type GetLoadBalancerHealthCheckOutput

type GetLoadBalancerHealthCheckOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerHealthCheckOutput) ElementType

func (GetLoadBalancerHealthCheckOutput) HealthyThreshold

func (o GetLoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput

func (GetLoadBalancerHealthCheckOutput) Interval

func (GetLoadBalancerHealthCheckOutput) Target

func (GetLoadBalancerHealthCheckOutput) Timeout

func (GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutput

func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutput() GetLoadBalancerHealthCheckOutput

func (GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutputWithContext

func (o GetLoadBalancerHealthCheckOutput) ToGetLoadBalancerHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthCheckOutput

func (GetLoadBalancerHealthCheckOutput) UnhealthyThreshold

func (o GetLoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput

type GetLoadBalancerListener

type GetLoadBalancerListener struct {
	InstancePort     int    `pulumi:"instancePort"`
	InstanceProtocol string `pulumi:"instanceProtocol"`
	LbPort           int    `pulumi:"lbPort"`
	LbProtocol       string `pulumi:"lbProtocol"`
	SslCertificateId string `pulumi:"sslCertificateId"`
}

type GetLoadBalancerListenerArgs

type GetLoadBalancerListenerArgs struct {
	InstancePort     pulumi.IntInput    `pulumi:"instancePort"`
	InstanceProtocol pulumi.StringInput `pulumi:"instanceProtocol"`
	LbPort           pulumi.IntInput    `pulumi:"lbPort"`
	LbProtocol       pulumi.StringInput `pulumi:"lbProtocol"`
	SslCertificateId pulumi.StringInput `pulumi:"sslCertificateId"`
}

func (GetLoadBalancerListenerArgs) ElementType

func (GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutput

func (i GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput

func (GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutputWithContext

func (i GetLoadBalancerListenerArgs) ToGetLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancerListenerOutput

type GetLoadBalancerListenerArray

type GetLoadBalancerListenerArray []GetLoadBalancerListenerInput

func (GetLoadBalancerListenerArray) ElementType

func (GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutput

func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput

func (GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutputWithContext

func (i GetLoadBalancerListenerArray) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput

type GetLoadBalancerListenerArrayInput

type GetLoadBalancerListenerArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput
	ToGetLoadBalancerListenerArrayOutputWithContext(context.Context) GetLoadBalancerListenerArrayOutput
}

GetLoadBalancerListenerArrayInput is an input type that accepts GetLoadBalancerListenerArray and GetLoadBalancerListenerArrayOutput values. You can construct a concrete instance of `GetLoadBalancerListenerArrayInput` via:

GetLoadBalancerListenerArray{ GetLoadBalancerListenerArgs{...} }

type GetLoadBalancerListenerArrayOutput

type GetLoadBalancerListenerArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerListenerArrayOutput) ElementType

func (GetLoadBalancerListenerArrayOutput) Index

func (GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutput

func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutput() GetLoadBalancerListenerArrayOutput

func (GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutputWithContext

func (o GetLoadBalancerListenerArrayOutput) ToGetLoadBalancerListenerArrayOutputWithContext(ctx context.Context) GetLoadBalancerListenerArrayOutput

type GetLoadBalancerListenerInput

type GetLoadBalancerListenerInput interface {
	pulumi.Input

	ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput
	ToGetLoadBalancerListenerOutputWithContext(context.Context) GetLoadBalancerListenerOutput
}

GetLoadBalancerListenerInput is an input type that accepts GetLoadBalancerListenerArgs and GetLoadBalancerListenerOutput values. You can construct a concrete instance of `GetLoadBalancerListenerInput` via:

GetLoadBalancerListenerArgs{...}

type GetLoadBalancerListenerOutput

type GetLoadBalancerListenerOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerListenerOutput) ElementType

func (GetLoadBalancerListenerOutput) InstancePort

func (GetLoadBalancerListenerOutput) InstanceProtocol

func (o GetLoadBalancerListenerOutput) InstanceProtocol() pulumi.StringOutput

func (GetLoadBalancerListenerOutput) LbPort

func (GetLoadBalancerListenerOutput) LbProtocol

func (GetLoadBalancerListenerOutput) SslCertificateId

func (o GetLoadBalancerListenerOutput) SslCertificateId() pulumi.StringOutput

func (GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutput

func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutput() GetLoadBalancerListenerOutput

func (GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutputWithContext

func (o GetLoadBalancerListenerOutput) ToGetLoadBalancerListenerOutputWithContext(ctx context.Context) GetLoadBalancerListenerOutput

type GetServiceAccountArgs

type GetServiceAccountArgs struct {
	// Name of the region whose AWS ELB account ID is desired.
	// Defaults to the region from the AWS provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getServiceAccount.

type GetServiceAccountOutputArgs

type GetServiceAccountOutputArgs struct {
	// Name of the region whose AWS ELB account ID is desired.
	// Defaults to the region from the AWS provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getServiceAccount.

func (GetServiceAccountOutputArgs) ElementType

type GetServiceAccountResult

type GetServiceAccountResult struct {
	// ARN of the AWS ELB service account in the selected region.
	Arn string `pulumi:"arn"`
	// The provider-assigned unique ID for this managed resource.
	Id     string  `pulumi:"id"`
	Region *string `pulumi:"region"`
}

A collection of values returned by getServiceAccount.

func GetServiceAccount

func GetServiceAccount(ctx *pulumi.Context, args *GetServiceAccountArgs, opts ...pulumi.InvokeOption) (*GetServiceAccountResult, error)

Use this data source to get the Account ID of the [AWS Elastic Load Balancing Service Account](http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html#attach-bucket-policy) in a given region for the purpose of permitting in S3 bucket policy.

> **Note:** For AWS Regions opened since Jakarta (`ap-southeast-3`) in December 2021, AWS [documents that](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html#attach-bucket-policy) a [service principal name](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-services) should be used instead of an AWS account ID in any relevant IAM policy.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elb"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := elb.GetServiceAccount(ctx, nil, nil); if err != nil { return err } elbLogs, err := s3.NewBucketV2(ctx, "elbLogs", nil) if err != nil { return err } _, err = s3.NewBucketAclV2(ctx, "elbLogsAcl", &s3.BucketAclV2Args{ Bucket: elbLogs.ID(), Acl: pulumi.String("private"), }) if err != nil { return err } allowElbLoggingPolicyDocument := elbLogs.Arn.ApplyT(func(arn string) (iam.GetPolicyDocumentResult, error) { return iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: "Allow", Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "AWS", Identifiers: interface{}{ main.Arn, }, }, }, Actions: []string{ "s3:PutObject", }, Resources: []string{ fmt.Sprintf("%v/AWSLogs/*", arn), }, }, }, }, nil), nil }).(iam.GetPolicyDocumentResultOutput) _, err = s3.NewBucketPolicy(ctx, "allowElbLoggingBucketPolicy", &s3.BucketPolicyArgs{ Bucket: elbLogs.ID(), Policy: allowElbLoggingPolicyDocument.ApplyT(func(allowElbLoggingPolicyDocument iam.GetPolicyDocumentResult) (*string, error) { return &allowElbLoggingPolicyDocument.Json, nil }).(pulumi.StringPtrOutput), }) if err != nil { return err } _, err = elb.NewLoadBalancer(ctx, "bar", &elb.LoadBalancerArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), }, AccessLogs: &elb.LoadBalancerAccessLogsArgs{ Bucket: elbLogs.ID(), Interval: pulumi.Int(5), }, Listeners: elb.LoadBalancerListenerArray{ &elb.LoadBalancerListenerArgs{ InstancePort: pulumi.Int(8000), InstanceProtocol: pulumi.String("http"), LbPort: pulumi.Int(80), LbProtocol: pulumi.String("http"), }, }, }) if err != nil { return err } return nil }) } ```

type GetServiceAccountResultOutput

type GetServiceAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceAccount.

func (GetServiceAccountResultOutput) Arn

ARN of the AWS ELB service account in the selected region.

func (GetServiceAccountResultOutput) ElementType

func (GetServiceAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceAccountResultOutput) Region

func (GetServiceAccountResultOutput) ToGetServiceAccountResultOutput

func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutput() GetServiceAccountResultOutput

func (GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext

func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext(ctx context.Context) GetServiceAccountResultOutput

type ListenerPolicy

type ListenerPolicy struct {
	pulumi.CustomResourceState

	// The load balancer to attach the policy to.
	LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"`
	// The load balancer listener port to apply the policy to.
	LoadBalancerPort pulumi.IntOutput `pulumi:"loadBalancerPort"`
	// List of Policy Names to apply to the backend server.
	PolicyNames pulumi.StringArrayOutput `pulumi:"policyNames"`
	// Map of arbitrary keys and values that, when changed, will trigger an update.
	Triggers pulumi.StringMapOutput `pulumi:"triggers"`
}

Attaches a load balancer policy to an ELB Listener.

## Example Usage ### Custom Policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-east-1a"),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(443),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(443),
					LbProtocol:       pulumi.String("https"),
					SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"),
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("wu-tang"),
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-ssl"),
			PolicyTypeName:   pulumi.String("SSLNegotiationPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("ECDHE-ECDSA-AES128-GCM-SHA256"),
					Value: pulumi.String("true"),
				},
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("Protocol-TLSv1.2"),
					Value: pulumi.String("true"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewListenerPolicy(ctx, "wu-tang-listener-policies-443", &elb.ListenerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			LoadBalancerPort: pulumi.Int(443),
			PolicyNames: pulumi.StringArray{
				wu_tang_ssl.PolicyName,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

This example shows how to customize the TLS settings of an HTTPS listener. ### AWS Predefined Security Policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-east-1a"),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(443),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(443),
					LbProtocol:       pulumi.String("https"),
					SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"),
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("wu-tang"),
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl-tls-1-1", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-ssl"),
			PolicyTypeName:   pulumi.String("SSLNegotiationPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("Reference-Security-Policy"),
					Value: pulumi.String("ELBSecurityPolicy-TLS-1-1-2017-01"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewListenerPolicy(ctx, "wu-tang-listener-policies-443", &elb.ListenerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			LoadBalancerPort: pulumi.Int(443),
			PolicyNames: pulumi.StringArray{
				wu_tang_ssl_tls_1_1.PolicyName,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

This example shows how to add a [Predefined Security Policy for ELBs](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html)

func GetListenerPolicy

func GetListenerPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerPolicyState, opts ...pulumi.ResourceOption) (*ListenerPolicy, error)

GetListenerPolicy gets an existing ListenerPolicy 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 NewListenerPolicy

func NewListenerPolicy(ctx *pulumi.Context,
	name string, args *ListenerPolicyArgs, opts ...pulumi.ResourceOption) (*ListenerPolicy, error)

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

func (*ListenerPolicy) ElementType

func (*ListenerPolicy) ElementType() reflect.Type

func (*ListenerPolicy) ToListenerPolicyOutput

func (i *ListenerPolicy) ToListenerPolicyOutput() ListenerPolicyOutput

func (*ListenerPolicy) ToListenerPolicyOutputWithContext

func (i *ListenerPolicy) ToListenerPolicyOutputWithContext(ctx context.Context) ListenerPolicyOutput

type ListenerPolicyArgs

type ListenerPolicyArgs struct {
	// The load balancer to attach the policy to.
	LoadBalancerName pulumi.StringInput
	// The load balancer listener port to apply the policy to.
	LoadBalancerPort pulumi.IntInput
	// List of Policy Names to apply to the backend server.
	PolicyNames pulumi.StringArrayInput
	// Map of arbitrary keys and values that, when changed, will trigger an update.
	Triggers pulumi.StringMapInput
}

The set of arguments for constructing a ListenerPolicy resource.

func (ListenerPolicyArgs) ElementType

func (ListenerPolicyArgs) ElementType() reflect.Type

type ListenerPolicyArray

type ListenerPolicyArray []ListenerPolicyInput

func (ListenerPolicyArray) ElementType

func (ListenerPolicyArray) ElementType() reflect.Type

func (ListenerPolicyArray) ToListenerPolicyArrayOutput

func (i ListenerPolicyArray) ToListenerPolicyArrayOutput() ListenerPolicyArrayOutput

func (ListenerPolicyArray) ToListenerPolicyArrayOutputWithContext

func (i ListenerPolicyArray) ToListenerPolicyArrayOutputWithContext(ctx context.Context) ListenerPolicyArrayOutput

type ListenerPolicyArrayInput

type ListenerPolicyArrayInput interface {
	pulumi.Input

	ToListenerPolicyArrayOutput() ListenerPolicyArrayOutput
	ToListenerPolicyArrayOutputWithContext(context.Context) ListenerPolicyArrayOutput
}

ListenerPolicyArrayInput is an input type that accepts ListenerPolicyArray and ListenerPolicyArrayOutput values. You can construct a concrete instance of `ListenerPolicyArrayInput` via:

ListenerPolicyArray{ ListenerPolicyArgs{...} }

type ListenerPolicyArrayOutput

type ListenerPolicyArrayOutput struct{ *pulumi.OutputState }

func (ListenerPolicyArrayOutput) ElementType

func (ListenerPolicyArrayOutput) ElementType() reflect.Type

func (ListenerPolicyArrayOutput) Index

func (ListenerPolicyArrayOutput) ToListenerPolicyArrayOutput

func (o ListenerPolicyArrayOutput) ToListenerPolicyArrayOutput() ListenerPolicyArrayOutput

func (ListenerPolicyArrayOutput) ToListenerPolicyArrayOutputWithContext

func (o ListenerPolicyArrayOutput) ToListenerPolicyArrayOutputWithContext(ctx context.Context) ListenerPolicyArrayOutput

type ListenerPolicyInput

type ListenerPolicyInput interface {
	pulumi.Input

	ToListenerPolicyOutput() ListenerPolicyOutput
	ToListenerPolicyOutputWithContext(ctx context.Context) ListenerPolicyOutput
}

type ListenerPolicyMap

type ListenerPolicyMap map[string]ListenerPolicyInput

func (ListenerPolicyMap) ElementType

func (ListenerPolicyMap) ElementType() reflect.Type

func (ListenerPolicyMap) ToListenerPolicyMapOutput

func (i ListenerPolicyMap) ToListenerPolicyMapOutput() ListenerPolicyMapOutput

func (ListenerPolicyMap) ToListenerPolicyMapOutputWithContext

func (i ListenerPolicyMap) ToListenerPolicyMapOutputWithContext(ctx context.Context) ListenerPolicyMapOutput

type ListenerPolicyMapInput

type ListenerPolicyMapInput interface {
	pulumi.Input

	ToListenerPolicyMapOutput() ListenerPolicyMapOutput
	ToListenerPolicyMapOutputWithContext(context.Context) ListenerPolicyMapOutput
}

ListenerPolicyMapInput is an input type that accepts ListenerPolicyMap and ListenerPolicyMapOutput values. You can construct a concrete instance of `ListenerPolicyMapInput` via:

ListenerPolicyMap{ "key": ListenerPolicyArgs{...} }

type ListenerPolicyMapOutput

type ListenerPolicyMapOutput struct{ *pulumi.OutputState }

func (ListenerPolicyMapOutput) ElementType

func (ListenerPolicyMapOutput) ElementType() reflect.Type

func (ListenerPolicyMapOutput) MapIndex

func (ListenerPolicyMapOutput) ToListenerPolicyMapOutput

func (o ListenerPolicyMapOutput) ToListenerPolicyMapOutput() ListenerPolicyMapOutput

func (ListenerPolicyMapOutput) ToListenerPolicyMapOutputWithContext

func (o ListenerPolicyMapOutput) ToListenerPolicyMapOutputWithContext(ctx context.Context) ListenerPolicyMapOutput

type ListenerPolicyOutput

type ListenerPolicyOutput struct{ *pulumi.OutputState }

func (ListenerPolicyOutput) ElementType

func (ListenerPolicyOutput) ElementType() reflect.Type

func (ListenerPolicyOutput) LoadBalancerName

func (o ListenerPolicyOutput) LoadBalancerName() pulumi.StringOutput

The load balancer to attach the policy to.

func (ListenerPolicyOutput) LoadBalancerPort

func (o ListenerPolicyOutput) LoadBalancerPort() pulumi.IntOutput

The load balancer listener port to apply the policy to.

func (ListenerPolicyOutput) PolicyNames

List of Policy Names to apply to the backend server.

func (ListenerPolicyOutput) ToListenerPolicyOutput

func (o ListenerPolicyOutput) ToListenerPolicyOutput() ListenerPolicyOutput

func (ListenerPolicyOutput) ToListenerPolicyOutputWithContext

func (o ListenerPolicyOutput) ToListenerPolicyOutputWithContext(ctx context.Context) ListenerPolicyOutput

func (ListenerPolicyOutput) Triggers

Map of arbitrary keys and values that, when changed, will trigger an update.

type ListenerPolicyState

type ListenerPolicyState struct {
	// The load balancer to attach the policy to.
	LoadBalancerName pulumi.StringPtrInput
	// The load balancer listener port to apply the policy to.
	LoadBalancerPort pulumi.IntPtrInput
	// List of Policy Names to apply to the backend server.
	PolicyNames pulumi.StringArrayInput
	// Map of arbitrary keys and values that, when changed, will trigger an update.
	Triggers pulumi.StringMapInput
}

func (ListenerPolicyState) ElementType

func (ListenerPolicyState) ElementType() reflect.Type

type LoadBalancer

type LoadBalancer struct {
	pulumi.CustomResourceState

	// An Access Logs block. Access Logs documented below.
	AccessLogs LoadBalancerAccessLogsPtrOutput `pulumi:"accessLogs"`
	// The ARN of the ELB
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The AZ's to serve traffic in.
	AvailabilityZones pulumi.StringArrayOutput `pulumi:"availabilityZones"`
	// Boolean to enable connection draining. Default: `false`
	ConnectionDraining pulumi.BoolPtrOutput `pulumi:"connectionDraining"`
	// The time in seconds to allow for connections to drain. Default: `300`
	ConnectionDrainingTimeout pulumi.IntPtrOutput `pulumi:"connectionDrainingTimeout"`
	// Enable cross-zone load balancing. Default: `true`
	CrossZoneLoadBalancing pulumi.BoolPtrOutput `pulumi:"crossZoneLoadBalancing"`
	// Determines 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"`
	// The DNS name of the ELB
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// A healthCheck block. Health Check documented below.
	HealthCheck LoadBalancerHealthCheckOutput `pulumi:"healthCheck"`
	// The time in seconds that the connection is allowed to be idle. Default: `60`
	IdleTimeout pulumi.IntPtrOutput `pulumi:"idleTimeout"`
	// A list of instance ids to place in the ELB pool.
	Instances pulumi.StringArrayOutput `pulumi:"instances"`
	// If true, ELB will be an internal ELB.
	Internal pulumi.BoolOutput `pulumi:"internal"`
	// A list of listener blocks. Listeners documented below.
	Listeners LoadBalancerListenerArrayOutput `pulumi:"listeners"`
	// The name of the ELB. By default generated by this provider.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// A list of security group IDs to assign to the ELB.
	// Only valid if creating an ELB within a VPC
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// The name of the security group that you can use as
	// part of your inbound rules for your load balancer's back-end application
	// instances. Use this for Classic or Default VPC only.
	SourceSecurityGroup pulumi.StringOutput `pulumi:"sourceSecurityGroup"`
	// The ID of the security group that you can use as
	// part of your inbound rules for your load balancer's back-end application
	// instances. Only available on ELBs launched in a VPC.
	SourceSecurityGroupId pulumi.StringOutput `pulumi:"sourceSecurityGroupId"`
	// A list of subnet IDs to attach to the ELB. When an update to subnets will remove all current subnets, this will force a new resource.
	Subnets pulumi.StringArrayOutput `pulumi:"subnets"`
	// 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.
	//
	// Exactly one of `availabilityZones` or `subnets` must be specified: this
	// determines if the ELB exists in a VPC or in EC2-classic.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record)
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

Provides an Elastic Load Balancer resource, also known as a "Classic Load Balancer" after the release of Application/Network Load Balancers.

> **NOTE on ELB Instances and ELB Attachments:** This provider currently provides both a standalone ELB Attachment resource (describing an instance attached to an ELB), and an ELB resource with `instances` defined in-line. At this time you cannot use an ELB with in-line instances in conjunction with a ELB Attachment resources. Doing so will cause a conflict and will overwrite attachments.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elb.NewLoadBalancer(ctx, "bar", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-west-2a"),
				pulumi.String("us-west-2b"),
				pulumi.String("us-west-2c"),
			},
			AccessLogs: &elb.LoadBalancerAccessLogsArgs{
				Bucket:       pulumi.String("foo"),
				BucketPrefix: pulumi.String("bar"),
				Interval:     pulumi.Int(60),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(8000),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(80),
					LbProtocol:       pulumi.String("http"),
				},
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(8000),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(443),
					LbProtocol:       pulumi.String("https"),
					SslCertificateId: pulumi.String("arn:aws:iam::123456789012:server-certificate/certName"),
				},
			},
			HealthCheck: &elb.LoadBalancerHealthCheckArgs{
				HealthyThreshold:   pulumi.Int(2),
				UnhealthyThreshold: pulumi.Int(2),
				Timeout:            pulumi.Int(3),
				Target:             pulumi.String("HTTP:8000/"),
				Interval:           pulumi.Int(30),
			},
			Instances: pulumi.StringArray{
				aws_instance.Foo.Id,
			},
			CrossZoneLoadBalancing:    pulumi.Bool(true),
			IdleTimeout:               pulumi.Int(400),
			ConnectionDraining:        pulumi.Bool(true),
			ConnectionDrainingTimeout: pulumi.Int(400),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("foobar-elb"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Note on ECDSA Key Algorithm

If the ARN of the `sslCertificateId` that is pointed to references a certificate that was signed by an ECDSA key, note that ELB only supports the P256 and P384 curves. Using a certificate signed by a key using a different curve could produce the error `ERR_SSL_VERSION_OR_CIPHER_MISMATCH` in your browser.

## Import

terraform import {

to = aws_elb.bar

id = "elb-production-12345" } Using `pulumi import`, import ELBs using the `name`. For exampleconsole % pulumi import aws_elb.bar elb-production-12345

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 {
	// The S3 bucket name to store the logs in.
	Bucket string `pulumi:"bucket"`
	// The S3 bucket prefix. Logs are stored in the root if not configured.
	BucketPrefix *string `pulumi:"bucketPrefix"`
	// Boolean to enable / disable `accessLogs`. Default is `true`
	Enabled *bool `pulumi:"enabled"`
	// The publishing interval in minutes. Valid values: `5` and `60`. Default: `60`
	Interval *int `pulumi:"interval"`
}

type LoadBalancerAccessLogsArgs

type LoadBalancerAccessLogsArgs struct {
	// The S3 bucket name to store the logs in.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The S3 bucket prefix. Logs are stored in the root if not configured.
	BucketPrefix pulumi.StringPtrInput `pulumi:"bucketPrefix"`
	// Boolean to enable / disable `accessLogs`. Default is `true`
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The publishing interval in minutes. Valid values: `5` and `60`. Default: `60`
	Interval pulumi.IntPtrInput `pulumi:"interval"`
}

func (LoadBalancerAccessLogsArgs) ElementType

func (LoadBalancerAccessLogsArgs) ElementType() reflect.Type

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutput

func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsOutputWithContext

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

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutput

func (i LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput

func (LoadBalancerAccessLogsArgs) ToLoadBalancerAccessLogsPtrOutputWithContext

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

type LoadBalancerAccessLogsInput

type LoadBalancerAccessLogsInput interface {
	pulumi.Input

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

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

LoadBalancerAccessLogsArgs{...}

type LoadBalancerAccessLogsOutput

type LoadBalancerAccessLogsOutput struct{ *pulumi.OutputState }

func (LoadBalancerAccessLogsOutput) Bucket

The S3 bucket name to store the logs in.

func (LoadBalancerAccessLogsOutput) BucketPrefix

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

func (LoadBalancerAccessLogsOutput) ElementType

func (LoadBalancerAccessLogsOutput) Enabled

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

func (LoadBalancerAccessLogsOutput) Interval

The publishing interval in minutes. Valid values: `5` and `60`. Default: `60`

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutput

func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutput() LoadBalancerAccessLogsOutput

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsOutputWithContext

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

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutput

func (o LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput

func (LoadBalancerAccessLogsOutput) ToLoadBalancerAccessLogsPtrOutputWithContext

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

type LoadBalancerAccessLogsPtrInput

type LoadBalancerAccessLogsPtrInput interface {
	pulumi.Input

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

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

        LoadBalancerAccessLogsArgs{...}

or:

        nil

type LoadBalancerAccessLogsPtrOutput

type LoadBalancerAccessLogsPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerAccessLogsPtrOutput) Bucket

The S3 bucket name to store the logs in.

func (LoadBalancerAccessLogsPtrOutput) BucketPrefix

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

func (LoadBalancerAccessLogsPtrOutput) Elem

func (LoadBalancerAccessLogsPtrOutput) ElementType

func (LoadBalancerAccessLogsPtrOutput) Enabled

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

func (LoadBalancerAccessLogsPtrOutput) Interval

The publishing interval in minutes. Valid values: `5` and `60`. Default: `60`

func (LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutput

func (o LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutput() LoadBalancerAccessLogsPtrOutput

func (LoadBalancerAccessLogsPtrOutput) ToLoadBalancerAccessLogsPtrOutputWithContext

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

type LoadBalancerArgs

type LoadBalancerArgs struct {
	// An Access Logs block. Access Logs documented below.
	AccessLogs LoadBalancerAccessLogsPtrInput
	// The AZ's to serve traffic in.
	AvailabilityZones pulumi.StringArrayInput
	// Boolean to enable connection draining. Default: `false`
	ConnectionDraining pulumi.BoolPtrInput
	// The time in seconds to allow for connections to drain. Default: `300`
	ConnectionDrainingTimeout pulumi.IntPtrInput
	// Enable cross-zone load balancing. Default: `true`
	CrossZoneLoadBalancing pulumi.BoolPtrInput
	// Determines 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
	// A healthCheck block. Health Check documented below.
	HealthCheck LoadBalancerHealthCheckPtrInput
	// The time in seconds that the connection is allowed to be idle. Default: `60`
	IdleTimeout pulumi.IntPtrInput
	// A list of instance ids to place in the ELB pool.
	Instances pulumi.StringArrayInput
	// If true, ELB will be an internal ELB.
	Internal pulumi.BoolPtrInput
	// A list of listener blocks. Listeners documented below.
	Listeners LoadBalancerListenerArrayInput
	// The name of the ELB. By default generated by this provider.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// A list of security group IDs to assign to the ELB.
	// Only valid if creating an ELB within a VPC
	SecurityGroups pulumi.StringArrayInput
	// The name of the security group that you can use as
	// part of your inbound rules for your load balancer's back-end application
	// instances. Use this for Classic or Default VPC only.
	SourceSecurityGroup pulumi.StringPtrInput
	// A list of subnet IDs to attach to the ELB. When an update to subnets will remove all current subnets, this will force a new resource.
	Subnets pulumi.StringArrayInput
	// 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.
	//
	// Exactly one of `availabilityZones` or `subnets` must be specified: this
	// determines if the ELB exists in a VPC or in EC2-classic.
	Tags pulumi.StringMapInput
}

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 LoadBalancerBackendServerPolicy

type LoadBalancerBackendServerPolicy struct {
	pulumi.CustomResourceState

	// The instance port to apply the policy to.
	InstancePort pulumi.IntOutput `pulumi:"instancePort"`
	// The load balancer to attach the policy to.
	LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"`
	// List of Policy Names to apply to the backend server.
	PolicyNames pulumi.StringArrayOutput `pulumi:"policyNames"`
}

Attaches a load balancer policy to an ELB backend server.

## Example Usage

```go package main

import (

"os"

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

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-east-1a"),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(443),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(443),
					LbProtocol:       pulumi.String("https"),
					SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"),
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("wu-tang"),
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ca-pubkey-policy", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-ca-pubkey-policy"),
			PolicyTypeName:   pulumi.String("PublicKeyPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("PublicKey"),
					Value: readFileOrPanic("wu-tang-pubkey"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-root-ca-backend-auth-policy", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-root-ca-backend-auth-policy"),
			PolicyTypeName:   pulumi.String("BackendServerAuthenticationPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("PublicKeyPolicyName"),
					Value: pulumi.Any(aws_load_balancer_policy.WuTangRootCaPubkeyPolicy.Policy_name),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerBackendServerPolicy(ctx, "wu-tang-backend-auth-policies-443", &elb.LoadBalancerBackendServerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			InstancePort:     pulumi.Int(443),
			PolicyNames: pulumi.StringArray{
				wu_tang_root_ca_backend_auth_policy.PolicyName,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetLoadBalancerBackendServerPolicy

func GetLoadBalancerBackendServerPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoadBalancerBackendServerPolicyState, opts ...pulumi.ResourceOption) (*LoadBalancerBackendServerPolicy, error)

GetLoadBalancerBackendServerPolicy gets an existing LoadBalancerBackendServerPolicy 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 NewLoadBalancerBackendServerPolicy

func NewLoadBalancerBackendServerPolicy(ctx *pulumi.Context,
	name string, args *LoadBalancerBackendServerPolicyArgs, opts ...pulumi.ResourceOption) (*LoadBalancerBackendServerPolicy, error)

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

func (*LoadBalancerBackendServerPolicy) ElementType

func (*LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutput

func (i *LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput

func (*LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutputWithContext

func (i *LoadBalancerBackendServerPolicy) ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput

type LoadBalancerBackendServerPolicyArgs

type LoadBalancerBackendServerPolicyArgs struct {
	// The instance port to apply the policy to.
	InstancePort pulumi.IntInput
	// The load balancer to attach the policy to.
	LoadBalancerName pulumi.StringInput
	// List of Policy Names to apply to the backend server.
	PolicyNames pulumi.StringArrayInput
}

The set of arguments for constructing a LoadBalancerBackendServerPolicy resource.

func (LoadBalancerBackendServerPolicyArgs) ElementType

type LoadBalancerBackendServerPolicyArray

type LoadBalancerBackendServerPolicyArray []LoadBalancerBackendServerPolicyInput

func (LoadBalancerBackendServerPolicyArray) ElementType

func (LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutput

func (i LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput

func (LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutputWithContext

func (i LoadBalancerBackendServerPolicyArray) ToLoadBalancerBackendServerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyArrayOutput

type LoadBalancerBackendServerPolicyArrayInput

type LoadBalancerBackendServerPolicyArrayInput interface {
	pulumi.Input

	ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput
	ToLoadBalancerBackendServerPolicyArrayOutputWithContext(context.Context) LoadBalancerBackendServerPolicyArrayOutput
}

LoadBalancerBackendServerPolicyArrayInput is an input type that accepts LoadBalancerBackendServerPolicyArray and LoadBalancerBackendServerPolicyArrayOutput values. You can construct a concrete instance of `LoadBalancerBackendServerPolicyArrayInput` via:

LoadBalancerBackendServerPolicyArray{ LoadBalancerBackendServerPolicyArgs{...} }

type LoadBalancerBackendServerPolicyArrayOutput

type LoadBalancerBackendServerPolicyArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerBackendServerPolicyArrayOutput) ElementType

func (LoadBalancerBackendServerPolicyArrayOutput) Index

func (LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutput

func (o LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutput() LoadBalancerBackendServerPolicyArrayOutput

func (LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutputWithContext

func (o LoadBalancerBackendServerPolicyArrayOutput) ToLoadBalancerBackendServerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyArrayOutput

type LoadBalancerBackendServerPolicyInput

type LoadBalancerBackendServerPolicyInput interface {
	pulumi.Input

	ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput
	ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput
}

type LoadBalancerBackendServerPolicyMap

type LoadBalancerBackendServerPolicyMap map[string]LoadBalancerBackendServerPolicyInput

func (LoadBalancerBackendServerPolicyMap) ElementType

func (LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutput

func (i LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput

func (LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutputWithContext

func (i LoadBalancerBackendServerPolicyMap) ToLoadBalancerBackendServerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyMapOutput

type LoadBalancerBackendServerPolicyMapInput

type LoadBalancerBackendServerPolicyMapInput interface {
	pulumi.Input

	ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput
	ToLoadBalancerBackendServerPolicyMapOutputWithContext(context.Context) LoadBalancerBackendServerPolicyMapOutput
}

LoadBalancerBackendServerPolicyMapInput is an input type that accepts LoadBalancerBackendServerPolicyMap and LoadBalancerBackendServerPolicyMapOutput values. You can construct a concrete instance of `LoadBalancerBackendServerPolicyMapInput` via:

LoadBalancerBackendServerPolicyMap{ "key": LoadBalancerBackendServerPolicyArgs{...} }

type LoadBalancerBackendServerPolicyMapOutput

type LoadBalancerBackendServerPolicyMapOutput struct{ *pulumi.OutputState }

func (LoadBalancerBackendServerPolicyMapOutput) ElementType

func (LoadBalancerBackendServerPolicyMapOutput) MapIndex

func (LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutput

func (o LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutput() LoadBalancerBackendServerPolicyMapOutput

func (LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutputWithContext

func (o LoadBalancerBackendServerPolicyMapOutput) ToLoadBalancerBackendServerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyMapOutput

type LoadBalancerBackendServerPolicyOutput

type LoadBalancerBackendServerPolicyOutput struct{ *pulumi.OutputState }

func (LoadBalancerBackendServerPolicyOutput) ElementType

func (LoadBalancerBackendServerPolicyOutput) InstancePort

The instance port to apply the policy to.

func (LoadBalancerBackendServerPolicyOutput) LoadBalancerName

The load balancer to attach the policy to.

func (LoadBalancerBackendServerPolicyOutput) PolicyNames

List of Policy Names to apply to the backend server.

func (LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutput

func (o LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutput() LoadBalancerBackendServerPolicyOutput

func (LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutputWithContext

func (o LoadBalancerBackendServerPolicyOutput) ToLoadBalancerBackendServerPolicyOutputWithContext(ctx context.Context) LoadBalancerBackendServerPolicyOutput

type LoadBalancerBackendServerPolicyState

type LoadBalancerBackendServerPolicyState struct {
	// The instance port to apply the policy to.
	InstancePort pulumi.IntPtrInput
	// The load balancer to attach the policy to.
	LoadBalancerName pulumi.StringPtrInput
	// List of Policy Names to apply to the backend server.
	PolicyNames pulumi.StringArrayInput
}

func (LoadBalancerBackendServerPolicyState) ElementType

type LoadBalancerCookieStickinessPolicy

type LoadBalancerCookieStickinessPolicy struct {
	pulumi.CustomResourceState

	// The time period after which
	// the session cookie should be considered stale, expressed in seconds.
	CookieExpirationPeriod pulumi.IntPtrOutput `pulumi:"cookieExpirationPeriod"`
	// The load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntOutput `pulumi:"lbPort"`
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringOutput `pulumi:"loadBalancer"`
	// The name of the stickiness policy.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a load balancer cookie stickiness policy, which allows an ELB to control the sticky session lifetime of the browser.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		lb, err := elb.NewLoadBalancer(ctx, "lb", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-east-1a"),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(8000),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(80),
					LbProtocol:       pulumi.String("http"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerCookieStickinessPolicy(ctx, "foo", &elb.LoadBalancerCookieStickinessPolicyArgs{
			LoadBalancer:           lb.ID(),
			LbPort:                 pulumi.Int(80),
			CookieExpirationPeriod: pulumi.Int(600),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetLoadBalancerCookieStickinessPolicy

func GetLoadBalancerCookieStickinessPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoadBalancerCookieStickinessPolicyState, opts ...pulumi.ResourceOption) (*LoadBalancerCookieStickinessPolicy, error)

GetLoadBalancerCookieStickinessPolicy gets an existing LoadBalancerCookieStickinessPolicy 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 NewLoadBalancerCookieStickinessPolicy

func NewLoadBalancerCookieStickinessPolicy(ctx *pulumi.Context,
	name string, args *LoadBalancerCookieStickinessPolicyArgs, opts ...pulumi.ResourceOption) (*LoadBalancerCookieStickinessPolicy, error)

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

func (*LoadBalancerCookieStickinessPolicy) ElementType

func (*LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutput

func (i *LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput

func (*LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutputWithContext

func (i *LoadBalancerCookieStickinessPolicy) ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput

type LoadBalancerCookieStickinessPolicyArgs

type LoadBalancerCookieStickinessPolicyArgs struct {
	// The time period after which
	// the session cookie should be considered stale, expressed in seconds.
	CookieExpirationPeriod pulumi.IntPtrInput
	// The load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntInput
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringInput
	// The name of the stickiness policy.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a LoadBalancerCookieStickinessPolicy resource.

func (LoadBalancerCookieStickinessPolicyArgs) ElementType

type LoadBalancerCookieStickinessPolicyArray

type LoadBalancerCookieStickinessPolicyArray []LoadBalancerCookieStickinessPolicyInput

func (LoadBalancerCookieStickinessPolicyArray) ElementType

func (LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutput

func (i LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput

func (LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext

func (i LoadBalancerCookieStickinessPolicyArray) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyArrayOutput

type LoadBalancerCookieStickinessPolicyArrayInput

type LoadBalancerCookieStickinessPolicyArrayInput interface {
	pulumi.Input

	ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput
	ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(context.Context) LoadBalancerCookieStickinessPolicyArrayOutput
}

LoadBalancerCookieStickinessPolicyArrayInput is an input type that accepts LoadBalancerCookieStickinessPolicyArray and LoadBalancerCookieStickinessPolicyArrayOutput values. You can construct a concrete instance of `LoadBalancerCookieStickinessPolicyArrayInput` via:

LoadBalancerCookieStickinessPolicyArray{ LoadBalancerCookieStickinessPolicyArgs{...} }

type LoadBalancerCookieStickinessPolicyArrayOutput

type LoadBalancerCookieStickinessPolicyArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerCookieStickinessPolicyArrayOutput) ElementType

func (LoadBalancerCookieStickinessPolicyArrayOutput) Index

func (LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutput

func (o LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutput() LoadBalancerCookieStickinessPolicyArrayOutput

func (LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext

func (o LoadBalancerCookieStickinessPolicyArrayOutput) ToLoadBalancerCookieStickinessPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyArrayOutput

type LoadBalancerCookieStickinessPolicyInput

type LoadBalancerCookieStickinessPolicyInput interface {
	pulumi.Input

	ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput
	ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput
}

type LoadBalancerCookieStickinessPolicyMap

type LoadBalancerCookieStickinessPolicyMap map[string]LoadBalancerCookieStickinessPolicyInput

func (LoadBalancerCookieStickinessPolicyMap) ElementType

func (LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutput

func (i LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput

func (LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext

func (i LoadBalancerCookieStickinessPolicyMap) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyMapOutput

type LoadBalancerCookieStickinessPolicyMapInput

type LoadBalancerCookieStickinessPolicyMapInput interface {
	pulumi.Input

	ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput
	ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(context.Context) LoadBalancerCookieStickinessPolicyMapOutput
}

LoadBalancerCookieStickinessPolicyMapInput is an input type that accepts LoadBalancerCookieStickinessPolicyMap and LoadBalancerCookieStickinessPolicyMapOutput values. You can construct a concrete instance of `LoadBalancerCookieStickinessPolicyMapInput` via:

LoadBalancerCookieStickinessPolicyMap{ "key": LoadBalancerCookieStickinessPolicyArgs{...} }

type LoadBalancerCookieStickinessPolicyMapOutput

type LoadBalancerCookieStickinessPolicyMapOutput struct{ *pulumi.OutputState }

func (LoadBalancerCookieStickinessPolicyMapOutput) ElementType

func (LoadBalancerCookieStickinessPolicyMapOutput) MapIndex

func (LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutput

func (o LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutput() LoadBalancerCookieStickinessPolicyMapOutput

func (LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext

func (o LoadBalancerCookieStickinessPolicyMapOutput) ToLoadBalancerCookieStickinessPolicyMapOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyMapOutput

type LoadBalancerCookieStickinessPolicyOutput

type LoadBalancerCookieStickinessPolicyOutput struct{ *pulumi.OutputState }

func (LoadBalancerCookieStickinessPolicyOutput) CookieExpirationPeriod

The time period after which the session cookie should be considered stale, expressed in seconds.

func (LoadBalancerCookieStickinessPolicyOutput) ElementType

func (LoadBalancerCookieStickinessPolicyOutput) LbPort

The load balancer port to which the policy should be applied. This must be an active listener on the load balancer.

func (LoadBalancerCookieStickinessPolicyOutput) LoadBalancer

The load balancer to which the policy should be attached.

func (LoadBalancerCookieStickinessPolicyOutput) Name

The name of the stickiness policy.

func (LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutput

func (o LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutput() LoadBalancerCookieStickinessPolicyOutput

func (LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutputWithContext

func (o LoadBalancerCookieStickinessPolicyOutput) ToLoadBalancerCookieStickinessPolicyOutputWithContext(ctx context.Context) LoadBalancerCookieStickinessPolicyOutput

type LoadBalancerCookieStickinessPolicyState

type LoadBalancerCookieStickinessPolicyState struct {
	// The time period after which
	// the session cookie should be considered stale, expressed in seconds.
	CookieExpirationPeriod pulumi.IntPtrInput
	// The load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntPtrInput
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringPtrInput
	// The name of the stickiness policy.
	Name pulumi.StringPtrInput
}

func (LoadBalancerCookieStickinessPolicyState) ElementType

type LoadBalancerHealthCheck

type LoadBalancerHealthCheck struct {
	// The number of checks before the instance is declared healthy.
	HealthyThreshold int `pulumi:"healthyThreshold"`
	// The interval between checks.
	Interval int `pulumi:"interval"`
	// The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL
	// values are:
	Target string `pulumi:"target"`
	// The length of time before the check times out.
	Timeout int `pulumi:"timeout"`
	// The number of checks before the instance is declared unhealthy.
	UnhealthyThreshold int `pulumi:"unhealthyThreshold"`
}

type LoadBalancerHealthCheckArgs

type LoadBalancerHealthCheckArgs struct {
	// The number of checks before the instance is declared healthy.
	HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"`
	// The interval between checks.
	Interval pulumi.IntInput `pulumi:"interval"`
	// The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL
	// values are:
	Target pulumi.StringInput `pulumi:"target"`
	// The length of time before the check times out.
	Timeout pulumi.IntInput `pulumi:"timeout"`
	// The number of checks before the instance is declared unhealthy.
	UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"`
}

func (LoadBalancerHealthCheckArgs) ElementType

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutput

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutputWithContext

func (i LoadBalancerHealthCheckArgs) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput

type LoadBalancerHealthCheckInput

type LoadBalancerHealthCheckInput interface {
	pulumi.Input

	ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput
	ToLoadBalancerHealthCheckOutputWithContext(context.Context) LoadBalancerHealthCheckOutput
}

LoadBalancerHealthCheckInput is an input type that accepts LoadBalancerHealthCheckArgs and LoadBalancerHealthCheckOutput values. You can construct a concrete instance of `LoadBalancerHealthCheckInput` via:

LoadBalancerHealthCheckArgs{...}

type LoadBalancerHealthCheckOutput

type LoadBalancerHealthCheckOutput struct{ *pulumi.OutputState }

func (LoadBalancerHealthCheckOutput) ElementType

func (LoadBalancerHealthCheckOutput) HealthyThreshold

func (o LoadBalancerHealthCheckOutput) HealthyThreshold() pulumi.IntOutput

The number of checks before the instance is declared healthy.

func (LoadBalancerHealthCheckOutput) Interval

The interval between checks.

func (LoadBalancerHealthCheckOutput) Target

The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL values are:

func (LoadBalancerHealthCheckOutput) Timeout

The length of time before the check times out.

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutput() LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckOutputWithContext(ctx context.Context) LoadBalancerHealthCheckOutput

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutput

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutputWithContext

func (o LoadBalancerHealthCheckOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckOutput) UnhealthyThreshold

func (o LoadBalancerHealthCheckOutput) UnhealthyThreshold() pulumi.IntOutput

The number of checks before the instance is declared unhealthy.

type LoadBalancerHealthCheckPtrInput

type LoadBalancerHealthCheckPtrInput interface {
	pulumi.Input

	ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput
	ToLoadBalancerHealthCheckPtrOutputWithContext(context.Context) LoadBalancerHealthCheckPtrOutput
}

LoadBalancerHealthCheckPtrInput is an input type that accepts LoadBalancerHealthCheckArgs, LoadBalancerHealthCheckPtr and LoadBalancerHealthCheckPtrOutput values. You can construct a concrete instance of `LoadBalancerHealthCheckPtrInput` via:

        LoadBalancerHealthCheckArgs{...}

or:

        nil

type LoadBalancerHealthCheckPtrOutput

type LoadBalancerHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerHealthCheckPtrOutput) Elem

func (LoadBalancerHealthCheckPtrOutput) ElementType

func (LoadBalancerHealthCheckPtrOutput) HealthyThreshold

The number of checks before the instance is declared healthy.

func (LoadBalancerHealthCheckPtrOutput) Interval

The interval between checks.

func (LoadBalancerHealthCheckPtrOutput) Target

The target of the check. Valid pattern is "${PROTOCOL}:${PORT}${PATH}", where PROTOCOL values are:

func (LoadBalancerHealthCheckPtrOutput) Timeout

The length of time before the check times out.

func (LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutput

func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutput() LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutputWithContext

func (o LoadBalancerHealthCheckPtrOutput) ToLoadBalancerHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthCheckPtrOutput

func (LoadBalancerHealthCheckPtrOutput) UnhealthyThreshold

func (o LoadBalancerHealthCheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput

The number of checks before the instance is declared unhealthy.

type LoadBalancerInput

type LoadBalancerInput interface {
	pulumi.Input

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

type LoadBalancerListener

type LoadBalancerListener struct {
	// The port on the instance to route to
	InstancePort int `pulumi:"instancePort"`
	// The protocol to use to the instance. Valid
	// values are `HTTP`, `HTTPS`, `TCP`, or `SSL`
	InstanceProtocol string `pulumi:"instanceProtocol"`
	// The port to listen on for the load balancer
	LbPort int `pulumi:"lbPort"`
	// The protocol to listen on. Valid values are `HTTP`,
	// `HTTPS`, `TCP`, or `SSL`
	LbProtocol string `pulumi:"lbProtocol"`
	// The ARN of an SSL certificate you have
	// uploaded to AWS IAM. **Note ECDSA-specific restrictions below.  Only valid when `lbProtocol` is either HTTPS or SSL**
	SslCertificateId *string `pulumi:"sslCertificateId"`
}

type LoadBalancerListenerArgs

type LoadBalancerListenerArgs struct {
	// The port on the instance to route to
	InstancePort pulumi.IntInput `pulumi:"instancePort"`
	// The protocol to use to the instance. Valid
	// values are `HTTP`, `HTTPS`, `TCP`, or `SSL`
	InstanceProtocol pulumi.StringInput `pulumi:"instanceProtocol"`
	// The port to listen on for the load balancer
	LbPort pulumi.IntInput `pulumi:"lbPort"`
	// The protocol to listen on. Valid values are `HTTP`,
	// `HTTPS`, `TCP`, or `SSL`
	LbProtocol pulumi.StringInput `pulumi:"lbProtocol"`
	// The ARN of an SSL certificate you have
	// uploaded to AWS IAM. **Note ECDSA-specific restrictions below.  Only valid when `lbProtocol` is either HTTPS or SSL**
	SslCertificateId pulumi.StringPtrInput `pulumi:"sslCertificateId"`
}

func (LoadBalancerListenerArgs) ElementType

func (LoadBalancerListenerArgs) ElementType() reflect.Type

func (LoadBalancerListenerArgs) ToLoadBalancerListenerOutput

func (i LoadBalancerListenerArgs) ToLoadBalancerListenerOutput() LoadBalancerListenerOutput

func (LoadBalancerListenerArgs) ToLoadBalancerListenerOutputWithContext

func (i LoadBalancerListenerArgs) ToLoadBalancerListenerOutputWithContext(ctx context.Context) LoadBalancerListenerOutput

type LoadBalancerListenerArray

type LoadBalancerListenerArray []LoadBalancerListenerInput

func (LoadBalancerListenerArray) ElementType

func (LoadBalancerListenerArray) ElementType() reflect.Type

func (LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutput

func (i LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput

func (LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutputWithContext

func (i LoadBalancerListenerArray) ToLoadBalancerListenerArrayOutputWithContext(ctx context.Context) LoadBalancerListenerArrayOutput

type LoadBalancerListenerArrayInput

type LoadBalancerListenerArrayInput interface {
	pulumi.Input

	ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput
	ToLoadBalancerListenerArrayOutputWithContext(context.Context) LoadBalancerListenerArrayOutput
}

LoadBalancerListenerArrayInput is an input type that accepts LoadBalancerListenerArray and LoadBalancerListenerArrayOutput values. You can construct a concrete instance of `LoadBalancerListenerArrayInput` via:

LoadBalancerListenerArray{ LoadBalancerListenerArgs{...} }

type LoadBalancerListenerArrayOutput

type LoadBalancerListenerArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerListenerArrayOutput) ElementType

func (LoadBalancerListenerArrayOutput) Index

func (LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutput

func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutput() LoadBalancerListenerArrayOutput

func (LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutputWithContext

func (o LoadBalancerListenerArrayOutput) ToLoadBalancerListenerArrayOutputWithContext(ctx context.Context) LoadBalancerListenerArrayOutput

type LoadBalancerListenerInput

type LoadBalancerListenerInput interface {
	pulumi.Input

	ToLoadBalancerListenerOutput() LoadBalancerListenerOutput
	ToLoadBalancerListenerOutputWithContext(context.Context) LoadBalancerListenerOutput
}

LoadBalancerListenerInput is an input type that accepts LoadBalancerListenerArgs and LoadBalancerListenerOutput values. You can construct a concrete instance of `LoadBalancerListenerInput` via:

LoadBalancerListenerArgs{...}

type LoadBalancerListenerOutput

type LoadBalancerListenerOutput struct{ *pulumi.OutputState }

func (LoadBalancerListenerOutput) ElementType

func (LoadBalancerListenerOutput) ElementType() reflect.Type

func (LoadBalancerListenerOutput) InstancePort

func (o LoadBalancerListenerOutput) InstancePort() pulumi.IntOutput

The port on the instance to route to

func (LoadBalancerListenerOutput) InstanceProtocol

func (o LoadBalancerListenerOutput) InstanceProtocol() pulumi.StringOutput

The protocol to use to the instance. Valid values are `HTTP`, `HTTPS`, `TCP`, or `SSL`

func (LoadBalancerListenerOutput) LbPort

The port to listen on for the load balancer

func (LoadBalancerListenerOutput) LbProtocol

The protocol to listen on. Valid values are `HTTP`, `HTTPS`, `TCP`, or `SSL`

func (LoadBalancerListenerOutput) SslCertificateId

func (o LoadBalancerListenerOutput) SslCertificateId() pulumi.StringPtrOutput

The ARN of an SSL certificate you have uploaded to AWS IAM. **Note ECDSA-specific restrictions below. Only valid when `lbProtocol` is either HTTPS or SSL**

func (LoadBalancerListenerOutput) ToLoadBalancerListenerOutput

func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutput() LoadBalancerListenerOutput

func (LoadBalancerListenerOutput) ToLoadBalancerListenerOutputWithContext

func (o LoadBalancerListenerOutput) ToLoadBalancerListenerOutputWithContext(ctx context.Context) LoadBalancerListenerOutput

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

An Access Logs block. Access Logs documented below.

func (LoadBalancerOutput) Arn

The ARN of the ELB

func (LoadBalancerOutput) AvailabilityZones

func (o LoadBalancerOutput) AvailabilityZones() pulumi.StringArrayOutput

The AZ's to serve traffic in.

func (LoadBalancerOutput) ConnectionDraining

func (o LoadBalancerOutput) ConnectionDraining() pulumi.BoolPtrOutput

Boolean to enable connection draining. Default: `false`

func (LoadBalancerOutput) ConnectionDrainingTimeout

func (o LoadBalancerOutput) ConnectionDrainingTimeout() pulumi.IntPtrOutput

The time in seconds to allow for connections to drain. Default: `300`

func (LoadBalancerOutput) CrossZoneLoadBalancing

func (o LoadBalancerOutput) CrossZoneLoadBalancing() pulumi.BoolPtrOutput

Enable cross-zone load balancing. Default: `true`

func (LoadBalancerOutput) DesyncMitigationMode

func (o LoadBalancerOutput) DesyncMitigationMode() pulumi.StringPtrOutput

Determines 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

The DNS name of the ELB

func (LoadBalancerOutput) ElementType

func (LoadBalancerOutput) ElementType() reflect.Type

func (LoadBalancerOutput) HealthCheck

A healthCheck block. Health Check documented below.

func (LoadBalancerOutput) IdleTimeout

func (o LoadBalancerOutput) IdleTimeout() pulumi.IntPtrOutput

The time in seconds that the connection is allowed to be idle. Default: `60`

func (LoadBalancerOutput) Instances

A list of instance ids to place in the ELB pool.

func (LoadBalancerOutput) Internal

func (o LoadBalancerOutput) Internal() pulumi.BoolOutput

If true, ELB will be an internal ELB.

func (LoadBalancerOutput) Listeners

A list of listener blocks. Listeners documented below.

func (LoadBalancerOutput) Name

The name of the ELB. By default generated by this provider.

func (LoadBalancerOutput) NamePrefix

func (o LoadBalancerOutput) NamePrefix() pulumi.StringPtrOutput

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

func (LoadBalancerOutput) SecurityGroups

func (o LoadBalancerOutput) SecurityGroups() pulumi.StringArrayOutput

A list of security group IDs to assign to the ELB. Only valid if creating an ELB within a VPC

func (LoadBalancerOutput) SourceSecurityGroup

func (o LoadBalancerOutput) SourceSecurityGroup() pulumi.StringOutput

The name of the security group that you can use as part of your inbound rules for your load balancer's back-end application instances. Use this for Classic or Default VPC only.

func (LoadBalancerOutput) SourceSecurityGroupId

func (o LoadBalancerOutput) SourceSecurityGroupId() pulumi.StringOutput

The ID of the security group that you can use as part of your inbound rules for your load balancer's back-end application instances. Only available on ELBs launched in a VPC.

func (LoadBalancerOutput) Subnets

A list of subnet IDs to attach to the ELB. When an update to subnets will remove all current subnets, this will force a new resource.

func (LoadBalancerOutput) 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.

Exactly one of `availabilityZones` or `subnets` must be specified: this determines if the ELB exists in a VPC or in EC2-classic.

func (LoadBalancerOutput) TagsAll

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

func (LoadBalancerOutput) ToLoadBalancerOutput

func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerOutputWithContext

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

func (LoadBalancerOutput) ZoneId

The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record)

type LoadBalancerPolicy

type LoadBalancerPolicy struct {
	pulumi.CustomResourceState

	// The load balancer on which the policy is defined.
	LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"`
	// Policy attribute to apply to the policy.
	PolicyAttributes LoadBalancerPolicyPolicyAttributeArrayOutput `pulumi:"policyAttributes"`
	// The name of the load balancer policy.
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
	// The policy type.
	PolicyTypeName pulumi.StringOutput `pulumi:"policyTypeName"`
}

Provides a load balancer policy, which can be attached to an ELB listener or backend server.

## Example Usage

```go package main

import (

"os"

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

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elb.NewLoadBalancer(ctx, "wu-tang", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-east-1a"),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(443),
					InstanceProtocol: pulumi.String("http"),
					LbPort:           pulumi.Int(443),
					LbProtocol:       pulumi.String("https"),
					SslCertificateId: pulumi.String("arn:aws:iam::000000000000:server-certificate/wu-tang.net"),
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("wu-tang"),
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ca-pubkey-policy", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-ca-pubkey-policy"),
			PolicyTypeName:   pulumi.String("PublicKeyPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("PublicKey"),
					Value: readFileOrPanic("wu-tang-pubkey"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-root-ca-backend-auth-policy", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-root-ca-backend-auth-policy"),
			PolicyTypeName:   pulumi.String("BackendServerAuthenticationPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("PublicKeyPolicyName"),
					Value: pulumi.Any(aws_load_balancer_policy.WuTangRootCaPubkeyPolicy.Policy_name),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-ssl"),
			PolicyTypeName:   pulumi.String("SSLNegotiationPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("ECDHE-ECDSA-AES128-GCM-SHA256"),
					Value: pulumi.String("true"),
				},
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("Protocol-TLSv1.2"),
					Value: pulumi.String("true"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerPolicy(ctx, "wu-tang-ssl-tls-1-1", &elb.LoadBalancerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			PolicyName:       pulumi.String("wu-tang-ssl"),
			PolicyTypeName:   pulumi.String("SSLNegotiationPolicyType"),
			PolicyAttributes: elb.LoadBalancerPolicyPolicyAttributeArray{
				&elb.LoadBalancerPolicyPolicyAttributeArgs{
					Name:  pulumi.String("Reference-Security-Policy"),
					Value: pulumi.String("ELBSecurityPolicy-TLS-1-1-2017-01"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewLoadBalancerBackendServerPolicy(ctx, "wu-tang-backend-auth-policies-443", &elb.LoadBalancerBackendServerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			InstancePort:     pulumi.Int(443),
			PolicyNames: pulumi.StringArray{
				wu_tang_root_ca_backend_auth_policy.PolicyName,
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewListenerPolicy(ctx, "wu-tang-listener-policies-443", &elb.ListenerPolicyArgs{
			LoadBalancerName: wu_tang.Name,
			LoadBalancerPort: pulumi.Int(443),
			PolicyNames: pulumi.StringArray{
				wu_tang_ssl.PolicyName,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetLoadBalancerPolicy

func GetLoadBalancerPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoadBalancerPolicyState, opts ...pulumi.ResourceOption) (*LoadBalancerPolicy, error)

GetLoadBalancerPolicy gets an existing LoadBalancerPolicy 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 NewLoadBalancerPolicy

func NewLoadBalancerPolicy(ctx *pulumi.Context,
	name string, args *LoadBalancerPolicyArgs, opts ...pulumi.ResourceOption) (*LoadBalancerPolicy, error)

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

func (*LoadBalancerPolicy) ElementType

func (*LoadBalancerPolicy) ElementType() reflect.Type

func (*LoadBalancerPolicy) ToLoadBalancerPolicyOutput

func (i *LoadBalancerPolicy) ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput

func (*LoadBalancerPolicy) ToLoadBalancerPolicyOutputWithContext

func (i *LoadBalancerPolicy) ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput

type LoadBalancerPolicyArgs

type LoadBalancerPolicyArgs struct {
	// The load balancer on which the policy is defined.
	LoadBalancerName pulumi.StringInput
	// Policy attribute to apply to the policy.
	PolicyAttributes LoadBalancerPolicyPolicyAttributeArrayInput
	// The name of the load balancer policy.
	PolicyName pulumi.StringInput
	// The policy type.
	PolicyTypeName pulumi.StringInput
}

The set of arguments for constructing a LoadBalancerPolicy resource.

func (LoadBalancerPolicyArgs) ElementType

func (LoadBalancerPolicyArgs) ElementType() reflect.Type

type LoadBalancerPolicyArray

type LoadBalancerPolicyArray []LoadBalancerPolicyInput

func (LoadBalancerPolicyArray) ElementType

func (LoadBalancerPolicyArray) ElementType() reflect.Type

func (LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutput

func (i LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput

func (LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutputWithContext

func (i LoadBalancerPolicyArray) ToLoadBalancerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyArrayOutput

type LoadBalancerPolicyArrayInput

type LoadBalancerPolicyArrayInput interface {
	pulumi.Input

	ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput
	ToLoadBalancerPolicyArrayOutputWithContext(context.Context) LoadBalancerPolicyArrayOutput
}

LoadBalancerPolicyArrayInput is an input type that accepts LoadBalancerPolicyArray and LoadBalancerPolicyArrayOutput values. You can construct a concrete instance of `LoadBalancerPolicyArrayInput` via:

LoadBalancerPolicyArray{ LoadBalancerPolicyArgs{...} }

type LoadBalancerPolicyArrayOutput

type LoadBalancerPolicyArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerPolicyArrayOutput) ElementType

func (LoadBalancerPolicyArrayOutput) Index

func (LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutput

func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutput() LoadBalancerPolicyArrayOutput

func (LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutputWithContext

func (o LoadBalancerPolicyArrayOutput) ToLoadBalancerPolicyArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyArrayOutput

type LoadBalancerPolicyInput

type LoadBalancerPolicyInput interface {
	pulumi.Input

	ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput
	ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput
}

type LoadBalancerPolicyMap

type LoadBalancerPolicyMap map[string]LoadBalancerPolicyInput

func (LoadBalancerPolicyMap) ElementType

func (LoadBalancerPolicyMap) ElementType() reflect.Type

func (LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutput

func (i LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput

func (LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutputWithContext

func (i LoadBalancerPolicyMap) ToLoadBalancerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerPolicyMapOutput

type LoadBalancerPolicyMapInput

type LoadBalancerPolicyMapInput interface {
	pulumi.Input

	ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput
	ToLoadBalancerPolicyMapOutputWithContext(context.Context) LoadBalancerPolicyMapOutput
}

LoadBalancerPolicyMapInput is an input type that accepts LoadBalancerPolicyMap and LoadBalancerPolicyMapOutput values. You can construct a concrete instance of `LoadBalancerPolicyMapInput` via:

LoadBalancerPolicyMap{ "key": LoadBalancerPolicyArgs{...} }

type LoadBalancerPolicyMapOutput

type LoadBalancerPolicyMapOutput struct{ *pulumi.OutputState }

func (LoadBalancerPolicyMapOutput) ElementType

func (LoadBalancerPolicyMapOutput) MapIndex

func (LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutput

func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutput() LoadBalancerPolicyMapOutput

func (LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutputWithContext

func (o LoadBalancerPolicyMapOutput) ToLoadBalancerPolicyMapOutputWithContext(ctx context.Context) LoadBalancerPolicyMapOutput

type LoadBalancerPolicyOutput

type LoadBalancerPolicyOutput struct{ *pulumi.OutputState }

func (LoadBalancerPolicyOutput) ElementType

func (LoadBalancerPolicyOutput) ElementType() reflect.Type

func (LoadBalancerPolicyOutput) LoadBalancerName

func (o LoadBalancerPolicyOutput) LoadBalancerName() pulumi.StringOutput

The load balancer on which the policy is defined.

func (LoadBalancerPolicyOutput) PolicyAttributes

Policy attribute to apply to the policy.

func (LoadBalancerPolicyOutput) PolicyName

The name of the load balancer policy.

func (LoadBalancerPolicyOutput) PolicyTypeName

func (o LoadBalancerPolicyOutput) PolicyTypeName() pulumi.StringOutput

The policy type.

func (LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutput

func (o LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutput() LoadBalancerPolicyOutput

func (LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutputWithContext

func (o LoadBalancerPolicyOutput) ToLoadBalancerPolicyOutputWithContext(ctx context.Context) LoadBalancerPolicyOutput

type LoadBalancerPolicyPolicyAttribute

type LoadBalancerPolicyPolicyAttribute struct {
	Name  *string `pulumi:"name"`
	Value *string `pulumi:"value"`
}

type LoadBalancerPolicyPolicyAttributeArgs

type LoadBalancerPolicyPolicyAttributeArgs struct {
	Name  pulumi.StringPtrInput `pulumi:"name"`
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (LoadBalancerPolicyPolicyAttributeArgs) ElementType

func (LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutput

func (i LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput

func (LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutputWithContext

func (i LoadBalancerPolicyPolicyAttributeArgs) ToLoadBalancerPolicyPolicyAttributeOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeOutput

type LoadBalancerPolicyPolicyAttributeArray

type LoadBalancerPolicyPolicyAttributeArray []LoadBalancerPolicyPolicyAttributeInput

func (LoadBalancerPolicyPolicyAttributeArray) ElementType

func (LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutput

func (i LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput

func (LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext

func (i LoadBalancerPolicyPolicyAttributeArray) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput

type LoadBalancerPolicyPolicyAttributeArrayInput

type LoadBalancerPolicyPolicyAttributeArrayInput interface {
	pulumi.Input

	ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput
	ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput
}

LoadBalancerPolicyPolicyAttributeArrayInput is an input type that accepts LoadBalancerPolicyPolicyAttributeArray and LoadBalancerPolicyPolicyAttributeArrayOutput values. You can construct a concrete instance of `LoadBalancerPolicyPolicyAttributeArrayInput` via:

LoadBalancerPolicyPolicyAttributeArray{ LoadBalancerPolicyPolicyAttributeArgs{...} }

type LoadBalancerPolicyPolicyAttributeArrayOutput

type LoadBalancerPolicyPolicyAttributeArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerPolicyPolicyAttributeArrayOutput) ElementType

func (LoadBalancerPolicyPolicyAttributeArrayOutput) Index

func (LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutput

func (o LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutput() LoadBalancerPolicyPolicyAttributeArrayOutput

func (LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext

func (o LoadBalancerPolicyPolicyAttributeArrayOutput) ToLoadBalancerPolicyPolicyAttributeArrayOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeArrayOutput

type LoadBalancerPolicyPolicyAttributeInput

type LoadBalancerPolicyPolicyAttributeInput interface {
	pulumi.Input

	ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput
	ToLoadBalancerPolicyPolicyAttributeOutputWithContext(context.Context) LoadBalancerPolicyPolicyAttributeOutput
}

LoadBalancerPolicyPolicyAttributeInput is an input type that accepts LoadBalancerPolicyPolicyAttributeArgs and LoadBalancerPolicyPolicyAttributeOutput values. You can construct a concrete instance of `LoadBalancerPolicyPolicyAttributeInput` via:

LoadBalancerPolicyPolicyAttributeArgs{...}

type LoadBalancerPolicyPolicyAttributeOutput

type LoadBalancerPolicyPolicyAttributeOutput struct{ *pulumi.OutputState }

func (LoadBalancerPolicyPolicyAttributeOutput) ElementType

func (LoadBalancerPolicyPolicyAttributeOutput) Name

func (LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutput

func (o LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutput() LoadBalancerPolicyPolicyAttributeOutput

func (LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutputWithContext

func (o LoadBalancerPolicyPolicyAttributeOutput) ToLoadBalancerPolicyPolicyAttributeOutputWithContext(ctx context.Context) LoadBalancerPolicyPolicyAttributeOutput

func (LoadBalancerPolicyPolicyAttributeOutput) Value

type LoadBalancerPolicyState

type LoadBalancerPolicyState struct {
	// The load balancer on which the policy is defined.
	LoadBalancerName pulumi.StringPtrInput
	// Policy attribute to apply to the policy.
	PolicyAttributes LoadBalancerPolicyPolicyAttributeArrayInput
	// The name of the load balancer policy.
	PolicyName pulumi.StringPtrInput
	// The policy type.
	PolicyTypeName pulumi.StringPtrInput
}

func (LoadBalancerPolicyState) ElementType

func (LoadBalancerPolicyState) ElementType() reflect.Type

type LoadBalancerState

type LoadBalancerState struct {
	// An Access Logs block. Access Logs documented below.
	AccessLogs LoadBalancerAccessLogsPtrInput
	// The ARN of the ELB
	Arn pulumi.StringPtrInput
	// The AZ's to serve traffic in.
	AvailabilityZones pulumi.StringArrayInput
	// Boolean to enable connection draining. Default: `false`
	ConnectionDraining pulumi.BoolPtrInput
	// The time in seconds to allow for connections to drain. Default: `300`
	ConnectionDrainingTimeout pulumi.IntPtrInput
	// Enable cross-zone load balancing. Default: `true`
	CrossZoneLoadBalancing pulumi.BoolPtrInput
	// Determines 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
	// The DNS name of the ELB
	DnsName pulumi.StringPtrInput
	// A healthCheck block. Health Check documented below.
	HealthCheck LoadBalancerHealthCheckPtrInput
	// The time in seconds that the connection is allowed to be idle. Default: `60`
	IdleTimeout pulumi.IntPtrInput
	// A list of instance ids to place in the ELB pool.
	Instances pulumi.StringArrayInput
	// If true, ELB will be an internal ELB.
	Internal pulumi.BoolPtrInput
	// A list of listener blocks. Listeners documented below.
	Listeners LoadBalancerListenerArrayInput
	// The name of the ELB. By default generated by this provider.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified
	// prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// A list of security group IDs to assign to the ELB.
	// Only valid if creating an ELB within a VPC
	SecurityGroups pulumi.StringArrayInput
	// The name of the security group that you can use as
	// part of your inbound rules for your load balancer's back-end application
	// instances. Use this for Classic or Default VPC only.
	SourceSecurityGroup pulumi.StringPtrInput
	// The ID of the security group that you can use as
	// part of your inbound rules for your load balancer's back-end application
	// instances. Only available on ELBs launched in a VPC.
	SourceSecurityGroupId pulumi.StringPtrInput
	// A list of subnet IDs to attach to the ELB. When an update to subnets will remove all current subnets, this will force a new resource.
	Subnets pulumi.StringArrayInput
	// 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.
	//
	// Exactly one of `availabilityZones` or `subnets` must be specified: this
	// determines if the ELB exists in a VPC or in EC2-classic.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record)
	ZoneId pulumi.StringPtrInput
}

func (LoadBalancerState) ElementType

func (LoadBalancerState) ElementType() reflect.Type

type LookupLoadBalancerArgs

type LookupLoadBalancerArgs struct {
	// Unique name of the load balancer.
	Name string            `pulumi:"name"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getLoadBalancer.

type LookupLoadBalancerOutputArgs

type LookupLoadBalancerOutputArgs struct {
	// Unique name of the load balancer.
	Name pulumi.StringInput    `pulumi:"name"`
	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"`
	AvailabilityZones         []string                   `pulumi:"availabilityZones"`
	ConnectionDraining        bool                       `pulumi:"connectionDraining"`
	ConnectionDrainingTimeout int                        `pulumi:"connectionDrainingTimeout"`
	CrossZoneLoadBalancing    bool                       `pulumi:"crossZoneLoadBalancing"`
	DesyncMitigationMode      string                     `pulumi:"desyncMitigationMode"`
	DnsName                   string                     `pulumi:"dnsName"`
	HealthCheck               GetLoadBalancerHealthCheck `pulumi:"healthCheck"`
	// The provider-assigned unique ID for this managed resource.
	Id                    string                    `pulumi:"id"`
	IdleTimeout           int                       `pulumi:"idleTimeout"`
	Instances             []string                  `pulumi:"instances"`
	Internal              bool                      `pulumi:"internal"`
	Listeners             []GetLoadBalancerListener `pulumi:"listeners"`
	Name                  string                    `pulumi:"name"`
	SecurityGroups        []string                  `pulumi:"securityGroups"`
	SourceSecurityGroup   string                    `pulumi:"sourceSecurityGroup"`
	SourceSecurityGroupId string                    `pulumi:"sourceSecurityGroupId"`
	Subnets               []string                  `pulumi:"subnets"`
	Tags                  map[string]string         `pulumi:"tags"`
	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)

Provides information about a "classic" Elastic Load Balancer (ELB). See LB Data Source if you are looking for "v2" Application Load Balancer (ALB) or Network Load Balancer (NLB).

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elb"
"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, "")
		lbName := ""
		if param := cfg.Get("lbName"); param != "" {
			lbName = param
		}
		_, err := elb.LookupLoadBalancer(ctx, &elb.LookupLoadBalancerArgs{
			Name: lbName,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLoadBalancerResultOutput

type LookupLoadBalancerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLoadBalancer.

func (LookupLoadBalancerResultOutput) AccessLogs

func (LookupLoadBalancerResultOutput) Arn

func (LookupLoadBalancerResultOutput) AvailabilityZones

func (LookupLoadBalancerResultOutput) ConnectionDraining

func (o LookupLoadBalancerResultOutput) ConnectionDraining() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) ConnectionDrainingTimeout

func (o LookupLoadBalancerResultOutput) ConnectionDrainingTimeout() pulumi.IntOutput

func (LookupLoadBalancerResultOutput) CrossZoneLoadBalancing

func (o LookupLoadBalancerResultOutput) CrossZoneLoadBalancing() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) DesyncMitigationMode

func (o LookupLoadBalancerResultOutput) DesyncMitigationMode() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) DnsName

func (LookupLoadBalancerResultOutput) ElementType

func (LookupLoadBalancerResultOutput) HealthCheck

func (LookupLoadBalancerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupLoadBalancerResultOutput) IdleTimeout

func (LookupLoadBalancerResultOutput) Instances

func (LookupLoadBalancerResultOutput) Internal

func (LookupLoadBalancerResultOutput) Listeners

func (LookupLoadBalancerResultOutput) Name

func (LookupLoadBalancerResultOutput) SecurityGroups

func (LookupLoadBalancerResultOutput) SourceSecurityGroup

func (o LookupLoadBalancerResultOutput) SourceSecurityGroup() pulumi.StringOutput

func (LookupLoadBalancerResultOutput) SourceSecurityGroupId

func (o LookupLoadBalancerResultOutput) SourceSecurityGroupId() pulumi.StringOutput

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

type SslNegotiationPolicy

type SslNegotiationPolicy struct {
	pulumi.CustomResourceState

	// An SSL Negotiation policy attribute. Each has two properties:
	Attributes SslNegotiationPolicyAttributeArrayOutput `pulumi:"attributes"`
	// The load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntOutput `pulumi:"lbPort"`
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringOutput `pulumi:"loadBalancer"`
	// The name of the attribute
	Name pulumi.StringOutput `pulumi:"name"`
	// Map of arbitrary keys and values that, when changed, will trigger a redeployment.
	//
	// To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.
	//
	// > **NOTE:** The AWS documentation references Server Order Preference, which the AWS Elastic Load Balancing API refers to as `Server-Defined-Cipher-Order`. If you wish to set Server Order Preference, use this value instead.
	Triggers pulumi.StringMapOutput `pulumi:"triggers"`
}

Provides a load balancer SSL negotiation policy, which allows an ELB to control the ciphers and protocols that are supported during SSL negotiations between a client and a load balancer.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		lb, err := elb.NewLoadBalancer(ctx, "lb", &elb.LoadBalancerArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-east-1a"),
			},
			Listeners: elb.LoadBalancerListenerArray{
				&elb.LoadBalancerListenerArgs{
					InstancePort:     pulumi.Int(8000),
					InstanceProtocol: pulumi.String("https"),
					LbPort:           pulumi.Int(443),
					LbProtocol:       pulumi.String("https"),
					SslCertificateId: pulumi.String("arn:aws:iam::123456789012:server-certificate/certName"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = elb.NewSslNegotiationPolicy(ctx, "foo", &elb.SslNegotiationPolicyArgs{
			LoadBalancer: lb.ID(),
			LbPort:       pulumi.Int(443),
			Attributes: elb.SslNegotiationPolicyAttributeArray{
				&elb.SslNegotiationPolicyAttributeArgs{
					Name:  pulumi.String("Protocol-TLSv1"),
					Value: pulumi.String("false"),
				},
				&elb.SslNegotiationPolicyAttributeArgs{
					Name:  pulumi.String("Protocol-TLSv1.1"),
					Value: pulumi.String("false"),
				},
				&elb.SslNegotiationPolicyAttributeArgs{
					Name:  pulumi.String("Protocol-TLSv1.2"),
					Value: pulumi.String("true"),
				},
				&elb.SslNegotiationPolicyAttributeArgs{
					Name:  pulumi.String("Server-Defined-Cipher-Order"),
					Value: pulumi.String("true"),
				},
				&elb.SslNegotiationPolicyAttributeArgs{
					Name:  pulumi.String("ECDHE-RSA-AES128-GCM-SHA256"),
					Value: pulumi.String("true"),
				},
				&elb.SslNegotiationPolicyAttributeArgs{
					Name:  pulumi.String("AES128-GCM-SHA256"),
					Value: pulumi.String("true"),
				},
				&elb.SslNegotiationPolicyAttributeArgs{
					Name:  pulumi.String("EDH-RSA-DES-CBC3-SHA"),
					Value: pulumi.String("false"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetSslNegotiationPolicy

func GetSslNegotiationPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SslNegotiationPolicyState, opts ...pulumi.ResourceOption) (*SslNegotiationPolicy, error)

GetSslNegotiationPolicy gets an existing SslNegotiationPolicy 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 NewSslNegotiationPolicy

func NewSslNegotiationPolicy(ctx *pulumi.Context,
	name string, args *SslNegotiationPolicyArgs, opts ...pulumi.ResourceOption) (*SslNegotiationPolicy, error)

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

func (*SslNegotiationPolicy) ElementType

func (*SslNegotiationPolicy) ElementType() reflect.Type

func (*SslNegotiationPolicy) ToSslNegotiationPolicyOutput

func (i *SslNegotiationPolicy) ToSslNegotiationPolicyOutput() SslNegotiationPolicyOutput

func (*SslNegotiationPolicy) ToSslNegotiationPolicyOutputWithContext

func (i *SslNegotiationPolicy) ToSslNegotiationPolicyOutputWithContext(ctx context.Context) SslNegotiationPolicyOutput

type SslNegotiationPolicyArgs

type SslNegotiationPolicyArgs struct {
	// An SSL Negotiation policy attribute. Each has two properties:
	Attributes SslNegotiationPolicyAttributeArrayInput
	// The load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntInput
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringInput
	// The name of the attribute
	Name pulumi.StringPtrInput
	// Map of arbitrary keys and values that, when changed, will trigger a redeployment.
	//
	// To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.
	//
	// > **NOTE:** The AWS documentation references Server Order Preference, which the AWS Elastic Load Balancing API refers to as `Server-Defined-Cipher-Order`. If you wish to set Server Order Preference, use this value instead.
	Triggers pulumi.StringMapInput
}

The set of arguments for constructing a SslNegotiationPolicy resource.

func (SslNegotiationPolicyArgs) ElementType

func (SslNegotiationPolicyArgs) ElementType() reflect.Type

type SslNegotiationPolicyArray

type SslNegotiationPolicyArray []SslNegotiationPolicyInput

func (SslNegotiationPolicyArray) ElementType

func (SslNegotiationPolicyArray) ElementType() reflect.Type

func (SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutput

func (i SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutput() SslNegotiationPolicyArrayOutput

func (SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutputWithContext

func (i SslNegotiationPolicyArray) ToSslNegotiationPolicyArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyArrayOutput

type SslNegotiationPolicyArrayInput

type SslNegotiationPolicyArrayInput interface {
	pulumi.Input

	ToSslNegotiationPolicyArrayOutput() SslNegotiationPolicyArrayOutput
	ToSslNegotiationPolicyArrayOutputWithContext(context.Context) SslNegotiationPolicyArrayOutput
}

SslNegotiationPolicyArrayInput is an input type that accepts SslNegotiationPolicyArray and SslNegotiationPolicyArrayOutput values. You can construct a concrete instance of `SslNegotiationPolicyArrayInput` via:

SslNegotiationPolicyArray{ SslNegotiationPolicyArgs{...} }

type SslNegotiationPolicyArrayOutput

type SslNegotiationPolicyArrayOutput struct{ *pulumi.OutputState }

func (SslNegotiationPolicyArrayOutput) ElementType

func (SslNegotiationPolicyArrayOutput) Index

func (SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutput

func (o SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutput() SslNegotiationPolicyArrayOutput

func (SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutputWithContext

func (o SslNegotiationPolicyArrayOutput) ToSslNegotiationPolicyArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyArrayOutput

type SslNegotiationPolicyAttribute

type SslNegotiationPolicyAttribute struct {
	// The name of the attribute
	Name string `pulumi:"name"`
	// The value of the attribute
	Value string `pulumi:"value"`
}

type SslNegotiationPolicyAttributeArgs

type SslNegotiationPolicyAttributeArgs struct {
	// The name of the attribute
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the attribute
	Value pulumi.StringInput `pulumi:"value"`
}

func (SslNegotiationPolicyAttributeArgs) ElementType

func (SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutput

func (i SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput

func (SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutputWithContext

func (i SslNegotiationPolicyAttributeArgs) ToSslNegotiationPolicyAttributeOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeOutput

type SslNegotiationPolicyAttributeArray

type SslNegotiationPolicyAttributeArray []SslNegotiationPolicyAttributeInput

func (SslNegotiationPolicyAttributeArray) ElementType

func (SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutput

func (i SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput

func (SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutputWithContext

func (i SslNegotiationPolicyAttributeArray) ToSslNegotiationPolicyAttributeArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeArrayOutput

type SslNegotiationPolicyAttributeArrayInput

type SslNegotiationPolicyAttributeArrayInput interface {
	pulumi.Input

	ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput
	ToSslNegotiationPolicyAttributeArrayOutputWithContext(context.Context) SslNegotiationPolicyAttributeArrayOutput
}

SslNegotiationPolicyAttributeArrayInput is an input type that accepts SslNegotiationPolicyAttributeArray and SslNegotiationPolicyAttributeArrayOutput values. You can construct a concrete instance of `SslNegotiationPolicyAttributeArrayInput` via:

SslNegotiationPolicyAttributeArray{ SslNegotiationPolicyAttributeArgs{...} }

type SslNegotiationPolicyAttributeArrayOutput

type SslNegotiationPolicyAttributeArrayOutput struct{ *pulumi.OutputState }

func (SslNegotiationPolicyAttributeArrayOutput) ElementType

func (SslNegotiationPolicyAttributeArrayOutput) Index

func (SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutput

func (o SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutput() SslNegotiationPolicyAttributeArrayOutput

func (SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutputWithContext

func (o SslNegotiationPolicyAttributeArrayOutput) ToSslNegotiationPolicyAttributeArrayOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeArrayOutput

type SslNegotiationPolicyAttributeInput

type SslNegotiationPolicyAttributeInput interface {
	pulumi.Input

	ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput
	ToSslNegotiationPolicyAttributeOutputWithContext(context.Context) SslNegotiationPolicyAttributeOutput
}

SslNegotiationPolicyAttributeInput is an input type that accepts SslNegotiationPolicyAttributeArgs and SslNegotiationPolicyAttributeOutput values. You can construct a concrete instance of `SslNegotiationPolicyAttributeInput` via:

SslNegotiationPolicyAttributeArgs{...}

type SslNegotiationPolicyAttributeOutput

type SslNegotiationPolicyAttributeOutput struct{ *pulumi.OutputState }

func (SslNegotiationPolicyAttributeOutput) ElementType

func (SslNegotiationPolicyAttributeOutput) Name

The name of the attribute

func (SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutput

func (o SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutput() SslNegotiationPolicyAttributeOutput

func (SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutputWithContext

func (o SslNegotiationPolicyAttributeOutput) ToSslNegotiationPolicyAttributeOutputWithContext(ctx context.Context) SslNegotiationPolicyAttributeOutput

func (SslNegotiationPolicyAttributeOutput) Value

The value of the attribute

type SslNegotiationPolicyInput

type SslNegotiationPolicyInput interface {
	pulumi.Input

	ToSslNegotiationPolicyOutput() SslNegotiationPolicyOutput
	ToSslNegotiationPolicyOutputWithContext(ctx context.Context) SslNegotiationPolicyOutput
}

type SslNegotiationPolicyMap

type SslNegotiationPolicyMap map[string]SslNegotiationPolicyInput

func (SslNegotiationPolicyMap) ElementType

func (SslNegotiationPolicyMap) ElementType() reflect.Type

func (SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutput

func (i SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutput() SslNegotiationPolicyMapOutput

func (SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutputWithContext

func (i SslNegotiationPolicyMap) ToSslNegotiationPolicyMapOutputWithContext(ctx context.Context) SslNegotiationPolicyMapOutput

type SslNegotiationPolicyMapInput

type SslNegotiationPolicyMapInput interface {
	pulumi.Input

	ToSslNegotiationPolicyMapOutput() SslNegotiationPolicyMapOutput
	ToSslNegotiationPolicyMapOutputWithContext(context.Context) SslNegotiationPolicyMapOutput
}

SslNegotiationPolicyMapInput is an input type that accepts SslNegotiationPolicyMap and SslNegotiationPolicyMapOutput values. You can construct a concrete instance of `SslNegotiationPolicyMapInput` via:

SslNegotiationPolicyMap{ "key": SslNegotiationPolicyArgs{...} }

type SslNegotiationPolicyMapOutput

type SslNegotiationPolicyMapOutput struct{ *pulumi.OutputState }

func (SslNegotiationPolicyMapOutput) ElementType

func (SslNegotiationPolicyMapOutput) MapIndex

func (SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutput

func (o SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutput() SslNegotiationPolicyMapOutput

func (SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutputWithContext

func (o SslNegotiationPolicyMapOutput) ToSslNegotiationPolicyMapOutputWithContext(ctx context.Context) SslNegotiationPolicyMapOutput

type SslNegotiationPolicyOutput

type SslNegotiationPolicyOutput struct{ *pulumi.OutputState }

func (SslNegotiationPolicyOutput) Attributes

An SSL Negotiation policy attribute. Each has two properties:

func (SslNegotiationPolicyOutput) ElementType

func (SslNegotiationPolicyOutput) ElementType() reflect.Type

func (SslNegotiationPolicyOutput) LbPort

The load balancer port to which the policy should be applied. This must be an active listener on the load balancer.

func (SslNegotiationPolicyOutput) LoadBalancer

The load balancer to which the policy should be attached.

func (SslNegotiationPolicyOutput) Name

The name of the attribute

func (SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutput

func (o SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutput() SslNegotiationPolicyOutput

func (SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutputWithContext

func (o SslNegotiationPolicyOutput) ToSslNegotiationPolicyOutputWithContext(ctx context.Context) SslNegotiationPolicyOutput

func (SslNegotiationPolicyOutput) Triggers

Map of arbitrary keys and values that, when changed, will trigger a redeployment.

To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.

> **NOTE:** The AWS documentation references Server Order Preference, which the AWS Elastic Load Balancing API refers to as `Server-Defined-Cipher-Order`. If you wish to set Server Order Preference, use this value instead.

type SslNegotiationPolicyState

type SslNegotiationPolicyState struct {
	// An SSL Negotiation policy attribute. Each has two properties:
	Attributes SslNegotiationPolicyAttributeArrayInput
	// The load balancer port to which the policy
	// should be applied. This must be an active listener on the load
	// balancer.
	LbPort pulumi.IntPtrInput
	// The load balancer to which the policy
	// should be attached.
	LoadBalancer pulumi.StringPtrInput
	// The name of the attribute
	Name pulumi.StringPtrInput
	// Map of arbitrary keys and values that, when changed, will trigger a redeployment.
	//
	// To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.
	//
	// > **NOTE:** The AWS documentation references Server Order Preference, which the AWS Elastic Load Balancing API refers to as `Server-Defined-Cipher-Order`. If you wish to set Server Order Preference, use this value instead.
	Triggers pulumi.StringMapInput
}

func (SslNegotiationPolicyState) ElementType

func (SslNegotiationPolicyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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