Class CfnTaskDefinition.ProxyConfigurationProperty
The configuration details for the App Mesh proxy.
Inheritance
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class ProxyConfigurationProperty : Object, CfnTaskDefinition.IProxyConfigurationProperty
Syntax (vb)
Public Class ProxyConfigurationProperty
Inherits Object
Implements CfnTaskDefinition.IProxyConfigurationProperty
Remarks
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
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 proxyConfigurationProperty = new ProxyConfigurationProperty {
ContainerName = "containerName",
// the properties below are optional
ProxyConfigurationProperties = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
Type = "type"
};
Synopsis
Constructors
ProxyConfigurationProperty() |
Properties
ContainerName | The name of the container that will serve as the App Mesh proxy. |
ProxyConfigurationProperties | The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs. |
Type | The proxy type. |
Constructors
ProxyConfigurationProperty()
public ProxyConfigurationProperty()
Properties
ContainerName
The name of the container that will serve as the App Mesh proxy.
public string ContainerName { get; set; }
Property Value
System.String
Remarks
ProxyConfigurationProperties
The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.
public object ProxyConfigurationProperties { get; set; }
Property Value
System.Object
Remarks
Type
The proxy type.
public string Type { get; set; }
Property Value
System.String
Remarks
The only supported value is APPMESH
.