Class AppMeshProxyConfigurationProps
Interface for setting the properties of proxy configuration.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class AppMeshProxyConfigurationProps : Object, IAppMeshProxyConfigurationProps
Syntax (vb)
Public Class AppMeshProxyConfigurationProps
Inherits Object
Implements IAppMeshProxyConfigurationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var appMeshProxyConfigurationProps = new AppMeshProxyConfigurationProps {
AppPorts = new [] { 123 },
ProxyEgressPort = 123,
ProxyIngressPort = 123,
// the properties below are optional
EgressIgnoredIPs = new [] { "egressIgnoredIPs" },
EgressIgnoredPorts = new [] { 123 },
IgnoredGID = 123,
IgnoredUID = 123
};
Synopsis
Constructors
AppMeshProxyConfigurationProps() |
Properties
AppPorts | The list of ports that the application uses. |
EgressIgnoredIPs | The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort. |
EgressIgnoredPorts | The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort. |
IgnoredGID | The group ID (GID) of the proxy container as defined by the user parameter in a container definition. |
IgnoredUID | The user ID (UID) of the proxy container as defined by the user parameter in a container definition. |
ProxyEgressPort | Specifies the port that outgoing traffic from the AppPorts is directed to. |
ProxyIngressPort | Specifies the port that incoming traffic to the AppPorts is directed to. |
Constructors
AppMeshProxyConfigurationProps()
public AppMeshProxyConfigurationProps()
Properties
AppPorts
The list of ports that the application uses.
public double[] AppPorts { get; set; }
Property Value
System.Double[]
Remarks
Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort.
EgressIgnoredIPs
The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort.
public string[] EgressIgnoredIPs { get; set; }
Property Value
System.String[]
Remarks
It can be an empty list.
EgressIgnoredPorts
The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort.
public double[] EgressIgnoredPorts { get; set; }
Property Value
System.Double[]
Remarks
It can be an empty list.
IgnoredGID
The group ID (GID) of the proxy container as defined by the user parameter in a container definition.
public Nullable<double> IgnoredGID { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
This is used to ensure the proxy ignores its own traffic. If IgnoredUID is specified, this field can be empty.
IgnoredUID
The user ID (UID) of the proxy container as defined by the user parameter in a container definition.
public Nullable<double> IgnoredUID { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
This is used to ensure the proxy ignores its own traffic. If IgnoredGID is specified, this field can be empty.
ProxyEgressPort
Specifies the port that outgoing traffic from the AppPorts is directed to.
public double ProxyEgressPort { get; set; }
Property Value
System.Double
ProxyIngressPort
Specifies the port that incoming traffic to the AppPorts is directed to.
public double ProxyIngressPort { get; set; }
Property Value
System.Double