Fork me on GitHub

Module applicationloadbalancing

@pulumi/aws > applicationloadbalancing

Index

applicationloadbalancing/getListener.ts applicationloadbalancing/getLoadBalancer.ts applicationloadbalancing/getTargetGroup.ts applicationloadbalancing/listener.ts applicationloadbalancing/listenerCertificate.ts applicationloadbalancing/listenerRule.ts applicationloadbalancing/loadBalancer.ts applicationloadbalancing/targetGroup.ts applicationloadbalancing/targetGroupAttachment.ts

class Listener

Provides a Load Balancer Listener resource.

~> Note: aws_alb_listener is known as aws_lb_listener. The functionality is identical.

constructor

new Listener(name: string, args: ListenerArgs, opts?: pulumi.CustomResourceOptions)

Create a Listener resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ListenerState): Listener

Get an existing Listener resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the listener (matches id)

property certificateArn

public certificateArn: pulumi.Output<string | undefined>;

The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the aws_lb_listener_certificate resource.

property defaultActions

public defaultActions: pulumi.Output<{ ... }[]>;

An Action block. Action blocks are documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property loadBalancerArn

public loadBalancerArn: pulumi.Output<string>;

The ARN of the load balancer.

property port

public port: pulumi.Output<number>;

The port on which the load balancer is listening.

property protocol

public protocol: pulumi.Output<string | undefined>;

The protocol for connections from clients to the load balancer. Valid values are TCP, HTTP and HTTPS. Defaults to HTTP.

property sslPolicy

public sslPolicy: pulumi.Output<string>;

The name of the SSL Policy for the listener. Required if protocol is HTTPS.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ListenerCertificate

Provides a Load Balancer Listener Certificate resource.

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

~> Note: aws_alb_listener_certificate is known as aws_lb_listener_certificate. The functionality is identical.

constructor

new ListenerCertificate(name: string, args: ListenerCertificateArgs, opts?: pulumi.CustomResourceOptions)

Create a ListenerCertificate resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ListenerCertificateState): ListenerCertificate

Get an existing ListenerCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property certificateArn

public certificateArn: pulumi.Output<string>;

The ARN of the certificate to attach to the listener.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property listenerArn

public listenerArn: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ListenerRule

Provides a Load Balancer Listener Rule resource.

~> Note: aws_alb_listener_rule is known as aws_lb_listener_rule. The functionality is identical.

constructor

new ListenerRule(name: string, args: ListenerRuleArgs, opts?: pulumi.CustomResourceOptions)

Create a ListenerRule resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ListenerRuleState): ListenerRule

Get an existing ListenerRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property actions

public actions: pulumi.Output<{ ... }[]>;

An Action block. Action blocks are documented below.

property arn

public arn: pulumi.Output<string>;

The ARN of the rule (matches id)

property conditions

public conditions: pulumi.Output<{ ... }[]>;

A Condition block. Condition blocks are documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property listenerArn

public listenerArn: pulumi.Output<string>;

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

property priority

public priority: pulumi.Output<number>;

The priority for the rule between 1 and 50000. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can’t have multiple rules with the same priority.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class LoadBalancer

Provides a Load Balancer resource.

~> Note: aws_alb is known as aws_lb. The functionality is identical.

constructor

new LoadBalancer(name: string, args?: LoadBalancerArgs, opts?: pulumi.CustomResourceOptions)

Create a LoadBalancer resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadBalancerState): LoadBalancer

Get an existing LoadBalancer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property accessLogs

public accessLogs: pulumi.Output<{ ... }>;

An Access Logs block. Access Logs documented below. Only valid for Load Balancers of type application.

property arn

public arn: pulumi.Output<string>;

The ARN of the load balancer (matches id).

property arnSuffix

public arnSuffix: pulumi.Output<string>;

The ARN suffix for use with CloudWatch Metrics.

property dnsName

public dnsName: pulumi.Output<string>;

The DNS name of the load balancer.

property enableCrossZoneLoadBalancing

public enableCrossZoneLoadBalancing: pulumi.Output<boolean | undefined>;

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

property enableDeletionProtection

public enableDeletionProtection: pulumi.Output<boolean | undefined>;

If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to false.

property enableHttp2

public enableHttp2: pulumi.Output<boolean | undefined>;

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property idleTimeout

public idleTimeout: pulumi.Output<number | undefined>;

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

property internal

public internal: pulumi.Output<boolean>;

If true, the LB will be internal.

