CfnClusterSchedulerConfigProps
- class aws_cdk.aws_sagemaker.CfnClusterSchedulerConfigProps(*, cluster_arn, name, scheduler_config, description=None, tags=None)
Bases:
objectProperties 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:
- 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.
- description
Description of the cluster policy.
- name
Name for the cluster policy.
- scheduler_config
Cluster policy configuration.