interface ProxyConfigurationProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.ECS.CfnTaskDefinition.ProxyConfigurationProperty | 
|  Java | software.amazon.awscdk.services.ecs.CfnTaskDefinition.ProxyConfigurationProperty | 
|  Python | aws_cdk.aws_ecs.CfnTaskDefinition.ProxyConfigurationProperty | 
|  TypeScript | @aws-cdk/aws-ecs»CfnTaskDefinition»ProxyConfigurationProperty | 
Obtainable from
App.bind(), Proxy.bind()
The configuration details for the App Mesh proxy.
For tasks that use the EC2 launch type, the container instances require at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the ecs-init package to use a proxy configuration. If your container instances are launched from the Amazon ECS optimized AMI version 20190301 or later, then they contain the required versions of the container agent and ecs-init . For more information, see Amazon ECS-optimized Linux AMI
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ecs from '@aws-cdk/aws-ecs';
const proxyConfigurationProperty: ecs.CfnTaskDefinition.ProxyConfigurationProperty = {
  containerName: 'containerName',
  // the properties below are optional
  proxyConfigurationProperties: [{
    name: 'name',
    value: 'value',
  }],
  type: 'type',
};
Properties
| Name | Type | Description | 
|---|---|---|
| container | string | The name of the container that will serve as the App Mesh proxy. | 
| proxy | IResolvable | IResolvable | Key[] | The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs. | 
| type? | string | The proxy type. | 
containerName
Type:
string
The name of the container that will serve as the App Mesh proxy.
proxyConfigurationProperties?
Type:
IResolvable | IResolvable | Key[]
(optional)
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.
- IgnoredUID- (Required) The user ID (UID) of the proxy container as defined by the- userparameter in a container definition. This is used to ensure the proxy ignores its own traffic. If- IgnoredGIDis specified, this field can be empty.
- IgnoredGID- (Required) The group ID (GID) of the proxy container as defined by the- userparameter in a container definition. This is used to ensure the proxy ignores its own traffic. If- IgnoredUIDis specified, this field can be empty.
- AppPorts- (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to the- ProxyIngressPortand- ProxyEgressPort.
- ProxyIngressPort- (Required) Specifies the port that incoming traffic to the- AppPortsis directed to.
- ProxyEgressPort- (Required) Specifies the port that outgoing traffic from the- AppPortsis directed to.
- EgressIgnoredPorts- (Required) The egress traffic going to the specified ports is ignored and not redirected to the- ProxyEgressPort. It can be an empty list.
- EgressIgnoredIPs- (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to the- ProxyEgressPort. It can be an empty list.
type?
Type:
string
(optional)
The proxy type.
The only supported value is APPMESH .
