CfnClusterSchedulerConfigProps

class aws_cdk.aws_sagemaker.CfnClusterSchedulerConfigProps(*, cluster_arn, name, scheduler_config, description=None, tags=None)

Bases: object

Properties for defining a CfnClusterSchedulerConfig.

Parameters:
  • cluster_arn (str) – ARN of the cluster.

  • name (str) – Name for the cluster policy.

  • scheduler_config (Union[IResolvable, SchedulerConfigProperty, Dict[str, Any]]) – Cluster policy configuration.

  • description (Optional[str]) – Description of the cluster policy.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags of the cluster policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-clusterschedulerconfig.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

cfn_cluster_scheduler_config_props = sagemaker.CfnClusterSchedulerConfigProps(
    cluster_arn="clusterArn",
    name="name",
    scheduler_config=sagemaker.CfnClusterSchedulerConfig.SchedulerConfigProperty(
        fair_share="fairShare",
        idle_resource_sharing="idleResourceSharing",
        priority_classes=[sagemaker.CfnClusterSchedulerConfig.PriorityClassProperty(
            name="name",
            weight=123
        )]
    ),

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

cluster_arn

ARN of the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-clusterschedulerconfig.html#cfn-sagemaker-clusterschedulerconfig-clusterarn

description

Description of the cluster policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-clusterschedulerconfig.html#cfn-sagemaker-clusterschedulerconfig-description

name

Name for the cluster policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-clusterschedulerconfig.html#cfn-sagemaker-clusterschedulerconfig-name

scheduler_config

Cluster policy configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-clusterschedulerconfig.html#cfn-sagemaker-clusterschedulerconfig-schedulerconfig

tags

Tags of the cluster policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-clusterschedulerconfig.html#cfn-sagemaker-clusterschedulerconfig-tags