# EksPodSecurityContextProperty

- Source: Generated code
- Type last changed: v2.277.0 · 13 Nov 2026

## 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 eksPodSecurityContextProperty: batch.CfnJobDefinition.EksPodSecurityContextProperty = {
  fsGroup: 123,
  runAsGroup: 123,
  runAsNonRoot: false,
  runAsUser: 123,
  seccompProfile: {
    type: 'type',

    // the properties below are optional
    localhostProfile: 'localhostProfile',
  },
};
```

## Properties

- `fsGroup`: number

- `runAsGroup`: number

- `runAsNonRoot`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `runAsUser`: number

- `seccompProfile`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnJobDefinition.EksSeccompProfileProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_batch.CfnJobDefinition.EksSeccompProfileProperty.html)
