Skip to content
v2.277.0

SystemControl Struct ​

Kernel parameters to set in the container.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const systemControl: ecs.SystemControl = {
  namespace: 'namespace',
  value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs

system_control = ecs.SystemControl(
    namespace="namespace",
    value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;

SystemControl systemControl = SystemControl.builder()
        .namespace("namespace")
        .value("value")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 systemControl = new SystemControl {
    Namespace = "namespace",
    Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

systemControl := &SystemControl{
	Namespace: jsii.String("namespace"),
	Value: jsii.String("value"),
}

Properties ​

namespacestringnamespacestrnamespaceStringNamespacestringNamespace*string required #
The namespaced kernel parameter for which to set a value.
valuestringvaluestrvalueStringValuestringValue*string required #
The value for the namespaced kernel parameter specified in namespace.