Interface ApplicationLoadBalancerArgs

The set of arguments for constructing a ApplicationLoadBalancer resource.

interface ApplicationLoadBalancerArgs {
    accessLogs?: any;
    customerOwnedIpv4Pool?: any;
    defaultSecurityGroup?: DefaultSecurityGroupArgs;
    defaultTargetGroup?: types.input.lb.TargetGroupArgs;
    defaultTargetGroupPort?: any;
    desyncMitigationMode?: any;
    dnsRecordClientRoutingPolicy?: any;
    dropInvalidHeaderFields?: any;
    enableDeletionProtection?: any;
    enableHttp2?: any;
    enableTlsVersionAndCipherSuiteHeaders?: any;
    enableWafFailOpen?: any;
    enableXffClientPort?: any;
    idleTimeout?: any;
    internal?: any;
    ipAddressType?: any;
    listener?: types.input.lb.ListenerArgs;
    listeners?: types.input.lb.ListenerArgs[];
    name?: any;
    namePrefix?: any;
    preserveHostHeader?: any;
    securityGroups?: any;
    subnetIds?: any;
    subnetMappings?: any;
    subnets?: any;
    tags?: any;
    xffHeaderProcessingMode?: any;
}

Properties

accessLogs?: any

An Access Logs block. Access Logs documented below.

customerOwnedIpv4Pool?: any

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

defaultSecurityGroup?: DefaultSecurityGroupArgs

Options for creating a default security group if [securityGroups] not specified.

defaultTargetGroup?: types.input.lb.TargetGroupArgs

Options creating a default target group.

defaultTargetGroupPort?: any

Port to use to connect with the target. Valid values are ports 1-65535. Defaults to 80.

desyncMitigationMode?: any

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.

dnsRecordClientRoutingPolicy?: any

Indicates how traffic is distributed among the load balancer Availability Zones. Possible values are any_availability_zone (default), availability_zone_affinity, or partial_availability_zone_affinity. See Availability Zone DNS affinity for additional details. Only valid for network type load balancers.

dropInvalidHeaderFields?: any

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

enableDeletionProtection?: any

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

enableHttp2?: any

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

enableTlsVersionAndCipherSuiteHeaders?: any

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

enableWafFailOpen?: any

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

enableXffClientPort?: any

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

idleTimeout?: any

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

internal?: any

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

ipAddressType?: any

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

A listener to create. Only one of [listener] and [listeners] can be specified.

listeners?: types.input.lb.ListenerArgs[]

List of listeners to create. Only one of [listener] and [listeners] can be specified.

name?: any

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

namePrefix?: any

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

preserveHostHeader?: any

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

securityGroups?: any

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

subnetIds?: any

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.

subnetMappings?: any

A subnet mapping block as documented below.

subnets?: any

A list of subnets to attach to the LB. Only one of [subnets], [subnetIds] or [subnetMappings] can be specified

tags?: any

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

xffHeaderProcessingMode?: any

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

Generated using TypeDoc