Skip to content

EdgeProperties

Source code in docs_src/capo_cloudwatchomni/types/edge_properties.py
class EdgeProperties(TypedDict, closed=True):
    protocol: NotRequired["str"]
    """The IANA protocol name for the observed network traffic, such as "tcp"."""
    source_port: NotRequired["str"]
    """The source port of the observed traffic. May be a placeholder when the port is unknown."""
    destination_port: NotRequired["str"]
    """The destination port of the observed traffic. May be a placeholder when the port is unknown."""
    blocked: NotRequired["bool"]
    """Whether the observed network flow was denied. Absent means the edge was not derived from network flow data, which is not the same as allowed."""
    error_code: NotRequired["str"]
    """The error code returned when the call was attempted and refused. Its presence means the edge exists but the dependency is failing."""
    http_status_code: NotRequired["str"]
    """The HTTP status code observed on the request. Distinct from errorCode."""
    http_method: NotRequired["str"]
    """The HTTP method observed on the request."""
    service_initiated: NotRequired["bool"]
    """Whether the caller was an AWS service principal rather than a user or role. Absent means the edge was not derived from a source that reports it."""
    traffic_stats: NotRequired[
        "capo_cloudwatchomni.types.edge_traffic_stats.EdgeTrafficStats"
    ]
    """Traffic counters accumulated over the edge's observation window."""

blocked instance-attribute

blocked: NotRequired[bool]

Whether the observed network flow was denied. Absent means the edge was not derived from network flow data, which is not the same as allowed.

destination_port instance-attribute

destination_port: NotRequired[str]

The destination port of the observed traffic. May be a placeholder when the port is unknown.

error_code instance-attribute

error_code: NotRequired[str]

The error code returned when the call was attempted and refused. Its presence means the edge exists but the dependency is failing.

http_method instance-attribute

http_method: NotRequired[str]

The HTTP method observed on the request.

http_status_code instance-attribute

http_status_code: NotRequired[str]

The HTTP status code observed on the request. Distinct from errorCode.

protocol instance-attribute

protocol: NotRequired[str]

The IANA protocol name for the observed network traffic, such as "tcp".

service_initiated instance-attribute

service_initiated: NotRequired[bool]

Whether the caller was an AWS service principal rather than a user or role. Absent means the edge was not derived from a source that reports it.

source_port instance-attribute

source_port: NotRequired[str]

The source port of the observed traffic. May be a placeholder when the port is unknown.

traffic_stats instance-attribute

traffic_stats: NotRequired[EdgeTrafficStats]

Traffic counters accumulated over the edge's observation window.