interface CfnClusterMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.PCS.CfnClusterMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awspcs#CfnClusterMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnClusterMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_pcs.CfnClusterMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_pcs » CfnClusterMixinProps |
Properties for CfnClusterPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-cluster.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from '@aws-cdk/cfn-property-mixins';
const cfnClusterMixinProps: pcs.CfnClusterMixinProps = {
name: 'name',
networking: {
networkType: 'networkType',
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
scheduler: {
type: 'type',
version: 'version',
},
size: 'size',
slurmConfiguration: {
accounting: {
defaultPurgeTimeInDays: 123,
mode: 'mode',
},
authKey: {
secretArn: 'secretArn',
secretVersion: 'secretVersion',
},
cgroupCustomSettings: [{
parameterName: 'parameterName',
parameterValue: 'parameterValue',
}],
jwtAuth: {
jwtKey: {
secretArn: 'secretArn',
secretVersion: 'secretVersion',
},
},
scaleDownIdleTimeInSeconds: 123,
slurmCustomSettings: [{
parameterName: 'parameterName',
parameterValue: 'parameterValue',
}],
slurmdbdCustomSettings: [{
parameterName: 'parameterName',
parameterValue: 'parameterValue',
}],
slurmRest: {
mode: 'mode',
},
},
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name that identifies the cluster. |
| networking? | IResolvable | Networking | The networking configuration for the cluster's control plane. |
| scheduler? | IResolvable | Scheduler | The cluster management and job scheduling software associated with the cluster. |
| size? | string | The size of the cluster. |
| slurm | IResolvable | Slurm | Additional options related to the Slurm scheduler. |
| tags? | { [string]: string } | 1 or more tags added to the resource. |
name?
Type:
string
(optional)
The name that identifies the cluster.
networking?
Type:
IResolvable | Networking
(optional)
The networking configuration for the cluster's control plane.
scheduler?
Type:
IResolvable | Scheduler
(optional)
The cluster management and job scheduling software associated with the cluster.
size?
Type:
string
(optional)
The size of the cluster.
SMALL: 32 compute nodes and 256 jobsMEDIUM: 512 compute nodes and 8192 jobsLARGE: 2048 compute nodes and 16,384 jobs
slurmConfiguration?
Type:
IResolvable | Slurm
(optional)
Additional options related to the Slurm scheduler.
tags?
Type:
{ [string]: string }
(optional)
1 or more tags added to the resource.
Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.

.NET
Go
Java
Python
TypeScript