Interface CfnTaskDefinition.ISystemControlProperty
A list of namespaced kernel parameters to set in the container.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface ISystemControlProperty
Syntax (vb)
Public Interface ISystemControlProperty
Remarks
This parameter maps to Sysctls
in the Create a container section of the Docker Remote API and the --sysctl
option to docker run .
We don't recommend that you specify network-related systemControls
parameters for multiple containers in a single task. This task also uses either the awsvpc
or host
network mode. It does it for the following reasons.
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 systemControlProperty = new SystemControlProperty {
Namespace = "namespace",
Value = "value"
};
Synopsis
Properties
Namespace | The namespaced kernel parameter to set a |
Value | The value for the namespaced kernel parameter that's specified in |
Properties
Namespace
The namespaced kernel parameter to set a value
for.
virtual string Namespace { get; }
Property Value
System.String
Remarks
Value
The value for the namespaced kernel parameter that's specified in namespace
.
virtual string Value { get; }
Property Value
System.String