# ComputeQuotaTargetProperty

The team this compute allocation rule applies to.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `fairShareWeight`: number — Relative fair-share weight when fair-share scheduling is enabled on the parent ClusterSchedulerConfig.

  Defaults service-side to 0 when omitted.

- `teamName`: string (required) — 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).
