Interface AppMeshProxyConfigurationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AppMeshProxyConfigurationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:16.257Z") @Stability(Stable) public interface AppMeshProxyConfigurationProps extends software.amazon.jsii.JsiiSerializable
Interface for setting the properties of proxy configuration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 AppMeshProxyConfigurationProps appMeshProxyConfigurationProps = AppMeshProxyConfigurationProps.builder()
         .appPorts(List.of(123))
         .proxyEgressPort(123)
         .proxyIngressPort(123)
         // the properties below are optional
         .egressIgnoredIPs(List.of("egressIgnoredIPs"))
         .egressIgnoredPorts(List.of(123))
         .ignoredGID(123)
         .ignoredUID(123)
         .build();
 
  • Method Details

    • getAppPorts

      @Stability(Stable) @NotNull List<Number> getAppPorts()
      The list of ports that the application uses.

      Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort.

    • getProxyEgressPort

      @Stability(Stable) @NotNull Number getProxyEgressPort()
      Specifies the port that outgoing traffic from the AppPorts is directed to.
    • getProxyIngressPort

      @Stability(Stable) @NotNull Number getProxyIngressPort()
      Specifies the port that incoming traffic to the AppPorts is directed to.
    • getEgressIgnoredIPs

      @Stability(Stable) @Nullable default List<String> getEgressIgnoredIPs()
      The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort.

      It can be an empty list.

    • getEgressIgnoredPorts

      @Stability(Stable) @Nullable default List<Number> getEgressIgnoredPorts()
      The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort.

      It can be an empty list.

    • getIgnoredGID

      @Stability(Stable) @Nullable default Number getIgnoredGID()
      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.

    • getIgnoredUID

      @Stability(Stable) @Nullable default Number getIgnoredUID()
      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.

    • builder

      @Stability(Stable) static AppMeshProxyConfigurationProps.Builder builder()
      Returns:
      a AppMeshProxyConfigurationProps.Builder of AppMeshProxyConfigurationProps