AWS Native is in preview. AWS Classic is fully supported.
aws-native.vpclattice.TargetGroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.
Create TargetGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TargetGroup(name: string, args: TargetGroupArgs, opts?: CustomResourceOptions);
@overload
def TargetGroup(resource_name: str,
args: TargetGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TargetGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[TargetGroupType] = None,
config: Optional[TargetGroupConfigArgs] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
targets: Optional[Sequence[TargetGroupTargetArgs]] = None)
func NewTargetGroup(ctx *Context, name string, args TargetGroupArgs, opts ...ResourceOption) (*TargetGroup, error)
public TargetGroup(string name, TargetGroupArgs args, CustomResourceOptions? opts = null)
public TargetGroup(String name, TargetGroupArgs args)
public TargetGroup(String name, TargetGroupArgs args, CustomResourceOptions options)
type: aws-native:vpclattice:TargetGroup
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 TargetGroupArgs
- 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 TargetGroupArgs
- 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 TargetGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TargetGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TargetGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TargetGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The TargetGroup resource accepts the following input properties:
- Type
Pulumi.
Aws Native. Vpc Lattice. Target Group Type - The type of target group.
- Config
Pulumi.
Aws Native. Vpc Lattice. Inputs. Target Group Config - The target group configuration.
- Name string
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the target group.
- Targets
List<Pulumi.
Aws Native. Vpc Lattice. Inputs. Target Group Target> - Describes a target.
- Type
Target
Group Type - The type of target group.
- Config
Target
Group Config Args - The target group configuration.
- Name string
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- Tag
Args - The tags for the target group.
- Targets
[]Target
Group Target Args - Describes a target.
- type
Target
Group Type - The type of target group.
- config
Target
Group Config - The target group configuration.
- name String
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- List<Tag>
- The tags for the target group.
- targets
List<Target
Group Target> - Describes a target.
- type
Target
Group Type - The type of target group.
- config
Target
Group Config - The target group configuration.
- name string
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- Tag[]
- The tags for the target group.
- targets
Target
Group Target[] - Describes a target.
- type
Target
Group Type - The type of target group.
- config
Target
Group Config Args - The target group configuration.
- name str
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- Sequence[Tag
Args] - The tags for the target group.
- targets
Sequence[Target
Group Target Args] - Describes a target.
- type "IP" | "LAMBDA" | "INSTANCE" | "ALB"
- The type of target group.
- config Property Map
- The target group configuration.
- name String
The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- List<Property Map>
- The tags for the target group.
- targets List<Property Map>
- Describes a target.
Outputs
All input properties are implicitly available as output properties. Additionally, the TargetGroup resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the target group.
- Aws
Id string - The ID of the target group.
- Created
At string - The date and time that the target group was created, specified in ISO-8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - The date and time that the target group was last updated, specified in ISO-8601 format.
- Status
Pulumi.
Aws Native. Vpc Lattice. Target Group Status - The operation's status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.
- Arn string
- The Amazon Resource Name (ARN) of the target group.
- Aws
Id string - The ID of the target group.
- Created
At string - The date and time that the target group was created, specified in ISO-8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - The date and time that the target group was last updated, specified in ISO-8601 format.
- Status
Target
Group Status - The operation's status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.
- arn String
- The Amazon Resource Name (ARN) of the target group.
- aws
Id String - The ID of the target group.
- created
At String - The date and time that the target group was created, specified in ISO-8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - The date and time that the target group was last updated, specified in ISO-8601 format.
- status
Target
Group Status - The operation's status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.
- arn string
- The Amazon Resource Name (ARN) of the target group.
- aws
Id string - The ID of the target group.
- created
At string - The date and time that the target group was created, specified in ISO-8601 format.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringAt - The date and time that the target group was last updated, specified in ISO-8601 format.
- status
Target
Group Status - The operation's status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.
- arn str
- The Amazon Resource Name (ARN) of the target group.
- aws_
id str - The ID of the target group.
- created_
at str - The date and time that the target group was created, specified in ISO-8601 format.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strat - The date and time that the target group was last updated, specified in ISO-8601 format.
- status
Target
Group Status - The operation's status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.
- arn String
- The Amazon Resource Name (ARN) of the target group.
- aws
Id String - The ID of the target group.
- created
At String - The date and time that the target group was created, specified in ISO-8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - The date and time that the target group was last updated, specified in ISO-8601 format.
- status "CREATE_IN_PROGRESS" | "ACTIVE" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED"
- The operation's status. You can retry the operation if the status is
CREATE_FAILED
. However, if you retry it while the status isCREATE_IN_PROGRESS
, there is no change in the status.
Supporting Types
Tag, TagArgs
TargetGroupConfig, TargetGroupConfigArgs
- Health
Check Pulumi.Aws Native. Vpc Lattice. Inputs. Target Group Health Check Config - The health check configuration. Not supported if the target group type is
LAMBDA
orALB
. - Ip
Address Pulumi.Type Aws Native. Vpc Lattice. Target Group Config Ip Address Type - The type of IP address used for the target group. Supported only if the target group type is
IP
. The default isIPV4
. - Lambda
Event Pulumi.Structure Version Aws Native. Vpc Lattice. Target Group Config Lambda Event Structure Version - The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. The default isV1
. - Port int
- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA
. - Protocol
Pulumi.
Aws Native. Vpc Lattice. Target Group Config Protocol - The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA
. - Protocol
Version Pulumi.Aws Native. Vpc Lattice. Target Group Config Protocol Version - The protocol version. The default is
HTTP1
. Not supported if the target group type isLAMBDA
. - Vpc
Identifier string - The ID of the VPC. Not supported if the target group type is
LAMBDA
.
- Health
Check TargetGroup Health Check Config - The health check configuration. Not supported if the target group type is
LAMBDA
orALB
. - Ip
Address TargetType Group Config Ip Address Type - The type of IP address used for the target group. Supported only if the target group type is
IP
. The default isIPV4
. - Lambda
Event TargetStructure Version Group Config Lambda Event Structure Version - The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. The default isV1
. - Port int
- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA
. - Protocol
Target
Group Config Protocol - The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA
. - Protocol
Version TargetGroup Config Protocol Version - The protocol version. The default is
HTTP1
. Not supported if the target group type isLAMBDA
. - Vpc
Identifier string - The ID of the VPC. Not supported if the target group type is
LAMBDA
.
- health
Check TargetGroup Health Check Config - The health check configuration. Not supported if the target group type is
LAMBDA
orALB
. - ip
Address TargetType Group Config Ip Address Type - The type of IP address used for the target group. Supported only if the target group type is
IP
. The default isIPV4
. - lambda
Event TargetStructure Version Group Config Lambda Event Structure Version - The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. The default isV1
. - port Integer
- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA
. - protocol
Target
Group Config Protocol - The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA
. - protocol
Version TargetGroup Config Protocol Version - The protocol version. The default is
HTTP1
. Not supported if the target group type isLAMBDA
. - vpc
Identifier String - The ID of the VPC. Not supported if the target group type is
LAMBDA
.
- health
Check TargetGroup Health Check Config - The health check configuration. Not supported if the target group type is
LAMBDA
orALB
. - ip
Address TargetType Group Config Ip Address Type - The type of IP address used for the target group. Supported only if the target group type is
IP
. The default isIPV4
. - lambda
Event TargetStructure Version Group Config Lambda Event Structure Version - The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. The default isV1
. - port number
- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA
. - protocol
Target
Group Config Protocol - The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA
. - protocol
Version TargetGroup Config Protocol Version - The protocol version. The default is
HTTP1
. Not supported if the target group type isLAMBDA
. - vpc
Identifier string - The ID of the VPC. Not supported if the target group type is
LAMBDA
.
- health_
check TargetGroup Health Check Config - The health check configuration. Not supported if the target group type is
LAMBDA
orALB
. - ip_
address_ Targettype Group Config Ip Address Type - The type of IP address used for the target group. Supported only if the target group type is
IP
. The default isIPV4
. - lambda_
event_ Targetstructure_ version Group Config Lambda Event Structure Version - The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. The default isV1
. - port int
- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA
. - protocol
Target
Group Config Protocol - The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA
. - protocol_
version TargetGroup Config Protocol Version - The protocol version. The default is
HTTP1
. Not supported if the target group type isLAMBDA
. - vpc_
identifier str - The ID of the VPC. Not supported if the target group type is
LAMBDA
.
- health
Check Property Map - The health check configuration. Not supported if the target group type is
LAMBDA
orALB
. - ip
Address "IPV4" | "IPV6"Type - The type of IP address used for the target group. Supported only if the target group type is
IP
. The default isIPV4
. - lambda
Event "V1" | "V2"Structure Version - The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
. The default isV1
. - port Number
- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA
. - protocol "HTTP" | "HTTPS" | "TCP"
- The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA
. - protocol
Version "HTTP1" | "HTTP2" | "GRPC" - The protocol version. The default is
HTTP1
. Not supported if the target group type isLAMBDA
. - vpc
Identifier String - The ID of the VPC. Not supported if the target group type is
LAMBDA
.
TargetGroupConfigIpAddressType, TargetGroupConfigIpAddressTypeArgs
- Ipv4
- IPV4
- Ipv6
- IPV6
- Target
Group Config Ip Address Type Ipv4 - IPV4
- Target
Group Config Ip Address Type Ipv6 - IPV6
- Ipv4
- IPV4
- Ipv6
- IPV6
- Ipv4
- IPV4
- Ipv6
- IPV6
- IPV4
- IPV4
- IPV6
- IPV6
- "IPV4"
- IPV4
- "IPV6"
- IPV6
TargetGroupConfigLambdaEventStructureVersion, TargetGroupConfigLambdaEventStructureVersionArgs
- V1
- V1
- V2
- V2
- Target
Group Config Lambda Event Structure Version V1 - V1
- Target
Group Config Lambda Event Structure Version V2 - V2
- V1
- V1
- V2
- V2
- V1
- V1
- V2
- V2
- V1
- V1
- V2
- V2
- "V1"
- V1
- "V2"
- V2
TargetGroupConfigProtocol, TargetGroupConfigProtocolArgs
- Http
- HTTP
- Https
- HTTPS
- Tcp
- TCP
- Target
Group Config Protocol Http - HTTP
- Target
Group Config Protocol Https - HTTPS
- Target
Group Config Protocol Tcp - TCP
- Http
- HTTP
- Https
- HTTPS
- Tcp
- TCP
- Http
- HTTP
- Https
- HTTPS
- Tcp
- TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
- "TCP"
- TCP
TargetGroupConfigProtocolVersion, TargetGroupConfigProtocolVersionArgs
- Http1
- HTTP1
- Http2
- HTTP2
- Grpc
- GRPC
- Target
Group Config Protocol Version Http1 - HTTP1
- Target
Group Config Protocol Version Http2 - HTTP2
- Target
Group Config Protocol Version Grpc - GRPC
- Http1
- HTTP1
- Http2
- HTTP2
- Grpc
- GRPC
- Http1
- HTTP1
- Http2
- HTTP2
- Grpc
- GRPC
- HTTP1
- HTTP1
- HTTP2
- HTTP2
- GRPC
- GRPC
- "HTTP1"
- HTTP1
- "HTTP2"
- HTTP2
- "GRPC"
- GRPC
TargetGroupHealthCheckConfig, TargetGroupHealthCheckConfigArgs
- Enabled bool
- Indicates whether health checking is enabled.
- Health
Check intInterval Seconds - The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
- Health
Check intTimeout Seconds - The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
- Healthy
Threshold intCount - The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
- Matcher
Pulumi.
Aws Native. Vpc Lattice. Inputs. Target Group Matcher - The codes to use when checking for a successful response from a target.
- Path string
- The destination for health checks on the targets. If the protocol version is
HTTP/1.1
orHTTP/2
, specify a valid URI (for example,/path?query
). The default path is/
. Health checks are not supported if the protocol version isgRPC
, however, you can chooseHTTP/1.1
orHTTP/2
and specify a valid URI. - Port int
- The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
- Protocol
Pulumi.
Aws Native. Vpc Lattice. Target Group Health Check Config Protocol - The protocol used when performing health checks on targets. The possible protocols are
HTTP
andHTTPS
. The default isHTTP
. - Protocol
Version Pulumi.Aws Native. Vpc Lattice. Target Group Health Check Config Protocol Version - The protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1
andHTTP2
. - Unhealthy
Threshold intCount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
- Enabled bool
- Indicates whether health checking is enabled.
- Health
Check intInterval Seconds - The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
- Health
Check intTimeout Seconds - The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
- Healthy
Threshold intCount - The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
- Matcher
Target
Group Matcher - The codes to use when checking for a successful response from a target.
- Path string
- The destination for health checks on the targets. If the protocol version is
HTTP/1.1
orHTTP/2
, specify a valid URI (for example,/path?query
). The default path is/
. Health checks are not supported if the protocol version isgRPC
, however, you can chooseHTTP/1.1
orHTTP/2
and specify a valid URI. - Port int
- The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
- Protocol
Target
Group Health Check Config Protocol - The protocol used when performing health checks on targets. The possible protocols are
HTTP
andHTTPS
. The default isHTTP
. - Protocol
Version TargetGroup Health Check Config Protocol Version - The protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1
andHTTP2
. - Unhealthy
Threshold intCount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
- enabled Boolean
- Indicates whether health checking is enabled.
- health
Check IntegerInterval Seconds - The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
- health
Check IntegerTimeout Seconds - The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
- healthy
Threshold IntegerCount - The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
- matcher
Target
Group Matcher - The codes to use when checking for a successful response from a target.
- path String
- The destination for health checks on the targets. If the protocol version is
HTTP/1.1
orHTTP/2
, specify a valid URI (for example,/path?query
). The default path is/
. Health checks are not supported if the protocol version isgRPC
, however, you can chooseHTTP/1.1
orHTTP/2
and specify a valid URI. - port Integer
- The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
- protocol
Target
Group Health Check Config Protocol - The protocol used when performing health checks on targets. The possible protocols are
HTTP
andHTTPS
. The default isHTTP
. - protocol
Version TargetGroup Health Check Config Protocol Version - The protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1
andHTTP2
. - unhealthy
Threshold IntegerCount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
- enabled boolean
- Indicates whether health checking is enabled.
- health
Check numberInterval Seconds - The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
- health
Check numberTimeout Seconds - The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
- healthy
Threshold numberCount - The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
- matcher
Target
Group Matcher - The codes to use when checking for a successful response from a target.
- path string
- The destination for health checks on the targets. If the protocol version is
HTTP/1.1
orHTTP/2
, specify a valid URI (for example,/path?query
). The default path is/
. Health checks are not supported if the protocol version isgRPC
, however, you can chooseHTTP/1.1
orHTTP/2
and specify a valid URI. - port number
- The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
- protocol
Target
Group Health Check Config Protocol - The protocol used when performing health checks on targets. The possible protocols are
HTTP
andHTTPS
. The default isHTTP
. - protocol
Version TargetGroup Health Check Config Protocol Version - The protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1
andHTTP2
. - unhealthy
Threshold numberCount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
- enabled bool
- Indicates whether health checking is enabled.
- health_
check_ intinterval_ seconds - The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
- health_
check_ inttimeout_ seconds - The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
- healthy_
threshold_ intcount - The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
- matcher
Target
Group Matcher - The codes to use when checking for a successful response from a target.
- path str
- The destination for health checks on the targets. If the protocol version is
HTTP/1.1
orHTTP/2
, specify a valid URI (for example,/path?query
). The default path is/
. Health checks are not supported if the protocol version isgRPC
, however, you can chooseHTTP/1.1
orHTTP/2
and specify a valid URI. - port int
- The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
- protocol
Target
Group Health Check Config Protocol - The protocol used when performing health checks on targets. The possible protocols are
HTTP
andHTTPS
. The default isHTTP
. - protocol_
version TargetGroup Health Check Config Protocol Version - The protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1
andHTTP2
. - unhealthy_
threshold_ intcount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
- enabled Boolean
- Indicates whether health checking is enabled.
- health
Check NumberInterval Seconds - The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
- health
Check NumberTimeout Seconds - The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
- healthy
Threshold NumberCount - The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
- matcher Property Map
- The codes to use when checking for a successful response from a target.
- path String
- The destination for health checks on the targets. If the protocol version is
HTTP/1.1
orHTTP/2
, specify a valid URI (for example,/path?query
). The default path is/
. Health checks are not supported if the protocol version isgRPC
, however, you can chooseHTTP/1.1
orHTTP/2
and specify a valid URI. - port Number
- The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
- protocol "HTTP" | "HTTPS"
- The protocol used when performing health checks on targets. The possible protocols are
HTTP
andHTTPS
. The default isHTTP
. - protocol
Version "HTTP1" | "HTTP2" - The protocol version used when performing health checks on targets. The possible protocol versions are
HTTP1
andHTTP2
. - unhealthy
Threshold NumberCount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
TargetGroupHealthCheckConfigProtocol, TargetGroupHealthCheckConfigProtocolArgs
- Http
- HTTP
- Https
- HTTPS
- Target
Group Health Check Config Protocol Http - HTTP
- Target
Group Health Check Config Protocol Https - HTTPS
- Http
- HTTP
- Https
- HTTPS
- Http
- HTTP
- Https
- HTTPS
- HTTP
- HTTP
- HTTPS
- HTTPS
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
TargetGroupHealthCheckConfigProtocolVersion, TargetGroupHealthCheckConfigProtocolVersionArgs
- Http1
- HTTP1
- Http2
- HTTP2
- Target
Group Health Check Config Protocol Version Http1 - HTTP1
- Target
Group Health Check Config Protocol Version Http2 - HTTP2
- Http1
- HTTP1
- Http2
- HTTP2
- Http1
- HTTP1
- Http2
- HTTP2
- HTTP1
- HTTP1
- HTTP2
- HTTP2
- "HTTP1"
- HTTP1
- "HTTP2"
- HTTP2
TargetGroupMatcher, TargetGroupMatcherArgs
- Http
Code string - The HTTP code to use when checking for a successful response from a target.
- Http
Code string - The HTTP code to use when checking for a successful response from a target.
- http
Code String - The HTTP code to use when checking for a successful response from a target.
- http
Code string - The HTTP code to use when checking for a successful response from a target.
- http_
code str - The HTTP code to use when checking for a successful response from a target.
- http
Code String - The HTTP code to use when checking for a successful response from a target.
TargetGroupStatus, TargetGroupStatusArgs
- Create
In Progress - CREATE_IN_PROGRESS
- Active
- ACTIVE
- Delete
In Progress - DELETE_IN_PROGRESS
- Create
Failed - CREATE_FAILED
- Delete
Failed - DELETE_FAILED
- Target
Group Status Create In Progress - CREATE_IN_PROGRESS
- Target
Group Status Active - ACTIVE
- Target
Group Status Delete In Progress - DELETE_IN_PROGRESS
- Target
Group Status Create Failed - CREATE_FAILED
- Target
Group Status Delete Failed - DELETE_FAILED
- Create
In Progress - CREATE_IN_PROGRESS
- Active
- ACTIVE
- Delete
In Progress - DELETE_IN_PROGRESS
- Create
Failed - CREATE_FAILED
- Delete
Failed - DELETE_FAILED
- Create
In Progress - CREATE_IN_PROGRESS
- Active
- ACTIVE
- Delete
In Progress - DELETE_IN_PROGRESS
- Create
Failed - CREATE_FAILED
- Delete
Failed - DELETE_FAILED
- CREATE_IN_PROGRESS
- CREATE_IN_PROGRESS
- ACTIVE
- ACTIVE
- DELETE_IN_PROGRESS
- DELETE_IN_PROGRESS
- CREATE_FAILED
- CREATE_FAILED
- DELETE_FAILED
- DELETE_FAILED
- "CREATE_IN_PROGRESS"
- CREATE_IN_PROGRESS
- "ACTIVE"
- ACTIVE
- "DELETE_IN_PROGRESS"
- DELETE_IN_PROGRESS
- "CREATE_FAILED"
- CREATE_FAILED
- "DELETE_FAILED"
- DELETE_FAILED
TargetGroupTarget, TargetGroupTargetArgs
- Id string
- The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - Port int
- The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
- Id string
- The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - Port int
- The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
- id String
- The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - port Integer
- The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
- id string
- The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - port number
- The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
- id str
- The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - port int
- The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
- id String
- The ID of the target. If the target group type is
INSTANCE
, this is an instance ID. If the target group type isIP
, this is an IP address. If the target group type isLAMBDA
, this is the ARN of a Lambda function. If the target group type isALB
, this is the ARN of an Application Load Balancer. - port Number
- The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
TargetGroupType, TargetGroupTypeArgs
- Ip
- IP
- Lambda
- LAMBDA
- Instance
- INSTANCE
- Alb
- ALB
- Target
Group Type Ip - IP
- Target
Group Type Lambda - LAMBDA
- Target
Group Type Instance - INSTANCE
- Target
Group Type Alb - ALB
- Ip
- IP
- Lambda
- LAMBDA
- Instance
- INSTANCE
- Alb
- ALB
- Ip
- IP
- Lambda
- LAMBDA
- Instance
- INSTANCE
- Alb
- ALB
- IP
- IP
- LAMBDA_
- LAMBDA
- INSTANCE
- INSTANCE
- ALB
- ALB
- "IP"
- IP
- "LAMBDA"
- LAMBDA
- "INSTANCE"
- INSTANCE
- "ALB"
- ALB
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.