AppMeshProxyConfigurationProps

class aws_cdk.aws_ecs.AppMeshProxyConfigurationProps(*, app_ports, proxy_egress_port, proxy_ingress_port, egress_ignored_i_ps=None, egress_ignored_ports=None, ignored_gid=None, ignored_uid=None)

Bases: object

__init__(*, app_ports, proxy_egress_port, proxy_ingress_port, egress_ignored_i_ps=None, egress_ignored_ports=None, ignored_gid=None, ignored_uid=None)

Interface for setting the properties of proxy configuration.

Parameters
  • app_ports (List[Union[int, float]]) – The list of ports that the application uses. Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort.

  • proxy_egress_port (Union[int, float]) – Specifies the port that outgoing traffic from the AppPorts is directed to.

  • proxy_ingress_port (Union[int, float]) – Specifies the port that incoming traffic to the AppPorts is directed to.

  • egress_ignored_i_ps (Optional[List[str]]) – The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort. It can be an empty list.

  • egress_ignored_ports (Optional[List[Union[int, float]]]) – The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort. It can be an empty list.

  • ignored_gid (Union[int, float, None]) – The group ID (GID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredUID is specified, this field can be empty.

  • ignored_uid (Union[int, float, None]) – The user ID (UID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredGID is specified, this field can be empty.

Attributes

app_ports

The list of ports that the application uses. Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort.

Return type

List[Union[int, float]]

egress_ignored_i_ps

The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort.

It can be an empty list.

Return type

Optional[List[str]]

egress_ignored_ports

The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort.

It can be an empty list.

Return type

Optional[List[Union[int, float]]]

ignored_gid

The group ID (GID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredUID is specified, this field can be empty.

Return type

Union[int, float, None]

ignored_uid

The user ID (UID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredGID is specified, this field can be empty.

Return type

Union[int, float, None]

proxy_egress_port

Specifies the port that outgoing traffic from the AppPorts is directed to.

Return type

Union[int, float]

proxy_ingress_port

Specifies the port that incoming traffic to the AppPorts is directed to.

Return type

Union[int, float]