Interface CfnTaskDefinition.IProxyConfigurationProperty
The configuration details for the App Mesh proxy.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IProxyConfigurationProperty
Syntax (vb)
Public Interface 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
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. |
Properties
ContainerName
The name of the container that will serve as the App Mesh proxy.
string ContainerName { get; }
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.
virtual object ProxyConfigurationProperties { get; }
Property Value
System.Object
Remarks
Type
The proxy type.
virtual string Type { get; }
Property Value
System.String
Remarks
The only supported value is APPMESH
.