aws-cdk-lib.aws_ecs.AppMeshProxyConfigurationProps

interface AppMeshProxyConfigurationProps

LanguageType name
.NETAmazon.CDK.AWS.ECS.AppMeshProxyConfigurationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#AppMeshProxyConfigurationProps
Javasoftware.amazon.awscdk.services.ecs.AppMeshProxyConfigurationProps
Pythonaws_cdk.aws_ecs.AppMeshProxyConfigurationProps
TypeScript (source)aws-cdk-lib » aws_ecs » AppMeshProxyConfigurationProps

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 { aws_ecs as ecs } from 'aws-cdk-lib';
const appMeshProxyConfigurationProps: ecs.AppMeshProxyConfigurationProps = {
  appPorts: [123],
  proxyEgressPort: 123,
  proxyIngressPort: 123,

  // the properties below are optional
  egressIgnoredIPs: ['egressIgnoredIPs'],
  egressIgnoredPorts: [123],
  ignoredGID: 123,
  ignoredUID: 123,
};

Properties

NameTypeDescription
appPortsnumber[]The list of ports that the application uses.
proxyEgressPortnumberSpecifies the port that outgoing traffic from the AppPorts is directed to.
proxyIngressPortnumberSpecifies the port that incoming traffic to the AppPorts is directed to.
egressIgnoredIPs?string[]The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort.
egressIgnoredPorts?number[]The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort.
ignoredGID?numberThe group ID (GID) of the proxy container as defined by the user parameter in a container definition.
ignoredUID?numberThe user ID (UID) of the proxy container as defined by the user parameter in a container definition.

appPorts

Type: number[]

The list of ports that the application uses.

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


proxyEgressPort

Type: number

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


proxyIngressPort

Type: number

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


egressIgnoredIPs?

Type: string[] (optional)

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

It can be an empty list.


egressIgnoredPorts?

Type: number[] (optional)

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

It can be an empty list.


ignoredGID?

Type: number (optional)

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.


ignoredUID?

Type: number (optional)

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.