published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi
Resource for creating an Anthropic Model connector.
Example Usage
Token auth — direct Anthropic API key
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const token = new harness.platform.ConnectorAnthropicModel("token", {
auth: {
token: {
tokenRef: "account.anthropic_api_key",
},
authType: "Token",
},
identifier: "example_anthropic_token",
name: "example-anthropic-token",
description: "Anthropic connector with Token auth",
tags: ["env:dev"],
url: "https://api.anthropic.com",
model: "claude-opus-4-6",
delegateSelectors: ["harness-delegate"],
executeOnDelegate: true,
ignoreTestConnection: false,
});
import pulumi
import pulumi_harness as harness
token = harness.platform.ConnectorAnthropicModel("token",
auth={
"token": {
"token_ref": "account.anthropic_api_key",
},
"auth_type": "Token",
},
identifier="example_anthropic_token",
name="example-anthropic-token",
description="Anthropic connector with Token auth",
tags=["env:dev"],
url="https://api.anthropic.com",
model="claude-opus-4-6",
delegate_selectors=["harness-delegate"],
execute_on_delegate=True,
ignore_test_connection=False)
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewConnectorAnthropicModel(ctx, "token", &platform.ConnectorAnthropicModelArgs{
Auth: &platform.ConnectorAnthropicModelAuthArgs{
Token: &platform.ConnectorAnthropicModelAuthTokenArgs{
TokenRef: pulumi.String("account.anthropic_api_key"),
},
AuthType: pulumi.String("Token"),
},
Identifier: pulumi.String("example_anthropic_token"),
Name: pulumi.String("example-anthropic-token"),
Description: pulumi.String("Anthropic connector with Token auth"),
Tags: pulumi.StringArray{
pulumi.String("env:dev"),
},
Url: pulumi.String("https://api.anthropic.com"),
Model: pulumi.String("claude-opus-4-6"),
DelegateSelectors: pulumi.StringArray{
pulumi.String("harness-delegate"),
},
ExecuteOnDelegate: pulumi.Bool(true),
IgnoreTestConnection: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var token = new Harness.Platform.ConnectorAnthropicModel("token", new()
{
Auth = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthArgs
{
Token = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthTokenArgs
{
TokenRef = "account.anthropic_api_key",
},
AuthType = "Token",
},
Identifier = "example_anthropic_token",
Name = "example-anthropic-token",
Description = "Anthropic connector with Token auth",
Tags = new[]
{
"env:dev",
},
Url = "https://api.anthropic.com",
Model = "claude-opus-4-6",
DelegateSelectors = new[]
{
"harness-delegate",
},
ExecuteOnDelegate = true,
IgnoreTestConnection = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.ConnectorAnthropicModel;
import com.pulumi.harness.platform.ConnectorAnthropicModelArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthTokenArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var token = new ConnectorAnthropicModel("token", ConnectorAnthropicModelArgs.builder()
.auth(ConnectorAnthropicModelAuthArgs.builder()
.token(ConnectorAnthropicModelAuthTokenArgs.builder()
.tokenRef("account.anthropic_api_key")
.build())
.authType("Token")
.build())
.identifier("example_anthropic_token")
.name("example-anthropic-token")
.description("Anthropic connector with Token auth")
.tags("env:dev")
.url("https://api.anthropic.com")
.model("claude-opus-4-6")
.delegateSelectors("harness-delegate")
.executeOnDelegate(true)
.ignoreTestConnection(false)
.build());
}
}
resources:
token:
type: harness:platform:ConnectorAnthropicModel
properties:
auth:
token:
tokenRef: account.anthropic_api_key
authType: Token
identifier: example_anthropic_token
name: example-anthropic-token
description: Anthropic connector with Token auth
tags:
- env:dev
url: https://api.anthropic.com
model: claude-opus-4-6
delegateSelectors:
- harness-delegate
executeOnDelegate: true
ignoreTestConnection: false
terraform {
required_providers {
harness = {
source = "pulumi/harness"
}
}
}
resource "harness_platform_connector_anthropic_model" "token" {
lifecycle {
create_before_destroy = true
}
auth {
token {
token_ref = "account.anthropic_api_key"
}
auth_type = "Token"
}
identifier = "example_anthropic_token"
name = "example-anthropic-token"
description = "Anthropic connector with Token auth"
tags = ["env:dev"]
url = "https://api.anthropic.com"
model = "claude-opus-4-6"
delegate_selectors = ["harness-delegate"]
execute_on_delegate = true
ignore_test_connection = false
}
BedrockApiKey auth — AWS Bedrock with API key + region
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const bedrock = new harness.platform.ConnectorAnthropicModel("bedrock", {
auth: {
bedrockApiKey: {
apiKeyRef: "account.bedrock_api_key",
region: "us-east-1",
},
authType: "BedrockApiKey",
},
identifier: "example_anthropic_bedrock",
name: "example-anthropic-bedrock",
description: "Anthropic connector with BedrockApiKey auth",
tags: ["env:dev"],
url: "https://api.anthropic.com",
model: "claude-opus-4-6",
delegateSelectors: ["harness-delegate"],
executeOnDelegate: true,
ignoreTestConnection: true,
});
import pulumi
import pulumi_harness as harness
bedrock = harness.platform.ConnectorAnthropicModel("bedrock",
auth={
"bedrock_api_key": {
"api_key_ref": "account.bedrock_api_key",
"region": "us-east-1",
},
"auth_type": "BedrockApiKey",
},
identifier="example_anthropic_bedrock",
name="example-anthropic-bedrock",
description="Anthropic connector with BedrockApiKey auth",
tags=["env:dev"],
url="https://api.anthropic.com",
model="claude-opus-4-6",
delegate_selectors=["harness-delegate"],
execute_on_delegate=True,
ignore_test_connection=True)
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewConnectorAnthropicModel(ctx, "bedrock", &platform.ConnectorAnthropicModelArgs{
Auth: &platform.ConnectorAnthropicModelAuthArgs{
BedrockApiKey: &platform.ConnectorAnthropicModelAuthBedrockApiKeyArgs{
ApiKeyRef: pulumi.String("account.bedrock_api_key"),
Region: pulumi.String("us-east-1"),
},
AuthType: pulumi.String("BedrockApiKey"),
},
Identifier: pulumi.String("example_anthropic_bedrock"),
Name: pulumi.String("example-anthropic-bedrock"),
Description: pulumi.String("Anthropic connector with BedrockApiKey auth"),
Tags: pulumi.StringArray{
pulumi.String("env:dev"),
},
Url: pulumi.String("https://api.anthropic.com"),
Model: pulumi.String("claude-opus-4-6"),
DelegateSelectors: pulumi.StringArray{
pulumi.String("harness-delegate"),
},
ExecuteOnDelegate: pulumi.Bool(true),
IgnoreTestConnection: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var bedrock = new Harness.Platform.ConnectorAnthropicModel("bedrock", new()
{
Auth = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthArgs
{
BedrockApiKey = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthBedrockApiKeyArgs
{
ApiKeyRef = "account.bedrock_api_key",
Region = "us-east-1",
},
AuthType = "BedrockApiKey",
},
Identifier = "example_anthropic_bedrock",
Name = "example-anthropic-bedrock",
Description = "Anthropic connector with BedrockApiKey auth",
Tags = new[]
{
"env:dev",
},
Url = "https://api.anthropic.com",
Model = "claude-opus-4-6",
DelegateSelectors = new[]
{
"harness-delegate",
},
ExecuteOnDelegate = true,
IgnoreTestConnection = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.ConnectorAnthropicModel;
import com.pulumi.harness.platform.ConnectorAnthropicModelArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthBedrockApiKeyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var bedrock = new ConnectorAnthropicModel("bedrock", ConnectorAnthropicModelArgs.builder()
.auth(ConnectorAnthropicModelAuthArgs.builder()
.bedrockApiKey(ConnectorAnthropicModelAuthBedrockApiKeyArgs.builder()
.apiKeyRef("account.bedrock_api_key")
.region("us-east-1")
.build())
.authType("BedrockApiKey")
.build())
.identifier("example_anthropic_bedrock")
.name("example-anthropic-bedrock")
.description("Anthropic connector with BedrockApiKey auth")
.tags("env:dev")
.url("https://api.anthropic.com")
.model("claude-opus-4-6")
.delegateSelectors("harness-delegate")
.executeOnDelegate(true)
.ignoreTestConnection(true)
.build());
}
}
resources:
bedrock:
type: harness:platform:ConnectorAnthropicModel
properties:
auth:
bedrockApiKey:
apiKeyRef: account.bedrock_api_key
region: us-east-1
authType: BedrockApiKey
identifier: example_anthropic_bedrock
name: example-anthropic-bedrock
description: Anthropic connector with BedrockApiKey auth
tags:
- env:dev
url: https://api.anthropic.com
model: claude-opus-4-6
delegateSelectors:
- harness-delegate
executeOnDelegate: true
ignoreTestConnection: true
terraform {
required_providers {
harness = {
source = "pulumi/harness"
}
}
}
resource "harness_platform_connector_anthropic_model" "bedrock" {
lifecycle {
create_before_destroy = true
}
auth {
bedrock_api_key {
api_key_ref = "account.bedrock_api_key"
region = "us-east-1"
}
auth_type = "BedrockApiKey"
}
identifier = "example_anthropic_bedrock"
name = "example-anthropic-bedrock"
description = "Anthropic connector with BedrockApiKey auth"
tags = ["env:dev"]
url = "https://api.anthropic.com"
model = "claude-opus-4-6"
delegate_selectors = ["harness-delegate"]
execute_on_delegate = true
ignore_test_connection = true
}
Vertex auth — Google Vertex AI credentials
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const vertex = new harness.platform.ConnectorAnthropicModel("vertex", {
auth: {
vertex: {
serviceAccountKeyRef: "account.gcp_sa_key",
projectId: "my-gcp-project",
region: "us-central1",
},
authType: "Vertex",
},
identifier: "example_anthropic_vertex",
name: "example-anthropic-vertex",
description: "Anthropic connector with Vertex auth",
tags: ["env:dev"],
url: "https://api.anthropic.com",
model: "claude-opus-4-6",
delegateSelectors: ["harness-delegate"],
executeOnDelegate: true,
ignoreTestConnection: true,
});
import pulumi
import pulumi_harness as harness
vertex = harness.platform.ConnectorAnthropicModel("vertex",
auth={
"vertex": {
"service_account_key_ref": "account.gcp_sa_key",
"project_id": "my-gcp-project",
"region": "us-central1",
},
"auth_type": "Vertex",
},
identifier="example_anthropic_vertex",
name="example-anthropic-vertex",
description="Anthropic connector with Vertex auth",
tags=["env:dev"],
url="https://api.anthropic.com",
model="claude-opus-4-6",
delegate_selectors=["harness-delegate"],
execute_on_delegate=True,
ignore_test_connection=True)
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewConnectorAnthropicModel(ctx, "vertex", &platform.ConnectorAnthropicModelArgs{
Auth: &platform.ConnectorAnthropicModelAuthArgs{
Vertex: &platform.ConnectorAnthropicModelAuthVertexArgs{
ServiceAccountKeyRef: pulumi.String("account.gcp_sa_key"),
ProjectId: pulumi.String("my-gcp-project"),
Region: pulumi.String("us-central1"),
},
AuthType: pulumi.String("Vertex"),
},
Identifier: pulumi.String("example_anthropic_vertex"),
Name: pulumi.String("example-anthropic-vertex"),
Description: pulumi.String("Anthropic connector with Vertex auth"),
Tags: pulumi.StringArray{
pulumi.String("env:dev"),
},
Url: pulumi.String("https://api.anthropic.com"),
Model: pulumi.String("claude-opus-4-6"),
DelegateSelectors: pulumi.StringArray{
pulumi.String("harness-delegate"),
},
ExecuteOnDelegate: pulumi.Bool(true),
IgnoreTestConnection: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var vertex = new Harness.Platform.ConnectorAnthropicModel("vertex", new()
{
Auth = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthArgs
{
Vertex = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthVertexArgs
{
ServiceAccountKeyRef = "account.gcp_sa_key",
ProjectId = "my-gcp-project",
Region = "us-central1",
},
AuthType = "Vertex",
},
Identifier = "example_anthropic_vertex",
Name = "example-anthropic-vertex",
Description = "Anthropic connector with Vertex auth",
Tags = new[]
{
"env:dev",
},
Url = "https://api.anthropic.com",
Model = "claude-opus-4-6",
DelegateSelectors = new[]
{
"harness-delegate",
},
ExecuteOnDelegate = true,
IgnoreTestConnection = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.ConnectorAnthropicModel;
import com.pulumi.harness.platform.ConnectorAnthropicModelArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthVertexArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vertex = new ConnectorAnthropicModel("vertex", ConnectorAnthropicModelArgs.builder()
.auth(ConnectorAnthropicModelAuthArgs.builder()
.vertex(ConnectorAnthropicModelAuthVertexArgs.builder()
.serviceAccountKeyRef("account.gcp_sa_key")
.projectId("my-gcp-project")
.region("us-central1")
.build())
.authType("Vertex")
.build())
.identifier("example_anthropic_vertex")
.name("example-anthropic-vertex")
.description("Anthropic connector with Vertex auth")
.tags("env:dev")
.url("https://api.anthropic.com")
.model("claude-opus-4-6")
.delegateSelectors("harness-delegate")
.executeOnDelegate(true)
.ignoreTestConnection(true)
.build());
}
}
resources:
vertex:
type: harness:platform:ConnectorAnthropicModel
properties:
auth:
vertex:
serviceAccountKeyRef: account.gcp_sa_key
projectId: my-gcp-project
region: us-central1
authType: Vertex
identifier: example_anthropic_vertex
name: example-anthropic-vertex
description: Anthropic connector with Vertex auth
tags:
- env:dev
url: https://api.anthropic.com
model: claude-opus-4-6
delegateSelectors:
- harness-delegate
executeOnDelegate: true
ignoreTestConnection: true
terraform {
required_providers {
harness = {
source = "pulumi/harness"
}
}
}
resource "harness_platform_connector_anthropic_model" "vertex" {
lifecycle {
create_before_destroy = true
}
auth {
vertex {
service_account_key_ref = "account.gcp_sa_key"
project_id = "my-gcp-project"
region = "us-central1"
}
auth_type = "Vertex"
}
identifier = "example_anthropic_vertex"
name = "example-anthropic-vertex"
description = "Anthropic connector with Vertex auth"
tags = ["env:dev"]
url = "https://api.anthropic.com"
model = "claude-opus-4-6"
delegate_selectors = ["harness-delegate"]
execute_on_delegate = true
ignore_test_connection = true
}
CloudProvider auth — delegate to an existing cloud provider connector
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const cloudProvider = new harness.platform.ConnectorAnthropicModel("cloud_provider", {
auth: {
cloudProvider: {
type: "AWS",
connectorRef: "account.aws_connector",
},
authType: "CloudProvider",
},
identifier: "example_anthropic_cloud_provider",
name: "example-anthropic-cloud-provider",
description: "Anthropic connector with AWS CloudProvider auth",
tags: ["env:dev"],
url: "https://api.anthropic.com",
model: "claude-opus-4-6",
delegateSelectors: ["harness-delegate"],
executeOnDelegate: true,
ignoreTestConnection: true,
});
import pulumi
import pulumi_harness as harness
cloud_provider = harness.platform.ConnectorAnthropicModel("cloud_provider",
auth={
"cloud_provider": {
"type": "AWS",
"connector_ref": "account.aws_connector",
},
"auth_type": "CloudProvider",
},
identifier="example_anthropic_cloud_provider",
name="example-anthropic-cloud-provider",
description="Anthropic connector with AWS CloudProvider auth",
tags=["env:dev"],
url="https://api.anthropic.com",
model="claude-opus-4-6",
delegate_selectors=["harness-delegate"],
execute_on_delegate=True,
ignore_test_connection=True)
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewConnectorAnthropicModel(ctx, "cloud_provider", &platform.ConnectorAnthropicModelArgs{
Auth: &platform.ConnectorAnthropicModelAuthArgs{
CloudProvider: &platform.ConnectorAnthropicModelAuthCloudProviderArgs{
Type: pulumi.String("AWS"),
ConnectorRef: pulumi.String("account.aws_connector"),
},
AuthType: pulumi.String("CloudProvider"),
},
Identifier: pulumi.String("example_anthropic_cloud_provider"),
Name: pulumi.String("example-anthropic-cloud-provider"),
Description: pulumi.String("Anthropic connector with AWS CloudProvider auth"),
Tags: pulumi.StringArray{
pulumi.String("env:dev"),
},
Url: pulumi.String("https://api.anthropic.com"),
Model: pulumi.String("claude-opus-4-6"),
DelegateSelectors: pulumi.StringArray{
pulumi.String("harness-delegate"),
},
ExecuteOnDelegate: pulumi.Bool(true),
IgnoreTestConnection: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var cloudProvider = new Harness.Platform.ConnectorAnthropicModel("cloud_provider", new()
{
Auth = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthArgs
{
CloudProvider = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthCloudProviderArgs
{
Type = "AWS",
ConnectorRef = "account.aws_connector",
},
AuthType = "CloudProvider",
},
Identifier = "example_anthropic_cloud_provider",
Name = "example-anthropic-cloud-provider",
Description = "Anthropic connector with AWS CloudProvider auth",
Tags = new[]
{
"env:dev",
},
Url = "https://api.anthropic.com",
Model = "claude-opus-4-6",
DelegateSelectors = new[]
{
"harness-delegate",
},
ExecuteOnDelegate = true,
IgnoreTestConnection = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.ConnectorAnthropicModel;
import com.pulumi.harness.platform.ConnectorAnthropicModelArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthArgs;
import com.pulumi.harness.platform.inputs.ConnectorAnthropicModelAuthCloudProviderArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cloudProvider = new ConnectorAnthropicModel("cloudProvider", ConnectorAnthropicModelArgs.builder()
.auth(ConnectorAnthropicModelAuthArgs.builder()
.cloudProvider(ConnectorAnthropicModelAuthCloudProviderArgs.builder()
.type("AWS")
.connectorRef("account.aws_connector")
.build())
.authType("CloudProvider")
.build())
.identifier("example_anthropic_cloud_provider")
.name("example-anthropic-cloud-provider")
.description("Anthropic connector with AWS CloudProvider auth")
.tags("env:dev")
.url("https://api.anthropic.com")
.model("claude-opus-4-6")
.delegateSelectors("harness-delegate")
.executeOnDelegate(true)
.ignoreTestConnection(true)
.build());
}
}
resources:
cloudProvider:
type: harness:platform:ConnectorAnthropicModel
name: cloud_provider
properties:
auth:
cloudProvider:
type: AWS
connectorRef: account.aws_connector
authType: CloudProvider
identifier: example_anthropic_cloud_provider
name: example-anthropic-cloud-provider
description: Anthropic connector with AWS CloudProvider auth
tags:
- env:dev
url: https://api.anthropic.com
model: claude-opus-4-6
delegateSelectors:
- harness-delegate
executeOnDelegate: true
ignoreTestConnection: true
terraform {
required_providers {
harness = {
source = "pulumi/harness"
}
}
}
resource "harness_platform_connector_anthropic_model" "cloud_provider" {
lifecycle {
create_before_destroy = true
}
auth {
cloud_provider {
type = "AWS"
connector_ref = "account.aws_connector"
}
auth_type = "CloudProvider"
}
identifier = "example_anthropic_cloud_provider"
name = "example-anthropic-cloud-provider"
description = "Anthropic connector with AWS CloudProvider auth"
tags = ["env:dev"]
url = "https://api.anthropic.com"
model = "claude-opus-4-6"
delegate_selectors = ["harness-delegate"]
execute_on_delegate = true
ignore_test_connection = true
}
Create ConnectorAnthropicModel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectorAnthropicModel(name: string, args: ConnectorAnthropicModelArgs, opts?: CustomResourceOptions);@overload
def ConnectorAnthropicModel(resource_name: str,
args: ConnectorAnthropicModelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectorAnthropicModel(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth: Optional[ConnectorAnthropicModelAuthArgs] = None,
identifier: Optional[str] = None,
model: Optional[str] = None,
url: Optional[str] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
execute_on_delegate: Optional[bool] = None,
ignore_test_connection: Optional[bool] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None)func NewConnectorAnthropicModel(ctx *Context, name string, args ConnectorAnthropicModelArgs, opts ...ResourceOption) (*ConnectorAnthropicModel, error)public ConnectorAnthropicModel(string name, ConnectorAnthropicModelArgs args, CustomResourceOptions? opts = null)
public ConnectorAnthropicModel(String name, ConnectorAnthropicModelArgs args)
public ConnectorAnthropicModel(String name, ConnectorAnthropicModelArgs args, CustomResourceOptions options)
type: harness:platform:ConnectorAnthropicModel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "harness_platform_connector_anthropic_model" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConnectorAnthropicModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConnectorAnthropicModelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConnectorAnthropicModelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorAnthropicModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectorAnthropicModelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var connectorAnthropicModelResource = new Harness.Platform.ConnectorAnthropicModel("connectorAnthropicModelResource", new()
{
Auth = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthArgs
{
AuthType = "string",
BedrockApiKey = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthBedrockApiKeyArgs
{
ApiKeyRef = "string",
Region = "string",
},
CloudProvider = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthCloudProviderArgs
{
ConnectorRef = "string",
Type = "string",
},
Token = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthTokenArgs
{
TokenRef = "string",
},
Vertex = new Harness.Platform.Inputs.ConnectorAnthropicModelAuthVertexArgs
{
ProjectId = "string",
Region = "string",
ServiceAccountKeyRef = "string",
},
},
Identifier = "string",
Model = "string",
Url = "string",
DelegateSelectors = new[]
{
"string",
},
Description = "string",
ExecuteOnDelegate = false,
IgnoreTestConnection = false,
Name = "string",
OrgId = "string",
ProjectId = "string",
Tags = new[]
{
"string",
},
});
example, err := platform.NewConnectorAnthropicModel(ctx, "connectorAnthropicModelResource", &platform.ConnectorAnthropicModelArgs{
Auth: &platform.ConnectorAnthropicModelAuthArgs{
AuthType: pulumi.String("string"),
BedrockApiKey: &platform.ConnectorAnthropicModelAuthBedrockApiKeyArgs{
ApiKeyRef: pulumi.String("string"),
Region: pulumi.String("string"),
},
CloudProvider: &platform.ConnectorAnthropicModelAuthCloudProviderArgs{
ConnectorRef: pulumi.String("string"),
Type: pulumi.String("string"),
},
Token: &platform.ConnectorAnthropicModelAuthTokenArgs{
TokenRef: pulumi.String("string"),
},
Vertex: &platform.ConnectorAnthropicModelAuthVertexArgs{
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
ServiceAccountKeyRef: pulumi.String("string"),
},
},
Identifier: pulumi.String("string"),
Model: pulumi.String("string"),
Url: pulumi.String("string"),
DelegateSelectors: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
ExecuteOnDelegate: pulumi.Bool(false),
IgnoreTestConnection: pulumi.Bool(false),
Name: pulumi.String("string"),
OrgId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "harness_platform_connector_anthropic_model" "connectorAnthropicModelResource" {
lifecycle {
create_before_destroy = true
}
auth = {
auth_type = "string"
bedrock_api_key = {
api_key_ref = "string"
region = "string"
}
cloud_provider = {
connector_ref = "string"
type = "string"
}
token = {
token_ref = "string"
}
vertex = {
project_id = "string"
region = "string"
service_account_key_ref = "string"
}
}
identifier = "string"
model = "string"
url = "string"
delegate_selectors = ["string"]
description = "string"
execute_on_delegate = false
ignore_test_connection = false
name = "string"
org_id = "string"
project_id = "string"
tags = ["string"]
}
var connectorAnthropicModelResource = new ConnectorAnthropicModel("connectorAnthropicModelResource", ConnectorAnthropicModelArgs.builder()
.auth(ConnectorAnthropicModelAuthArgs.builder()
.authType("string")
.bedrockApiKey(ConnectorAnthropicModelAuthBedrockApiKeyArgs.builder()
.apiKeyRef("string")
.region("string")
.build())
.cloudProvider(ConnectorAnthropicModelAuthCloudProviderArgs.builder()
.connectorRef("string")
.type("string")
.build())
.token(ConnectorAnthropicModelAuthTokenArgs.builder()
.tokenRef("string")
.build())
.vertex(ConnectorAnthropicModelAuthVertexArgs.builder()
.projectId("string")
.region("string")
.serviceAccountKeyRef("string")
.build())
.build())
.identifier("string")
.model("string")
.url("string")
.delegateSelectors("string")
.description("string")
.executeOnDelegate(false)
.ignoreTestConnection(false)
.name("string")
.orgId("string")
.projectId("string")
.tags("string")
.build());
connector_anthropic_model_resource = harness.platform.ConnectorAnthropicModel("connectorAnthropicModelResource",
auth={
"auth_type": "string",
"bedrock_api_key": {
"api_key_ref": "string",
"region": "string",
},
"cloud_provider": {
"connector_ref": "string",
"type": "string",
},
"token": {
"token_ref": "string",
},
"vertex": {
"project_id": "string",
"region": "string",
"service_account_key_ref": "string",
},
},
identifier="string",
model="string",
url="string",
delegate_selectors=["string"],
description="string",
execute_on_delegate=False,
ignore_test_connection=False,
name="string",
org_id="string",
project_id="string",
tags=["string"])
const connectorAnthropicModelResource = new harness.platform.ConnectorAnthropicModel("connectorAnthropicModelResource", {
auth: {
authType: "string",
bedrockApiKey: {
apiKeyRef: "string",
region: "string",
},
cloudProvider: {
connectorRef: "string",
type: "string",
},
token: {
tokenRef: "string",
},
vertex: {
projectId: "string",
region: "string",
serviceAccountKeyRef: "string",
},
},
identifier: "string",
model: "string",
url: "string",
delegateSelectors: ["string"],
description: "string",
executeOnDelegate: false,
ignoreTestConnection: false,
name: "string",
orgId: "string",
projectId: "string",
tags: ["string"],
});
type: harness:platform:ConnectorAnthropicModel
properties:
auth:
authType: string
bedrockApiKey:
apiKeyRef: string
region: string
cloudProvider:
connectorRef: string
type: string
token:
tokenRef: string
vertex:
projectId: string
region: string
serviceAccountKeyRef: string
delegateSelectors:
- string
description: string
executeOnDelegate: false
identifier: string
ignoreTestConnection: false
model: string
name: string
orgId: string
projectId: string
tags:
- string
url: string
ConnectorAnthropicModel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConnectorAnthropicModel resource accepts the following input properties:
- Auth
Connector
Anthropic Model Auth - The authentication configuration for the Anthropic connector.
- Identifier string
- Unique identifier of the resource.
- Model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- Url string
- URL of the Anthropic API endpoint.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Execute
On boolDelegate - Execute on delegate or not. Defaults to
true. - Ignore
Test boolConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Auth
Connector
Anthropic Model Auth Args - The authentication configuration for the Anthropic connector.
- Identifier string
- Unique identifier of the resource.
- Model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- Url string
- URL of the Anthropic API endpoint.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Execute
On boolDelegate - Execute on delegate or not. Defaults to
true. - Ignore
Test boolConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- []string
- Tags to associate with the resource.
- auth object
- The authentication configuration for the Anthropic connector.
- identifier string
- Unique identifier of the resource.
- model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- url string
- URL of the Anthropic API endpoint.
- delegate_
selectors list(string) - Tags to filter delegates for connection.
- description string
- Description of the resource.
- execute_
on_ booldelegate - Execute on delegate or not. Defaults to
true. - ignore_
test_ boolconnection - Ignore test connection when creating or updating the connector. Defaults to
false. - name string
- Name of the resource.
- org_
id string - Unique identifier of the organization.
- project_
id string - Unique identifier of the project.
- list(string)
- Tags to associate with the resource.
- auth
Connector
Anthropic Model Auth - The authentication configuration for the Anthropic connector.
- identifier String
- Unique identifier of the resource.
- model String
- The Anthropic model to use (e.g. claude-opus-4-6).
- url String
- URL of the Anthropic API endpoint.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- execute
On BooleanDelegate - Execute on delegate or not. Defaults to
true. - ignore
Test BooleanConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- auth
Connector
Anthropic Model Auth - The authentication configuration for the Anthropic connector.
- identifier string
- Unique identifier of the resource.
- model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- url string
- URL of the Anthropic API endpoint.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- execute
On booleanDelegate - Execute on delegate or not. Defaults to
true. - ignore
Test booleanConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- auth
Connector
Anthropic Model Auth Args - The authentication configuration for the Anthropic connector.
- identifier str
- Unique identifier of the resource.
- model str
- The Anthropic model to use (e.g. claude-opus-4-6).
- url str
- URL of the Anthropic API endpoint.
- delegate_
selectors Sequence[str] - Tags to filter delegates for connection.
- description str
- Description of the resource.
- execute_
on_ booldelegate - Execute on delegate or not. Defaults to
true. - ignore_
test_ boolconnection - Ignore test connection when creating or updating the connector. Defaults to
false. - name str
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- Sequence[str]
- Tags to associate with the resource.
- auth Property Map
- The authentication configuration for the Anthropic connector.
- identifier String
- Unique identifier of the resource.
- model String
- The Anthropic model to use (e.g. claude-opus-4-6).
- url String
- URL of the Anthropic API endpoint.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- execute
On BooleanDelegate - Execute on delegate or not. Defaults to
true. - ignore
Test BooleanConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectorAnthropicModel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ConnectorAnthropicModel Resource
Get an existing ConnectorAnthropicModel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectorAnthropicModelState, opts?: CustomResourceOptions): ConnectorAnthropicModel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth: Optional[ConnectorAnthropicModelAuthArgs] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
execute_on_delegate: Optional[bool] = None,
identifier: Optional[str] = None,
ignore_test_connection: Optional[bool] = None,
model: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
url: Optional[str] = None) -> ConnectorAnthropicModelfunc GetConnectorAnthropicModel(ctx *Context, name string, id IDInput, state *ConnectorAnthropicModelState, opts ...ResourceOption) (*ConnectorAnthropicModel, error)public static ConnectorAnthropicModel Get(string name, Input<string> id, ConnectorAnthropicModelState? state, CustomResourceOptions? opts = null)public static ConnectorAnthropicModel get(String name, Output<String> id, ConnectorAnthropicModelState state, CustomResourceOptions options)resources: _: type: harness:platform:ConnectorAnthropicModel get: id: ${id}import {
to = harness_platform_connector_anthropic_model.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auth
Connector
Anthropic Model Auth - The authentication configuration for the Anthropic connector.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Execute
On boolDelegate - Execute on delegate or not. Defaults to
true. - Identifier string
- Unique identifier of the resource.
- Ignore
Test boolConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - Model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Url string
- URL of the Anthropic API endpoint.
- Auth
Connector
Anthropic Model Auth Args - The authentication configuration for the Anthropic connector.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Execute
On boolDelegate - Execute on delegate or not. Defaults to
true. - Identifier string
- Unique identifier of the resource.
- Ignore
Test boolConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - Model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- []string
- Tags to associate with the resource.
- Url string
- URL of the Anthropic API endpoint.
- auth object
- The authentication configuration for the Anthropic connector.
- delegate_
selectors list(string) - Tags to filter delegates for connection.
- description string
- Description of the resource.
- execute_
on_ booldelegate - Execute on delegate or not. Defaults to
true. - identifier string
- Unique identifier of the resource.
- ignore_
test_ boolconnection - Ignore test connection when creating or updating the connector. Defaults to
false. - model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- name string
- Name of the resource.
- org_
id string - Unique identifier of the organization.
- project_
id string - Unique identifier of the project.
- list(string)
- Tags to associate with the resource.
- url string
- URL of the Anthropic API endpoint.
- auth
Connector
Anthropic Model Auth - The authentication configuration for the Anthropic connector.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- execute
On BooleanDelegate - Execute on delegate or not. Defaults to
true. - identifier String
- Unique identifier of the resource.
- ignore
Test BooleanConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - model String
- The Anthropic model to use (e.g. claude-opus-4-6).
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- url String
- URL of the Anthropic API endpoint.
- auth
Connector
Anthropic Model Auth - The authentication configuration for the Anthropic connector.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- execute
On booleanDelegate - Execute on delegate or not. Defaults to
true. - identifier string
- Unique identifier of the resource.
- ignore
Test booleanConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - model string
- The Anthropic model to use (e.g. claude-opus-4-6).
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- url string
- URL of the Anthropic API endpoint.
- auth
Connector
Anthropic Model Auth Args - The authentication configuration for the Anthropic connector.
- delegate_
selectors Sequence[str] - Tags to filter delegates for connection.
- description str
- Description of the resource.
- execute_
on_ booldelegate - Execute on delegate or not. Defaults to
true. - identifier str
- Unique identifier of the resource.
- ignore_
test_ boolconnection - Ignore test connection when creating or updating the connector. Defaults to
false. - model str
- The Anthropic model to use (e.g. claude-opus-4-6).
- name str
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- Sequence[str]
- Tags to associate with the resource.
- url str
- URL of the Anthropic API endpoint.
- auth Property Map
- The authentication configuration for the Anthropic connector.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- execute
On BooleanDelegate - Execute on delegate or not. Defaults to
true. - identifier String
- Unique identifier of the resource.
- ignore
Test BooleanConnection - Ignore test connection when creating or updating the connector. Defaults to
false. - model String
- The Anthropic model to use (e.g. claude-opus-4-6).
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- url String
- URL of the Anthropic API endpoint.
Supporting Types
ConnectorAnthropicModelAuth, ConnectorAnthropicModelAuthArgs
- Auth
Type string - Authentication type for the Anthropic connector. Valid values:
Token,BedrockApiKey,Vertex,CloudProvider. - Bedrock
Api ConnectorKey Anthropic Model Auth Bedrock Api Key - Authenticate using an AWS Bedrock API key.
- Cloud
Provider ConnectorAnthropic Model Auth Cloud Provider - Authenticate using an existing cloud provider connector.
- Token
Connector
Anthropic Model Auth Token - Authenticate using an Anthropic API token.
- Vertex
Connector
Anthropic Model Auth Vertex - Authenticate using Google Vertex AI credentials.
- Auth
Type string - Authentication type for the Anthropic connector. Valid values:
Token,BedrockApiKey,Vertex,CloudProvider. - Bedrock
Api ConnectorKey Anthropic Model Auth Bedrock Api Key - Authenticate using an AWS Bedrock API key.
- Cloud
Provider ConnectorAnthropic Model Auth Cloud Provider - Authenticate using an existing cloud provider connector.
- Token
Connector
Anthropic Model Auth Token - Authenticate using an Anthropic API token.
- Vertex
Connector
Anthropic Model Auth Vertex - Authenticate using Google Vertex AI credentials.
- auth_
type string - Authentication type for the Anthropic connector. Valid values:
Token,BedrockApiKey,Vertex,CloudProvider. - bedrock_
api_ objectkey - Authenticate using an AWS Bedrock API key.
- cloud_
provider object - Authenticate using an existing cloud provider connector.
- token object
- Authenticate using an Anthropic API token.
- vertex object
- Authenticate using Google Vertex AI credentials.
- auth
Type String - Authentication type for the Anthropic connector. Valid values:
Token,BedrockApiKey,Vertex,CloudProvider. - bedrock
Api ConnectorKey Anthropic Model Auth Bedrock Api Key - Authenticate using an AWS Bedrock API key.
- cloud
Provider ConnectorAnthropic Model Auth Cloud Provider - Authenticate using an existing cloud provider connector.
- token
Connector
Anthropic Model Auth Token - Authenticate using an Anthropic API token.
- vertex
Connector
Anthropic Model Auth Vertex - Authenticate using Google Vertex AI credentials.
- auth
Type string - Authentication type for the Anthropic connector. Valid values:
Token,BedrockApiKey,Vertex,CloudProvider. - bedrock
Api ConnectorKey Anthropic Model Auth Bedrock Api Key - Authenticate using an AWS Bedrock API key.
- cloud
Provider ConnectorAnthropic Model Auth Cloud Provider - Authenticate using an existing cloud provider connector.
- token
Connector
Anthropic Model Auth Token - Authenticate using an Anthropic API token.
- vertex
Connector
Anthropic Model Auth Vertex - Authenticate using Google Vertex AI credentials.
- auth_
type str - Authentication type for the Anthropic connector. Valid values:
Token,BedrockApiKey,Vertex,CloudProvider. - bedrock_
api_ Connectorkey Anthropic Model Auth Bedrock Api Key - Authenticate using an AWS Bedrock API key.
- cloud_
provider ConnectorAnthropic Model Auth Cloud Provider - Authenticate using an existing cloud provider connector.
- token
Connector
Anthropic Model Auth Token - Authenticate using an Anthropic API token.
- vertex
Connector
Anthropic Model Auth Vertex - Authenticate using Google Vertex AI credentials.
- auth
Type String - Authentication type for the Anthropic connector. Valid values:
Token,BedrockApiKey,Vertex,CloudProvider. - bedrock
Api Property MapKey - Authenticate using an AWS Bedrock API key.
- cloud
Provider Property Map - Authenticate using an existing cloud provider connector.
- token Property Map
- Authenticate using an Anthropic API token.
- vertex Property Map
- Authenticate using Google Vertex AI credentials.
ConnectorAnthropicModelAuthBedrockApiKey, ConnectorAnthropicModelAuthBedrockApiKeyArgs
- Api
Key stringRef - Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- Region string
- AWS region for the Bedrock endpoint.
- Api
Key stringRef - Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- Region string
- AWS region for the Bedrock endpoint.
- api_
key_ stringref - Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- region string
- AWS region for the Bedrock endpoint.
- api
Key StringRef - Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- region String
- AWS region for the Bedrock endpoint.
- api
Key stringRef - Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- region string
- AWS region for the Bedrock endpoint.
- api_
key_ strref - Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- region str
- AWS region for the Bedrock endpoint.
- api
Key StringRef - Reference to a secret containing the Bedrock API key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- region String
- AWS region for the Bedrock endpoint.
ConnectorAnthropicModelAuthCloudProvider, ConnectorAnthropicModelAuthCloudProviderArgs
- Connector
Ref string - Reference to an existing cloud provider connector.
- Type string
- Cloud provider type. Valid values:
AWS,GCP,Azure.
- Connector
Ref string - Reference to an existing cloud provider connector.
- Type string
- Cloud provider type. Valid values:
AWS,GCP,Azure.
- connector_
ref string - Reference to an existing cloud provider connector.
- type string
- Cloud provider type. Valid values:
AWS,GCP,Azure.
- connector
Ref String - Reference to an existing cloud provider connector.
- type String
- Cloud provider type. Valid values:
AWS,GCP,Azure.
- connector
Ref string - Reference to an existing cloud provider connector.
- type string
- Cloud provider type. Valid values:
AWS,GCP,Azure.
- connector_
ref str - Reference to an existing cloud provider connector.
- type str
- Cloud provider type. Valid values:
AWS,GCP,Azure.
- connector
Ref String - Reference to an existing cloud provider connector.
- type String
- Cloud provider type. Valid values:
AWS,GCP,Azure.
ConnectorAnthropicModelAuthToken, ConnectorAnthropicModelAuthTokenArgs
- Token
Ref string - Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- Token
Ref string - Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- token_
ref string - Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- token
Ref String - Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- token
Ref string - Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- token_
ref str - Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- token
Ref String - Reference to a secret containing the Anthropic API token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
ConnectorAnthropicModelAuthVertex, ConnectorAnthropicModelAuthVertexArgs
- Project
Id string - GCP project ID.
- Region string
- GCP region for the Vertex AI endpoint.
- Service
Account stringKey Ref - Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- Project
Id string - GCP project ID.
- Region string
- GCP region for the Vertex AI endpoint.
- Service
Account stringKey Ref - Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- project_
id string - GCP project ID.
- region string
- GCP region for the Vertex AI endpoint.
- service_
account_ stringkey_ ref - Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- project
Id String - GCP project ID.
- region String
- GCP region for the Vertex AI endpoint.
- service
Account StringKey Ref - Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- project
Id string - GCP project ID.
- region string
- GCP region for the Vertex AI endpoint.
- service
Account stringKey Ref - Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- project_
id str - GCP project ID.
- region str
- GCP region for the Vertex AI endpoint.
- service_
account_ strkey_ ref - Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
- project
Id String - GCP project ID.
- region String
- GCP region for the Vertex AI endpoint.
- service
Account StringKey Ref - Reference to a secret containing the GCP service account key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account' to the expression: account.{identifier}.
Import
The pulumi import command can be used, for example:
Import account level anthropic model connector
$ pulumi import harness:platform/connectorAnthropicModel:ConnectorAnthropicModel example <connector_id>
Import org level anthropic model connector
$ pulumi import harness:platform/connectorAnthropicModel:ConnectorAnthropicModel example <org_id>/<connector_id>
Import project level anthropic model connector
$ pulumi import harness:platform/connectorAnthropicModel:ConnectorAnthropicModel example <org_id>/<project_id>/<connector_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
published on Saturday, Oct 31, 2026 by Pulumi