Show / Hide Table of Contents

Class AppMeshProxyConfiguration

The class for App Mesh proxy configurations.

Inheritance
System.Object
ProxyConfiguration
AppMeshProxyConfiguration
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class AppMeshProxyConfiguration : ProxyConfiguration
Syntax (vb)
Public Class AppMeshProxyConfiguration
    Inherits ProxyConfiguration
Remarks

For tasks using 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 enable 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 AMIs.

For tasks using the Fargate launch type, the task or service requires platform version 1.3.0 or later.

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 appMeshProxyConfiguration = new AppMeshProxyConfiguration(new AppMeshProxyConfigurationConfigProps {
    ContainerName = "containerName",
    Properties = 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

AppMeshProxyConfiguration(IAppMeshProxyConfigurationConfigProps)

Constructs a new instance of the AppMeshProxyConfiguration class.

AppMeshProxyConfiguration(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

AppMeshProxyConfiguration(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Methods

Bind(Construct, TaskDefinition)

Called when the proxy configuration is configured on a task definition.

Constructors

AppMeshProxyConfiguration(IAppMeshProxyConfigurationConfigProps)

Constructs a new instance of the AppMeshProxyConfiguration class.

public AppMeshProxyConfiguration(IAppMeshProxyConfigurationConfigProps props)
Parameters
props IAppMeshProxyConfigurationConfigProps

AppMeshProxyConfiguration(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected AppMeshProxyConfiguration(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

AppMeshProxyConfiguration(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected AppMeshProxyConfiguration(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Methods

Bind(Construct, TaskDefinition)

Called when the proxy configuration is configured on a task definition.

public override CfnTaskDefinition.IProxyConfigurationProperty Bind(Construct scope, TaskDefinition taskDefinition)
Parameters
scope Construct
taskDefinition TaskDefinition
Returns

CfnTaskDefinition.IProxyConfigurationProperty

Overrides
ProxyConfiguration.Bind(Construct, TaskDefinition)
Back to top Generated by DocFX