interface ClusterKubernetesTaintProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnCluster.ClusterKubernetesTaintProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnCluster_ClusterKubernetesTaintProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnCluster.ClusterKubernetesTaintProperty |
Python | aws_cdk.aws_sagemaker.CfnCluster.ClusterKubernetesTaintProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnCluster » ClusterKubernetesTaintProperty |
A Kubernetes taint that can be applied to cluster nodes.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clusterKubernetesTaintProperty: sagemaker.CfnCluster.ClusterKubernetesTaintProperty = {
effect: 'effect',
key: 'key',
// the properties below are optional
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| effect | string | The effect of the taint. |
| key | string | The key of the taint. |
| value? | string | The value of the taint. |
effect
Type:
string
The effect of the taint.
Valid values are NoSchedule , PreferNoSchedule , and NoExecute .
key
Type:
string
The key of the taint.
value?
Type:
string
(optional)
The value of the taint.

.NET
Go
Java
Python
TypeScript