property ipAddressType

public ipAddressType: pulumi.Output<string>;

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

property loadBalancerType

public loadBalancerType: pulumi.Output<string | undefined>;

The type of load balancer to create. Possible values are application or network. The default value is application.

property name

public name: pulumi.Output<string>;

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, Terraform will autogenerate a name beginning with tf-lb.

property namePrefix

public namePrefix: pulumi.Output<string | undefined>;

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

property securityGroups

public securityGroups: pulumi.Output<string[]>;

A list of security group IDs to assign to the LB. Only valid for Load Balancers of type application.

property subnetMappings

public subnetMappings: pulumi.Output<{ ... }[]>;

A subnet mapping block as documented below.

property subnets

public subnets: pulumi.Output<string[]>;

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

property tags

public tags: pulumi.Output<{ ... } | undefined>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vpcId

public vpcId: pulumi.Output<string>;

property zoneId

public zoneId: pulumi.Output<string>;

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

class TargetGroup

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

~> Note: aws_alb_target_group is known as aws_lb_target_group. The functionality is identical.

constructor

new TargetGroup(name: string, args: TargetGroupArgs, opts?: pulumi.CustomResourceOptions)

Create a TargetGroup resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetGroupState): TargetGroup

Get an existing TargetGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the Target Group (matches id)

property arnSuffix

public arnSuffix: pulumi.Output<string>;

The ARN suffix for use with CloudWatch Metrics.

property deregistrationDelay

public deregistrationDelay: pulumi.Output<number | undefined>;

The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.

property healthCheck

public healthCheck: pulumi.Output<{ ... }>;

A Health Check block. Health Check blocks are documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the target group. If omitted, Terraform will assign a random, unique name.

property namePrefix

public namePrefix: pulumi.Output<string | undefined>;

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

property port

public port: pulumi.Output<number>;

The port to use to connect with the target. Valid values are either ports 1-65536, or traffic-port. Defaults to traffic-port.

property protocol

public protocol: pulumi.Output<string>;

The protocol to use to connect with the target. Defaults to HTTP.

property proxyProtocolV2

public proxyProtocolV2: pulumi.Output<boolean | undefined>;

Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See doc for more information.

property slowStart

public slowStart: pulumi.Output<number | undefined>;

The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.

property stickiness

public stickiness: pulumi.Output<{ ... }>;

A Stickiness block. Stickiness blocks are documented below. stickiness is only valid if used with Load Balancers of type Application

property tags

public tags: pulumi.Output<{ ... } | undefined>;

A mapping of tags to assign to the resource.

property targetType

public targetType: pulumi.Output<string | undefined>;

The type of target that you must specify when registering targets with this target group. The possible values are instance (targets are specified by instance ID) or ip (targets are specified by IP address). The default is instance. Note that you can’t specify targets for a target group using both instance IDs and IP addresses. If the target type is ip, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can’t specify publicly routable IP addresses.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vpcId

public vpcId: pulumi.Output<string>;

The identifier of the VPC in which to create the target group.

class TargetGroupAttachment

Provides the ability to register instances and containers with a LB target group

~> Note: aws_alb_target_group_attachment is known as aws_lb_target_group_attachment. The functionality is identical.

constructor

new TargetGroupAttachment(name: string, args: TargetGroupAttachmentArgs, opts?: pulumi.CustomResourceOptions)

Create a TargetGroupAttachment resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TargetGroupAttachmentState): TargetGroupAttachment

Get an existing TargetGroupAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property availabilityZone

public availabilityZone: pulumi.Output<string | undefined>;

The Availability Zone where the IP address of the target is to be registered.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property port

public port: pulumi.Output<number | undefined>;

The port on which targets receive traffic.

property targetGroupArn

public targetGroupArn: pulumi.Output<string>;

The ARN of the target group with which to register targets

property targetId

public targetId: pulumi.Output<string>;

The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getListener

getListener(args?: GetListenerArgs, opts?: pulumi.InvokeOptions): Promise<GetListenerResult>

~> Note: aws_alb_listener is known as aws_lb_listener. The functionality is identical.

Provides information about a Load Balancer Listener.

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

function getLoadBalancer

