Skip to content
v2.276.0

ComputeQuotaTargetProperty Struct Added in v2.276.0 ​

The team this compute allocation rule applies to.

Example ​

ts
// 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 computeQuotaTargetProperty: sagemaker.CfnComputeQuota.ComputeQuotaTargetProperty = {
  teamName: 'teamName',

  // the properties below are optional
  fairShareWeight: 123,
};
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_sagemaker as sagemaker

compute_quota_target_property = sagemaker.CfnComputeQuota.ComputeQuotaTargetProperty(
    team_name="teamName",

    # the properties below are optional
    fair_share_weight=123
)
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.sagemaker.*;

ComputeQuotaTargetProperty computeQuotaTargetProperty = ComputeQuotaTargetProperty.builder()
        .teamName("teamName")

        // the properties below are optional
        .fairShareWeight(123)
        .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.Sagemaker;

var computeQuotaTargetProperty = new ComputeQuotaTargetProperty {
    TeamName = "teamName",

    // the properties below are optional
    FairShareWeight = 123
};
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"

computeQuotaTargetProperty := &ComputeQuotaTargetProperty{
	TeamName: jsii.String("teamName"),

	// the properties below are optional
	FairShareWeight: jsii.Number(123),
}

Properties ​

fairShareWeightoptionalnumberfair_share_weightoptionalint | floatfairShareWeightoptionalNumberFairShareWeightoptionaldoubleFairShareWeightoptional*float64#
Relative fair-share weight when fair-share scheduling is enabled on the parent ClusterSchedulerConfig.

Defaults service-side to 0 when omitted.

teamNamestringteam_namestrteamNameStringTeamNamestringTeamName*stringrequired#
The name of the team.

Materialized as Kubernetes namespace 'hyperpod-ns-<TeamName>' on the EKS cluster, so the value must satisfy RFC 1123 namespace constraints. Reassignment is not supported (createOnly).