# CfnRunGroupProps

Struct · External

Properties for defining a `CfnRunGroup`.

Used as props by: [CfnRunGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_omics.CfnRunGroup.html)

- Source: Generated at build time
- Type last changed: v2.91.0 · 10 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_omics as omics } from 'aws-cdk-lib';
const cfnRunGroupProps: omics.CfnRunGroupProps = {
  maxCpus: 123,
  maxDuration: 123,
  maxGpus: 123,
  maxRuns: 123,
  name: 'name',
  tags: {
    tagsKey: 'tags',
  },
};
```

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_omics as omics

cfn_run_group_props = omics.CfnRunGroupProps(
    max_cpus=123,
    max_duration=123,
    max_gpus=123,
    max_runs=123,
    name="name",
    tags={
        "tags_key": "tags"
    }
)
```

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.omics.*;

CfnRunGroupProps cfnRunGroupProps = CfnRunGroupProps.builder()
        .maxCpus(123)
        .maxDuration(123)
        .maxGpus(123)
        .maxRuns(123)
        .name("name")
        .tags(Map.of(
                "tagsKey", "tags"))
        .build();
```

C#:

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

var cfnRunGroupProps = new CfnRunGroupProps {
    MaxCpus = 123,
    MaxDuration = 123,
    MaxGpus = 123,
    MaxRuns = 123,
    Name = "name",
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
```

Go:

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

cfnRunGroupProps := &CfnRunGroupProps{
	MaxCpus: jsii.Number(123),
	MaxDuration: jsii.Number(123),
	MaxGpus: jsii.Number(123),
	MaxRuns: jsii.Number(123),
	Name: jsii.String("name"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}
```

## Properties

- `maxCpus`: number — The group's maximum CPU count setting.

- `maxDuration`: number — The group's maximum duration setting in minutes.

- `maxGpus`: number — The maximum GPUs that can be used by a run group.

- `maxRuns`: number — The group's maximum concurrent run setting.

- `name`: string — The group's name.

- `tags`: { [key: string]: string } — Tags for the group.
