AppMeshProxyConfigurationConfigProps

class aws_cdk.aws_ecs.AppMeshProxyConfigurationConfigProps(*, container_name, properties)

Bases: object

The configuration to use when setting an App Mesh proxy configuration.

Parameters:
  • container_name (str) – The name of the container that will serve as the App Mesh proxy.

  • properties (Union[AppMeshProxyConfigurationProps, Dict[str, Any]]) – The set of network configuration parameters to provide the Container Network Interface (CNI) plugin.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs

app_mesh_proxy_configuration_config_props = ecs.AppMeshProxyConfigurationConfigProps(
    container_name="containerName",
    properties=ecs.AppMeshProxyConfigurationProps(
        app_ports=[123],
        proxy_egress_port=123,
        proxy_ingress_port=123,

        # the properties below are optional
        egress_ignored_iPs=["egressIgnoredIPs"],
        egress_ignored_ports=[123],
        ignored_gID=123,
        ignored_uID=123
    )
)

Attributes

container_name

The name of the container that will serve as the App Mesh proxy.

properties

The set of network configuration parameters to provide the Container Network Interface (CNI) plugin.