# CustomModelTag

The key/value pair for a tag.

- Source: [`aws-stepfunctions-tasks/lib/bedrock/create-model-customization-job.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/bedrock/create-model-customization-job.ts#L44)
- Type last changed: v2.199.0 · 27 May 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const customModelTag: stepfunctions_tasks.CustomModelTag = {
  key: 'key',
  value: 'value',
};
```

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_stepfunctions_tasks as stepfunctions_tasks

custom_model_tag = stepfunctions_tasks.CustomModelTag(
    key="key",
    value="value"
)
```

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.stepfunctions.tasks.*;

CustomModelTag customModelTag = CustomModelTag.builder()
        .key("key")
        .value("value")
        .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.StepFunctions.Tasks;

var customModelTag = new CustomModelTag {
    Key = "key",
    Value = "value"
};
```

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"

customModelTag := &CustomModelTag{
	Key: jsii.String("key"),
	Value: jsii.String("value"),
}
```

## Properties

- `key`: string (required) — Key for the tag.

- `value`: string (required) — Value for the tag.
