Skip to content
v2.277.0

EksContainerLinuxCapabilitiesProperty Struct Added in v2.277.0 ​

Example ​

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
# 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
// 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();
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" }
};
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 ​

addoptionalstring[]addoptionaltyping.List[str]addoptionalList<String>Addoptionalstring[]Addoptional*[]*string#
dropoptionalstring[]dropoptionaltyping.List[str]dropoptionalList<String>Dropoptionalstring[]Dropoptional*[]*string#