AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi
aws-native.vpclattice.getTargetGroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 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.
Using getTargetGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTargetGroup(args: GetTargetGroupArgs, opts?: InvokeOptions): Promise<GetTargetGroupResult>
function getTargetGroupOutput(args: GetTargetGroupOutputArgs, opts?: InvokeOptions): Output<GetTargetGroupResult>
def get_target_group(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetGroupResult
def get_target_group_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetGroupResult]
func LookupTargetGroup(ctx *Context, args *LookupTargetGroupArgs, opts ...InvokeOption) (*LookupTargetGroupResult, error)
func LookupTargetGroupOutput(ctx *Context, args *LookupTargetGroupOutputArgs, opts ...InvokeOption) LookupTargetGroupResultOutput
> Note: This function is named LookupTargetGroup
in the Go SDK.
public static class GetTargetGroup
{
public static Task<GetTargetGroupResult> InvokeAsync(GetTargetGroupArgs args, InvokeOptions? opts = null)
public static Output<GetTargetGroupResult> Invoke(GetTargetGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTargetGroupResult> getTargetGroup(GetTargetGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:vpclattice:getTargetGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- Arn string
- arn String
- arn string
- arn str
- arn String
getTargetGroup Result
The following output properties are available:
- Arn string
- Config
Target
Group Config - Created
At string - Id string
- Last
Updated stringAt - Status
Target
Group Status - Tag
- Targets
[]Target
Group Target
- arn String
- config
Target
Group Config - created
At String - id String
- last
Updated StringAt - status
Target
Group Status - List<Tag>
- targets
List<Target
Group Target>
- arn string
- config
Target
Group Config - created
At string - id string
- last
Updated stringAt - status
Target
Group Status - Tag[]
- targets
Target
Group Target[]
Supporting Types
Tag
TargetGroupConfig
- Health
Check Pulumi.Aws Native. Vpc Lattice. Inputs. Target Group Health Check Config - Ip
Address Pulumi.Type Aws Native. Vpc Lattice. Target Group Config Ip Address Type - Lambda
Event Pulumi.Structure Version Aws Native. Vpc Lattice. Target Group Config Lambda Event Structure Version - Port int
- Protocol
Pulumi.
Aws Native. Vpc Lattice. Target Group Config Protocol - Protocol
Version Pulumi.Aws Native. Vpc Lattice. Target Group Config Protocol Version - Vpc
Identifier string
TargetGroupConfigIpAddressType
TargetGroupConfigLambdaEventStructureVersion
TargetGroupConfigProtocol
TargetGroupConfigProtocolVersion
TargetGroupHealthCheckConfig
- Enabled bool
- Health
Check intInterval Seconds - Health
Check intTimeout Seconds - Healthy
Threshold intCount - Matcher
Pulumi.
Aws Native. Vpc Lattice. Inputs. Target Group Matcher - Path string
- Port int
- Protocol
Pulumi.
Aws Native. Vpc Lattice. Target Group Health Check Config Protocol - Protocol
Version Pulumi.Aws Native. Vpc Lattice. Target Group Health Check Config Protocol Version - Unhealthy
Threshold intCount
- enabled Boolean
- health
Check NumberInterval Seconds - health
Check NumberTimeout Seconds - healthy
Threshold NumberCount - matcher Property Map
- path String
- port Number
- protocol "HTTP" | "HTTPS"
- protocol
Version "HTTP1" | "HTTP2" - unhealthy
Threshold NumberCount
TargetGroupHealthCheckConfigProtocol
TargetGroupHealthCheckConfigProtocolVersion
TargetGroupMatcher
- Http
Code string
- Http
Code string
- http
Code String
- http
Code string
- http_
code str
- http
Code String
TargetGroupStatus
TargetGroupTarget
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi