Class CfnTaskDefinition.SystemControlProperty
A list of namespaced kernel parameters to set in the container.
Inheritance
System.Object
CfnTaskDefinition.SystemControlProperty
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class SystemControlProperty : Object, CfnTaskDefinition.ISystemControlProperty
Syntax (vb)
Public Class SystemControlProperty
Inherits Object
Implements CfnTaskDefinition.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
Constructors
SystemControlProperty() |
Properties
Namespace | The namespaced kernel parameter to set a |
Value | The value for the namespaced kernel parameter that's specified in |
Constructors
SystemControlProperty()
public SystemControlProperty()
Properties
Namespace
The namespaced kernel parameter to set a value
for.
public string Namespace { get; set; }
Property Value
System.String
Remarks
Value
The value for the namespaced kernel parameter that's specified in namespace
.
public string Value { get; set; }
Property Value
System.String