# EksContainerLinuxCapabilitiesProperty

- Source: Generated at build time
- Type last changed: v2.277.0 · 13 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const eksContainerLinuxCapabilitiesProperty: batch.CfnJobDefinition.EksContainerLinuxCapabilitiesProperty = {
  add: ['add'],
  drop: ['drop'],
};
```

Python:

```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_batch as batch

eks_container_linux_capabilities_property = batch.CfnJobDefinition.EksContainerLinuxCapabilitiesProperty(
    add=["add"],
    drop=["drop"]
)
```

Java:

```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.batch.*;

EksContainerLinuxCapabilitiesProperty eksContainerLinuxCapabilitiesProperty = EksContainerLinuxCapabilitiesProperty.builder()
        .add(List.of("add"))
        .drop(List.of("drop"))
        .build();
```

C# / .NET:

```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.Batch;

var eksContainerLinuxCapabilitiesProperty = new EksContainerLinuxCapabilitiesProperty {
    Add = new [] { "add" },
    Drop = new [] { "drop" }
};
```

Golang:

```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"

eksContainerLinuxCapabilitiesProperty := &EksContainerLinuxCapabilitiesProperty{
	Add: []*string{
		jsii.String("add"),
	},
	Drop: []*string{
		jsii.String("drop"),
	},
}
```

## Properties

- `add`: string[]

- `drop`: string[]
