CfnRunGroupProps Struct
Properties for defining a CfnRunGroup.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
// 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
maxCpusoptionalnumbermax_cpusoptionalint | floatmaxCpusoptionalNumberMaxCpusoptionaldoubleMaxCpusoptional*float64 #The group's maximum CPU count setting.
maxDurationoptionalnumbermax_durationoptionalint | floatmaxDurationoptionalNumberMaxDurationoptionaldoubleMaxDurationoptional*float64 #The group's maximum duration setting in minutes.
maxGpusoptionalnumbermax_gpusoptionalint | floatmaxGpusoptionalNumberMaxGpusoptionaldoubleMaxGpusoptional*float64 #The maximum GPUs that can be used by a run group.
maxRunsoptionalnumbermax_runsoptionalint | floatmaxRunsoptionalNumberMaxRunsoptionaldoubleMaxRunsoptional*float64 #The group's maximum concurrent run setting.
The group's name.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #Tags for the group.