Skip to content

ECS  >  Structures  >  GatewayConnector

GatewayConnector

Structure Class

GatewayConnector dataclass

Bases: _SerdeShape

A gateway connector that attaches an Amazon ECS service to a gateway ingress path. The connector specifies the service port that receives gateway-managed ingress traffic, along with the health check and traffic filters that the gateway applies. A service can have at most one gateway connector.

Attributes

filters class-attribute instance-attribute
filters: GatewayConnectorFilters | None = ...

The filters that control which gateway ingress paths the connector applies to.

health_check class-attribute instance-attribute
health_check: GatewayConnectorHealthCheck | None = ...

The health check that the gateway uses to determine whether the targets for this connector are healthy.

port_name instance-attribute
port_name: str

The name of the service port that the gateway routes ingress traffic to.