# JobRunAsUserProperty

Identifies the user for a job.

- Source: Generated code
- Type last changed: v2.138.0 · 18 Apr 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';
const jobRunAsUserProperty: deadline.CfnQueue.JobRunAsUserProperty = {
  runAs: 'runAs',

  // the properties below are optional
  posix: {
    group: 'group',
    user: 'user',
  },
  windows: {
    passwordArn: 'passwordArn',
    user: 'user',
  },
};
```

## Properties

- `posix`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.PosixUserProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_deadline.CfnQueue.PosixUserProperty.html) — The user and group that the jobs in the queue run as.

- `runAs`: string (required) — Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.

- `windows`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.WindowsUserProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_deadline.CfnQueue.WindowsUserProperty.html) — Identifies a Microsoft Windows user.