getLoadBalancer(args?: GetLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadBalancerResult>

~> Note: aws_alb is known as aws_lb. The functionality is identical.

Provides information about a Load Balancer.

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

function getTargetGroup

getTargetGroup(args?: GetTargetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetTargetGroupResult>

~> Note: aws_alb_target_group is known as aws_lb_target_group. The functionality is identical.

Provides information about a Load Balancer Target Group.

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

interface GetListenerArgs

A collection of arguments for invoking getListener.

property arn

arn?: string;

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

property loadBalancerArn

loadBalancerArn?: string;

The arn of the load balander. Required if arn is not set.

property port

port?: number;

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

interface GetListenerResult

A collection of values returned by getListener.

property arn

arn: string;

property certificateArn

certificateArn: string;

property defaultActions

defaultActions: { ... }[];

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property loadBalancerArn

loadBalancerArn: string;

property port

port: number;

property protocol

protocol: string;

property sslPolicy

sslPolicy: string;

interface GetLoadBalancerArgs

A collection of arguments for invoking getLoadBalancer.

property arn

arn?: string;

The full ARN of the load balancer.

property name

name?: string;

The unique name of the load balancer.

property tags

tags?: { ... };

interface GetLoadBalancerResult

A collection of values returned by getLoadBalancer.

property accessLogs

accessLogs: { ... };

property arn

arn: string;

property arnSuffix

arnSuffix: string;

property dnsName

dnsName: string;

property enableDeletionProtection

enableDeletionProtection: boolean;

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property idleTimeout

idleTimeout: number;

property internal

internal: boolean;

property loadBalancerType

loadBalancerType: string;

property name

name: string;

property securityGroups

securityGroups: string[];

property subnetMappings

subnetMappings: { ... }[];

property subnets

subnets: string[];

property tags

tags: { ... };

property vpcId

vpcId: string;

property zoneId

zoneId: string;

interface GetTargetGroupArgs

A collection of arguments for invoking getTargetGroup.

property arn

arn?: string;

The full ARN of the target group.

property name

name?: string;

The unique name of the target group.

property tags

tags?: { ... };

interface GetTargetGroupResult

A collection of values returned by getTargetGroup.

property arn

arn: string;

property arnSuffix

arnSuffix: string;

property deregistrationDelay

deregistrationDelay: number;

property healthCheck

healthCheck: { ... };

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property name

name: string;

property port

port: number;

property protocol

protocol: string;

property slowStart

slowStart: number;

property stickiness

stickiness: { ... };

property tags

tags: { ... };

property vpcId

vpcId: string;

interface ListenerArgs

The set of arguments for constructing a Listener resource.

property certificateArn

certificateArn?: pulumi.Input<string>;

The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the aws_lb_listener_certificate resource.

property defaultActions

defaultActions: pulumi.Input<pulumi.Input<{ ... }>[]>;

An Action block. Action blocks are documented below.

property loadBalancerArn

loadBalancerArn: pulumi.Input<string>;

The ARN of the load balancer.

property port

port: pulumi.Input<number>;

The port on which the load balancer is listening.

property protocol

protocol?: pulumi.Input<string>;

The protocol for connections from clients to the load balancer. Valid values are TCP, HTTP and HTTPS. Defaults to HTTP.

property sslPolicy

sslPolicy?: pulumi.Input<string>;

The name of the SSL Policy for the listener. Required if protocol is HTTPS.

interface ListenerCertificateArgs

The set of arguments for constructing a ListenerCertificate resource.

property certificateArn

certificateArn: pulumi.Input<string>;

The ARN of the certificate to attach to the listener.

property listenerArn

listenerArn: pulumi.Input<string>;

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

interface ListenerCertificateState

Input properties used for looking up and filtering ListenerCertificate resources.

property certificateArn

certificateArn?: pulumi.Input<string>;

The ARN of the certificate to attach to the listener.

property listenerArn

listenerArn?: pulumi.Input<string>;

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

interface ListenerRuleArgs

The set of arguments for constructing a ListenerRule resource.

property actions

actions: pulumi.Input<pulumi.Input<{ ... }>[]>;

An Action block. Action blocks are documented below.

property conditions

conditions: pulumi.Input<pulumi.Input<{ ... }>[]>;

A Condition block. Condition blocks are documented below.

property listenerArn

listenerArn: pulumi.Input<string>;

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

property priority

priority?: pulumi.Input<number>;

The priority for the rule between 1 and 50000. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can’t have multiple rules with the same priority.

interface ListenerRuleState

Input properties used for looking up and filtering ListenerRule resources.

property actions

actions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An Action block. Action blocks are documented below.

property arn

arn?: pulumi.Input<string>;

The ARN of the rule (matches id)

property conditions

conditions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A Condition block. Condition blocks are documented below.

property listenerArn

listenerArn?: pulumi.Input<string>;

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

property priority

priority?: pulumi.Input<number>;

The priority for the rule between 1 and 50000. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can’t have multiple rules with the same priority.

interface ListenerState

Input properties used for looking up and filtering Listener resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the listener (matches id)

property certificateArn

certificateArn?: pulumi.Input<string>;

The ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the aws_lb_listener_certificate resource.

property defaultActions

defaultActions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

An Action block. Action blocks are documented below.

property loadBalancerArn

loadBalancerArn?: pulumi.Input<string>;

The ARN of the load balancer.

property port

port?: pulumi.Input<number>;

The port on which the load balancer is listening.

property protocol

protocol?: pulumi.Input<string>;

The protocol for connections from clients to the load balancer. Valid values are TCP, HTTP and HTTPS. Defaults to HTTP.

property sslPolicy

sslPolicy?: pulumi.Input<string>;

The name of the SSL Policy for the listener. Required if protocol is HTTPS.

interface LoadBalancerArgs

The set of arguments for constructing a LoadBalancer resource.

property accessLogs

accessLogs?: pulumi.Input<{ ... }>;

An Access Logs block. Access Logs documented below. Only valid for Load Balancers of type application.

property enableCrossZoneLoadBalancing

enableCrossZoneLoadBalancing?: pulumi.Input<boolean>;

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

property enableDeletionProtection

enableDeletionProtection?: pulumi.Input<boolean>;

If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to false.

property enableHttp2

enableHttp2?: pulumi.Input<boolean>;

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

property idleTimeout

idleTimeout?: pulumi.Input<number>;

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

property internal

internal?: pulumi.Input<boolean>;

If true, the LB will be internal.

property ipAddressType

ipAddressType?: pulumi.Input<string>;

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

property loadBalancerType

loadBalancerType?: pulumi.Input<string>;

The type of load balancer to create. Possible values are application or network. The default value is application.

property name

name?: pulumi.Input<string>;

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, Terraform will autogenerate a name beginning with tf-lb.

property namePrefix

namePrefix?: pulumi.Input<string>;

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

property securityGroups

securityGroups?: pulumi.Input<pulumi.Input<string>[]>;

A list of security group IDs to assign to the LB. Only valid for Load Balancers of type application.

property subnetMappings

subnetMappings?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A subnet mapping block as documented below.

property subnets

subnets?: pulumi.Input<pulumi.Input<string>[]>;

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

interface LoadBalancerState

Input properties used for looking up and filtering LoadBalancer resources.

property accessLogs

accessLogs?: pulumi.Input<{ ... }>;

An Access Logs block. Access Logs documented below. Only valid for Load Balancers of type application.

property arn

arn?: pulumi.Input<string>;

The ARN of the load balancer (matches id).

property arnSuffix

arnSuffix?: pulumi.Input<string>;

The ARN suffix for use with CloudWatch Metrics.

property dnsName

dnsName?: pulumi.Input<string>;

The DNS name of the load balancer.

property enableCrossZoneLoadBalancing

enableCrossZoneLoadBalancing?: pulumi.Input<boolean>;

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

property enableDeletionProtection

enableDeletionProtection?: pulumi.Input<boolean>;

If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to false.

property enableHttp2

enableHttp2?: pulumi.Input<boolean>;

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

property idleTimeout

idleTimeout?: pulumi.Input<number>;

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

property internal

internal?: pulumi.Input<boolean>;

If true, the LB will be internal.

property ipAddressType

ipAddressType?: pulumi.Input<string>;

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

property loadBalancerType

loadBalancerType?: pulumi.Input<string>;

The type of load balancer to create. Possible values are application or network. The default value is application.

property name

name?: pulumi.Input<string>;

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, Terraform will autogenerate a name beginning with tf-lb.

property namePrefix

namePrefix?: pulumi.Input<string>;

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

property securityGroups

securityGroups?: pulumi.Input<pulumi.Input<string>[]>;

A list of security group IDs to assign to the LB. Only valid for Load Balancers of type application.

property subnetMappings

subnetMappings?: pulumi.Input<pulumi.Input<{ ... }>[]>;

A subnet mapping block as documented below.

property subnets

subnets?: pulumi.Input<pulumi.Input<string>[]>;

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property vpcId

vpcId?: pulumi.Input<string>;

property zoneId

zoneId?: pulumi.Input<string>;

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

interface TargetGroupArgs

The set of arguments for constructing a TargetGroup resource.

property deregistrationDelay

deregistrationDelay?: pulumi.Input<number>;

The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.

property healthCheck

healthCheck?: pulumi.Input<{ ... }>;

A Health Check block. Health Check blocks are documented below.

property name

name?: pulumi.Input<string>;

The name of the target group. If omitted, Terraform will assign a random, unique name.

property namePrefix

namePrefix?: pulumi.Input<string>;

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

property port

port: pulumi.Input<number>;

The port to use to connect with the target. Valid values are either ports 1-65536, or traffic-port. Defaults to traffic-port.

property protocol

protocol: pulumi.Input<string>;

The protocol to use to connect with the target. Defaults to HTTP.

property proxyProtocolV2

proxyProtocolV2?: pulumi.Input<boolean>;

Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See doc for more information.

property slowStart

slowStart?: pulumi.Input<number>;

The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.

property stickiness

stickiness?: pulumi.Input<{ ... }>;

A Stickiness block. Stickiness blocks are documented below. stickiness is only valid if used with Load Balancers of type Application

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property targetType

targetType?: pulumi.Input<string>;

The type of target that you must specify when registering targets with this target group. The possible values are instance (targets are specified by instance ID) or ip (targets are specified by IP address). The default is instance. Note that you can’t specify targets for a target group using both instance IDs and IP addresses. If the target type is ip, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can’t specify publicly routable IP addresses.

property vpcId

vpcId: pulumi.Input<string>;

The identifier of the VPC in which to create the target group.

interface TargetGroupAttachmentArgs

The set of arguments for constructing a TargetGroupAttachment resource.

property availabilityZone

availabilityZone?: pulumi.Input<string>;

The Availability Zone where the IP address of the target is to be registered.

property port

port?: pulumi.Input<number>;

The port on which targets receive traffic.

property targetGroupArn

targetGroupArn: pulumi.Input<string>;

The ARN of the target group with which to register targets

property targetId

targetId: pulumi.Input<string>;

The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address.

interface TargetGroupAttachmentState

Input properties used for looking up and filtering TargetGroupAttachment resources.

property availabilityZone

availabilityZone?: pulumi.Input<string>;

The Availability Zone where the IP address of the target is to be registered.

property port

port?: pulumi.Input<number>;

The port on which targets receive traffic.

property targetGroupArn

targetGroupArn?: pulumi.Input<string>;

The ARN of the target group with which to register targets

property targetId

targetId?: pulumi.Input<string>;

The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address.

interface TargetGroupState

Input properties used for looking up and filtering TargetGroup resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the Target Group (matches id)

property arnSuffix

arnSuffix?: pulumi.Input<string>;

The ARN suffix for use with CloudWatch Metrics.

property deregistrationDelay

deregistrationDelay?: pulumi.Input<number>;

The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds.

property healthCheck

healthCheck?: pulumi.Input<{ ... }>;

A Health Check block. Health Check blocks are documented below.

property name

name?: pulumi.Input<string>;

The name of the target group. If omitted, Terraform will assign a random, unique name.

property namePrefix

namePrefix?: pulumi.Input<string>;

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

property port

port?: pulumi.Input<number>;

The port to use to connect with the target. Valid values are either ports 1-65536, or traffic-port. Defaults to traffic-port.

property protocol

protocol?: pulumi.Input<string>;

The protocol to use to connect with the target. Defaults to HTTP.

property proxyProtocolV2

proxyProtocolV2?: pulumi.Input<boolean>;

Boolean to enable / disable support for proxy protocol v2 on Network Load Balancers. See doc for more information.

property slowStart

slowStart?: pulumi.Input<number>;

The amount time for targets to warm up before the load balancer sends them a full share of requests. The range is 30-900 seconds or 0 to disable. The default value is 0 seconds.

property stickiness

stickiness?: pulumi.Input<{ ... }>;

A Stickiness block. Stickiness blocks are documented below. stickiness is only valid if used with Load Balancers of type Application

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property targetType

targetType?: pulumi.Input<string>;

The type of target that you must specify when registering targets with this target group. The possible values are instance (targets are specified by instance ID) or ip (targets are specified by IP address). The default is instance. Note that you can’t specify targets for a target group using both instance IDs and IP addresses. If the target type is ip, specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can’t specify publicly routable IP addresses.

property vpcId

vpcId?: pulumi.Input<string>;

The identifier of the VPC in which to create the target group.