Class AppMeshProxyConfigurationProps
Interface for setting the properties of proxy configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AppMeshProxyConfigurationProps : IAppMeshProxyConfigurationProps
Syntax (vb)
Public Class AppMeshProxyConfigurationProps 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() | Interface for setting the properties of proxy configuration. |
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()
Interface for setting the properties of proxy configuration.
public AppMeshProxyConfigurationProps()
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
};
Properties
AppPorts
The list of ports that the application uses.
public double[] AppPorts { get; set; }
Property Value
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
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
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 double? IgnoredGID { get; set; }
Property Value
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 double? IgnoredUID { get; set; }
Property Value
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
Remarks
ExampleMetadata: fixture=_generated
ProxyIngressPort
Specifies the port that incoming traffic to the AppPorts is directed to.
public double ProxyIngressPort { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated