Skip to content

TargetFailure

Source code in docs_src/capo_vpc_lattice/types/target_failure.py
class TargetFailure(TypedDict, closed=True):
    id: NotRequired["str"]
    """<p>The ID of the target. If the target group type is <code>INSTANCE</code>, this is an instance ID. If the target group type is <code>IP</code>, this is an IP address. If the target group type is <code>LAMBDA</code>, this is the ARN of a Lambda function. If the target group type is <code>ALB</code>, this is the ARN of an Application Load Balancer.</p>"""
    port: NotRequired["capo_vpc_lattice.types.port.Port"]
    """<p>The port on which the target is listening. This parameter doesn't apply if the target is a Lambda function.</p>"""
    failure_code: NotRequired["str"]
    """<p>The failure code.</p>"""
    failure_message: NotRequired["str"]
    """<p>The failure message.</p>"""

failure_code instance-attribute

failure_code: NotRequired[str]

The failure code.

failure_message instance-attribute

failure_message: NotRequired[str]

The failure message.

id instance-attribute

id: NotRequired[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 instance-attribute

port: NotRequired[Port]

The port on which the target is listening. This parameter doesn't apply if the target is a Lambda function.