flexibleengine.ElbHealth
Explore with Pulumi AI
!> Warning: Classic load balancers are no longer provided, using elastic load balancers instead.
Manages a classic lb health check resource within FlexibleEngine.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const healthcheck = new flexibleengine.ElbHealth("healthcheck", {
listenerId: flexibleengine_elb_listener.listener.id,
healthcheckProtocol: "TCP",
healthcheckConnectPort: 22,
healthyThreshold: 5,
healthcheckTimeout: 25,
healthcheckInterval: 3,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
healthcheck = flexibleengine.ElbHealth("healthcheck",
listener_id=flexibleengine_elb_listener["listener"]["id"],
healthcheck_protocol="TCP",
healthcheck_connect_port=22,
healthy_threshold=5,
healthcheck_timeout=25,
healthcheck_interval=3)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.NewElbHealth(ctx, "healthcheck", &flexibleengine.ElbHealthArgs{
ListenerId: pulumi.Any(flexibleengine_elb_listener.Listener.Id),
HealthcheckProtocol: pulumi.String("TCP"),
HealthcheckConnectPort: pulumi.Float64(22),
HealthyThreshold: pulumi.Float64(5),
HealthcheckTimeout: pulumi.Float64(25),
HealthcheckInterval: pulumi.Float64(3),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var healthcheck = new Flexibleengine.ElbHealth("healthcheck", new()
{
ListenerId = flexibleengine_elb_listener.Listener.Id,
HealthcheckProtocol = "TCP",
HealthcheckConnectPort = 22,
HealthyThreshold = 5,
HealthcheckTimeout = 25,
HealthcheckInterval = 3,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.ElbHealth;
import com.pulumi.flexibleengine.ElbHealthArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var healthcheck = new ElbHealth("healthcheck", ElbHealthArgs.builder()
.listenerId(flexibleengine_elb_listener.listener().id())
.healthcheckProtocol("TCP")
.healthcheckConnectPort(22)
.healthyThreshold(5)
.healthcheckTimeout(25)
.healthcheckInterval(3)
.build());
}
}
resources:
healthcheck:
type: flexibleengine:ElbHealth
properties:
listenerId: ${flexibleengine_elb_listener.listener.id}
healthcheckProtocol: TCP
healthcheckConnectPort: 22
healthyThreshold: 5
healthcheckTimeout: 25
healthcheckInterval: 3
Create ElbHealth Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ElbHealth(name: string, args: ElbHealthArgs, opts?: CustomResourceOptions);
@overload
def ElbHealth(resource_name: str,
args: ElbHealthArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ElbHealth(resource_name: str,
opts: Optional[ResourceOptions] = None,
listener_id: Optional[str] = None,
elb_health_id: Optional[str] = None,
healthcheck_connect_port: Optional[float] = None,
healthcheck_interval: Optional[float] = None,
healthcheck_protocol: Optional[str] = None,
healthcheck_timeout: Optional[float] = None,
healthcheck_uri: Optional[str] = None,
healthy_threshold: Optional[float] = None,
region: Optional[str] = None,
timeouts: Optional[ElbHealthTimeoutsArgs] = None,
unhealthy_threshold: Optional[float] = None)
func NewElbHealth(ctx *Context, name string, args ElbHealthArgs, opts ...ResourceOption) (*ElbHealth, error)
public ElbHealth(string name, ElbHealthArgs args, CustomResourceOptions? opts = null)
public ElbHealth(String name, ElbHealthArgs args)
public ElbHealth(String name, ElbHealthArgs args, CustomResourceOptions options)
type: flexibleengine:ElbHealth
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ElbHealthArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ElbHealthArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ElbHealthArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElbHealthArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ElbHealthArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var elbHealthResource = new Flexibleengine.ElbHealth("elbHealthResource", new()
{
ListenerId = "string",
ElbHealthId = "string",
HealthcheckConnectPort = 0,
HealthcheckInterval = 0,
HealthcheckProtocol = "string",
HealthcheckTimeout = 0,
HealthcheckUri = "string",
HealthyThreshold = 0,
Region = "string",
Timeouts = new Flexibleengine.Inputs.ElbHealthTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
UnhealthyThreshold = 0,
});
example, err := flexibleengine.NewElbHealth(ctx, "elbHealthResource", &flexibleengine.ElbHealthArgs{
ListenerId: pulumi.String("string"),
ElbHealthId: pulumi.String("string"),
HealthcheckConnectPort: pulumi.Float64(0),
HealthcheckInterval: pulumi.Float64(0),
HealthcheckProtocol: pulumi.String("string"),
HealthcheckTimeout: pulumi.Float64(0),
HealthcheckUri: pulumi.String("string"),
HealthyThreshold: pulumi.Float64(0),
Region: pulumi.String("string"),
Timeouts: &flexibleengine.ElbHealthTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UnhealthyThreshold: pulumi.Float64(0),
})
var elbHealthResource = new ElbHealth("elbHealthResource", ElbHealthArgs.builder()
.listenerId("string")
.elbHealthId("string")
.healthcheckConnectPort(0)
.healthcheckInterval(0)
.healthcheckProtocol("string")
.healthcheckTimeout(0)
.healthcheckUri("string")
.healthyThreshold(0)
.region("string")
.timeouts(ElbHealthTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.unhealthyThreshold(0)
.build());
elb_health_resource = flexibleengine.ElbHealth("elbHealthResource",
listener_id="string",
elb_health_id="string",
healthcheck_connect_port=0,
healthcheck_interval=0,
healthcheck_protocol="string",
healthcheck_timeout=0,
healthcheck_uri="string",
healthy_threshold=0,
region="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
unhealthy_threshold=0)
const elbHealthResource = new flexibleengine.ElbHealth("elbHealthResource", {
listenerId: "string",
elbHealthId: "string",
healthcheckConnectPort: 0,
healthcheckInterval: 0,
healthcheckProtocol: "string",
healthcheckTimeout: 0,
healthcheckUri: "string",
healthyThreshold: 0,
region: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
unhealthyThreshold: 0,
});
type: flexibleengine:ElbHealth
properties:
elbHealthId: string
healthcheckConnectPort: 0
healthcheckInterval: 0
healthcheckProtocol: string
healthcheckTimeout: 0
healthcheckUri: string
healthyThreshold: 0
listenerId: string
region: string
timeouts:
create: string
delete: string
update: string
unhealthyThreshold: 0
ElbHealth Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ElbHealth resource accepts the following input properties:
- Listener
Id string - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- Elb
Health stringId - Specifies the health check ID.
- Healthcheck
Connect doublePort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- Healthcheck
Interval double - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- Healthcheck
Protocol string - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- Healthcheck
Timeout double - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- Healthcheck
Uri string - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- Healthy
Threshold double - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- Region string
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - Timeouts
Elb
Health Timeouts - Unhealthy
Threshold double - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- Listener
Id string - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- Elb
Health stringId - Specifies the health check ID.
- Healthcheck
Connect float64Port - Specifies the port used for the health check. The value ranges from 1 to 65535.
- Healthcheck
Interval float64 - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- Healthcheck
Protocol string - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- Healthcheck
Timeout float64 - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- Healthcheck
Uri string - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- Healthy
Threshold float64 - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- Region string
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - Timeouts
Elb
Health Timeouts Args - Unhealthy
Threshold float64 - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- listener
Id String - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- elb
Health StringId - Specifies the health check ID.
- healthcheck
Connect DoublePort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck
Interval Double - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck
Protocol String - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck
Timeout Double - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck
Uri String - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy
Threshold Double - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- region String
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts
Elb
Health Timeouts - unhealthy
Threshold Double - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- listener
Id string - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- elb
Health stringId - Specifies the health check ID.
- healthcheck
Connect numberPort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck
Interval number - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck
Protocol string - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck
Timeout number - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck
Uri string - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy
Threshold number - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- region string
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts
Elb
Health Timeouts - unhealthy
Threshold number - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- listener_
id str - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- elb_
health_ strid - Specifies the health check ID.
- healthcheck_
connect_ floatport - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck_
interval float - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck_
protocol str - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck_
timeout float - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck_
uri str - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy_
threshold float - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- region str
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts
Elb
Health Timeouts Args - unhealthy_
threshold float - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- listener
Id String - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- elb
Health StringId - Specifies the health check ID.
- healthcheck
Connect NumberPort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck
Interval Number - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck
Protocol String - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck
Timeout Number - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck
Uri String - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy
Threshold Number - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- region String
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts Property Map
- unhealthy
Threshold Number - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
Outputs
All input properties are implicitly available as output properties. Additionally, the ElbHealth resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ElbHealth Resource
Get an existing ElbHealth resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ElbHealthState, opts?: CustomResourceOptions): ElbHealth
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
elb_health_id: Optional[str] = None,
healthcheck_connect_port: Optional[float] = None,
healthcheck_interval: Optional[float] = None,
healthcheck_protocol: Optional[str] = None,
healthcheck_timeout: Optional[float] = None,
healthcheck_uri: Optional[str] = None,
healthy_threshold: Optional[float] = None,
listener_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[ElbHealthTimeoutsArgs] = None,
unhealthy_threshold: Optional[float] = None) -> ElbHealth
func GetElbHealth(ctx *Context, name string, id IDInput, state *ElbHealthState, opts ...ResourceOption) (*ElbHealth, error)
public static ElbHealth Get(string name, Input<string> id, ElbHealthState? state, CustomResourceOptions? opts = null)
public static ElbHealth get(String name, Output<String> id, ElbHealthState state, CustomResourceOptions options)
resources: _: type: flexibleengine:ElbHealth get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Elb
Health stringId - Specifies the health check ID.
- Healthcheck
Connect doublePort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- Healthcheck
Interval double - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- Healthcheck
Protocol string - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- Healthcheck
Timeout double - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- Healthcheck
Uri string - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- Healthy
Threshold double - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- Listener
Id string - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- Region string
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - Timeouts
Elb
Health Timeouts - Unhealthy
Threshold double - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- Elb
Health stringId - Specifies the health check ID.
- Healthcheck
Connect float64Port - Specifies the port used for the health check. The value ranges from 1 to 65535.
- Healthcheck
Interval float64 - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- Healthcheck
Protocol string - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- Healthcheck
Timeout float64 - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- Healthcheck
Uri string - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- Healthy
Threshold float64 - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- Listener
Id string - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- Region string
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - Timeouts
Elb
Health Timeouts Args - Unhealthy
Threshold float64 - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- elb
Health StringId - Specifies the health check ID.
- healthcheck
Connect DoublePort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck
Interval Double - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck
Protocol String - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck
Timeout Double - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck
Uri String - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy
Threshold Double - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- listener
Id String - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- region String
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts
Elb
Health Timeouts - unhealthy
Threshold Double - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- elb
Health stringId - Specifies the health check ID.
- healthcheck
Connect numberPort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck
Interval number - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck
Protocol string - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck
Timeout number - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck
Uri string - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy
Threshold number - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- listener
Id string - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- region string
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts
Elb
Health Timeouts - unhealthy
Threshold number - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- elb_
health_ strid - Specifies the health check ID.
- healthcheck_
connect_ floatport - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck_
interval float - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck_
protocol str - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck_
timeout float - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck_
uri str - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy_
threshold float - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- listener_
id str - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- region str
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts
Elb
Health Timeouts Args - unhealthy_
threshold float - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
- elb
Health StringId - Specifies the health check ID.
- healthcheck
Connect NumberPort - Specifies the port used for the health check. The value ranges from 1 to 65535.
- healthcheck
Interval Number - Specifies the maximum interval (s) for health check. The value ranges from 1 to 5.
- healthcheck
Protocol String - Specifies the protocol used for the health check. The value can be HTTP or TCP (case-insensitive).
- healthcheck
Timeout Number - Specifies the maximum timeout duration (s) for the health check. The value ranges from 1 to 50.
- healthcheck
Uri String - Specifies the URI for health check. This parameter is valid when healthcheck_ protocol is HTTP. The value is a string of 1 to 80 characters that must start with a slash (/) and can only contain letters, digits, and special characters, such as -/.%?#&.
- healthy
Threshold Number - Specifies the threshold at which the health check result is success, that is, the number of consecutive successful health checks when the health check result of the backend server changes from fail to success. The value ranges from 1 to 10.
- listener
Id String - Specifies the ID of the listener to which the health check belongs. Changing this creates a new elb health.
- region String
- The region in which to create the elb health. If
omitted, the
region
argument of the provider is used. Changing this creates a new elb health. - timeouts Property Map
- unhealthy
Threshold Number - Specifies the threshold at which the health check result is fail, that is, the number of consecutive failed health checks when the health check result of the backend server changes from success to fail. The value ranges from 1 to 10.
Supporting Types
ElbHealthTimeouts, ElbHealthTimeoutsArgs
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.