1. Packages
  2. AWS Native
  3. API Docs
  4. vpclattice
  5. TargetGroup

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.vpclattice.TargetGroup

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    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.AwsNative.VpcLattice.TargetGroupType
    The type of target group.
    Config Pulumi.AwsNative.VpcLattice.Inputs.TargetGroupConfig
    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.

    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags for the target group.
    Targets List<Pulumi.AwsNative.VpcLattice.Inputs.TargetGroupTarget>
    Describes a target.
    Type TargetGroupType
    The type of target group.
    Config TargetGroupConfigArgs
    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.

    Tags TagArgs
    The tags for the target group.
    Targets []TargetGroupTargetArgs
    Describes a target.
    type TargetGroupType
    The type of target group.
    config TargetGroupConfig
    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.

    tags List<Tag>
    The tags for the target group.
    targets List<TargetGroupTarget>
    Describes a target.
    type TargetGroupType
    The type of target group.
    config TargetGroupConfig
    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.

    tags Tag[]
    The tags for the target group.
    targets TargetGroupTarget[]
    Describes a target.
    type TargetGroupType
    The type of target group.
    config TargetGroupConfigArgs
    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.

    tags Sequence[TagArgs]
    The tags for the target group.
    targets Sequence[TargetGroupTargetArgs]
    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.

    tags 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.
    AwsId string
    The ID of the target group.
    CreatedAt 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.
    LastUpdatedAt string
    The date and time that the target group was last updated, specified in ISO-8601 format.
    Status Pulumi.AwsNative.VpcLattice.TargetGroupStatus
    The operation's status. You can retry the operation if the status is CREATE_FAILED . However, if you retry it while the status is CREATE_IN_PROGRESS , there is no change in the status.
    Arn string
    The Amazon Resource Name (ARN) of the target group.
    AwsId string
    The ID of the target group.
    CreatedAt 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.
    LastUpdatedAt string
    The date and time that the target group was last updated, specified in ISO-8601 format.
    Status TargetGroupStatus
    The operation's status. You can retry the operation if the status is CREATE_FAILED . However, if you retry it while the status is CREATE_IN_PROGRESS , there is no change in the status.
    arn String
    The Amazon Resource Name (ARN) of the target group.
    awsId String
    The ID of the target group.
    createdAt 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.
    lastUpdatedAt String
    The date and time that the target group was last updated, specified in ISO-8601 format.
    status TargetGroupStatus
    The operation's status. You can retry the operation if the status is CREATE_FAILED . However, if you retry it while the status is CREATE_IN_PROGRESS , there is no change in the status.
    arn string
    The Amazon Resource Name (ARN) of the target group.
    awsId string
    The ID of the target group.
    createdAt 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.
    lastUpdatedAt string
    The date and time that the target group was last updated, specified in ISO-8601 format.
    status TargetGroupStatus
    The operation's status. You can retry the operation if the status is CREATE_FAILED . However, if you retry it while the status is CREATE_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_at str
    The date and time that the target group was last updated, specified in ISO-8601 format.
    status TargetGroupStatus
    The operation's status. You can retry the operation if the status is CREATE_FAILED . However, if you retry it while the status is CREATE_IN_PROGRESS , there is no change in the status.
    arn String
    The Amazon Resource Name (ARN) of the target group.
    awsId String
    The ID of the target group.
    createdAt 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.
    lastUpdatedAt String
    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 is CREATE_IN_PROGRESS , there is no change in the status.

    Supporting Types

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TargetGroupConfig, TargetGroupConfigArgs

    HealthCheck Pulumi.AwsNative.VpcLattice.Inputs.TargetGroupHealthCheckConfig
    The health check configuration. Not supported if the target group type is LAMBDA or ALB .
    IpAddressType Pulumi.AwsNative.VpcLattice.TargetGroupConfigIpAddressType
    The type of IP address used for the target group. Supported only if the target group type is IP . The default is IPV4 .
    LambdaEventStructureVersion Pulumi.AwsNative.VpcLattice.TargetGroupConfigLambdaEventStructureVersion
    The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA . The default is V1 .
    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.AwsNative.VpcLattice.TargetGroupConfigProtocol
    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 .
    ProtocolVersion Pulumi.AwsNative.VpcLattice.TargetGroupConfigProtocolVersion
    The protocol version. The default is HTTP1 . Not supported if the target group type is LAMBDA .
    VpcIdentifier string
    The ID of the VPC. Not supported if the target group type is LAMBDA .
    HealthCheck TargetGroupHealthCheckConfig
    The health check configuration. Not supported if the target group type is LAMBDA or ALB .
    IpAddressType TargetGroupConfigIpAddressType
    The type of IP address used for the target group. Supported only if the target group type is IP . The default is IPV4 .
    LambdaEventStructureVersion TargetGroupConfigLambdaEventStructureVersion
    The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA . The default is V1 .
    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 TargetGroupConfigProtocol
    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 .
    ProtocolVersion TargetGroupConfigProtocolVersion
    The protocol version. The default is HTTP1 . Not supported if the target group type is LAMBDA .
    VpcIdentifier string
    The ID of the VPC. Not supported if the target group type is LAMBDA .
    healthCheck TargetGroupHealthCheckConfig
    The health check configuration. Not supported if the target group type is LAMBDA or ALB .
    ipAddressType TargetGroupConfigIpAddressType
    The type of IP address used for the target group. Supported only if the target group type is IP . The default is IPV4 .
    lambdaEventStructureVersion TargetGroupConfigLambdaEventStructureVersion
    The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA . The default is V1 .
    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 TargetGroupConfigProtocol
    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 .
    protocolVersion TargetGroupConfigProtocolVersion
    The protocol version. The default is HTTP1 . Not supported if the target group type is LAMBDA .
    vpcIdentifier String
    The ID of the VPC. Not supported if the target group type is LAMBDA .
    healthCheck TargetGroupHealthCheckConfig
    The health check configuration. Not supported if the target group type is LAMBDA or ALB .
    ipAddressType TargetGroupConfigIpAddressType
    The type of IP address used for the target group. Supported only if the target group type is IP . The default is IPV4 .
    lambdaEventStructureVersion TargetGroupConfigLambdaEventStructureVersion
    The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA . The default is V1 .
    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 TargetGroupConfigProtocol
    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 .
    protocolVersion TargetGroupConfigProtocolVersion
    The protocol version. The default is HTTP1 . Not supported if the target group type is LAMBDA .
    vpcIdentifier string
    The ID of the VPC. Not supported if the target group type is LAMBDA .
    health_check TargetGroupHealthCheckConfig
    The health check configuration. Not supported if the target group type is LAMBDA or ALB .
    ip_address_type TargetGroupConfigIpAddressType
    The type of IP address used for the target group. Supported only if the target group type is IP . The default is IPV4 .
    lambda_event_structure_version TargetGroupConfigLambdaEventStructureVersion
    The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA . The default is V1 .
    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 TargetGroupConfigProtocol
    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 TargetGroupConfigProtocolVersion
    The protocol version. The default is HTTP1 . Not supported if the target group type is LAMBDA .
    vpc_identifier str
    The ID of the VPC. Not supported if the target group type is LAMBDA .
    healthCheck Property Map
    The health check configuration. Not supported if the target group type is LAMBDA or ALB .
    ipAddressType "IPV4" | "IPV6"
    The type of IP address used for the target group. Supported only if the target group type is IP . The default is IPV4 .
    lambdaEventStructureVersion "V1" | "V2"
    The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA . The default is V1 .
    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 .
    protocolVersion "HTTP1" | "HTTP2" | "GRPC"
    The protocol version. The default is HTTP1 . Not supported if the target group type is LAMBDA .
    vpcIdentifier String
    The ID of the VPC. Not supported if the target group type is LAMBDA .

    TargetGroupConfigIpAddressType, TargetGroupConfigIpAddressTypeArgs

    Ipv4
    IPV4
    Ipv6
    IPV6
    TargetGroupConfigIpAddressTypeIpv4
    IPV4
    TargetGroupConfigIpAddressTypeIpv6
    IPV6
    Ipv4
    IPV4
    Ipv6
    IPV6
    Ipv4
    IPV4
    Ipv6
    IPV6
    IPV4
    IPV4
    IPV6
    IPV6
    "IPV4"
    IPV4
    "IPV6"
    IPV6

    TargetGroupConfigLambdaEventStructureVersion, TargetGroupConfigLambdaEventStructureVersionArgs

    V1
    V1
    V2
    V2
    TargetGroupConfigLambdaEventStructureVersionV1
    V1
    TargetGroupConfigLambdaEventStructureVersionV2
    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
    TargetGroupConfigProtocolHttp
    HTTP
    TargetGroupConfigProtocolHttps
    HTTPS
    TargetGroupConfigProtocolTcp
    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
    TargetGroupConfigProtocolVersionHttp1
    HTTP1
    TargetGroupConfigProtocolVersionHttp2
    HTTP2
    TargetGroupConfigProtocolVersionGrpc
    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.
    HealthCheckIntervalSeconds int
    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.
    HealthCheckTimeoutSeconds int
    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.
    HealthyThresholdCount int
    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.AwsNative.VpcLattice.Inputs.TargetGroupMatcher
    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 or HTTP/2 , specify a valid URI (for example, /path?query ). The default path is / . Health checks are not supported if the protocol version is gRPC , however, you can choose HTTP/1.1 or HTTP/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.AwsNative.VpcLattice.TargetGroupHealthCheckConfigProtocol
    The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS . The default is HTTP .
    ProtocolVersion Pulumi.AwsNative.VpcLattice.TargetGroupHealthCheckConfigProtocolVersion
    The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2 .
    UnhealthyThresholdCount int
    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.
    HealthCheckIntervalSeconds int
    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.
    HealthCheckTimeoutSeconds int
    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.
    HealthyThresholdCount int
    The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
    Matcher TargetGroupMatcher
    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 or HTTP/2 , specify a valid URI (for example, /path?query ). The default path is / . Health checks are not supported if the protocol version is gRPC , however, you can choose HTTP/1.1 or HTTP/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 TargetGroupHealthCheckConfigProtocol
    The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS . The default is HTTP .
    ProtocolVersion TargetGroupHealthCheckConfigProtocolVersion
    The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2 .
    UnhealthyThresholdCount int
    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.
    healthCheckIntervalSeconds Integer
    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.
    healthCheckTimeoutSeconds Integer
    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.
    healthyThresholdCount Integer
    The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
    matcher TargetGroupMatcher
    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 or HTTP/2 , specify a valid URI (for example, /path?query ). The default path is / . Health checks are not supported if the protocol version is gRPC , however, you can choose HTTP/1.1 or HTTP/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 TargetGroupHealthCheckConfigProtocol
    The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS . The default is HTTP .
    protocolVersion TargetGroupHealthCheckConfigProtocolVersion
    The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2 .
    unhealthyThresholdCount Integer
    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.
    healthCheckIntervalSeconds number
    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.
    healthCheckTimeoutSeconds number
    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.
    healthyThresholdCount number
    The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
    matcher TargetGroupMatcher
    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 or HTTP/2 , specify a valid URI (for example, /path?query ). The default path is / . Health checks are not supported if the protocol version is gRPC , however, you can choose HTTP/1.1 or HTTP/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 TargetGroupHealthCheckConfigProtocol
    The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS . The default is HTTP .
    protocolVersion TargetGroupHealthCheckConfigProtocolVersion
    The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2 .
    unhealthyThresholdCount number
    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_interval_seconds int
    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_timeout_seconds int
    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_count int
    The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
    matcher TargetGroupMatcher
    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 or HTTP/2 , specify a valid URI (for example, /path?query ). The default path is / . Health checks are not supported if the protocol version is gRPC , however, you can choose HTTP/1.1 or HTTP/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 TargetGroupHealthCheckConfigProtocol
    The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS . The default is HTTP .
    protocol_version TargetGroupHealthCheckConfigProtocolVersion
    The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2 .
    unhealthy_threshold_count int
    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.
    healthCheckIntervalSeconds Number
    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.
    healthCheckTimeoutSeconds Number
    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.
    healthyThresholdCount Number
    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 or HTTP/2 , specify a valid URI (for example, /path?query ). The default path is / . Health checks are not supported if the protocol version is gRPC , however, you can choose HTTP/1.1 or HTTP/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 and HTTPS . The default is HTTP .
    protocolVersion "HTTP1" | "HTTP2"
    The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2 .
    unhealthyThresholdCount Number
    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
    TargetGroupHealthCheckConfigProtocolHttp
    HTTP
    TargetGroupHealthCheckConfigProtocolHttps
    HTTPS
    Http
    HTTP
    Https
    HTTPS
    Http
    HTTP
    Https
    HTTPS
    HTTP
    HTTP
    HTTPS
    HTTPS
    "HTTP"
    HTTP
    "HTTPS"
    HTTPS

    TargetGroupHealthCheckConfigProtocolVersion, TargetGroupHealthCheckConfigProtocolVersionArgs

    Http1
    HTTP1
    Http2
    HTTP2
    TargetGroupHealthCheckConfigProtocolVersionHttp1
    HTTP1
    TargetGroupHealthCheckConfigProtocolVersionHttp2
    HTTP2
    Http1
    HTTP1
    Http2
    HTTP2
    Http1
    HTTP1
    Http2
    HTTP2
    HTTP1
    HTTP1
    HTTP2
    HTTP2
    "HTTP1"
    HTTP1
    "HTTP2"
    HTTP2

    TargetGroupMatcher, TargetGroupMatcherArgs

    HttpCode string
    The HTTP code to use when checking for a successful response from a target.
    HttpCode string
    The HTTP code to use when checking for a successful response from a target.
    httpCode String
    The HTTP code to use when checking for a successful response from a target.
    httpCode 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.
    httpCode String
    The HTTP code to use when checking for a successful response from a target.

    TargetGroupStatus, TargetGroupStatusArgs

    CreateInProgress
    CREATE_IN_PROGRESS
    Active
    ACTIVE
    DeleteInProgress
    DELETE_IN_PROGRESS
    CreateFailed
    CREATE_FAILED
    DeleteFailed
    DELETE_FAILED
    TargetGroupStatusCreateInProgress
    CREATE_IN_PROGRESS
    TargetGroupStatusActive
    ACTIVE
    TargetGroupStatusDeleteInProgress
    DELETE_IN_PROGRESS
    TargetGroupStatusCreateFailed
    CREATE_FAILED
    TargetGroupStatusDeleteFailed
    DELETE_FAILED
    CreateInProgress
    CREATE_IN_PROGRESS
    Active
    ACTIVE
    DeleteInProgress
    DELETE_IN_PROGRESS
    CreateFailed
    CREATE_FAILED
    DeleteFailed
    DELETE_FAILED
    CreateInProgress
    CREATE_IN_PROGRESS
    Active
    ACTIVE
    DeleteInProgress
    DELETE_IN_PROGRESS
    CreateFailed
    CREATE_FAILED
    DeleteFailed
    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 is IP , this is an IP address. If the target group type is LAMBDA , this is the ARN of a Lambda function. If the target group type is ALB , 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 is IP , this is an IP address. If the target group type is LAMBDA , this is the ARN of a Lambda function. If the target group type is ALB , 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 is IP , this is an IP address. If the target group type is LAMBDA , this is the ARN of a Lambda function. If the target group type is ALB , 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 is IP , this is an IP address. If the target group type is LAMBDA , this is the ARN of a Lambda function. If the target group type is ALB , 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 is IP , this is an IP address. If the target group type is LAMBDA , this is the ARN of a Lambda function. If the target group type is ALB , 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 is IP , this is an IP address. If the target group type is LAMBDA , this is the ARN of a Lambda function. If the target group type is ALB , 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
    TargetGroupTypeIp
    IP
    TargetGroupTypeLambda
    LAMBDA
    TargetGroupTypeInstance
    INSTANCE
    TargetGroupTypeAlb
    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 logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi