published on Tuesday, Jun 16, 2026 by Pulumi
published on Tuesday, Jun 16, 2026 by Pulumi
Manages an AWS Bedrock AgentCore Gateway Target. Gateway targets define the endpoints and configurations that a gateway can invoke, such as Lambda functions, APIs, or AgentCore Runtime agents, allowing agents to interact with external services through the Model Context Protocol (MCP) or by routing HTTP traffic directly to a runtime.
Example Usage
Lambda Target with Gateway IAM Role
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const gatewayAssume = aws.iam.getPolicyDocument({
statements: [{
effect: "Allow",
actions: ["sts:AssumeRole"],
principals: [{
type: "Service",
identifiers: ["bedrock-agentcore.amazonaws.com"],
}],
}],
});
const gatewayRole = new aws.iam.Role("gateway_role", {
name: "bedrock-gateway-role",
assumeRolePolicy: gatewayAssume.then(gatewayAssume => gatewayAssume.json),
});
const lambdaAssume = aws.iam.getPolicyDocument({
statements: [{
effect: "Allow",
actions: ["sts:AssumeRole"],
principals: [{
type: "Service",
identifiers: ["lambda.amazonaws.com"],
}],
}],
});
const lambdaRole = new aws.iam.Role("lambda_role", {
name: "example-lambda-role",
assumeRolePolicy: lambdaAssume.then(lambdaAssume => lambdaAssume.json),
});
const example = new aws.lambda.Function("example", {
code: new pulumi.asset.FileArchive("example.zip"),
name: "example-function",
role: lambdaRole.arn,
handler: "index.handler",
runtime: aws.lambda.Runtime.NodeJS24dX,
});
const exampleAgentcoreGateway = new aws.bedrock.AgentcoreGateway("example", {
name: "example-gateway",
roleArn: gatewayRole.arn,
authorizerConfiguration: {
customJwtAuthorizer: {
discoveryUrl: "https://accounts.google.com/.well-known/openid-configuration",
},
},
});
const exampleAgentcoreGatewayTarget = new aws.bedrock.AgentcoreGatewayTarget("example", {
name: "example-target",
gatewayIdentifier: exampleAgentcoreGateway.gatewayId,
description: "Lambda function target for processing requests",
credentialProviderConfiguration: {
gatewayIamRole: {},
},
targetConfiguration: {
mcp: {
lambda: {
lambdaArn: example.arn,
toolSchema: {
inlinePayloads: [{
name: "process_request",
description: "Process incoming requests",
inputSchema: {
type: "object",
description: "Request processing schema",
properties: [
{
name: "message",
type: "string",
description: "Message to process",
required: true,
},
{
name: "options",
type: "object",
properties: [
{
name: "priority",
type: "string",
},
{
name: "tags",
type: "array",
items: [{
type: "string",
}],
},
],
},
],
},
outputSchema: {
type: "object",
properties: [
{
name: "status",
type: "string",
required: true,
},
{
name: "result",
type: "string",
},
],
},
}],
},
},
},
},
});
import pulumi
import pulumi_aws as aws
gateway_assume = aws.iam.get_policy_document(statements=[{
"effect": "Allow",
"actions": ["sts:AssumeRole"],
"principals": [{
"type": "Service",
"identifiers": ["bedrock-agentcore.amazonaws.com"],
}],
}])
gateway_role = aws.iam.Role("gateway_role",
name="bedrock-gateway-role",
assume_role_policy=gateway_assume.json)
lambda_assume = aws.iam.get_policy_document(statements=[{
"effect": "Allow",
"actions": ["sts:AssumeRole"],
"principals": [{
"type": "Service",
"identifiers": ["lambda.amazonaws.com"],
}],
}])
lambda_role = aws.iam.Role("lambda_role",
name="example-lambda-role",
assume_role_policy=lambda_assume.json)
example = aws.lambda_.Function("example",
code=pulumi.FileArchive("example.zip"),
name="example-function",
role=lambda_role.arn,
handler="index.handler",
runtime=aws.lambda_.Runtime.NODE_JS24D_X)
example_agentcore_gateway = aws.bedrock.AgentcoreGateway("example",
name="example-gateway",
role_arn=gateway_role.arn,
authorizer_configuration={
"custom_jwt_authorizer": {
"discovery_url": "https://accounts.google.com/.well-known/openid-configuration",
},
})
example_agentcore_gateway_target = aws.bedrock.AgentcoreGatewayTarget("example",
name="example-target",
gateway_identifier=example_agentcore_gateway.gateway_id,
description="Lambda function target for processing requests",
credential_provider_configuration={
"gateway_iam_role": {},
},
target_configuration={
"mcp": {
"lambda_": {
"lambda_arn": example.arn,
"tool_schema": {
"inline_payloads": [{
"name": "process_request",
"description": "Process incoming requests",
"input_schema": {
"type": "object",
"description": "Request processing schema",
"properties": [
{
"name": "message",
"type": "string",
"description": "Message to process",
"required": True,
},
{
"name": "options",
"type": "object",
"properties": [
{
"name": "priority",
"type": "string",
},
{
"name": "tags",
"type": "array",
"items": [{
"type": "string",
}],
},
],
},
],
},
"output_schema": {
"type": "object",
"properties": [
{
"name": "status",
"type": "string",
"required": True,
},
{
"name": "result",
"type": "string",
},
],
},
}],
},
},
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
gatewayAssume, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
Statements: []iam.GetPolicyDocumentStatement{
{
Effect: pulumi.StringRef("Allow"),
Actions: []string{
"sts:AssumeRole",
},
Principals: []iam.GetPolicyDocumentStatementPrincipal{
{
Type: "Service",
Identifiers: []string{
"bedrock-agentcore.amazonaws.com",
},
},
},
},
},
}, nil)
if err != nil {
return err
}
gatewayRole, err := iam.NewRole(ctx, "gateway_role", &iam.RoleArgs{
Name: pulumi.String("bedrock-gateway-role"),
AssumeRolePolicy: pulumi.String(gatewayAssume.Json),
})
if err != nil {
return err
}
lambdaAssume, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
Statements: []iam.GetPolicyDocumentStatement{
{
Effect: pulumi.StringRef("Allow"),
Actions: []string{
"sts:AssumeRole",
},
Principals: []iam.GetPolicyDocumentStatementPrincipal{
{
Type: "Service",
Identifiers: []string{
"lambda.amazonaws.com",
},
},
},
},
},
}, nil)
if err != nil {
return err
}
lambdaRole, err := iam.NewRole(ctx, "lambda_role", &iam.RoleArgs{
Name: pulumi.String("example-lambda-role"),
AssumeRolePolicy: pulumi.String(lambdaAssume.Json),
})
if err != nil {
return err
}
example, err := lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
Code: pulumi.NewFileArchive("example.zip"),
Name: pulumi.String("example-function"),
Role: lambdaRole.Arn,
Handler: pulumi.String("index.handler"),
Runtime: pulumi.String(lambda.RuntimeNodeJS24dX),
})
if err != nil {
return err
}
exampleAgentcoreGateway, err := bedrock.NewAgentcoreGateway(ctx, "example", &bedrock.AgentcoreGatewayArgs{
Name: pulumi.String("example-gateway"),
RoleArn: gatewayRole.Arn,
AuthorizerConfiguration: &bedrock.AgentcoreGatewayAuthorizerConfigurationArgs{
CustomJwtAuthorizer: &bedrock.AgentcoreGatewayAuthorizerConfigurationCustomJwtAuthorizerArgs{
DiscoveryUrl: pulumi.String("https://accounts.google.com/.well-known/openid-configuration"),
},
},
})
if err != nil {
return err
}
_, err = bedrock.NewAgentcoreGatewayTarget(ctx, "example", &bedrock.AgentcoreGatewayTargetArgs{
Name: pulumi.String("example-target"),
GatewayIdentifier: exampleAgentcoreGateway.GatewayId,
Description: pulumi.String("Lambda function target for processing requests"),
CredentialProviderConfiguration: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationArgs{
GatewayIamRole: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs{},
},
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
Lambda: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs{
LambdaArn: example.Arn,
ToolSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs{
InlinePayloads: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs{
Name: pulumi.String("process_request"),
Description: pulumi.String("Process incoming requests"),
InputSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs{
Type: pulumi.String("object"),
Description: pulumi.String("Request processing schema"),
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs{
Name: pulumi.String("message"),
Type: pulumi.String("string"),
Description: pulumi.String("Message to process"),
Required: pulumi.Bool(true),
},
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs{
Name: pulumi.String("options"),
Type: pulumi.String("object"),
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs{
Name: pulumi.String("priority"),
Type: pulumi.String("string"),
},
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs{
Name: pulumi.String("tags"),
Type: pulumi.String("array"),
Items: []map[string]interface{}{
map[string]interface{}{
"type": "string",
},
},
},
},
},
},
},
OutputSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs{
Type: pulumi.String("object"),
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs{
Name: pulumi.String("status"),
Type: pulumi.String("string"),
Required: pulumi.Bool(true),
},
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs{
Name: pulumi.String("result"),
Type: pulumi.String("string"),
},
},
},
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var gatewayAssume = Aws.Iam.GetPolicyDocument.Invoke(new()
{
Statements = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
{
Effect = "Allow",
Actions = new[]
{
"sts:AssumeRole",
},
Principals = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
{
Type = "Service",
Identifiers = new[]
{
"bedrock-agentcore.amazonaws.com",
},
},
},
},
},
});
var gatewayRole = new Aws.Iam.Role("gateway_role", new()
{
Name = "bedrock-gateway-role",
AssumeRolePolicy = gatewayAssume.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
});
var lambdaAssume = Aws.Iam.GetPolicyDocument.Invoke(new()
{
Statements = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
{
Effect = "Allow",
Actions = new[]
{
"sts:AssumeRole",
},
Principals = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
{
Type = "Service",
Identifiers = new[]
{
"lambda.amazonaws.com",
},
},
},
},
},
});
var lambdaRole = new Aws.Iam.Role("lambda_role", new()
{
Name = "example-lambda-role",
AssumeRolePolicy = lambdaAssume.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
});
var example = new Aws.Lambda.Function("example", new()
{
Code = new FileArchive("example.zip"),
Name = "example-function",
Role = lambdaRole.Arn,
Handler = "index.handler",
Runtime = Aws.Lambda.Runtime.NodeJS24dX,
});
var exampleAgentcoreGateway = new Aws.Bedrock.AgentcoreGateway("example", new()
{
Name = "example-gateway",
RoleArn = gatewayRole.Arn,
AuthorizerConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayAuthorizerConfigurationArgs
{
CustomJwtAuthorizer = new Aws.Bedrock.Inputs.AgentcoreGatewayAuthorizerConfigurationCustomJwtAuthorizerArgs
{
DiscoveryUrl = "https://accounts.google.com/.well-known/openid-configuration",
},
},
});
var exampleAgentcoreGatewayTarget = new Aws.Bedrock.AgentcoreGatewayTarget("example", new()
{
Name = "example-target",
GatewayIdentifier = exampleAgentcoreGateway.GatewayId,
Description = "Lambda function target for processing requests",
CredentialProviderConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs
{
GatewayIamRole = null,
},
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
Lambda = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs
{
LambdaArn = example.Arn,
ToolSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs
{
InlinePayloads = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs
{
Name = "process_request",
Description = "Process incoming requests",
InputSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs
{
Type = "object",
Description = "Request processing schema",
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs
{
Name = "message",
Type = "string",
Description = "Message to process",
Required = true,
},
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs
{
Name = "options",
Type = "object",
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs
{
Name = "priority",
Type = "string",
},
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs
{
Name = "tags",
Type = "array",
Items = new[]
{
{
{ "type", "string" },
},
},
},
},
},
},
},
OutputSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs
{
Type = "object",
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs
{
Name = "status",
Type = "string",
Required = true,
},
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs
{
Name = "result",
Type = "string",
},
},
},
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.IamFunctions;
import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
import com.pulumi.aws.iam.inputs.GetPolicyDocumentStatementArgs;
import com.pulumi.aws.iam.inputs.GetPolicyDocumentStatementPrincipalArgs;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.lambda.Function;
import com.pulumi.aws.lambda.FunctionArgs;
import com.pulumi.aws.bedrock.AgentcoreGateway;
import com.pulumi.aws.bedrock.AgentcoreGatewayArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayAuthorizerConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayAuthorizerConfigurationCustomJwtAuthorizerArgs;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs;
import com.pulumi.asset.FileArchive;
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) {
final var gatewayAssume = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
.statements(GetPolicyDocumentStatementArgs.builder()
.effect("Allow")
.actions("sts:AssumeRole")
.principals(GetPolicyDocumentStatementPrincipalArgs.builder()
.type("Service")
.identifiers("bedrock-agentcore.amazonaws.com")
.build())
.build())
.build());
var gatewayRole = new Role("gatewayRole", RoleArgs.builder()
.name("bedrock-gateway-role")
.assumeRolePolicy(gatewayAssume.json())
.build());
final var lambdaAssume = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
.statements(GetPolicyDocumentStatementArgs.builder()
.effect("Allow")
.actions("sts:AssumeRole")
.principals(GetPolicyDocumentStatementPrincipalArgs.builder()
.type("Service")
.identifiers("lambda.amazonaws.com")
.build())
.build())
.build());
var lambdaRole = new Role("lambdaRole", RoleArgs.builder()
.name("example-lambda-role")
.assumeRolePolicy(lambdaAssume.json())
.build());
var example = new Function("example", FunctionArgs.builder()
.code(new FileArchive("example.zip"))
.name("example-function")
.role(lambdaRole.arn())
.handler("index.handler")
.runtime("nodejs24.x")
.build());
var exampleAgentcoreGateway = new AgentcoreGateway("exampleAgentcoreGateway", AgentcoreGatewayArgs.builder()
.name("example-gateway")
.roleArn(gatewayRole.arn())
.authorizerConfiguration(AgentcoreGatewayAuthorizerConfigurationArgs.builder()
.customJwtAuthorizer(AgentcoreGatewayAuthorizerConfigurationCustomJwtAuthorizerArgs.builder()
.discoveryUrl("https://accounts.google.com/.well-known/openid-configuration")
.build())
.build())
.build());
var exampleAgentcoreGatewayTarget = new AgentcoreGatewayTarget("exampleAgentcoreGatewayTarget", AgentcoreGatewayTargetArgs.builder()
.name("example-target")
.gatewayIdentifier(exampleAgentcoreGateway.gatewayId())
.description("Lambda function target for processing requests")
.credentialProviderConfiguration(AgentcoreGatewayTargetCredentialProviderConfigurationArgs.builder()
.gatewayIamRole(AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs.builder()
.build())
.build())
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.lambda(AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs.builder()
.lambdaArn(example.arn())
.toolSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs.builder()
.inlinePayloads(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs.builder()
.name("process_request")
.description("Process incoming requests")
.inputSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs.builder()
.type("object")
.description("Request processing schema")
.properties(
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs.builder()
.name("message")
.type("string")
.description("Message to process")
.required(true)
.build(),
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs.builder()
.name("options")
.type("object")
.properties(
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs.builder()
.name("priority")
.type("string")
.build(),
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs.builder()
.name("tags")
.type("array")
.items(Arrays.asList(Map.of("type", "string")))
.build())
.build())
.build())
.outputSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs.builder()
.type("object")
.properties(
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs.builder()
.name("status")
.type("string")
.required(true)
.build(),
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs.builder()
.name("result")
.type("string")
.build())
.build())
.build())
.build())
.build())
.build())
.build())
.build());
}
}
resources:
gatewayRole:
type: aws:iam:Role
name: gateway_role
properties:
name: bedrock-gateway-role
assumeRolePolicy: ${gatewayAssume.json}
lambdaRole:
type: aws:iam:Role
name: lambda_role
properties:
name: example-lambda-role
assumeRolePolicy: ${lambdaAssume.json}
example:
type: aws:lambda:Function
properties:
code:
fn::fileArchive: example.zip
name: example-function
role: ${lambdaRole.arn}
handler: index.handler
runtime: nodejs24.x
exampleAgentcoreGateway:
type: aws:bedrock:AgentcoreGateway
name: example
properties:
name: example-gateway
roleArn: ${gatewayRole.arn}
authorizerConfiguration:
customJwtAuthorizer:
discoveryUrl: https://accounts.google.com/.well-known/openid-configuration
exampleAgentcoreGatewayTarget:
type: aws:bedrock:AgentcoreGatewayTarget
name: example
properties:
name: example-target
gatewayIdentifier: ${exampleAgentcoreGateway.gatewayId}
description: Lambda function target for processing requests
credentialProviderConfiguration:
gatewayIamRole: {}
targetConfiguration:
mcp:
lambda:
lambdaArn: ${example.arn}
toolSchema:
inlinePayloads:
- name: process_request
description: Process incoming requests
inputSchema:
type: object
description: Request processing schema
properties:
- name: message
type: string
description: Message to process
required: true
- name: options
type: object
properties:
- name: priority
type: string
- name: tags
type: array
items:
- type: string
outputSchema:
type: object
properties:
- name: status
type: string
required: true
- name: result
type: string
variables:
gatewayAssume:
fn::invoke:
function: aws:iam:getPolicyDocument
arguments:
statements:
- effect: Allow
actions:
- sts:AssumeRole
principals:
- type: Service
identifiers:
- bedrock-agentcore.amazonaws.com
lambdaAssume:
fn::invoke:
function: aws:iam:getPolicyDocument
arguments:
statements:
- effect: Allow
actions:
- sts:AssumeRole
principals:
- type: Service
identifiers:
- lambda.amazonaws.com
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_iam_getpolicydocument" "gatewayAssume" {
statements {
effect = "Allow"
actions = ["sts:AssumeRole"]
principals {
type = "Service"
identifiers = ["bedrock-agentcore.amazonaws.com"]
}
}
}
data "aws_iam_getpolicydocument" "lambdaAssume" {
statements {
effect = "Allow"
actions = ["sts:AssumeRole"]
principals {
type = "Service"
identifiers = ["lambda.amazonaws.com"]
}
}
}
resource "aws_iam_role" "gateway_role" {
name = "bedrock-gateway-role"
assume_role_policy = data.aws_iam_getpolicydocument.gatewayAssume.json
}
resource "aws_iam_role" "lambda_role" {
name = "example-lambda-role"
assume_role_policy = data.aws_iam_getpolicydocument.lambdaAssume.json
}
resource "aws_lambda_function" "example" {
code = fileArchive("example.zip")
name = "example-function"
role = aws_iam_role.lambda_role.arn
handler = "index.handler"
runtime = "nodejs24.x"
}
resource "aws_bedrock_agentcoregateway" "example" {
name = "example-gateway"
role_arn = aws_iam_role.gateway_role.arn
authorizer_configuration = {
custom_jwt_authorizer = {
discovery_url = "https://accounts.google.com/.well-known/openid-configuration"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "example" {
name = "example-target"
gateway_identifier = aws_bedrock_agentcoregateway.example.gateway_id
description = "Lambda function target for processing requests"
credential_provider_configuration = {
gateway_iam_role = {}
}
target_configuration = {
mcp = {
lambda = {
lambda_arn = aws_lambda_function.example.arn
tool_schema = {
inline_payloads = [{
"name" = "process_request"
"description" = "Process incoming requests"
"inputSchema" = {
"type" = "object"
"description" = "Request processing schema"
"properties" = [{
"name" = "message"
"type" = "string"
"description" = "Message to process"
"required" = true
}, {
"name" = "options"
"type" = "object"
"properties" = [{
"name" = "priority"
"type" = "string"
}, {
"name" = "tags"
"type" = "array"
"items" = [{
"type" = "string"
}]
}]
}]
}
"outputSchema" = {
"type" = "object"
"properties" = [{
"name" = "status"
"type" = "string"
"required" = true
}, {
"name" = "result"
"type" = "string"
}]
}
}]
}
}
}
}
}
Target with API Key Authentication
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const apiKeyExample = new aws.bedrock.AgentcoreGatewayTarget("api_key_example", {
name: "api-target",
gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
description: "External API target with API key authentication",
credentialProviderConfiguration: {
apiKey: {
providerArn: "arn:aws:iam::123456789012:oidc-provider/example.com",
credentialLocation: "HEADER",
credentialParameterName: "X-API-Key",
credentialPrefix: "Bearer",
},
},
targetConfiguration: {
mcp: {
lambda: {
lambdaArn: example.arn,
toolSchema: {
inlinePayloads: [{
name: "api_tool",
description: "External API integration tool",
inputSchema: {
type: "string",
description: "Simple string input for API calls",
},
}],
},
},
},
},
});
import pulumi
import pulumi_aws as aws
api_key_example = aws.bedrock.AgentcoreGatewayTarget("api_key_example",
name="api-target",
gateway_identifier=example_aws_bedrockagentcore_gateway["gatewayId"],
description="External API target with API key authentication",
credential_provider_configuration={
"api_key": {
"provider_arn": "arn:aws:iam::123456789012:oidc-provider/example.com",
"credential_location": "HEADER",
"credential_parameter_name": "X-API-Key",
"credential_prefix": "Bearer",
},
},
target_configuration={
"mcp": {
"lambda_": {
"lambda_arn": example["arn"],
"tool_schema": {
"inline_payloads": [{
"name": "api_tool",
"description": "External API integration tool",
"input_schema": {
"type": "string",
"description": "Simple string input for API calls",
},
}],
},
},
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreGatewayTarget(ctx, "api_key_example", &bedrock.AgentcoreGatewayTargetArgs{
Name: pulumi.String("api-target"),
GatewayIdentifier: pulumi.Any(exampleAwsBedrockagentcoreGateway.GatewayId),
Description: pulumi.String("External API target with API key authentication"),
CredentialProviderConfiguration: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationArgs{
ApiKey: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs{
ProviderArn: pulumi.String("arn:aws:iam::123456789012:oidc-provider/example.com"),
CredentialLocation: pulumi.String("HEADER"),
CredentialParameterName: pulumi.String("X-API-Key"),
CredentialPrefix: pulumi.String("Bearer"),
},
},
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
Lambda: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs{
LambdaArn: pulumi.Any(example.Arn),
ToolSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs{
InlinePayloads: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs{
Name: pulumi.String("api_tool"),
Description: pulumi.String("External API integration tool"),
InputSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs{
Type: pulumi.String("string"),
Description: pulumi.String("Simple string input for API calls"),
},
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var apiKeyExample = new Aws.Bedrock.AgentcoreGatewayTarget("api_key_example", new()
{
Name = "api-target",
GatewayIdentifier = exampleAwsBedrockagentcoreGateway.GatewayId,
Description = "External API target with API key authentication",
CredentialProviderConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs
{
ApiKey = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs
{
ProviderArn = "arn:aws:iam::123456789012:oidc-provider/example.com",
CredentialLocation = "HEADER",
CredentialParameterName = "X-API-Key",
CredentialPrefix = "Bearer",
},
},
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
Lambda = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs
{
LambdaArn = example.Arn,
ToolSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs
{
InlinePayloads = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs
{
Name = "api_tool",
Description = "External API integration tool",
InputSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs
{
Type = "string",
Description = "Simple string input for API calls",
},
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs;
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 apiKeyExample = new AgentcoreGatewayTarget("apiKeyExample", AgentcoreGatewayTargetArgs.builder()
.name("api-target")
.gatewayIdentifier(exampleAwsBedrockagentcoreGateway.gatewayId())
.description("External API target with API key authentication")
.credentialProviderConfiguration(AgentcoreGatewayTargetCredentialProviderConfigurationArgs.builder()
.apiKey(AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs.builder()
.providerArn("arn:aws:iam::123456789012:oidc-provider/example.com")
.credentialLocation("HEADER")
.credentialParameterName("X-API-Key")
.credentialPrefix("Bearer")
.build())
.build())
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.lambda(AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs.builder()
.lambdaArn(example.arn())
.toolSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs.builder()
.inlinePayloads(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs.builder()
.name("api_tool")
.description("External API integration tool")
.inputSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs.builder()
.type("string")
.description("Simple string input for API calls")
.build())
.build())
.build())
.build())
.build())
.build())
.build());
}
}
resources:
apiKeyExample:
type: aws:bedrock:AgentcoreGatewayTarget
name: api_key_example
properties:
name: api-target
gatewayIdentifier: ${exampleAwsBedrockagentcoreGateway.gatewayId}
description: External API target with API key authentication
credentialProviderConfiguration:
apiKey:
providerArn: arn:aws:iam::123456789012:oidc-provider/example.com
credentialLocation: HEADER
credentialParameterName: X-API-Key
credentialPrefix: Bearer
targetConfiguration:
mcp:
lambda:
lambdaArn: ${example.arn}
toolSchema:
inlinePayloads:
- name: api_tool
description: External API integration tool
inputSchema:
type: string
description: Simple string input for API calls
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "api_key_example" {
name = "api-target"
gateway_identifier = exampleAwsBedrockagentcoreGateway.gatewayId
description = "External API target with API key authentication"
credential_provider_configuration = {
api_key = {
provider_arn = "arn:aws:iam::123456789012:oidc-provider/example.com"
credential_location = "HEADER"
credential_parameter_name = "X-API-Key"
credential_prefix = "Bearer"
}
}
target_configuration = {
mcp = {
lambda = {
lambda_arn = example.arn
tool_schema = {
inline_payloads = [{
"name" = "api_tool"
"description" = "External API integration tool"
"inputSchema" = {
"type" = "string"
"description" = "Simple string input for API calls"
}
}]
}
}
}
}
}
Target with OAuth Authentication
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const oauthExample = new aws.bedrock.AgentcoreGatewayTarget("oauth_example", {
name: "oauth-target",
gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
credentialProviderConfiguration: {
oauth: {
providerArn: "arn:aws:iam::123456789012:oidc-provider/oauth.example.com",
scopes: [
"read",
"write",
],
grantType: "authorization_code",
defaultReturnUrl: "https://myapp.example.com/callback",
customParameters: {
client_type: "confidential",
},
},
},
targetConfiguration: {
mcp: {
lambda: {
lambdaArn: example.arn,
toolSchema: {
inlinePayloads: [{
name: "oauth_tool",
description: "OAuth-authenticated service",
inputSchema: {
type: "array",
items: {
type: "object",
properties: [
{
name: "id",
type: "string",
required: true,
},
{
name: "value",
type: "number",
},
],
},
},
}],
},
},
},
},
});
import pulumi
import pulumi_aws as aws
oauth_example = aws.bedrock.AgentcoreGatewayTarget("oauth_example",
name="oauth-target",
gateway_identifier=example_aws_bedrockagentcore_gateway["gatewayId"],
credential_provider_configuration={
"oauth": {
"provider_arn": "arn:aws:iam::123456789012:oidc-provider/oauth.example.com",
"scopes": [
"read",
"write",
],
"grant_type": "authorization_code",
"default_return_url": "https://myapp.example.com/callback",
"custom_parameters": {
"client_type": "confidential",
},
},
},
target_configuration={
"mcp": {
"lambda_": {
"lambda_arn": example["arn"],
"tool_schema": {
"inline_payloads": [{
"name": "oauth_tool",
"description": "OAuth-authenticated service",
"input_schema": {
"type": "array",
"items": {
"type": "object",
"properties": [
{
"name": "id",
"type": "string",
"required": True,
},
{
"name": "value",
"type": "number",
},
],
},
},
}],
},
},
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreGatewayTarget(ctx, "oauth_example", &bedrock.AgentcoreGatewayTargetArgs{
Name: pulumi.String("oauth-target"),
GatewayIdentifier: pulumi.Any(exampleAwsBedrockagentcoreGateway.GatewayId),
CredentialProviderConfiguration: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationArgs{
Oauth: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs{
ProviderArn: pulumi.String("arn:aws:iam::123456789012:oidc-provider/oauth.example.com"),
Scopes: pulumi.StringArray{
pulumi.String("read"),
pulumi.String("write"),
},
GrantType: pulumi.String("authorization_code"),
DefaultReturnUrl: pulumi.String("https://myapp.example.com/callback"),
CustomParameters: pulumi.StringMap{
"client_type": pulumi.String("confidential"),
},
},
},
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
Lambda: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs{
LambdaArn: pulumi.Any(example.Arn),
ToolSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs{
InlinePayloads: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs{
Name: pulumi.String("oauth_tool"),
Description: pulumi.String("OAuth-authenticated service"),
InputSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs{
Type: pulumi.String("array"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs{
Type: pulumi.String("object"),
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs{
Name: pulumi.String("id"),
Type: pulumi.String("string"),
Required: pulumi.Bool(true),
},
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs{
Name: pulumi.String("value"),
Type: pulumi.String("number"),
},
},
},
},
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var oauthExample = new Aws.Bedrock.AgentcoreGatewayTarget("oauth_example", new()
{
Name = "oauth-target",
GatewayIdentifier = exampleAwsBedrockagentcoreGateway.GatewayId,
CredentialProviderConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs
{
Oauth = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs
{
ProviderArn = "arn:aws:iam::123456789012:oidc-provider/oauth.example.com",
Scopes = new[]
{
"read",
"write",
},
GrantType = "authorization_code",
DefaultReturnUrl = "https://myapp.example.com/callback",
CustomParameters =
{
{ "client_type", "confidential" },
},
},
},
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
Lambda = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs
{
LambdaArn = example.Arn,
ToolSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs
{
InlinePayloads = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs
{
Name = "oauth_tool",
Description = "OAuth-authenticated service",
InputSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs
{
Type = "array",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs
{
Type = "object",
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs
{
Name = "id",
Type = "string",
Required = true,
},
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs
{
Name = "value",
Type = "number",
},
},
},
},
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs;
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 oauthExample = new AgentcoreGatewayTarget("oauthExample", AgentcoreGatewayTargetArgs.builder()
.name("oauth-target")
.gatewayIdentifier(exampleAwsBedrockagentcoreGateway.gatewayId())
.credentialProviderConfiguration(AgentcoreGatewayTargetCredentialProviderConfigurationArgs.builder()
.oauth(AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs.builder()
.providerArn("arn:aws:iam::123456789012:oidc-provider/oauth.example.com")
.scopes(
"read",
"write")
.grantType("authorization_code")
.defaultReturnUrl("https://myapp.example.com/callback")
.customParameters(Map.of("client_type", "confidential"))
.build())
.build())
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.lambda(AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs.builder()
.lambdaArn(example.arn())
.toolSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs.builder()
.inlinePayloads(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs.builder()
.name("oauth_tool")
.description("OAuth-authenticated service")
.inputSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs.builder()
.type("array")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs.builder()
.type("object")
.properties(
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs.builder()
.name("id")
.type("string")
.required(true)
.build(),
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs.builder()
.name("value")
.type("number")
.build())
.build())
.build())
.build())
.build())
.build())
.build())
.build())
.build());
}
}
resources:
oauthExample:
type: aws:bedrock:AgentcoreGatewayTarget
name: oauth_example
properties:
name: oauth-target
gatewayIdentifier: ${exampleAwsBedrockagentcoreGateway.gatewayId}
credentialProviderConfiguration:
oauth:
providerArn: arn:aws:iam::123456789012:oidc-provider/oauth.example.com
scopes:
- read
- write
grantType: authorization_code
defaultReturnUrl: https://myapp.example.com/callback
customParameters:
client_type: confidential
targetConfiguration:
mcp:
lambda:
lambdaArn: ${example.arn}
toolSchema:
inlinePayloads:
- name: oauth_tool
description: OAuth-authenticated service
inputSchema:
type: array
items:
type: object
properties:
- name: id
type: string
required: true
- name: value
type: number
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "oauth_example" {
name = "oauth-target"
gateway_identifier = exampleAwsBedrockagentcoreGateway.gatewayId
credential_provider_configuration = {
oauth = {
provider_arn = "arn:aws:iam::123456789012:oidc-provider/oauth.example.com"
scopes = ["read", "write"]
grant_type = "authorization_code"
default_return_url = "https://myapp.example.com/callback"
custom_parameters = {
"client_type" = "confidential"
}
}
}
target_configuration = {
mcp = {
lambda = {
lambda_arn = example.arn
tool_schema = {
inline_payloads = [{
"name" = "oauth_tool"
"description" = "OAuth-authenticated service"
"inputSchema" = {
"type" = "array"
"items" = {
"type" = "object"
"properties" = [{
"name" = "id"
"type" = "string"
"required" = true
}, {
"name" = "value"
"type" = "number"
}]
}
}
}]
}
}
}
}
}
Target with IAM SigV4 Authentication (MCP Server)
Use this for mcpServer targets pointing at AWS-hosted SigV4-protected endpoints (e.g. another Bedrock AgentCore Runtime). The gateway signs upstream requests using its own IAM role.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const sigv4Example = new aws.bedrock.AgentcoreGatewayTarget("sigv4_example", {
name: "sigv4-target",
gatewayIdentifier: example.gatewayId,
credentialProviderConfiguration: {
gatewayIamRole: {
service: "bedrock-agentcore",
},
},
targetConfiguration: {
mcp: {
mcpServer: {
endpoint: "https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT",
},
},
},
});
import pulumi
import pulumi_aws as aws
sigv4_example = aws.bedrock.AgentcoreGatewayTarget("sigv4_example",
name="sigv4-target",
gateway_identifier=example["gatewayId"],
credential_provider_configuration={
"gateway_iam_role": {
"service": "bedrock-agentcore",
},
},
target_configuration={
"mcp": {
"mcp_server": {
"endpoint": "https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT",
},
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreGatewayTarget(ctx, "sigv4_example", &bedrock.AgentcoreGatewayTargetArgs{
Name: pulumi.String("sigv4-target"),
GatewayIdentifier: pulumi.Any(example.GatewayId),
CredentialProviderConfiguration: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationArgs{
GatewayIamRole: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs{
Service: pulumi.String("bedrock-agentcore"),
},
},
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
McpServer: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs{
Endpoint: pulumi.String("https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var sigv4Example = new Aws.Bedrock.AgentcoreGatewayTarget("sigv4_example", new()
{
Name = "sigv4-target",
GatewayIdentifier = example.GatewayId,
CredentialProviderConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs
{
GatewayIamRole = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs
{
Service = "bedrock-agentcore",
},
},
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
McpServer = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs
{
Endpoint = "https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs;
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 sigv4Example = new AgentcoreGatewayTarget("sigv4Example", AgentcoreGatewayTargetArgs.builder()
.name("sigv4-target")
.gatewayIdentifier(example.gatewayId())
.credentialProviderConfiguration(AgentcoreGatewayTargetCredentialProviderConfigurationArgs.builder()
.gatewayIamRole(AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs.builder()
.service("bedrock-agentcore")
.build())
.build())
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.mcpServer(AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs.builder()
.endpoint("https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT")
.build())
.build())
.build())
.build());
}
}
resources:
sigv4Example:
type: aws:bedrock:AgentcoreGatewayTarget
name: sigv4_example
properties:
name: sigv4-target
gatewayIdentifier: ${example.gatewayId}
credentialProviderConfiguration:
gatewayIamRole:
service: bedrock-agentcore
targetConfiguration:
mcp:
mcpServer:
endpoint: https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "sigv4_example" {
name = "sigv4-target"
gateway_identifier = example.gatewayId
credential_provider_configuration = {
gateway_iam_role = {
service = "bedrock-agentcore"
}
}
target_configuration = {
mcp = {
mcp_server = {
endpoint = "https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT"
}
}
}
}
Complex Schema with JSON Serialization
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const complexSchema = new aws.bedrock.AgentcoreGatewayTarget("complex_schema", {
name: "complex-target",
gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
credentialProviderConfiguration: {
gatewayIamRole: {},
},
targetConfiguration: {
mcp: {
lambda: {
lambdaArn: example.arn,
toolSchema: {
inlinePayloads: [{
name: "complex_tool",
description: "Tool with complex nested schema",
inputSchema: {
type: "object",
properties: [{
name: "profile",
type: "object",
properties: [
{
name: "nested_tags",
type: "array",
itemsJson: JSON.stringify({
type: "string",
}),
},
{
name: "metadata",
type: "object",
propertiesJson: JSON.stringify({
properties: {
created_at: {
type: "string",
},
version: {
type: "number",
},
},
required: ["created_at"],
}),
},
],
}],
},
}],
},
},
},
},
});
import pulumi
import json
import pulumi_aws as aws
complex_schema = aws.bedrock.AgentcoreGatewayTarget("complex_schema",
name="complex-target",
gateway_identifier=example_aws_bedrockagentcore_gateway["gatewayId"],
credential_provider_configuration={
"gateway_iam_role": {},
},
target_configuration={
"mcp": {
"lambda_": {
"lambda_arn": example["arn"],
"tool_schema": {
"inline_payloads": [{
"name": "complex_tool",
"description": "Tool with complex nested schema",
"input_schema": {
"type": "object",
"properties": [{
"name": "profile",
"type": "object",
"properties": [
{
"name": "nested_tags",
"type": "array",
"items_json": json.dumps({
"type": "string",
}),
},
{
"name": "metadata",
"type": "object",
"properties_json": json.dumps({
"properties": {
"created_at": {
"type": "string",
},
"version": {
"type": "number",
},
},
"required": ["created_at"],
}),
},
],
}],
},
}],
},
},
},
})
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"type": "string",
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
tmpJSON1, err := json.Marshal(map[string]interface{}{
"properties": map[string]interface{}{
"created_at": map[string]interface{}{
"type": "string",
},
"version": map[string]interface{}{
"type": "number",
},
},
"required": []string{
"created_at",
},
})
if err != nil {
return err
}
json1 := string(tmpJSON1)
_, err = bedrock.NewAgentcoreGatewayTarget(ctx, "complex_schema", &bedrock.AgentcoreGatewayTargetArgs{
Name: pulumi.String("complex-target"),
GatewayIdentifier: pulumi.Any(exampleAwsBedrockagentcoreGateway.GatewayId),
CredentialProviderConfiguration: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationArgs{
GatewayIamRole: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs{},
},
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
Lambda: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs{
LambdaArn: pulumi.Any(example.Arn),
ToolSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs{
InlinePayloads: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs{
Name: pulumi.String("complex_tool"),
Description: pulumi.String("Tool with complex nested schema"),
InputSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs{
Type: pulumi.String("object"),
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs{
Name: pulumi.String("profile"),
Type: pulumi.String("object"),
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs{
Name: pulumi.String("nested_tags"),
Type: pulumi.String("array"),
ItemsJson: pulumi.String(json0),
},
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs{
Name: pulumi.String("metadata"),
Type: pulumi.String("object"),
PropertiesJson: pulumi.String(json1),
},
},
},
},
},
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var complexSchema = new Aws.Bedrock.AgentcoreGatewayTarget("complex_schema", new()
{
Name = "complex-target",
GatewayIdentifier = exampleAwsBedrockagentcoreGateway.GatewayId,
CredentialProviderConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs
{
GatewayIamRole = null,
},
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
Lambda = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs
{
LambdaArn = example.Arn,
ToolSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs
{
InlinePayloads = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs
{
Name = "complex_tool",
Description = "Tool with complex nested schema",
InputSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs
{
Type = "object",
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs
{
Name = "profile",
Type = "object",
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs
{
Name = "nested_tags",
Type = "array",
ItemsJson = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["type"] = "string",
}),
},
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs
{
Name = "metadata",
Type = "object",
PropertiesJson = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["properties"] = new Dictionary<string, object?>
{
["created_at"] = new Dictionary<string, object?>
{
["type"] = "string",
},
["version"] = new Dictionary<string, object?>
{
["type"] = "number",
},
},
["required"] = new[]
{
"created_at",
},
}),
},
},
},
},
},
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 complexSchema = new AgentcoreGatewayTarget("complexSchema", AgentcoreGatewayTargetArgs.builder()
.name("complex-target")
.gatewayIdentifier(exampleAwsBedrockagentcoreGateway.gatewayId())
.credentialProviderConfiguration(AgentcoreGatewayTargetCredentialProviderConfigurationArgs.builder()
.gatewayIamRole(AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs.builder()
.build())
.build())
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.lambda(AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs.builder()
.lambdaArn(example.arn())
.toolSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs.builder()
.inlinePayloads(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs.builder()
.name("complex_tool")
.description("Tool with complex nested schema")
.inputSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs.builder()
.type("object")
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs.builder()
.name("profile")
.type("object")
.properties(
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs.builder()
.name("nested_tags")
.type("array")
.itemsJson(serializeJson(
jsonObject(
jsonProperty("type", "string")
)))
.build(),
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs.builder()
.name("metadata")
.type("object")
.propertiesJson(serializeJson(
jsonObject(
jsonProperty("properties", jsonObject(
jsonProperty("created_at", jsonObject(
jsonProperty("type", "string")
)),
jsonProperty("version", jsonObject(
jsonProperty("type", "number")
))
)),
jsonProperty("required", jsonArray("created_at"))
)))
.build())
.build())
.build())
.build())
.build())
.build())
.build())
.build())
.build());
}
}
resources:
complexSchema:
type: aws:bedrock:AgentcoreGatewayTarget
name: complex_schema
properties:
name: complex-target
gatewayIdentifier: ${exampleAwsBedrockagentcoreGateway.gatewayId}
credentialProviderConfiguration:
gatewayIamRole: {}
targetConfiguration:
mcp:
lambda:
lambdaArn: ${example.arn}
toolSchema:
inlinePayloads:
- name: complex_tool
description: Tool with complex nested schema
inputSchema:
type: object
properties:
- name: profile
type: object
properties:
- name: nested_tags
type: array
itemsJson:
fn::toJSON:
type: string
- name: metadata
type: object
propertiesJson:
fn::toJSON:
properties:
created_at:
type: string
version:
type: number
required:
- created_at
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "complex_schema" {
name = "complex-target"
gateway_identifier = exampleAwsBedrockagentcoreGateway.gatewayId
credential_provider_configuration = {
gateway_iam_role = {}
}
target_configuration = {
mcp = {
lambda = {
lambda_arn = example.arn
tool_schema = {
inline_payloads = [{
"name" = "complex_tool"
"description" = "Tool with complex nested schema"
"inputSchema" = {
"type" = "object"
"properties" = [{
"name" = "profile"
"type" = "object"
"properties" = [{
"name" = "nested_tags"
"type" = "array"
"itemsJson" = jsonencode({
"type" = "string"
})
}, {
"name" = "metadata"
"type" = "object"
"propertiesJson" = jsonencode({
"properties" = {
"created_at" = {
"type" = "string"
}
"version" = {
"type" = "number"
}
}
"required" = ["created_at"]
})
}]
}]
}
}]
}
}
}
}
}
MCP Server Target with Header Propagation
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const mcpWithHeaders = new aws.bedrock.AgentcoreGatewayTarget("mcp_with_headers", {
name: "mcp-target-with-headers",
gatewayIdentifier: example.gatewayId,
description: "MCP server target with header propagation",
targetConfiguration: {
mcp: {
mcpServer: {
endpoint: "https://example.com/mcp",
},
},
},
metadataConfiguration: {
allowedRequestHeaders: [
"x-correlation-id",
"x-tenant-id",
],
allowedResponseHeaders: ["x-rate-limit-remaining"],
allowedQueryParameters: ["version"],
},
});
import pulumi
import pulumi_aws as aws
mcp_with_headers = aws.bedrock.AgentcoreGatewayTarget("mcp_with_headers",
name="mcp-target-with-headers",
gateway_identifier=example["gatewayId"],
description="MCP server target with header propagation",
target_configuration={
"mcp": {
"mcp_server": {
"endpoint": "https://example.com/mcp",
},
},
},
metadata_configuration={
"allowed_request_headers": [
"x-correlation-id",
"x-tenant-id",
],
"allowed_response_headers": ["x-rate-limit-remaining"],
"allowed_query_parameters": ["version"],
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreGatewayTarget(ctx, "mcp_with_headers", &bedrock.AgentcoreGatewayTargetArgs{
Name: pulumi.String("mcp-target-with-headers"),
GatewayIdentifier: pulumi.Any(example.GatewayId),
Description: pulumi.String("MCP server target with header propagation"),
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
McpServer: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs{
Endpoint: pulumi.String("https://example.com/mcp"),
},
},
},
MetadataConfiguration: &bedrock.AgentcoreGatewayTargetMetadataConfigurationArgs{
AllowedRequestHeaders: pulumi.StringArray{
pulumi.String("x-correlation-id"),
pulumi.String("x-tenant-id"),
},
AllowedResponseHeaders: pulumi.StringArray{
pulumi.String("x-rate-limit-remaining"),
},
AllowedQueryParameters: pulumi.StringArray{
pulumi.String("version"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var mcpWithHeaders = new Aws.Bedrock.AgentcoreGatewayTarget("mcp_with_headers", new()
{
Name = "mcp-target-with-headers",
GatewayIdentifier = example.GatewayId,
Description = "MCP server target with header propagation",
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
McpServer = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs
{
Endpoint = "https://example.com/mcp",
},
},
},
MetadataConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetMetadataConfigurationArgs
{
AllowedRequestHeaders = new[]
{
"x-correlation-id",
"x-tenant-id",
},
AllowedResponseHeaders = new[]
{
"x-rate-limit-remaining",
},
AllowedQueryParameters = new[]
{
"version",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetMetadataConfigurationArgs;
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 mcpWithHeaders = new AgentcoreGatewayTarget("mcpWithHeaders", AgentcoreGatewayTargetArgs.builder()
.name("mcp-target-with-headers")
.gatewayIdentifier(example.gatewayId())
.description("MCP server target with header propagation")
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.mcpServer(AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs.builder()
.endpoint("https://example.com/mcp")
.build())
.build())
.build())
.metadataConfiguration(AgentcoreGatewayTargetMetadataConfigurationArgs.builder()
.allowedRequestHeaders(
"x-correlation-id",
"x-tenant-id")
.allowedResponseHeaders("x-rate-limit-remaining")
.allowedQueryParameters("version")
.build())
.build());
}
}
resources:
mcpWithHeaders:
type: aws:bedrock:AgentcoreGatewayTarget
name: mcp_with_headers
properties:
name: mcp-target-with-headers
gatewayIdentifier: ${example.gatewayId}
description: MCP server target with header propagation
targetConfiguration:
mcp:
mcpServer:
endpoint: https://example.com/mcp
metadataConfiguration:
allowedRequestHeaders:
- x-correlation-id
- x-tenant-id
allowedResponseHeaders:
- x-rate-limit-remaining
allowedQueryParameters:
- version
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "mcp_with_headers" {
name = "mcp-target-with-headers"
gateway_identifier = example.gatewayId
description = "MCP server target with header propagation"
target_configuration = {
mcp = {
mcp_server = {
endpoint = "https://example.com/mcp"
}
}
}
metadata_configuration = {
allowed_request_headers = ["x-correlation-id", "x-tenant-id"]
allowed_response_headers = ["x-rate-limit-remaining"]
allowed_query_parameters = ["version"]
}
}
HTTP Target Routing to an AgentCore Runtime
Routes gateway traffic directly to an AgentCore Runtime agent over HTTP, without MCP aggregation. The gateway must not have a protocolType set.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentcoreAgentRuntime("example", {
agentRuntimeName: "example-runtime",
roleArn: runtimeRole.arn,
agentRuntimeArtifact: {
containerConfiguration: {
containerUri: "111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest",
},
},
networkConfiguration: {
networkMode: "PUBLIC",
},
});
const runtime = new aws.bedrock.AgentcoreGatewayTarget("runtime", {
name: "runtime-target",
gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
credentialProviderConfiguration: {
gatewayIamRole: {},
},
targetConfiguration: {
http: {
agentcoreRuntime: {
arn: example.agentRuntimeArn,
qualifier: "DEFAULT",
},
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.AgentcoreAgentRuntime("example",
agent_runtime_name="example-runtime",
role_arn=runtime_role["arn"],
agent_runtime_artifact={
"container_configuration": {
"container_uri": "111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest",
},
},
network_configuration={
"network_mode": "PUBLIC",
})
runtime = aws.bedrock.AgentcoreGatewayTarget("runtime",
name="runtime-target",
gateway_identifier=example_aws_bedrockagentcore_gateway["gatewayId"],
credential_provider_configuration={
"gateway_iam_role": {},
},
target_configuration={
"http": {
"agentcore_runtime": {
"arn": example.agent_runtime_arn,
"qualifier": "DEFAULT",
},
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := bedrock.NewAgentcoreAgentRuntime(ctx, "example", &bedrock.AgentcoreAgentRuntimeArgs{
AgentRuntimeName: pulumi.String("example-runtime"),
RoleArn: pulumi.Any(runtimeRole.Arn),
AgentRuntimeArtifact: &bedrock.AgentcoreAgentRuntimeAgentRuntimeArtifactArgs{
ContainerConfiguration: &bedrock.AgentcoreAgentRuntimeAgentRuntimeArtifactContainerConfigurationArgs{
ContainerUri: pulumi.String("111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest"),
},
},
NetworkConfiguration: &bedrock.AgentcoreAgentRuntimeNetworkConfigurationArgs{
NetworkMode: pulumi.String("PUBLIC"),
},
})
if err != nil {
return err
}
_, err = bedrock.NewAgentcoreGatewayTarget(ctx, "runtime", &bedrock.AgentcoreGatewayTargetArgs{
Name: pulumi.String("runtime-target"),
GatewayIdentifier: pulumi.Any(exampleAwsBedrockagentcoreGateway.GatewayId),
CredentialProviderConfiguration: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationArgs{
GatewayIamRole: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs{},
},
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Http: &bedrock.AgentcoreGatewayTargetTargetConfigurationHttpArgs{
AgentcoreRuntime: &bedrock.AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs{
Arn: example.AgentRuntimeArn,
Qualifier: pulumi.String("DEFAULT"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.AgentcoreAgentRuntime("example", new()
{
AgentRuntimeName = "example-runtime",
RoleArn = runtimeRole.Arn,
AgentRuntimeArtifact = new Aws.Bedrock.Inputs.AgentcoreAgentRuntimeAgentRuntimeArtifactArgs
{
ContainerConfiguration = new Aws.Bedrock.Inputs.AgentcoreAgentRuntimeAgentRuntimeArtifactContainerConfigurationArgs
{
ContainerUri = "111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest",
},
},
NetworkConfiguration = new Aws.Bedrock.Inputs.AgentcoreAgentRuntimeNetworkConfigurationArgs
{
NetworkMode = "PUBLIC",
},
});
var runtime = new Aws.Bedrock.AgentcoreGatewayTarget("runtime", new()
{
Name = "runtime-target",
GatewayIdentifier = exampleAwsBedrockagentcoreGateway.GatewayId,
CredentialProviderConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs
{
GatewayIamRole = null,
},
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Http = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationHttpArgs
{
AgentcoreRuntime = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs
{
Arn = example.AgentRuntimeArn,
Qualifier = "DEFAULT",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreAgentRuntime;
import com.pulumi.aws.bedrock.AgentcoreAgentRuntimeArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreAgentRuntimeAgentRuntimeArtifactArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreAgentRuntimeAgentRuntimeArtifactContainerConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreAgentRuntimeNetworkConfigurationArgs;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationHttpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs;
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 example = new AgentcoreAgentRuntime("example", AgentcoreAgentRuntimeArgs.builder()
.agentRuntimeName("example-runtime")
.roleArn(runtimeRole.arn())
.agentRuntimeArtifact(AgentcoreAgentRuntimeAgentRuntimeArtifactArgs.builder()
.containerConfiguration(AgentcoreAgentRuntimeAgentRuntimeArtifactContainerConfigurationArgs.builder()
.containerUri("111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest")
.build())
.build())
.networkConfiguration(AgentcoreAgentRuntimeNetworkConfigurationArgs.builder()
.networkMode("PUBLIC")
.build())
.build());
var runtime = new AgentcoreGatewayTarget("runtime", AgentcoreGatewayTargetArgs.builder()
.name("runtime-target")
.gatewayIdentifier(exampleAwsBedrockagentcoreGateway.gatewayId())
.credentialProviderConfiguration(AgentcoreGatewayTargetCredentialProviderConfigurationArgs.builder()
.gatewayIamRole(AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs.builder()
.build())
.build())
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.http(AgentcoreGatewayTargetTargetConfigurationHttpArgs.builder()
.agentcoreRuntime(AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs.builder()
.arn(example.agentRuntimeArn())
.qualifier("DEFAULT")
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:bedrock:AgentcoreAgentRuntime
properties:
agentRuntimeName: example-runtime
roleArn: ${runtimeRole.arn}
agentRuntimeArtifact:
containerConfiguration:
containerUri: 111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest
networkConfiguration:
networkMode: PUBLIC
runtime:
type: aws:bedrock:AgentcoreGatewayTarget
properties:
name: runtime-target
gatewayIdentifier: ${exampleAwsBedrockagentcoreGateway.gatewayId}
credentialProviderConfiguration:
gatewayIamRole: {}
targetConfiguration:
http:
agentcoreRuntime:
arn: ${example.agentRuntimeArn}
qualifier: DEFAULT
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoreagentruntime" "example" {
agent_runtime_name = "example-runtime"
role_arn = runtimeRole.arn
agent_runtime_artifact = {
container_configuration = {
container_uri = "111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest"
}
}
network_configuration = {
network_mode = "PUBLIC"
}
}
resource "aws_bedrock_agentcoregatewaytarget" "runtime" {
name = "runtime-target"
gateway_identifier = exampleAwsBedrockagentcoreGateway.gatewayId
credential_provider_configuration = {
gateway_iam_role = {}
}
target_configuration = {
http = {
agentcore_runtime = {
arn = aws_bedrock_agentcoreagentruntime.example.agent_runtime_arn
qualifier = "DEFAULT"
}
}
}
}
Self-hosted MCP server in a VPC (managed Lattice)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentcoreGatewayTarget("example", {
gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
name: "my-private-mcp-target",
targetConfiguration: {
mcp: {
mcpServer: {
endpoint: "https://mcp.internal.example.com/mcp",
},
},
},
privateEndpoint: {
managedVpcResource: {
vpcIdentifier: exampleAwsVpc.id,
subnetIds: exampleAwsSubnet.map(__item => __item.id),
endpointIpAddressType: "IPV4",
securityGroupIds: [mcpLattice.id],
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.AgentcoreGatewayTarget("example",
gateway_identifier=example_aws_bedrockagentcore_gateway["gatewayId"],
name="my-private-mcp-target",
target_configuration={
"mcp": {
"mcp_server": {
"endpoint": "https://mcp.internal.example.com/mcp",
},
},
},
private_endpoint={
"managed_vpc_resource": {
"vpc_identifier": example_aws_vpc["id"],
"subnet_ids": [__item["id"] for __item in example_aws_subnet],
"endpoint_ip_address_type": "IPV4",
"security_group_ids": [mcp_lattice["id"]],
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreGatewayTarget(ctx, "example", &bedrock.AgentcoreGatewayTargetArgs{
GatewayIdentifier: pulumi.Any(exampleAwsBedrockagentcoreGateway.GatewayId),
Name: pulumi.String("my-private-mcp-target"),
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
McpServer: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs{
Endpoint: pulumi.String("https://mcp.internal.example.com/mcp"),
},
},
},
PrivateEndpoint: &bedrock.AgentcoreGatewayTargetPrivateEndpointArgs{
ManagedVpcResource: &bedrock.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs{
VpcIdentifier: pulumi.Any(exampleAwsVpc.Id),
SubnetIds: pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:15,31-53)),
EndpointIpAddressType: pulumi.String("IPV4"),
SecurityGroupIds: pulumi.StringArray{
mcpLattice.Id,
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.AgentcoreGatewayTarget("example", new()
{
GatewayIdentifier = exampleAwsBedrockagentcoreGateway.GatewayId,
Name = "my-private-mcp-target",
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
McpServer = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs
{
Endpoint = "https://mcp.internal.example.com/mcp",
},
},
},
PrivateEndpoint = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointArgs
{
ManagedVpcResource = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs
{
VpcIdentifier = exampleAwsVpc.Id,
SubnetIds = exampleAwsSubnet.Select(__item => __item.Id).ToList(),
EndpointIpAddressType = "IPV4",
SecurityGroupIds = new[]
{
mcpLattice.Id,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetPrivateEndpointArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs;
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 example = new AgentcoreGatewayTarget("example", AgentcoreGatewayTargetArgs.builder()
.gatewayIdentifier(exampleAwsBedrockagentcoreGateway.gatewayId())
.name("my-private-mcp-target")
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.mcpServer(AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs.builder()
.endpoint("https://mcp.internal.example.com/mcp")
.build())
.build())
.build())
.privateEndpoint(AgentcoreGatewayTargetPrivateEndpointArgs.builder()
.managedVpcResource(AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs.builder()
.vpcIdentifier(exampleAwsVpc.id())
.subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
.endpointIpAddressType("IPV4")
.securityGroupIds(mcpLattice.id())
.build())
.build())
.build());
}
}
Example coming soon!
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "example" {
gateway_identifier = exampleAwsBedrockagentcoreGateway.gatewayId
name = "my-private-mcp-target"
target_configuration = {
mcp = {
mcp_server = {
endpoint = "https://mcp.internal.example.com/mcp"
}
}
}
# The MCP server endpoint as seen from inside the VPC.
private_endpoint = {
managed_vpc_resource = {
vpc_identifier = exampleAwsVpc.id
subnet_ids = exampleAwsSubnet[*].id
endpoint_ip_address_type = "IPV4"
security_group_ids = [mcpLattice.id]
}
}
}
Self-hosted MCP server with routing through an internal ALB
Use routingDomain when the MCP server has a private TLS certificate. Place an internal ALB with a public ACM certificate in front of the server and set routingDomain to the ALB DNS name.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentcoreGatewayTarget("example", {
gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
name: "my-private-mcp-via-alb",
targetConfiguration: {
mcp: {
mcpServer: {
endpoint: "https://mcp.example.com/mcp",
},
},
},
privateEndpoint: {
managedVpcResource: {
vpcIdentifier: exampleAwsVpc.id,
subnetIds: exampleAwsSubnet.map(__item => __item.id),
endpointIpAddressType: "IPV4",
routingDomain: mcpAlb.dnsName,
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.AgentcoreGatewayTarget("example",
gateway_identifier=example_aws_bedrockagentcore_gateway["gatewayId"],
name="my-private-mcp-via-alb",
target_configuration={
"mcp": {
"mcp_server": {
"endpoint": "https://mcp.example.com/mcp",
},
},
},
private_endpoint={
"managed_vpc_resource": {
"vpc_identifier": example_aws_vpc["id"],
"subnet_ids": [__item["id"] for __item in example_aws_subnet],
"endpoint_ip_address_type": "IPV4",
"routing_domain": mcp_alb["dnsName"],
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreGatewayTarget(ctx, "example", &bedrock.AgentcoreGatewayTargetArgs{
GatewayIdentifier: pulumi.Any(exampleAwsBedrockagentcoreGateway.GatewayId),
Name: pulumi.String("my-private-mcp-via-alb"),
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
McpServer: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs{
Endpoint: pulumi.String("https://mcp.example.com/mcp"),
},
},
},
PrivateEndpoint: &bedrock.AgentcoreGatewayTargetPrivateEndpointArgs{
ManagedVpcResource: &bedrock.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs{
VpcIdentifier: pulumi.Any(exampleAwsVpc.Id),
SubnetIds: pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:15,31-53)),
EndpointIpAddressType: pulumi.String("IPV4"),
RoutingDomain: pulumi.Any(mcpAlb.DnsName),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.AgentcoreGatewayTarget("example", new()
{
GatewayIdentifier = exampleAwsBedrockagentcoreGateway.GatewayId,
Name = "my-private-mcp-via-alb",
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
McpServer = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs
{
Endpoint = "https://mcp.example.com/mcp",
},
},
},
PrivateEndpoint = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointArgs
{
ManagedVpcResource = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs
{
VpcIdentifier = exampleAwsVpc.Id,
SubnetIds = exampleAwsSubnet.Select(__item => __item.Id).ToList(),
EndpointIpAddressType = "IPV4",
RoutingDomain = mcpAlb.DnsName,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetPrivateEndpointArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs;
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 example = new AgentcoreGatewayTarget("example", AgentcoreGatewayTargetArgs.builder()
.gatewayIdentifier(exampleAwsBedrockagentcoreGateway.gatewayId())
.name("my-private-mcp-via-alb")
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.mcpServer(AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs.builder()
.endpoint("https://mcp.example.com/mcp")
.build())
.build())
.build())
.privateEndpoint(AgentcoreGatewayTargetPrivateEndpointArgs.builder()
.managedVpcResource(AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs.builder()
.vpcIdentifier(exampleAwsVpc.id())
.subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
.endpointIpAddressType("IPV4")
.routingDomain(mcpAlb.dnsName())
.build())
.build())
.build());
}
}
Example coming soon!
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "example" {
gateway_identifier = exampleAwsBedrockagentcoreGateway.gatewayId
name = "my-private-mcp-via-alb"
target_configuration = {
mcp = {
mcp_server = {
endpoint = "https://mcp.example.com/mcp"
}
}
}
# Must match the domain on the ALB's ACM certificate.
private_endpoint = {
managed_vpc_resource = {
vpc_identifier = exampleAwsVpc.id
subnet_ids = exampleAwsSubnet[*].id
endpoint_ip_address_type = "IPV4"
routing_domain = mcpAlb.dnsName
}
}
}
Self-managed VPC Lattice resource configuration
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentcoreGatewayTarget("example", {
gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
name: "my-private-mcp-self-managed",
targetConfiguration: {
mcp: {
mcpServer: {
endpoint: "https://mcp.internal.example.com/mcp",
},
},
},
privateEndpoint: {
selfManagedLatticeResource: {
resourceConfigurationIdentifier: mcp.arn,
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.AgentcoreGatewayTarget("example",
gateway_identifier=example_aws_bedrockagentcore_gateway["gatewayId"],
name="my-private-mcp-self-managed",
target_configuration={
"mcp": {
"mcp_server": {
"endpoint": "https://mcp.internal.example.com/mcp",
},
},
},
private_endpoint={
"self_managed_lattice_resource": {
"resource_configuration_identifier": mcp["arn"],
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentcoreGatewayTarget(ctx, "example", &bedrock.AgentcoreGatewayTargetArgs{
GatewayIdentifier: pulumi.Any(exampleAwsBedrockagentcoreGateway.GatewayId),
Name: pulumi.String("my-private-mcp-self-managed"),
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
McpServer: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs{
Endpoint: pulumi.String("https://mcp.internal.example.com/mcp"),
},
},
},
PrivateEndpoint: &bedrock.AgentcoreGatewayTargetPrivateEndpointArgs{
SelfManagedLatticeResource: &bedrock.AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs{
ResourceConfigurationIdentifier: pulumi.Any(mcp.Arn),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.AgentcoreGatewayTarget("example", new()
{
GatewayIdentifier = exampleAwsBedrockagentcoreGateway.GatewayId,
Name = "my-private-mcp-self-managed",
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
McpServer = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs
{
Endpoint = "https://mcp.internal.example.com/mcp",
},
},
},
PrivateEndpoint = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointArgs
{
SelfManagedLatticeResource = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs
{
ResourceConfigurationIdentifier = mcp.Arn,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentcoreGatewayTarget;
import com.pulumi.aws.bedrock.AgentcoreGatewayTargetArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetPrivateEndpointArgs;
import com.pulumi.aws.bedrock.inputs.AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs;
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 example = new AgentcoreGatewayTarget("example", AgentcoreGatewayTargetArgs.builder()
.gatewayIdentifier(exampleAwsBedrockagentcoreGateway.gatewayId())
.name("my-private-mcp-self-managed")
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.mcpServer(AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs.builder()
.endpoint("https://mcp.internal.example.com/mcp")
.build())
.build())
.build())
.privateEndpoint(AgentcoreGatewayTargetPrivateEndpointArgs.builder()
.selfManagedLatticeResource(AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs.builder()
.resourceConfigurationIdentifier(mcp.arn())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:bedrock:AgentcoreGatewayTarget
properties:
gatewayIdentifier: ${exampleAwsBedrockagentcoreGateway.gatewayId}
name: my-private-mcp-self-managed
targetConfiguration:
mcp:
mcpServer:
endpoint: https://mcp.internal.example.com/mcp
privateEndpoint:
selfManagedLatticeResource:
resourceConfigurationIdentifier: ${mcp.arn}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentcoregatewaytarget" "example" {
gateway_identifier = exampleAwsBedrockagentcoreGateway.gatewayId
name = "my-private-mcp-self-managed"
target_configuration = {
mcp = {
mcp_server = {
endpoint = "https://mcp.internal.example.com/mcp"
}
}
}
private_endpoint = {
self_managed_lattice_resource = {
resource_configuration_identifier = mcp.arn
}
}
}
Create AgentcoreGatewayTarget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentcoreGatewayTarget(name: string, args: AgentcoreGatewayTargetArgs, opts?: CustomResourceOptions);@overload
def AgentcoreGatewayTarget(resource_name: str,
args: AgentcoreGatewayTargetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentcoreGatewayTarget(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_identifier: Optional[str] = None,
target_configuration: Optional[AgentcoreGatewayTargetTargetConfigurationArgs] = None,
credential_provider_configuration: Optional[AgentcoreGatewayTargetCredentialProviderConfigurationArgs] = None,
description: Optional[str] = None,
metadata_configuration: Optional[AgentcoreGatewayTargetMetadataConfigurationArgs] = None,
name: Optional[str] = None,
private_endpoint: Optional[AgentcoreGatewayTargetPrivateEndpointArgs] = None,
region: Optional[str] = None,
timeouts: Optional[AgentcoreGatewayTargetTimeoutsArgs] = None)func NewAgentcoreGatewayTarget(ctx *Context, name string, args AgentcoreGatewayTargetArgs, opts ...ResourceOption) (*AgentcoreGatewayTarget, error)public AgentcoreGatewayTarget(string name, AgentcoreGatewayTargetArgs args, CustomResourceOptions? opts = null)
public AgentcoreGatewayTarget(String name, AgentcoreGatewayTargetArgs args)
public AgentcoreGatewayTarget(String name, AgentcoreGatewayTargetArgs args, CustomResourceOptions options)
type: aws:bedrock:AgentcoreGatewayTarget
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_bedrock_agentcoregatewaytarget" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentcoreGatewayTargetArgs
- 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 AgentcoreGatewayTargetArgs
- 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 AgentcoreGatewayTargetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentcoreGatewayTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentcoreGatewayTargetArgs
- 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 agentcoreGatewayTargetResource = new Aws.Bedrock.AgentcoreGatewayTarget("agentcoreGatewayTargetResource", new()
{
GatewayIdentifier = "string",
TargetConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationArgs
{
Http = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationHttpArgs
{
AgentcoreRuntime = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs
{
Arn = "string",
Qualifier = "string",
},
},
Mcp = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpArgs
{
ApiGateway = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayArgs
{
RestApiId = "string",
Stage = "string",
ApiGatewayToolConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationArgs
{
ToolFilters = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolFilterArgs
{
FilterPath = "string",
Methods = new[]
{
"string",
},
},
},
ToolOverrides = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolOverrideArgs
{
Method = "string",
Name = "string",
Path = "string",
Description = "string",
},
},
},
},
Lambda = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs
{
LambdaArn = "string",
ToolSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs
{
InlinePayloads = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs
{
Description = "string",
InputSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs
{
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs
{
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsItemsArgs
{
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
Required = false,
},
},
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsArgs
{
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsItemsArgs
{
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
Required = false,
},
},
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
Required = false,
},
},
Required = false,
},
},
},
Name = "string",
OutputSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs
{
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsArgs
{
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsItemsArgs
{
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
Required = false,
},
},
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsArgs
{
Type = "string",
Description = "string",
Items = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsItemsArgs
{
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
Required = false,
},
},
},
Properties = new[]
{
new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyPropertyArgs
{
Name = "string",
Type = "string",
Description = "string",
ItemsJson = "string",
PropertiesJson = "string",
Required = false,
},
},
Required = false,
},
},
},
},
},
S3 = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaS3Args
{
BucketOwnerAccountId = "string",
Uri = "string",
},
},
},
McpServer = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs
{
Endpoint = "string",
ListingMode = "string",
},
OpenApiSchema = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaArgs
{
InlinePayload = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaInlinePayloadArgs
{
Payload = "string",
},
S3 = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaS3Args
{
BucketOwnerAccountId = "string",
Uri = "string",
},
},
SmithyModel = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelArgs
{
InlinePayload = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelInlinePayloadArgs
{
Payload = "string",
},
S3 = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelS3Args
{
BucketOwnerAccountId = "string",
Uri = "string",
},
},
},
},
CredentialProviderConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationArgs
{
ApiKey = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs
{
ProviderArn = "string",
CredentialLocation = "string",
CredentialParameterName = "string",
CredentialPrefix = "string",
},
CallerIamCredentials = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationCallerIamCredentialsArgs
{
Service = "string",
Region = "string",
},
GatewayIamRole = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs
{
Region = "string",
Service = "string",
},
JwtPassthrough = null,
Oauth = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs
{
ProviderArn = "string",
Scopes = new[]
{
"string",
},
CustomParameters =
{
{ "string", "string" },
},
DefaultReturnUrl = "string",
GrantType = "string",
},
},
Description = "string",
MetadataConfiguration = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetMetadataConfigurationArgs
{
AllowedQueryParameters = new[]
{
"string",
},
AllowedRequestHeaders = new[]
{
"string",
},
AllowedResponseHeaders = new[]
{
"string",
},
},
Name = "string",
PrivateEndpoint = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointArgs
{
ManagedVpcResource = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs
{
EndpointIpAddressType = "string",
SubnetIds = new[]
{
"string",
},
VpcIdentifier = "string",
RoutingDomain = "string",
SecurityGroupIds = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
},
SelfManagedLatticeResource = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs
{
ResourceConfigurationIdentifier = "string",
},
},
Region = "string",
Timeouts = new Aws.Bedrock.Inputs.AgentcoreGatewayTargetTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := bedrock.NewAgentcoreGatewayTarget(ctx, "agentcoreGatewayTargetResource", &bedrock.AgentcoreGatewayTargetArgs{
GatewayIdentifier: pulumi.String("string"),
TargetConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationArgs{
Http: &bedrock.AgentcoreGatewayTargetTargetConfigurationHttpArgs{
AgentcoreRuntime: &bedrock.AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs{
Arn: pulumi.String("string"),
Qualifier: pulumi.String("string"),
},
},
Mcp: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpArgs{
ApiGateway: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayArgs{
RestApiId: pulumi.String("string"),
Stage: pulumi.String("string"),
ApiGatewayToolConfiguration: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationArgs{
ToolFilters: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolFilterArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolFilterArgs{
FilterPath: pulumi.String("string"),
Methods: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ToolOverrides: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolOverrideArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolOverrideArgs{
Method: pulumi.String("string"),
Name: pulumi.String("string"),
Path: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
},
},
Lambda: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs{
LambdaArn: pulumi.String("string"),
ToolSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs{
InlinePayloads: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs{
Description: pulumi.String("string"),
InputSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
Required: pulumi.Bool(false),
},
},
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
Required: pulumi.Bool(false),
},
},
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
Required: pulumi.Bool(false),
},
},
Required: pulumi.Bool(false),
},
},
},
Name: pulumi.String("string"),
OutputSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
Required: pulumi.Bool(false),
},
},
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Items: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsItemsArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
Required: pulumi.Bool(false),
},
},
},
Properties: bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyPropertyArray{
&bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyPropertyArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
ItemsJson: pulumi.String("string"),
PropertiesJson: pulumi.String("string"),
Required: pulumi.Bool(false),
},
},
Required: pulumi.Bool(false),
},
},
},
},
},
S3: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaS3Args{
BucketOwnerAccountId: pulumi.String("string"),
Uri: pulumi.String("string"),
},
},
},
McpServer: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs{
Endpoint: pulumi.String("string"),
ListingMode: pulumi.String("string"),
},
OpenApiSchema: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaArgs{
InlinePayload: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaInlinePayloadArgs{
Payload: pulumi.String("string"),
},
S3: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaS3Args{
BucketOwnerAccountId: pulumi.String("string"),
Uri: pulumi.String("string"),
},
},
SmithyModel: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelArgs{
InlinePayload: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelInlinePayloadArgs{
Payload: pulumi.String("string"),
},
S3: &bedrock.AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelS3Args{
BucketOwnerAccountId: pulumi.String("string"),
Uri: pulumi.String("string"),
},
},
},
},
CredentialProviderConfiguration: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationArgs{
ApiKey: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs{
ProviderArn: pulumi.String("string"),
CredentialLocation: pulumi.String("string"),
CredentialParameterName: pulumi.String("string"),
CredentialPrefix: pulumi.String("string"),
},
CallerIamCredentials: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationCallerIamCredentialsArgs{
Service: pulumi.String("string"),
Region: pulumi.String("string"),
},
GatewayIamRole: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs{
Region: pulumi.String("string"),
Service: pulumi.String("string"),
},
JwtPassthrough: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationJwtPassthroughArgs{},
Oauth: &bedrock.AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs{
ProviderArn: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
CustomParameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
DefaultReturnUrl: pulumi.String("string"),
GrantType: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
MetadataConfiguration: &bedrock.AgentcoreGatewayTargetMetadataConfigurationArgs{
AllowedQueryParameters: pulumi.StringArray{
pulumi.String("string"),
},
AllowedRequestHeaders: pulumi.StringArray{
pulumi.String("string"),
},
AllowedResponseHeaders: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
PrivateEndpoint: &bedrock.AgentcoreGatewayTargetPrivateEndpointArgs{
ManagedVpcResource: &bedrock.AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs{
EndpointIpAddressType: pulumi.String("string"),
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
VpcIdentifier: pulumi.String("string"),
RoutingDomain: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
SelfManagedLatticeResource: &bedrock.AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs{
ResourceConfigurationIdentifier: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
Timeouts: &bedrock.AgentcoreGatewayTargetTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "aws_bedrock_agentcoregatewaytarget" "agentcoreGatewayTargetResource" {
gateway_identifier = "string"
target_configuration = {
http = {
agentcore_runtime = {
arn = "string"
qualifier = "string"
}
}
mcp = {
api_gateway = {
rest_api_id = "string"
stage = "string"
api_gateway_tool_configuration = {
tool_filters = [{
"filterPath" = "string"
"methods" = ["string"]
}]
tool_overrides = [{
"method" = "string"
"name" = "string"
"path" = "string"
"description" = "string"
}]
}
}
lambda = {
lambda_arn = "string"
tool_schema = {
inline_payloads = [{
"description" = "string"
"inputSchema" = {
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
"required" = false
}]
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
"required" = false
}]
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
"required" = false
}]
"required" = false
}]
}
"name" = "string"
"outputSchema" = {
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
"required" = false
}]
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"items" = {
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
"required" = false
}]
}
"properties" = [{
"name" = "string"
"type" = "string"
"description" = "string"
"itemsJson" = "string"
"propertiesJson" = "string"
"required" = false
}]
"required" = false
}]
}
}]
s3 = {
bucket_owner_account_id = "string"
uri = "string"
}
}
}
mcp_server = {
endpoint = "string"
listing_mode = "string"
}
open_api_schema = {
inline_payload = {
payload = "string"
}
s3 = {
bucket_owner_account_id = "string"
uri = "string"
}
}
smithy_model = {
inline_payload = {
payload = "string"
}
s3 = {
bucket_owner_account_id = "string"
uri = "string"
}
}
}
}
credential_provider_configuration = {
api_key = {
provider_arn = "string"
credential_location = "string"
credential_parameter_name = "string"
credential_prefix = "string"
}
caller_iam_credentials = {
service = "string"
region = "string"
}
gateway_iam_role = {
region = "string"
service = "string"
}
jwt_passthrough = {}
oauth = {
provider_arn = "string"
scopes = ["string"]
custom_parameters = {
"string" = "string"
}
default_return_url = "string"
grant_type = "string"
}
}
description = "string"
metadata_configuration = {
allowed_query_parameters = ["string"]
allowed_request_headers = ["string"]
allowed_response_headers = ["string"]
}
name = "string"
private_endpoint = {
managed_vpc_resource = {
endpoint_ip_address_type = "string"
subnet_ids = ["string"]
vpc_identifier = "string"
routing_domain = "string"
security_group_ids = ["string"]
tags = {
"string" = "string"
}
}
self_managed_lattice_resource = {
resource_configuration_identifier = "string"
}
}
region = "string"
timeouts = {
create = "string"
delete = "string"
update = "string"
}
}
var agentcoreGatewayTargetResource = new AgentcoreGatewayTarget("agentcoreGatewayTargetResource", AgentcoreGatewayTargetArgs.builder()
.gatewayIdentifier("string")
.targetConfiguration(AgentcoreGatewayTargetTargetConfigurationArgs.builder()
.http(AgentcoreGatewayTargetTargetConfigurationHttpArgs.builder()
.agentcoreRuntime(AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs.builder()
.arn("string")
.qualifier("string")
.build())
.build())
.mcp(AgentcoreGatewayTargetTargetConfigurationMcpArgs.builder()
.apiGateway(AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayArgs.builder()
.restApiId("string")
.stage("string")
.apiGatewayToolConfiguration(AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationArgs.builder()
.toolFilters(AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolFilterArgs.builder()
.filterPath("string")
.methods("string")
.build())
.toolOverrides(AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolOverrideArgs.builder()
.method("string")
.name("string")
.path("string")
.description("string")
.build())
.build())
.build())
.lambda(AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs.builder()
.lambdaArn("string")
.toolSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs.builder()
.inlinePayloads(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs.builder()
.description("string")
.inputSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs.builder()
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs.builder()
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsItemsArgs.builder()
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.required(false)
.build())
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsArgs.builder()
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsItemsArgs.builder()
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.required(false)
.build())
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.required(false)
.build())
.required(false)
.build())
.build())
.name("string")
.outputSchema(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs.builder()
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsArgs.builder()
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsItemsArgs.builder()
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.required(false)
.build())
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsArgs.builder()
.type("string")
.description("string")
.items(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsItemsArgs.builder()
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.required(false)
.build())
.build())
.properties(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyPropertyArgs.builder()
.name("string")
.type("string")
.description("string")
.itemsJson("string")
.propertiesJson("string")
.required(false)
.build())
.required(false)
.build())
.build())
.build())
.s3(AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaS3Args.builder()
.bucketOwnerAccountId("string")
.uri("string")
.build())
.build())
.build())
.mcpServer(AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs.builder()
.endpoint("string")
.listingMode("string")
.build())
.openApiSchema(AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaArgs.builder()
.inlinePayload(AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaInlinePayloadArgs.builder()
.payload("string")
.build())
.s3(AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaS3Args.builder()
.bucketOwnerAccountId("string")
.uri("string")
.build())
.build())
.smithyModel(AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelArgs.builder()
.inlinePayload(AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelInlinePayloadArgs.builder()
.payload("string")
.build())
.s3(AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelS3Args.builder()
.bucketOwnerAccountId("string")
.uri("string")
.build())
.build())
.build())
.build())
.credentialProviderConfiguration(AgentcoreGatewayTargetCredentialProviderConfigurationArgs.builder()
.apiKey(AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs.builder()
.providerArn("string")
.credentialLocation("string")
.credentialParameterName("string")
.credentialPrefix("string")
.build())
.callerIamCredentials(AgentcoreGatewayTargetCredentialProviderConfigurationCallerIamCredentialsArgs.builder()
.service("string")
.region("string")
.build())
.gatewayIamRole(AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs.builder()
.region("string")
.service("string")
.build())
.jwtPassthrough(AgentcoreGatewayTargetCredentialProviderConfigurationJwtPassthroughArgs.builder()
.build())
.oauth(AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs.builder()
.providerArn("string")
.scopes("string")
.customParameters(Map.of("string", "string"))
.defaultReturnUrl("string")
.grantType("string")
.build())
.build())
.description("string")
.metadataConfiguration(AgentcoreGatewayTargetMetadataConfigurationArgs.builder()
.allowedQueryParameters("string")
.allowedRequestHeaders("string")
.allowedResponseHeaders("string")
.build())
.name("string")
.privateEndpoint(AgentcoreGatewayTargetPrivateEndpointArgs.builder()
.managedVpcResource(AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs.builder()
.endpointIpAddressType("string")
.subnetIds("string")
.vpcIdentifier("string")
.routingDomain("string")
.securityGroupIds("string")
.tags(Map.of("string", "string"))
.build())
.selfManagedLatticeResource(AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs.builder()
.resourceConfigurationIdentifier("string")
.build())
.build())
.region("string")
.timeouts(AgentcoreGatewayTargetTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
agentcore_gateway_target_resource = aws.bedrock.AgentcoreGatewayTarget("agentcoreGatewayTargetResource",
gateway_identifier="string",
target_configuration={
"http": {
"agentcore_runtime": {
"arn": "string",
"qualifier": "string",
},
},
"mcp": {
"api_gateway": {
"rest_api_id": "string",
"stage": "string",
"api_gateway_tool_configuration": {
"tool_filters": [{
"filter_path": "string",
"methods": ["string"],
}],
"tool_overrides": [{
"method": "string",
"name": "string",
"path": "string",
"description": "string",
}],
},
},
"lambda_": {
"lambda_arn": "string",
"tool_schema": {
"inline_payloads": [{
"description": "string",
"input_schema": {
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
"required": False,
}],
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
"required": False,
}],
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
"required": False,
}],
"required": False,
}],
},
"name": "string",
"output_schema": {
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
"required": False,
}],
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items": {
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
"required": False,
}],
},
"properties": [{
"name": "string",
"type": "string",
"description": "string",
"items_json": "string",
"properties_json": "string",
"required": False,
}],
"required": False,
}],
},
}],
"s3": {
"bucket_owner_account_id": "string",
"uri": "string",
},
},
},
"mcp_server": {
"endpoint": "string",
"listing_mode": "string",
},
"open_api_schema": {
"inline_payload": {
"payload": "string",
},
"s3": {
"bucket_owner_account_id": "string",
"uri": "string",
},
},
"smithy_model": {
"inline_payload": {
"payload": "string",
},
"s3": {
"bucket_owner_account_id": "string",
"uri": "string",
},
},
},
},
credential_provider_configuration={
"api_key": {
"provider_arn": "string",
"credential_location": "string",
"credential_parameter_name": "string",
"credential_prefix": "string",
},
"caller_iam_credentials": {
"service": "string",
"region": "string",
},
"gateway_iam_role": {
"region": "string",
"service": "string",
},
"jwt_passthrough": {},
"oauth": {
"provider_arn": "string",
"scopes": ["string"],
"custom_parameters": {
"string": "string",
},
"default_return_url": "string",
"grant_type": "string",
},
},
description="string",
metadata_configuration={
"allowed_query_parameters": ["string"],
"allowed_request_headers": ["string"],
"allowed_response_headers": ["string"],
},
name="string",
private_endpoint={
"managed_vpc_resource": {
"endpoint_ip_address_type": "string",
"subnet_ids": ["string"],
"vpc_identifier": "string",
"routing_domain": "string",
"security_group_ids": ["string"],
"tags": {
"string": "string",
},
},
"self_managed_lattice_resource": {
"resource_configuration_identifier": "string",
},
},
region="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const agentcoreGatewayTargetResource = new aws.bedrock.AgentcoreGatewayTarget("agentcoreGatewayTargetResource", {
gatewayIdentifier: "string",
targetConfiguration: {
http: {
agentcoreRuntime: {
arn: "string",
qualifier: "string",
},
},
mcp: {
apiGateway: {
restApiId: "string",
stage: "string",
apiGatewayToolConfiguration: {
toolFilters: [{
filterPath: "string",
methods: ["string"],
}],
toolOverrides: [{
method: "string",
name: "string",
path: "string",
description: "string",
}],
},
},
lambda: {
lambdaArn: "string",
toolSchema: {
inlinePayloads: [{
description: "string",
inputSchema: {
type: "string",
description: "string",
items: {
type: "string",
description: "string",
items: {
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
},
properties: [{
name: "string",
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
required: false,
}],
},
properties: [{
name: "string",
type: "string",
description: "string",
items: {
type: "string",
description: "string",
items: {
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
},
properties: [{
name: "string",
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
required: false,
}],
},
properties: [{
name: "string",
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
required: false,
}],
required: false,
}],
},
name: "string",
outputSchema: {
type: "string",
description: "string",
items: {
type: "string",
description: "string",
items: {
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
},
properties: [{
name: "string",
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
required: false,
}],
},
properties: [{
name: "string",
type: "string",
description: "string",
items: {
type: "string",
description: "string",
items: {
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
},
properties: [{
name: "string",
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
required: false,
}],
},
properties: [{
name: "string",
type: "string",
description: "string",
itemsJson: "string",
propertiesJson: "string",
required: false,
}],
required: false,
}],
},
}],
s3: {
bucketOwnerAccountId: "string",
uri: "string",
},
},
},
mcpServer: {
endpoint: "string",
listingMode: "string",
},
openApiSchema: {
inlinePayload: {
payload: "string",
},
s3: {
bucketOwnerAccountId: "string",
uri: "string",
},
},
smithyModel: {
inlinePayload: {
payload: "string",
},
s3: {
bucketOwnerAccountId: "string",
uri: "string",
},
},
},
},
credentialProviderConfiguration: {
apiKey: {
providerArn: "string",
credentialLocation: "string",
credentialParameterName: "string",
credentialPrefix: "string",
},
callerIamCredentials: {
service: "string",
region: "string",
},
gatewayIamRole: {
region: "string",
service: "string",
},
jwtPassthrough: {},
oauth: {
providerArn: "string",
scopes: ["string"],
customParameters: {
string: "string",
},
defaultReturnUrl: "string",
grantType: "string",
},
},
description: "string",
metadataConfiguration: {
allowedQueryParameters: ["string"],
allowedRequestHeaders: ["string"],
allowedResponseHeaders: ["string"],
},
name: "string",
privateEndpoint: {
managedVpcResource: {
endpointIpAddressType: "string",
subnetIds: ["string"],
vpcIdentifier: "string",
routingDomain: "string",
securityGroupIds: ["string"],
tags: {
string: "string",
},
},
selfManagedLatticeResource: {
resourceConfigurationIdentifier: "string",
},
},
region: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:bedrock:AgentcoreGatewayTarget
properties:
credentialProviderConfiguration:
apiKey:
credentialLocation: string
credentialParameterName: string
credentialPrefix: string
providerArn: string
callerIamCredentials:
region: string
service: string
gatewayIamRole:
region: string
service: string
jwtPassthrough: {}
oauth:
customParameters:
string: string
defaultReturnUrl: string
grantType: string
providerArn: string
scopes:
- string
description: string
gatewayIdentifier: string
metadataConfiguration:
allowedQueryParameters:
- string
allowedRequestHeaders:
- string
allowedResponseHeaders:
- string
name: string
privateEndpoint:
managedVpcResource:
endpointIpAddressType: string
routingDomain: string
securityGroupIds:
- string
subnetIds:
- string
tags:
string: string
vpcIdentifier: string
selfManagedLatticeResource:
resourceConfigurationIdentifier: string
region: string
targetConfiguration:
http:
agentcoreRuntime:
arn: string
qualifier: string
mcp:
apiGateway:
apiGatewayToolConfiguration:
toolFilters:
- filterPath: string
methods:
- string
toolOverrides:
- description: string
method: string
name: string
path: string
restApiId: string
stage: string
lambda:
lambdaArn: string
toolSchema:
inlinePayloads:
- description: string
inputSchema:
description: string
items:
description: string
items:
description: string
itemsJson: string
propertiesJson: string
type: string
properties:
- description: string
itemsJson: string
name: string
propertiesJson: string
required: false
type: string
type: string
properties:
- description: string
items:
description: string
items:
description: string
itemsJson: string
propertiesJson: string
type: string
properties:
- description: string
itemsJson: string
name: string
propertiesJson: string
required: false
type: string
type: string
name: string
properties:
- description: string
itemsJson: string
name: string
propertiesJson: string
required: false
type: string
required: false
type: string
type: string
name: string
outputSchema:
description: string
items:
description: string
items:
description: string
itemsJson: string
propertiesJson: string
type: string
properties:
- description: string
itemsJson: string
name: string
propertiesJson: string
required: false
type: string
type: string
properties:
- description: string
items:
description: string
items:
description: string
itemsJson: string
propertiesJson: string
type: string
properties:
- description: string
itemsJson: string
name: string
propertiesJson: string
required: false
type: string
type: string
name: string
properties:
- description: string
itemsJson: string
name: string
propertiesJson: string
required: false
type: string
required: false
type: string
type: string
s3:
bucketOwnerAccountId: string
uri: string
mcpServer:
endpoint: string
listingMode: string
openApiSchema:
inlinePayload:
payload: string
s3:
bucketOwnerAccountId: string
uri: string
smithyModel:
inlinePayload:
payload: string
s3:
bucketOwnerAccountId: string
uri: string
timeouts:
create: string
delete: string
update: string
AgentcoreGatewayTarget 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 AgentcoreGatewayTarget resource accepts the following input properties:
- Gateway
Identifier string - Identifier of the gateway that this target belongs to.
- Target
Configuration AgentcoreGateway Target Target Configuration Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- Credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - Description string
- Description of the gateway target.
- Metadata
Configuration AgentcoreGateway Target Metadata Configuration - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - Name string
- Name of the gateway target.
- Private
Endpoint AgentcoreGateway Target Private Endpoint - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
Agentcore
Gateway Target Timeouts
- Gateway
Identifier string - Identifier of the gateway that this target belongs to.
- Target
Configuration AgentcoreGateway Target Target Configuration Args Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- Credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration Args - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - Description string
- Description of the gateway target.
- Metadata
Configuration AgentcoreGateway Target Metadata Configuration Args - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - Name string
- Name of the gateway target.
- Private
Endpoint AgentcoreGateway Target Private Endpoint Args - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
Agentcore
Gateway Target Timeouts Args
- gateway_
identifier string - Identifier of the gateway that this target belongs to.
- target_
configuration object Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- credential_
provider_ objectconfiguration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description string
- Description of the gateway target.
- metadata_
configuration object - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name string
- Name of the gateway target.
- private_
endpoint object - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts object
- gateway
Identifier String - Identifier of the gateway that this target belongs to.
- target
Configuration AgentcoreGateway Target Target Configuration Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description String
- Description of the gateway target.
- metadata
Configuration AgentcoreGateway Target Metadata Configuration - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name String
- Name of the gateway target.
- private
Endpoint AgentcoreGateway Target Private Endpoint - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Agentcore
Gateway Target Timeouts
- gateway
Identifier string - Identifier of the gateway that this target belongs to.
- target
Configuration AgentcoreGateway Target Target Configuration Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description string
- Description of the gateway target.
- metadata
Configuration AgentcoreGateway Target Metadata Configuration - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name string
- Name of the gateway target.
- private
Endpoint AgentcoreGateway Target Private Endpoint - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Agentcore
Gateway Target Timeouts
- gateway_
identifier str - Identifier of the gateway that this target belongs to.
- target_
configuration AgentcoreGateway Target Target Configuration Args Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- credential_
provider_ Agentcoreconfiguration Gateway Target Credential Provider Configuration Args - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description str
- Description of the gateway target.
- metadata_
configuration AgentcoreGateway Target Metadata Configuration Args - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name str
- Name of the gateway target.
- private_
endpoint AgentcoreGateway Target Private Endpoint Args - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Agentcore
Gateway Target Timeouts Args
- gateway
Identifier String - Identifier of the gateway that this target belongs to.
- target
Configuration Property Map Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- credential
Provider Property MapConfiguration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description String
- Description of the gateway target.
- metadata
Configuration Property Map - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name String
- Name of the gateway target.
- private
Endpoint Property Map - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentcoreGatewayTarget resource produces the following output properties:
Look up Existing AgentcoreGatewayTarget Resource
Get an existing AgentcoreGatewayTarget 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?: AgentcoreGatewayTargetState, opts?: CustomResourceOptions): AgentcoreGatewayTarget@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credential_provider_configuration: Optional[AgentcoreGatewayTargetCredentialProviderConfigurationArgs] = None,
description: Optional[str] = None,
gateway_identifier: Optional[str] = None,
metadata_configuration: Optional[AgentcoreGatewayTargetMetadataConfigurationArgs] = None,
name: Optional[str] = None,
private_endpoint: Optional[AgentcoreGatewayTargetPrivateEndpointArgs] = None,
region: Optional[str] = None,
target_configuration: Optional[AgentcoreGatewayTargetTargetConfigurationArgs] = None,
target_id: Optional[str] = None,
timeouts: Optional[AgentcoreGatewayTargetTimeoutsArgs] = None) -> AgentcoreGatewayTargetfunc GetAgentcoreGatewayTarget(ctx *Context, name string, id IDInput, state *AgentcoreGatewayTargetState, opts ...ResourceOption) (*AgentcoreGatewayTarget, error)public static AgentcoreGatewayTarget Get(string name, Input<string> id, AgentcoreGatewayTargetState? state, CustomResourceOptions? opts = null)public static AgentcoreGatewayTarget get(String name, Output<String> id, AgentcoreGatewayTargetState state, CustomResourceOptions options)resources: _: type: aws:bedrock:AgentcoreGatewayTarget get: id: ${id}import {
to = aws_bedrock_agentcoregatewaytarget.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.
- Credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - Description string
- Description of the gateway target.
- Gateway
Identifier string - Identifier of the gateway that this target belongs to.
- Metadata
Configuration AgentcoreGateway Target Metadata Configuration - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - Name string
- Name of the gateway target.
- Private
Endpoint AgentcoreGateway Target Private Endpoint - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Target
Configuration AgentcoreGateway Target Target Configuration Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- Target
Id string - Unique identifier of the gateway target.
- Timeouts
Agentcore
Gateway Target Timeouts
- Credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration Args - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - Description string
- Description of the gateway target.
- Gateway
Identifier string - Identifier of the gateway that this target belongs to.
- Metadata
Configuration AgentcoreGateway Target Metadata Configuration Args - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - Name string
- Name of the gateway target.
- Private
Endpoint AgentcoreGateway Target Private Endpoint Args - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Target
Configuration AgentcoreGateway Target Target Configuration Args Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- Target
Id string - Unique identifier of the gateway target.
- Timeouts
Agentcore
Gateway Target Timeouts Args
- credential_
provider_ objectconfiguration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description string
- Description of the gateway target.
- gateway_
identifier string - Identifier of the gateway that this target belongs to.
- metadata_
configuration object - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name string
- Name of the gateway target.
- private_
endpoint object - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target_
configuration object Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- target_
id string - Unique identifier of the gateway target.
- timeouts object
- credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description String
- Description of the gateway target.
- gateway
Identifier String - Identifier of the gateway that this target belongs to.
- metadata
Configuration AgentcoreGateway Target Metadata Configuration - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name String
- Name of the gateway target.
- private
Endpoint AgentcoreGateway Target Private Endpoint - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target
Configuration AgentcoreGateway Target Target Configuration Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- target
Id String - Unique identifier of the gateway target.
- timeouts
Agentcore
Gateway Target Timeouts
- credential
Provider AgentcoreConfiguration Gateway Target Credential Provider Configuration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description string
- Description of the gateway target.
- gateway
Identifier string - Identifier of the gateway that this target belongs to.
- metadata
Configuration AgentcoreGateway Target Metadata Configuration - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name string
- Name of the gateway target.
- private
Endpoint AgentcoreGateway Target Private Endpoint - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target
Configuration AgentcoreGateway Target Target Configuration Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- target
Id string - Unique identifier of the gateway target.
- timeouts
Agentcore
Gateway Target Timeouts
- credential_
provider_ Agentcoreconfiguration Gateway Target Credential Provider Configuration Args - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description str
- Description of the gateway target.
- gateway_
identifier str - Identifier of the gateway that this target belongs to.
- metadata_
configuration AgentcoreGateway Target Metadata Configuration Args - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name str
- Name of the gateway target.
- private_
endpoint AgentcoreGateway Target Private Endpoint Args - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target_
configuration AgentcoreGateway Target Target Configuration Args Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- target_
id str - Unique identifier of the gateway target.
- timeouts
Agentcore
Gateway Target Timeouts Args
- credential
Provider Property MapConfiguration - Configuration for authenticating requests to the target. Required when using
lambda,openApiSchemaandsmithyModelinmcpblock. If usingmcpServerinmcpblock with no authorization, it should not be specified. SeecredentialProviderConfigurationbelow. - description String
- Description of the gateway target.
- gateway
Identifier String - Identifier of the gateway that this target belongs to.
- metadata
Configuration Property Map - Configuration for HTTP header and query parameter propagation between the gateway and target servers. See
metadataConfigurationbelow. - name String
- Name of the gateway target.
- private
Endpoint Property Map - Configuration for private connectivity from AgentCore Gateway to a resource inside your VPC. Traffic is routed through Amazon VPC Lattice and never traverses the public internet. See
privateEndpointbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- target
Configuration Property Map Configuration for the target endpoint. See
targetConfigurationbelow.The following arguments are optional:
- target
Id String - Unique identifier of the gateway target.
- timeouts Property Map
Supporting Types
AgentcoreGatewayTargetCredentialProviderConfiguration, AgentcoreGatewayTargetCredentialProviderConfigurationArgs
- Api
Key AgentcoreGateway Target Credential Provider Configuration Api Key - API key-based authentication configuration. See
apiKeybelow. - Caller
Iam AgentcoreCredentials Gateway Target Credential Provider Configuration Caller Iam Credentials - Caller IAM credentials-based authentication configuration. See
callerIamCredentialsbelow. - Gateway
Iam AgentcoreRole Gateway Target Credential Provider Configuration Gateway Iam Role - Use the gateway's IAM role for authentication. See
gatewayIamRolebelow. - Jwt
Passthrough AgentcoreGateway Target Credential Provider Configuration Jwt Passthrough - JWT passthrough-based authentication configuration. This is an empty configuration block.
- Oauth
Agentcore
Gateway Target Credential Provider Configuration Oauth - OAuth-based authentication configuration. See
oauthbelow.
- Api
Key AgentcoreGateway Target Credential Provider Configuration Api Key - API key-based authentication configuration. See
apiKeybelow. - Caller
Iam AgentcoreCredentials Gateway Target Credential Provider Configuration Caller Iam Credentials - Caller IAM credentials-based authentication configuration. See
callerIamCredentialsbelow. - Gateway
Iam AgentcoreRole Gateway Target Credential Provider Configuration Gateway Iam Role - Use the gateway's IAM role for authentication. See
gatewayIamRolebelow. - Jwt
Passthrough AgentcoreGateway Target Credential Provider Configuration Jwt Passthrough - JWT passthrough-based authentication configuration. This is an empty configuration block.
- Oauth
Agentcore
Gateway Target Credential Provider Configuration Oauth - OAuth-based authentication configuration. See
oauthbelow.
- api_
key object - API key-based authentication configuration. See
apiKeybelow. - caller_
iam_ objectcredentials - Caller IAM credentials-based authentication configuration. See
callerIamCredentialsbelow. - gateway_
iam_ objectrole - Use the gateway's IAM role for authentication. See
gatewayIamRolebelow. - jwt_
passthrough object - JWT passthrough-based authentication configuration. This is an empty configuration block.
- oauth object
- OAuth-based authentication configuration. See
oauthbelow.
- api
Key AgentcoreGateway Target Credential Provider Configuration Api Key - API key-based authentication configuration. See
apiKeybelow. - caller
Iam AgentcoreCredentials Gateway Target Credential Provider Configuration Caller Iam Credentials - Caller IAM credentials-based authentication configuration. See
callerIamCredentialsbelow. - gateway
Iam AgentcoreRole Gateway Target Credential Provider Configuration Gateway Iam Role - Use the gateway's IAM role for authentication. See
gatewayIamRolebelow. - jwt
Passthrough AgentcoreGateway Target Credential Provider Configuration Jwt Passthrough - JWT passthrough-based authentication configuration. This is an empty configuration block.
- oauth
Agentcore
Gateway Target Credential Provider Configuration Oauth - OAuth-based authentication configuration. See
oauthbelow.
- api
Key AgentcoreGateway Target Credential Provider Configuration Api Key - API key-based authentication configuration. See
apiKeybelow. - caller
Iam AgentcoreCredentials Gateway Target Credential Provider Configuration Caller Iam Credentials - Caller IAM credentials-based authentication configuration. See
callerIamCredentialsbelow. - gateway
Iam AgentcoreRole Gateway Target Credential Provider Configuration Gateway Iam Role - Use the gateway's IAM role for authentication. See
gatewayIamRolebelow. - jwt
Passthrough AgentcoreGateway Target Credential Provider Configuration Jwt Passthrough - JWT passthrough-based authentication configuration. This is an empty configuration block.
- oauth
Agentcore
Gateway Target Credential Provider Configuration Oauth - OAuth-based authentication configuration. See
oauthbelow.
- api_
key AgentcoreGateway Target Credential Provider Configuration Api Key - API key-based authentication configuration. See
apiKeybelow. - caller_
iam_ Agentcorecredentials Gateway Target Credential Provider Configuration Caller Iam Credentials - Caller IAM credentials-based authentication configuration. See
callerIamCredentialsbelow. - gateway_
iam_ Agentcorerole Gateway Target Credential Provider Configuration Gateway Iam Role - Use the gateway's IAM role for authentication. See
gatewayIamRolebelow. - jwt_
passthrough AgentcoreGateway Target Credential Provider Configuration Jwt Passthrough - JWT passthrough-based authentication configuration. This is an empty configuration block.
- oauth
Agentcore
Gateway Target Credential Provider Configuration Oauth - OAuth-based authentication configuration. See
oauthbelow.
- api
Key Property Map - API key-based authentication configuration. See
apiKeybelow. - caller
Iam Property MapCredentials - Caller IAM credentials-based authentication configuration. See
callerIamCredentialsbelow. - gateway
Iam Property MapRole - Use the gateway's IAM role for authentication. See
gatewayIamRolebelow. - jwt
Passthrough Property Map - JWT passthrough-based authentication configuration. This is an empty configuration block.
- oauth Property Map
- OAuth-based authentication configuration. See
oauthbelow.
AgentcoreGatewayTargetCredentialProviderConfigurationApiKey, AgentcoreGatewayTargetCredentialProviderConfigurationApiKeyArgs
- Provider
Arn string - ARN of the OIDC provider for API key authentication.
- Credential
Location string - Location where the API key credential is provided. Valid values:
HEADER,QUERY_PARAMETER. - Credential
Parameter stringName - Name of the parameter containing the API key credential.
- Credential
Prefix string - Prefix to add to the API key credential value.
- Provider
Arn string - ARN of the OIDC provider for API key authentication.
- Credential
Location string - Location where the API key credential is provided. Valid values:
HEADER,QUERY_PARAMETER. - Credential
Parameter stringName - Name of the parameter containing the API key credential.
- Credential
Prefix string - Prefix to add to the API key credential value.
- provider_
arn string - ARN of the OIDC provider for API key authentication.
- credential_
location string - Location where the API key credential is provided. Valid values:
HEADER,QUERY_PARAMETER. - credential_
parameter_ stringname - Name of the parameter containing the API key credential.
- credential_
prefix string - Prefix to add to the API key credential value.
- provider
Arn String - ARN of the OIDC provider for API key authentication.
- credential
Location String - Location where the API key credential is provided. Valid values:
HEADER,QUERY_PARAMETER. - credential
Parameter StringName - Name of the parameter containing the API key credential.
- credential
Prefix String - Prefix to add to the API key credential value.
- provider
Arn string - ARN of the OIDC provider for API key authentication.
- credential
Location string - Location where the API key credential is provided. Valid values:
HEADER,QUERY_PARAMETER. - credential
Parameter stringName - Name of the parameter containing the API key credential.
- credential
Prefix string - Prefix to add to the API key credential value.
- provider_
arn str - ARN of the OIDC provider for API key authentication.
- credential_
location str - Location where the API key credential is provided. Valid values:
HEADER,QUERY_PARAMETER. - credential_
parameter_ strname - Name of the parameter containing the API key credential.
- credential_
prefix str - Prefix to add to the API key credential value.
- provider
Arn String - ARN of the OIDC provider for API key authentication.
- credential
Location String - Location where the API key credential is provided. Valid values:
HEADER,QUERY_PARAMETER. - credential
Parameter StringName - Name of the parameter containing the API key credential.
- credential
Prefix String - Prefix to add to the API key credential value.
AgentcoreGatewayTargetCredentialProviderConfigurationCallerIamCredentials, AgentcoreGatewayTargetCredentialProviderConfigurationCallerIamCredentialsArgs
AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRole, AgentcoreGatewayTargetCredentialProviderConfigurationGatewayIamRoleArgs
- Region string
- AWS Region used for SigV4 signing of upstream requests. Defaults to the gateway's Region when omitted. Only meaningful when
serviceis set. - Service string
- The target AWS service name used for SigV4 signing of upstream requests. Required when calling SigV4-protected endpoints such as another Bedrock AgentCore Runtime (use
bedrock-agentcore). Omit for non-SigV4 IAM-role-based authentication, in which case the block can be empty (gatewayIamRole {}).
- Region string
- AWS Region used for SigV4 signing of upstream requests. Defaults to the gateway's Region when omitted. Only meaningful when
serviceis set. - Service string
- The target AWS service name used for SigV4 signing of upstream requests. Required when calling SigV4-protected endpoints such as another Bedrock AgentCore Runtime (use
bedrock-agentcore). Omit for non-SigV4 IAM-role-based authentication, in which case the block can be empty (gatewayIamRole {}).
- region string
- AWS Region used for SigV4 signing of upstream requests. Defaults to the gateway's Region when omitted. Only meaningful when
serviceis set. - service string
- The target AWS service name used for SigV4 signing of upstream requests. Required when calling SigV4-protected endpoints such as another Bedrock AgentCore Runtime (use
bedrock-agentcore). Omit for non-SigV4 IAM-role-based authentication, in which case the block can be empty (gatewayIamRole {}).
- region String
- AWS Region used for SigV4 signing of upstream requests. Defaults to the gateway's Region when omitted. Only meaningful when
serviceis set. - service String
- The target AWS service name used for SigV4 signing of upstream requests. Required when calling SigV4-protected endpoints such as another Bedrock AgentCore Runtime (use
bedrock-agentcore). Omit for non-SigV4 IAM-role-based authentication, in which case the block can be empty (gatewayIamRole {}).
- region string
- AWS Region used for SigV4 signing of upstream requests. Defaults to the gateway's Region when omitted. Only meaningful when
serviceis set. - service string
- The target AWS service name used for SigV4 signing of upstream requests. Required when calling SigV4-protected endpoints such as another Bedrock AgentCore Runtime (use
bedrock-agentcore). Omit for non-SigV4 IAM-role-based authentication, in which case the block can be empty (gatewayIamRole {}).
- region str
- AWS Region used for SigV4 signing of upstream requests. Defaults to the gateway's Region when omitted. Only meaningful when
serviceis set. - service str
- The target AWS service name used for SigV4 signing of upstream requests. Required when calling SigV4-protected endpoints such as another Bedrock AgentCore Runtime (use
bedrock-agentcore). Omit for non-SigV4 IAM-role-based authentication, in which case the block can be empty (gatewayIamRole {}).
- region String
- AWS Region used for SigV4 signing of upstream requests. Defaults to the gateway's Region when omitted. Only meaningful when
serviceis set. - service String
- The target AWS service name used for SigV4 signing of upstream requests. Required when calling SigV4-protected endpoints such as another Bedrock AgentCore Runtime (use
bedrock-agentcore). Omit for non-SigV4 IAM-role-based authentication, in which case the block can be empty (gatewayIamRole {}).
AgentcoreGatewayTargetCredentialProviderConfigurationOauth, AgentcoreGatewayTargetCredentialProviderConfigurationOauthArgs
- Provider
Arn string - ARN of the Oauth credential provider for OAuth authentication.
- Scopes List<string>
- Set of OAuth scopes to request.
- Custom
Parameters Dictionary<string, string> - Map of custom parameters to include in OAuth requests.
- Default
Return stringUrl - The URL where the end user's browser is redirected after obtaining the authorization code. Required when
grantTypeisAUTHORIZATION_CODE. - Grant
Type string - The OAuth grant type. Valid values:
CLIENT_CREDENTIALS(machine-to-machine authentication),AUTHORIZATION_CODE(user-delegated access).
- Provider
Arn string - ARN of the Oauth credential provider for OAuth authentication.
- Scopes []string
- Set of OAuth scopes to request.
- Custom
Parameters map[string]string - Map of custom parameters to include in OAuth requests.
- Default
Return stringUrl - The URL where the end user's browser is redirected after obtaining the authorization code. Required when
grantTypeisAUTHORIZATION_CODE. - Grant
Type string - The OAuth grant type. Valid values:
CLIENT_CREDENTIALS(machine-to-machine authentication),AUTHORIZATION_CODE(user-delegated access).
- provider_
arn string - ARN of the Oauth credential provider for OAuth authentication.
- scopes list(string)
- Set of OAuth scopes to request.
- custom_
parameters map(string) - Map of custom parameters to include in OAuth requests.
- default_
return_ stringurl - The URL where the end user's browser is redirected after obtaining the authorization code. Required when
grantTypeisAUTHORIZATION_CODE. - grant_
type string - The OAuth grant type. Valid values:
CLIENT_CREDENTIALS(machine-to-machine authentication),AUTHORIZATION_CODE(user-delegated access).
- provider
Arn String - ARN of the Oauth credential provider for OAuth authentication.
- scopes List<String>
- Set of OAuth scopes to request.
- custom
Parameters Map<String,String> - Map of custom parameters to include in OAuth requests.
- default
Return StringUrl - The URL where the end user's browser is redirected after obtaining the authorization code. Required when
grantTypeisAUTHORIZATION_CODE. - grant
Type String - The OAuth grant type. Valid values:
CLIENT_CREDENTIALS(machine-to-machine authentication),AUTHORIZATION_CODE(user-delegated access).
- provider
Arn string - ARN of the Oauth credential provider for OAuth authentication.
- scopes string[]
- Set of OAuth scopes to request.
- custom
Parameters {[key: string]: string} - Map of custom parameters to include in OAuth requests.
- default
Return stringUrl - The URL where the end user's browser is redirected after obtaining the authorization code. Required when
grantTypeisAUTHORIZATION_CODE. - grant
Type string - The OAuth grant type. Valid values:
CLIENT_CREDENTIALS(machine-to-machine authentication),AUTHORIZATION_CODE(user-delegated access).
- provider_
arn str - ARN of the Oauth credential provider for OAuth authentication.
- scopes Sequence[str]
- Set of OAuth scopes to request.
- custom_
parameters Mapping[str, str] - Map of custom parameters to include in OAuth requests.
- default_
return_ strurl - The URL where the end user's browser is redirected after obtaining the authorization code. Required when
grantTypeisAUTHORIZATION_CODE. - grant_
type str - The OAuth grant type. Valid values:
CLIENT_CREDENTIALS(machine-to-machine authentication),AUTHORIZATION_CODE(user-delegated access).
- provider
Arn String - ARN of the Oauth credential provider for OAuth authentication.
- scopes List<String>
- Set of OAuth scopes to request.
- custom
Parameters Map<String> - Map of custom parameters to include in OAuth requests.
- default
Return StringUrl - The URL where the end user's browser is redirected after obtaining the authorization code. Required when
grantTypeisAUTHORIZATION_CODE. - grant
Type String - The OAuth grant type. Valid values:
CLIENT_CREDENTIALS(machine-to-machine authentication),AUTHORIZATION_CODE(user-delegated access).
AgentcoreGatewayTargetMetadataConfiguration, AgentcoreGatewayTargetMetadataConfigurationArgs
- Allowed
Query List<string>Parameters - A set of URL query parameters that are allowed to be propagated from incoming gateway URL to the target. Maximum of 10 parameters.
- Allowed
Request List<string>Headers - A set of HTTP headers that are allowed to be propagated from incoming client requests to the target. Maximum of 10 headers.
- Allowed
Response List<string>Headers A set of HTTP headers that are allowed to be propagated from the target response back to the client. Maximum of 10 headers.
Note: Header names must contain only alphanumeric characters, hyphens, and underscores. A large number of standard HTTP headers are restricted and cannot be configured for propagation, including authentication, content negotiation, caching, security, CORS, and connection management headers. Headers starting with
X-Amzn-are prohibited except forX-Amzn-Bedrock-AgentCore-Runtime-Custom-*headers. These restrictions are enforced by schema validation. For the full list of restricted headers, see the AWS documentation.
- Allowed
Query []stringParameters - A set of URL query parameters that are allowed to be propagated from incoming gateway URL to the target. Maximum of 10 parameters.
- Allowed
Request []stringHeaders - A set of HTTP headers that are allowed to be propagated from incoming client requests to the target. Maximum of 10 headers.
- Allowed
Response []stringHeaders A set of HTTP headers that are allowed to be propagated from the target response back to the client. Maximum of 10 headers.
Note: Header names must contain only alphanumeric characters, hyphens, and underscores. A large number of standard HTTP headers are restricted and cannot be configured for propagation, including authentication, content negotiation, caching, security, CORS, and connection management headers. Headers starting with
X-Amzn-are prohibited except forX-Amzn-Bedrock-AgentCore-Runtime-Custom-*headers. These restrictions are enforced by schema validation. For the full list of restricted headers, see the AWS documentation.
- allowed_
query_ list(string)parameters - A set of URL query parameters that are allowed to be propagated from incoming gateway URL to the target. Maximum of 10 parameters.
- allowed_
request_ list(string)headers - A set of HTTP headers that are allowed to be propagated from incoming client requests to the target. Maximum of 10 headers.
- allowed_
response_ list(string)headers A set of HTTP headers that are allowed to be propagated from the target response back to the client. Maximum of 10 headers.
Note: Header names must contain only alphanumeric characters, hyphens, and underscores. A large number of standard HTTP headers are restricted and cannot be configured for propagation, including authentication, content negotiation, caching, security, CORS, and connection management headers. Headers starting with
X-Amzn-are prohibited except forX-Amzn-Bedrock-AgentCore-Runtime-Custom-*headers. These restrictions are enforced by schema validation. For the full list of restricted headers, see the AWS documentation.
- allowed
Query List<String>Parameters - A set of URL query parameters that are allowed to be propagated from incoming gateway URL to the target. Maximum of 10 parameters.
- allowed
Request List<String>Headers - A set of HTTP headers that are allowed to be propagated from incoming client requests to the target. Maximum of 10 headers.
- allowed
Response List<String>Headers A set of HTTP headers that are allowed to be propagated from the target response back to the client. Maximum of 10 headers.
Note: Header names must contain only alphanumeric characters, hyphens, and underscores. A large number of standard HTTP headers are restricted and cannot be configured for propagation, including authentication, content negotiation, caching, security, CORS, and connection management headers. Headers starting with
X-Amzn-are prohibited except forX-Amzn-Bedrock-AgentCore-Runtime-Custom-*headers. These restrictions are enforced by schema validation. For the full list of restricted headers, see the AWS documentation.
- allowed
Query string[]Parameters - A set of URL query parameters that are allowed to be propagated from incoming gateway URL to the target. Maximum of 10 parameters.
- allowed
Request string[]Headers - A set of HTTP headers that are allowed to be propagated from incoming client requests to the target. Maximum of 10 headers.
- allowed
Response string[]Headers A set of HTTP headers that are allowed to be propagated from the target response back to the client. Maximum of 10 headers.
Note: Header names must contain only alphanumeric characters, hyphens, and underscores. A large number of standard HTTP headers are restricted and cannot be configured for propagation, including authentication, content negotiation, caching, security, CORS, and connection management headers. Headers starting with
X-Amzn-are prohibited except forX-Amzn-Bedrock-AgentCore-Runtime-Custom-*headers. These restrictions are enforced by schema validation. For the full list of restricted headers, see the AWS documentation.
- allowed_
query_ Sequence[str]parameters - A set of URL query parameters that are allowed to be propagated from incoming gateway URL to the target. Maximum of 10 parameters.
- allowed_
request_ Sequence[str]headers - A set of HTTP headers that are allowed to be propagated from incoming client requests to the target. Maximum of 10 headers.
- allowed_
response_ Sequence[str]headers A set of HTTP headers that are allowed to be propagated from the target response back to the client. Maximum of 10 headers.
Note: Header names must contain only alphanumeric characters, hyphens, and underscores. A large number of standard HTTP headers are restricted and cannot be configured for propagation, including authentication, content negotiation, caching, security, CORS, and connection management headers. Headers starting with
X-Amzn-are prohibited except forX-Amzn-Bedrock-AgentCore-Runtime-Custom-*headers. These restrictions are enforced by schema validation. For the full list of restricted headers, see the AWS documentation.
- allowed
Query List<String>Parameters - A set of URL query parameters that are allowed to be propagated from incoming gateway URL to the target. Maximum of 10 parameters.
- allowed
Request List<String>Headers - A set of HTTP headers that are allowed to be propagated from incoming client requests to the target. Maximum of 10 headers.
- allowed
Response List<String>Headers A set of HTTP headers that are allowed to be propagated from the target response back to the client. Maximum of 10 headers.
Note: Header names must contain only alphanumeric characters, hyphens, and underscores. A large number of standard HTTP headers are restricted and cannot be configured for propagation, including authentication, content negotiation, caching, security, CORS, and connection management headers. Headers starting with
X-Amzn-are prohibited except forX-Amzn-Bedrock-AgentCore-Runtime-Custom-*headers. These restrictions are enforced by schema validation. For the full list of restricted headers, see the AWS documentation.
AgentcoreGatewayTargetPrivateEndpoint, AgentcoreGatewayTargetPrivateEndpointArgs
- Managed
Vpc AgentcoreResource Gateway Target Private Endpoint Managed Vpc Resource - AWS creates and manages the VPC Lattice resource gateway and resource configuration on your behalf using a service-linked role. See
managedVpcResourcebelow. - Self
Managed AgentcoreLattice Resource Gateway Target Private Endpoint Self Managed Lattice Resource - Use an existing VPC Lattice resource configuration that you manage yourself. Useful for cross-account setups or advanced Lattice configurations. See
selfManagedLatticeResourcebelow.
- Managed
Vpc AgentcoreResource Gateway Target Private Endpoint Managed Vpc Resource - AWS creates and manages the VPC Lattice resource gateway and resource configuration on your behalf using a service-linked role. See
managedVpcResourcebelow. - Self
Managed AgentcoreLattice Resource Gateway Target Private Endpoint Self Managed Lattice Resource - Use an existing VPC Lattice resource configuration that you manage yourself. Useful for cross-account setups or advanced Lattice configurations. See
selfManagedLatticeResourcebelow.
- managed_
vpc_ objectresource - AWS creates and manages the VPC Lattice resource gateway and resource configuration on your behalf using a service-linked role. See
managedVpcResourcebelow. - self_
managed_ objectlattice_ resource - Use an existing VPC Lattice resource configuration that you manage yourself. Useful for cross-account setups or advanced Lattice configurations. See
selfManagedLatticeResourcebelow.
- managed
Vpc AgentcoreResource Gateway Target Private Endpoint Managed Vpc Resource - AWS creates and manages the VPC Lattice resource gateway and resource configuration on your behalf using a service-linked role. See
managedVpcResourcebelow. - self
Managed AgentcoreLattice Resource Gateway Target Private Endpoint Self Managed Lattice Resource - Use an existing VPC Lattice resource configuration that you manage yourself. Useful for cross-account setups or advanced Lattice configurations. See
selfManagedLatticeResourcebelow.
- managed
Vpc AgentcoreResource Gateway Target Private Endpoint Managed Vpc Resource - AWS creates and manages the VPC Lattice resource gateway and resource configuration on your behalf using a service-linked role. See
managedVpcResourcebelow. - self
Managed AgentcoreLattice Resource Gateway Target Private Endpoint Self Managed Lattice Resource - Use an existing VPC Lattice resource configuration that you manage yourself. Useful for cross-account setups or advanced Lattice configurations. See
selfManagedLatticeResourcebelow.
- managed_
vpc_ Agentcoreresource Gateway Target Private Endpoint Managed Vpc Resource - AWS creates and manages the VPC Lattice resource gateway and resource configuration on your behalf using a service-linked role. See
managedVpcResourcebelow. - self_
managed_ Agentcorelattice_ resource Gateway Target Private Endpoint Self Managed Lattice Resource - Use an existing VPC Lattice resource configuration that you manage yourself. Useful for cross-account setups or advanced Lattice configurations. See
selfManagedLatticeResourcebelow.
- managed
Vpc Property MapResource - AWS creates and manages the VPC Lattice resource gateway and resource configuration on your behalf using a service-linked role. See
managedVpcResourcebelow. - self
Managed Property MapLattice Resource - Use an existing VPC Lattice resource configuration that you manage yourself. Useful for cross-account setups or advanced Lattice configurations. See
selfManagedLatticeResourcebelow.
AgentcoreGatewayTargetPrivateEndpointManagedVpcResource, AgentcoreGatewayTargetPrivateEndpointManagedVpcResourceArgs
- Endpoint
Ip stringAddress Type - IP address type for the resource configuration endpoint. Valid values:
IPV4,IPV6. - Subnet
Ids List<string> - Set of subnet IDs inside the VPC where Lattice ENIs are placed.
- Vpc
Identifier string - ID of the VPC that contains the private resource.
- Routing
Domain string - Intermediate domain (e.g. a VPCE or ALB DNS name) to use instead of the actual target domain. Useful when the MCP server uses a private TLS certificate — place an ALB with a public ACM cert in front and set this to the ALB DNS name.
- Security
Group List<string>Ids - Set of security group IDs (up to 5) to associate with the Lattice resource gateway. Defaults to the VPC default security group.
- Dictionary<string, string>
- Map of tags to apply to the managed Lattice resource gateway.
- Endpoint
Ip stringAddress Type - IP address type for the resource configuration endpoint. Valid values:
IPV4,IPV6. - Subnet
Ids []string - Set of subnet IDs inside the VPC where Lattice ENIs are placed.
- Vpc
Identifier string - ID of the VPC that contains the private resource.
- Routing
Domain string - Intermediate domain (e.g. a VPCE or ALB DNS name) to use instead of the actual target domain. Useful when the MCP server uses a private TLS certificate — place an ALB with a public ACM cert in front and set this to the ALB DNS name.
- Security
Group []stringIds - Set of security group IDs (up to 5) to associate with the Lattice resource gateway. Defaults to the VPC default security group.
- map[string]string
- Map of tags to apply to the managed Lattice resource gateway.
- endpoint_
ip_ stringaddress_ type - IP address type for the resource configuration endpoint. Valid values:
IPV4,IPV6. - subnet_
ids list(string) - Set of subnet IDs inside the VPC where Lattice ENIs are placed.
- vpc_
identifier string - ID of the VPC that contains the private resource.
- routing_
domain string - Intermediate domain (e.g. a VPCE or ALB DNS name) to use instead of the actual target domain. Useful when the MCP server uses a private TLS certificate — place an ALB with a public ACM cert in front and set this to the ALB DNS name.
- security_
group_ list(string)ids - Set of security group IDs (up to 5) to associate with the Lattice resource gateway. Defaults to the VPC default security group.
- map(string)
- Map of tags to apply to the managed Lattice resource gateway.
- endpoint
Ip StringAddress Type - IP address type for the resource configuration endpoint. Valid values:
IPV4,IPV6. - subnet
Ids List<String> - Set of subnet IDs inside the VPC where Lattice ENIs are placed.
- vpc
Identifier String - ID of the VPC that contains the private resource.
- routing
Domain String - Intermediate domain (e.g. a VPCE or ALB DNS name) to use instead of the actual target domain. Useful when the MCP server uses a private TLS certificate — place an ALB with a public ACM cert in front and set this to the ALB DNS name.
- security
Group List<String>Ids - Set of security group IDs (up to 5) to associate with the Lattice resource gateway. Defaults to the VPC default security group.
- Map<String,String>
- Map of tags to apply to the managed Lattice resource gateway.
- endpoint
Ip stringAddress Type - IP address type for the resource configuration endpoint. Valid values:
IPV4,IPV6. - subnet
Ids string[] - Set of subnet IDs inside the VPC where Lattice ENIs are placed.
- vpc
Identifier string - ID of the VPC that contains the private resource.
- routing
Domain string - Intermediate domain (e.g. a VPCE or ALB DNS name) to use instead of the actual target domain. Useful when the MCP server uses a private TLS certificate — place an ALB with a public ACM cert in front and set this to the ALB DNS name.
- security
Group string[]Ids - Set of security group IDs (up to 5) to associate with the Lattice resource gateway. Defaults to the VPC default security group.
- {[key: string]: string}
- Map of tags to apply to the managed Lattice resource gateway.
- endpoint_
ip_ straddress_ type - IP address type for the resource configuration endpoint. Valid values:
IPV4,IPV6. - subnet_
ids Sequence[str] - Set of subnet IDs inside the VPC where Lattice ENIs are placed.
- vpc_
identifier str - ID of the VPC that contains the private resource.
- routing_
domain str - Intermediate domain (e.g. a VPCE or ALB DNS name) to use instead of the actual target domain. Useful when the MCP server uses a private TLS certificate — place an ALB with a public ACM cert in front and set this to the ALB DNS name.
- security_
group_ Sequence[str]ids - Set of security group IDs (up to 5) to associate with the Lattice resource gateway. Defaults to the VPC default security group.
- Mapping[str, str]
- Map of tags to apply to the managed Lattice resource gateway.
- endpoint
Ip StringAddress Type - IP address type for the resource configuration endpoint. Valid values:
IPV4,IPV6. - subnet
Ids List<String> - Set of subnet IDs inside the VPC where Lattice ENIs are placed.
- vpc
Identifier String - ID of the VPC that contains the private resource.
- routing
Domain String - Intermediate domain (e.g. a VPCE or ALB DNS name) to use instead of the actual target domain. Useful when the MCP server uses a private TLS certificate — place an ALB with a public ACM cert in front and set this to the ALB DNS name.
- security
Group List<String>Ids - Set of security group IDs (up to 5) to associate with the Lattice resource gateway. Defaults to the VPC default security group.
- Map<String>
- Map of tags to apply to the managed Lattice resource gateway.
AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResource, AgentcoreGatewayTargetPrivateEndpointSelfManagedLatticeResourceArgs
- Resource
Configuration stringIdentifier - ARN or ID of the VPC Lattice resource configuration.
- Resource
Configuration stringIdentifier - ARN or ID of the VPC Lattice resource configuration.
- resource_
configuration_ stringidentifier - ARN or ID of the VPC Lattice resource configuration.
- resource
Configuration StringIdentifier - ARN or ID of the VPC Lattice resource configuration.
- resource
Configuration stringIdentifier - ARN or ID of the VPC Lattice resource configuration.
- resource_
configuration_ stridentifier - ARN or ID of the VPC Lattice resource configuration.
- resource
Configuration StringIdentifier - ARN or ID of the VPC Lattice resource configuration.
AgentcoreGatewayTargetTargetConfiguration, AgentcoreGatewayTargetTargetConfigurationArgs
- Http
Agentcore
Gateway Target Target Configuration Http - HTTP target configuration for routing requests directly to an AgentCore Runtime agent. See
httpbelow. - Mcp
Agentcore
Gateway Target Target Configuration Mcp - Model Context Protocol (MCP) configuration. See
mcpbelow.
- Http
Agentcore
Gateway Target Target Configuration Http - HTTP target configuration for routing requests directly to an AgentCore Runtime agent. See
httpbelow. - Mcp
Agentcore
Gateway Target Target Configuration Mcp - Model Context Protocol (MCP) configuration. See
mcpbelow.
- http
Agentcore
Gateway Target Target Configuration Http - HTTP target configuration for routing requests directly to an AgentCore Runtime agent. See
httpbelow. - mcp
Agentcore
Gateway Target Target Configuration Mcp - Model Context Protocol (MCP) configuration. See
mcpbelow.
- http
Agentcore
Gateway Target Target Configuration Http - HTTP target configuration for routing requests directly to an AgentCore Runtime agent. See
httpbelow. - mcp
Agentcore
Gateway Target Target Configuration Mcp - Model Context Protocol (MCP) configuration. See
mcpbelow.
- http
Agentcore
Gateway Target Target Configuration Http - HTTP target configuration for routing requests directly to an AgentCore Runtime agent. See
httpbelow. - mcp
Agentcore
Gateway Target Target Configuration Mcp - Model Context Protocol (MCP) configuration. See
mcpbelow.
- http Property Map
- HTTP target configuration for routing requests directly to an AgentCore Runtime agent. See
httpbelow. - mcp Property Map
- Model Context Protocol (MCP) configuration. See
mcpbelow.
AgentcoreGatewayTargetTargetConfigurationHttp, AgentcoreGatewayTargetTargetConfigurationHttpArgs
- Agentcore
Runtime AgentcoreGateway Target Target Configuration Http Agentcore Runtime AgentCore Runtime target configuration. See
agentcoreRuntimebelow.Note: HTTP targets can only be attached to gateways that do not have a
protocolTypeset. They are not supported on MCP-protocol gateways.
- Agentcore
Runtime AgentcoreGateway Target Target Configuration Http Agentcore Runtime AgentCore Runtime target configuration. See
agentcoreRuntimebelow.Note: HTTP targets can only be attached to gateways that do not have a
protocolTypeset. They are not supported on MCP-protocol gateways.
- agentcore_
runtime object AgentCore Runtime target configuration. See
agentcoreRuntimebelow.Note: HTTP targets can only be attached to gateways that do not have a
protocolTypeset. They are not supported on MCP-protocol gateways.
- agentcore
Runtime AgentcoreGateway Target Target Configuration Http Agentcore Runtime AgentCore Runtime target configuration. See
agentcoreRuntimebelow.Note: HTTP targets can only be attached to gateways that do not have a
protocolTypeset. They are not supported on MCP-protocol gateways.
- agentcore
Runtime AgentcoreGateway Target Target Configuration Http Agentcore Runtime AgentCore Runtime target configuration. See
agentcoreRuntimebelow.Note: HTTP targets can only be attached to gateways that do not have a
protocolTypeset. They are not supported on MCP-protocol gateways.
- agentcore_
runtime AgentcoreGateway Target Target Configuration Http Agentcore Runtime AgentCore Runtime target configuration. See
agentcoreRuntimebelow.Note: HTTP targets can only be attached to gateways that do not have a
protocolTypeset. They are not supported on MCP-protocol gateways.
- agentcore
Runtime Property Map AgentCore Runtime target configuration. See
agentcoreRuntimebelow.Note: HTTP targets can only be attached to gateways that do not have a
protocolTypeset. They are not supported on MCP-protocol gateways.
AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntime, AgentcoreGatewayTargetTargetConfigurationHttpAgentcoreRuntimeArgs
AgentcoreGatewayTargetTargetConfigurationMcp, AgentcoreGatewayTargetTargetConfigurationMcpArgs
- Api
Gateway AgentcoreGateway Target Target Configuration Mcp Api Gateway - API Gateway target configuration. See
apiGatewaybelow. - Lambda
Agentcore
Gateway Target Target Configuration Mcp Lambda - Lambda function target configuration. See
lambdabelow. - Mcp
Server AgentcoreGateway Target Target Configuration Mcp Mcp Server - MCP server target configuration. See
mcpServerbelow. - Open
Api AgentcoreSchema Gateway Target Target Configuration Mcp Open Api Schema - OpenAPI schema-based target configuration. See
apiSchemaConfigurationbelow. - Smithy
Model AgentcoreGateway Target Target Configuration Mcp Smithy Model - Smithy model-based target configuration. See
apiSchemaConfigurationbelow.
- Api
Gateway AgentcoreGateway Target Target Configuration Mcp Api Gateway - API Gateway target configuration. See
apiGatewaybelow. - Lambda
Agentcore
Gateway Target Target Configuration Mcp Lambda - Lambda function target configuration. See
lambdabelow. - Mcp
Server AgentcoreGateway Target Target Configuration Mcp Mcp Server - MCP server target configuration. See
mcpServerbelow. - Open
Api AgentcoreSchema Gateway Target Target Configuration Mcp Open Api Schema - OpenAPI schema-based target configuration. See
apiSchemaConfigurationbelow. - Smithy
Model AgentcoreGateway Target Target Configuration Mcp Smithy Model - Smithy model-based target configuration. See
apiSchemaConfigurationbelow.
- api_
gateway object - API Gateway target configuration. See
apiGatewaybelow. - lambda object
- Lambda function target configuration. See
lambdabelow. - mcp_
server object - MCP server target configuration. See
mcpServerbelow. - open_
api_ objectschema - OpenAPI schema-based target configuration. See
apiSchemaConfigurationbelow. - smithy_
model object - Smithy model-based target configuration. See
apiSchemaConfigurationbelow.
- api
Gateway AgentcoreGateway Target Target Configuration Mcp Api Gateway - API Gateway target configuration. See
apiGatewaybelow. - lambda
Agentcore
Gateway Target Target Configuration Mcp Lambda - Lambda function target configuration. See
lambdabelow. - mcp
Server AgentcoreGateway Target Target Configuration Mcp Mcp Server - MCP server target configuration. See
mcpServerbelow. - open
Api AgentcoreSchema Gateway Target Target Configuration Mcp Open Api Schema - OpenAPI schema-based target configuration. See
apiSchemaConfigurationbelow. - smithy
Model AgentcoreGateway Target Target Configuration Mcp Smithy Model - Smithy model-based target configuration. See
apiSchemaConfigurationbelow.
- api
Gateway AgentcoreGateway Target Target Configuration Mcp Api Gateway - API Gateway target configuration. See
apiGatewaybelow. - lambda
Agentcore
Gateway Target Target Configuration Mcp Lambda - Lambda function target configuration. See
lambdabelow. - mcp
Server AgentcoreGateway Target Target Configuration Mcp Mcp Server - MCP server target configuration. See
mcpServerbelow. - open
Api AgentcoreSchema Gateway Target Target Configuration Mcp Open Api Schema - OpenAPI schema-based target configuration. See
apiSchemaConfigurationbelow. - smithy
Model AgentcoreGateway Target Target Configuration Mcp Smithy Model - Smithy model-based target configuration. See
apiSchemaConfigurationbelow.
- api_
gateway AgentcoreGateway Target Target Configuration Mcp Api Gateway - API Gateway target configuration. See
apiGatewaybelow. - lambda_
Agentcore
Gateway Target Target Configuration Mcp Lambda - Lambda function target configuration. See
lambdabelow. - mcp_
server AgentcoreGateway Target Target Configuration Mcp Mcp Server - MCP server target configuration. See
mcpServerbelow. - open_
api_ Agentcoreschema Gateway Target Target Configuration Mcp Open Api Schema - OpenAPI schema-based target configuration. See
apiSchemaConfigurationbelow. - smithy_
model AgentcoreGateway Target Target Configuration Mcp Smithy Model - Smithy model-based target configuration. See
apiSchemaConfigurationbelow.
- api
Gateway Property Map - API Gateway target configuration. See
apiGatewaybelow. - lambda Property Map
- Lambda function target configuration. See
lambdabelow. - mcp
Server Property Map - MCP server target configuration. See
mcpServerbelow. - open
Api Property MapSchema - OpenAPI schema-based target configuration. See
apiSchemaConfigurationbelow. - smithy
Model Property Map - Smithy model-based target configuration. See
apiSchemaConfigurationbelow.
AgentcoreGatewayTargetTargetConfigurationMcpApiGateway, AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayArgs
- Rest
Api stringId - ID of the API Gateway REST API to invoke.
- Stage string
- Stage name of the REST API to add as a target.
- Api
Gateway AgentcoreTool Configuration Gateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration - Configuration for API Gateway tools. See
apiGatewayToolConfigurationbelow.
- Rest
Api stringId - ID of the API Gateway REST API to invoke.
- Stage string
- Stage name of the REST API to add as a target.
- Api
Gateway AgentcoreTool Configuration Gateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration - Configuration for API Gateway tools. See
apiGatewayToolConfigurationbelow.
- rest_
api_ stringid - ID of the API Gateway REST API to invoke.
- stage string
- Stage name of the REST API to add as a target.
- api_
gateway_ objecttool_ configuration - Configuration for API Gateway tools. See
apiGatewayToolConfigurationbelow.
- rest
Api StringId - ID of the API Gateway REST API to invoke.
- stage String
- Stage name of the REST API to add as a target.
- api
Gateway AgentcoreTool Configuration Gateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration - Configuration for API Gateway tools. See
apiGatewayToolConfigurationbelow.
- rest
Api stringId - ID of the API Gateway REST API to invoke.
- stage string
- Stage name of the REST API to add as a target.
- api
Gateway AgentcoreTool Configuration Gateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration - Configuration for API Gateway tools. See
apiGatewayToolConfigurationbelow.
- rest_
api_ strid - ID of the API Gateway REST API to invoke.
- stage str
- Stage name of the REST API to add as a target.
- api_
gateway_ Agentcoretool_ configuration Gateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration - Configuration for API Gateway tools. See
apiGatewayToolConfigurationbelow.
- rest
Api StringId - ID of the API Gateway REST API to invoke.
- stage String
- Stage name of the REST API to add as a target.
- api
Gateway Property MapTool Configuration - Configuration for API Gateway tools. See
apiGatewayToolConfigurationbelow.
AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfiguration, AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationArgs
- Tool
Filters List<AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Filter> - Repeatable block of path and method patterns to expose as tools. See
toolFilterbelow. - Tool
Overrides List<AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Override> - Repeatable block of explicit tool definitions with optional custom names and descriptions. See
toolOverridebelow.
- Tool
Filters []AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Filter - Repeatable block of path and method patterns to expose as tools. See
toolFilterbelow. - Tool
Overrides []AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Override - Repeatable block of explicit tool definitions with optional custom names and descriptions. See
toolOverridebelow.
- tool_
filters list(object) - Repeatable block of path and method patterns to expose as tools. See
toolFilterbelow. - tool_
overrides list(object) - Repeatable block of explicit tool definitions with optional custom names and descriptions. See
toolOverridebelow.
- tool
Filters List<AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Filter> - Repeatable block of path and method patterns to expose as tools. See
toolFilterbelow. - tool
Overrides List<AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Override> - Repeatable block of explicit tool definitions with optional custom names and descriptions. See
toolOverridebelow.
- tool
Filters AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Filter[] - Repeatable block of path and method patterns to expose as tools. See
toolFilterbelow. - tool
Overrides AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Override[] - Repeatable block of explicit tool definitions with optional custom names and descriptions. See
toolOverridebelow.
- tool_
filters Sequence[AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Filter] - Repeatable block of path and method patterns to expose as tools. See
toolFilterbelow. - tool_
overrides Sequence[AgentcoreGateway Target Target Configuration Mcp Api Gateway Api Gateway Tool Configuration Tool Override] - Repeatable block of explicit tool definitions with optional custom names and descriptions. See
toolOverridebelow.
- tool
Filters List<Property Map> - Repeatable block of path and method patterns to expose as tools. See
toolFilterbelow. - tool
Overrides List<Property Map> - Repeatable block of explicit tool definitions with optional custom names and descriptions. See
toolOverridebelow.
AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolFilter, AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolFilterArgs
- Filter
Path string - Resource path to match in the REST API. Supports exact paths (for example,
/pets) or wildcard paths (for example,/pets/*to match all paths under/pets). Must match existing paths in the REST API. - Methods List<string>
- List of HTTP methods to filter for. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST.
- Filter
Path string - Resource path to match in the REST API. Supports exact paths (for example,
/pets) or wildcard paths (for example,/pets/*to match all paths under/pets). Must match existing paths in the REST API. - Methods []string
- List of HTTP methods to filter for. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST.
- filter_
path string - Resource path to match in the REST API. Supports exact paths (for example,
/pets) or wildcard paths (for example,/pets/*to match all paths under/pets). Must match existing paths in the REST API. - methods list(string)
- List of HTTP methods to filter for. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST.
- filter
Path String - Resource path to match in the REST API. Supports exact paths (for example,
/pets) or wildcard paths (for example,/pets/*to match all paths under/pets). Must match existing paths in the REST API. - methods List<String>
- List of HTTP methods to filter for. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST.
- filter
Path string - Resource path to match in the REST API. Supports exact paths (for example,
/pets) or wildcard paths (for example,/pets/*to match all paths under/pets). Must match existing paths in the REST API. - methods string[]
- List of HTTP methods to filter for. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST.
- filter_
path str - Resource path to match in the REST API. Supports exact paths (for example,
/pets) or wildcard paths (for example,/pets/*to match all paths under/pets). Must match existing paths in the REST API. - methods Sequence[str]
- List of HTTP methods to filter for. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST.
- filter
Path String - Resource path to match in the REST API. Supports exact paths (for example,
/pets) or wildcard paths (for example,/pets/*to match all paths under/pets). Must match existing paths in the REST API. - methods List<String>
- List of HTTP methods to filter for. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST.
AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolOverride, AgentcoreGatewayTargetTargetConfigurationMcpApiGatewayApiGatewayToolConfigurationToolOverrideArgs
- Method string
- HTTP method to expose for the specified path. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST. - Name string
- Name of tool. Identifies the tool in the Model Context Protocol.
- Path string
- Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API. - Description string
- Description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
- Method string
- HTTP method to expose for the specified path. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST. - Name string
- Name of tool. Identifies the tool in the Model Context Protocol.
- Path string
- Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API. - Description string
- Description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
- method string
- HTTP method to expose for the specified path. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST. - name string
- Name of tool. Identifies the tool in the Model Context Protocol.
- path string
- Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API. - description string
- Description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
- method String
- HTTP method to expose for the specified path. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST. - name String
- Name of tool. Identifies the tool in the Model Context Protocol.
- path String
- Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API. - description String
- Description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
- method string
- HTTP method to expose for the specified path. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST. - name string
- Name of tool. Identifies the tool in the Model Context Protocol.
- path string
- Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API. - description string
- Description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
- method str
- HTTP method to expose for the specified path. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST. - name str
- Name of tool. Identifies the tool in the Model Context Protocol.
- path str
- Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API. - description str
- Description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
- method String
- HTTP method to expose for the specified path. Valid values:
GET,DELETE,HEAD,OPTIONS,PATCH,PUTandPOST. - name String
- Name of tool. Identifies the tool in the Model Context Protocol.
- path String
- Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API. - description String
- Description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
AgentcoreGatewayTargetTargetConfigurationMcpLambda, AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs
- Lambda
Arn string - ARN of the Lambda function to invoke.
- Tool
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema - Schema definition for the tool. See
toolSchemabelow.
- Lambda
Arn string - ARN of the Lambda function to invoke.
- Tool
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema - Schema definition for the tool. See
toolSchemabelow.
- lambda_
arn string - ARN of the Lambda function to invoke.
- tool_
schema object - Schema definition for the tool. See
toolSchemabelow.
- lambda
Arn String - ARN of the Lambda function to invoke.
- tool
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema - Schema definition for the tool. See
toolSchemabelow.
- lambda
Arn string - ARN of the Lambda function to invoke.
- tool
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema - Schema definition for the tool. See
toolSchemabelow.
- lambda_
arn str - ARN of the Lambda function to invoke.
- tool_
schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema - Schema definition for the tool. See
toolSchemabelow.
- lambda
Arn String - ARN of the Lambda function to invoke.
- tool
Schema Property Map - Schema definition for the tool. See
toolSchemabelow.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchema, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaArgs
- Inline
Payloads List<AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload> - Inline tool definition. See
inlinePayloadbelow. - S3
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema S3 - S3-based tool definition. See
s3below.
- Inline
Payloads []AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload - Inline tool definition. See
inlinePayloadbelow. - S3
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema S3 - S3-based tool definition. See
s3below.
- inline_
payloads list(object) - Inline tool definition. See
inlinePayloadbelow. - s3 object
- S3-based tool definition. See
s3below.
- inline
Payloads List<AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload> - Inline tool definition. See
inlinePayloadbelow. - s3
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema S3 - S3-based tool definition. See
s3below.
- inline
Payloads AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload[] - Inline tool definition. See
inlinePayloadbelow. - s3
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema S3 - S3-based tool definition. See
s3below.
- inline_
payloads Sequence[AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload] - Inline tool definition. See
inlinePayloadbelow. - s3
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema S3 - S3-based tool definition. See
s3below.
- inline
Payloads List<Property Map> - Inline tool definition. See
inlinePayloadbelow. - s3 Property Map
- S3-based tool definition. See
s3below.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayload, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadArgs
- Description string
- Description of what the tool does.
- Input
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema - Schema for the tool's input. See
schemaDefinitionbelow. - Name string
- Name of the tool.
- Output
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema - Schema for the tool's output. See
schemaDefinitionbelow.
- Description string
- Description of what the tool does.
- Input
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema - Schema for the tool's input. See
schemaDefinitionbelow. - Name string
- Name of the tool.
- Output
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema - Schema for the tool's output. See
schemaDefinitionbelow.
- description string
- Description of what the tool does.
- input_
schema object - Schema for the tool's input. See
schemaDefinitionbelow. - name string
- Name of the tool.
- output_
schema object - Schema for the tool's output. See
schemaDefinitionbelow.
- description String
- Description of what the tool does.
- input
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema - Schema for the tool's input. See
schemaDefinitionbelow. - name String
- Name of the tool.
- output
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema - Schema for the tool's output. See
schemaDefinitionbelow.
- description string
- Description of what the tool does.
- input
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema - Schema for the tool's input. See
schemaDefinitionbelow. - name string
- Name of the tool.
- output
Schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema - Schema for the tool's output. See
schemaDefinitionbelow.
- description str
- Description of what the tool does.
- input_
schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema - Schema for the tool's input. See
schemaDefinitionbelow. - name str
- Name of the tool.
- output_
schema AgentcoreGateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema - Schema for the tool's output. See
schemaDefinitionbelow.
- description String
- Description of what the tool does.
- input
Schema Property Map - Schema for the tool's input. See
schemaDefinitionbelow. - name String
- Name of the tool.
- output
Schema Property Map - Schema for the tool's output. See
schemaDefinitionbelow.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchema, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaArgs
- type string
- description string
- Description of the gateway target.
- items object
- properties list(object)
- type String
- description String
- Description of the gateway target.
- items Property Map
- properties List<Property Map>
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Items - Nested items definition for arrays of arrays.
- Properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Items - Nested items definition for arrays of arrays.
- Properties
[]Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Property - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items object
- Nested items definition for arrays of arrays.
- properties list(object)
- Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Items - Nested items definition for arrays of arrays.
- properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Items - Nested items definition for arrays of arrays.
- properties
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Property[] - Set of property definitions for arrays of objects. See
propertybelow.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Items - Nested items definition for arrays of arrays.
- properties
Sequence[Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Items Property] - Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items Property Map
- Nested items definition for arrays of arrays.
- properties List<Property Map>
- Set of property definitions for arrays of objects. See
propertybelow.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaItemsPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items - Items definition for array properties. See
itemsabove. - Properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Property> - Set of nested property definitions for object properties.
- Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items - Items definition for array properties. See
itemsabove. - Properties
[]Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Property - Set of nested property definitions for object properties.
- Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items object
- Items definition for array properties. See
itemsabove. - properties list(object)
- Set of nested property definitions for object properties.
- required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items - Items definition for array properties. See
itemsabove. - properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Property> - Set of nested property definitions for object properties.
- required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items - Items definition for array properties. See
itemsabove. - properties
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Property[] - Set of nested property definitions for object properties.
- required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items - Items definition for array properties. See
itemsabove. - properties
Sequence[Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Property] - Set of nested property definitions for object properties.
- required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items Property Map
- Items definition for array properties. See
itemsabove. - properties List<Property Map>
- Set of nested property definitions for object properties.
- required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Items - Nested items definition for arrays of arrays.
- Properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Items - Nested items definition for arrays of arrays.
- Properties
[]Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Property - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items object
- Nested items definition for arrays of arrays.
- properties list(object)
- Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Items - Nested items definition for arrays of arrays.
- properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Items - Nested items definition for arrays of arrays.
- properties
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Property[] - Set of property definitions for arrays of objects. See
propertybelow.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Items - Nested items definition for arrays of arrays.
- properties
Sequence[Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Input Schema Property Items Property] - Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items Property Map
- Nested items definition for arrays of arrays.
- properties List<Property Map>
- Set of property definitions for arrays of objects. See
propertybelow.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyItemsPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadInputSchemaPropertyPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchema, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaArgs
- type string
- description string
- Description of the gateway target.
- items object
- properties list(object)
- type String
- description String
- Description of the gateway target.
- items Property Map
- properties List<Property Map>
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Items - Nested items definition for arrays of arrays.
- Properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Items - Nested items definition for arrays of arrays.
- Properties
[]Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Property - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items object
- Nested items definition for arrays of arrays.
- properties list(object)
- Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Items - Nested items definition for arrays of arrays.
- properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Items - Nested items definition for arrays of arrays.
- properties
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Property[] - Set of property definitions for arrays of objects. See
propertybelow.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Items - Nested items definition for arrays of arrays.
- properties
Sequence[Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Items Property] - Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items Property Map
- Nested items definition for arrays of arrays.
- properties List<Property Map>
- Set of property definitions for arrays of objects. See
propertybelow.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaItemsPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items - Items definition for array properties. See
itemsabove. - Properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Property> - Set of nested property definitions for object properties.
- Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items - Items definition for array properties. See
itemsabove. - Properties
[]Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Property - Set of nested property definitions for object properties.
- Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items object
- Items definition for array properties. See
itemsabove. - properties list(object)
- Set of nested property definitions for object properties.
- required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items - Items definition for array properties. See
itemsabove. - properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Property> - Set of nested property definitions for object properties.
- required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items - Items definition for array properties. See
itemsabove. - properties
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Property[] - Set of nested property definitions for object properties.
- required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items - Items definition for array properties. See
itemsabove. - properties
Sequence[Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Property] - Set of nested property definitions for object properties.
- required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items Property Map
- Items definition for array properties. See
itemsabove. - properties List<Property Map>
- Set of nested property definitions for object properties.
- required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Items - Nested items definition for arrays of arrays.
- Properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Items - Nested items definition for arrays of arrays.
- Properties
[]Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Property - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items object
- Nested items definition for arrays of arrays.
- properties list(object)
- Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Items - Nested items definition for arrays of arrays.
- properties
List<Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Property> - Set of property definitions for arrays of objects. See
propertybelow.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Items - Nested items definition for arrays of arrays.
- properties
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Property[] - Set of property definitions for arrays of objects. See
propertybelow.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items
Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Items - Nested items definition for arrays of arrays.
- properties
Sequence[Agentcore
Gateway Target Target Configuration Mcp Lambda Tool Schema Inline Payload Output Schema Property Items Property] - Set of property definitions for arrays of objects. See
propertybelow.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items Property Map
- Nested items definition for arrays of arrays.
- properties List<Property Map>
- Set of property definitions for arrays of objects. See
propertybelow.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsItems, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsItemsArgs
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- Type string
- Data type of the array items.
- Description string
- Description of the array items.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type string
- Data type of the array items.
- description string
- Description of the array items.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type str
- Data type of the array items.
- description str
- Description of the array items.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
- type String
- Data type of the array items.
- description String
- Description of the array items.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyProperty, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyPropertyArgs
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- Name string
- Name of the property.
- Type string
- Data type of the property.
- Description string
- Description of the property.
- Items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - Properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - Required bool
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items_
json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
- name string
- Name of the property.
- type string
- Data type of the property.
- description string
- Description of the property.
- items
Json string - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json string - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required boolean
- Whether this property is required. Defaults to
false.
- name str
- Name of the property.
- type str
- Data type of the property.
- description str
- Description of the property.
- items_
json str - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties_
json str - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required bool
- Whether this property is required. Defaults to
false.
- name String
- Name of the property.
- type String
- Data type of the property.
- description String
- Description of the property.
- items
Json String - JSON-encoded schema definition for array items. Used for complex nested structures. Cannot be used with
propertiesJson. - properties
Json String - JSON-encoded schema definition for object properties. Used for complex nested structures. Cannot be used with
itemsJson. - required Boolean
- Whether this property is required. Defaults to
false.
AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaS3, AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaS3Args
- Bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- Uri string
- S3 URI where the schema is stored.
- Bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- Uri string
- S3 URI where the schema is stored.
- bucket_
owner_ stringaccount_ id - Account ID of the S3 bucket owner.
- uri string
- S3 URI where the schema is stored.
- bucket
Owner StringAccount Id - Account ID of the S3 bucket owner.
- uri String
- S3 URI where the schema is stored.
- bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- uri string
- S3 URI where the schema is stored.
- bucket_
owner_ straccount_ id - Account ID of the S3 bucket owner.
- uri str
- S3 URI where the schema is stored.
- bucket
Owner StringAccount Id - Account ID of the S3 bucket owner.
- uri String
- S3 URI where the schema is stored.
AgentcoreGatewayTargetTargetConfigurationMcpMcpServer, AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs
- Endpoint string
- Endpoint for the MCP server target configuration.
- Listing
Mode string - Listing mode for the MCP server target. Valid values are
DEFAULTandDYNAMIC. MCP resources forDEFAULTtargets are cached at the control plane for faster access, while resources forDYNAMICtargets are retrieved dynamically when listing tools.
- Endpoint string
- Endpoint for the MCP server target configuration.
- Listing
Mode string - Listing mode for the MCP server target. Valid values are
DEFAULTandDYNAMIC. MCP resources forDEFAULTtargets are cached at the control plane for faster access, while resources forDYNAMICtargets are retrieved dynamically when listing tools.
- endpoint string
- Endpoint for the MCP server target configuration.
- listing_
mode string - Listing mode for the MCP server target. Valid values are
DEFAULTandDYNAMIC. MCP resources forDEFAULTtargets are cached at the control plane for faster access, while resources forDYNAMICtargets are retrieved dynamically when listing tools.
- endpoint String
- Endpoint for the MCP server target configuration.
- listing
Mode String - Listing mode for the MCP server target. Valid values are
DEFAULTandDYNAMIC. MCP resources forDEFAULTtargets are cached at the control plane for faster access, while resources forDYNAMICtargets are retrieved dynamically when listing tools.
- endpoint string
- Endpoint for the MCP server target configuration.
- listing
Mode string - Listing mode for the MCP server target. Valid values are
DEFAULTandDYNAMIC. MCP resources forDEFAULTtargets are cached at the control plane for faster access, while resources forDYNAMICtargets are retrieved dynamically when listing tools.
- endpoint str
- Endpoint for the MCP server target configuration.
- listing_
mode str - Listing mode for the MCP server target. Valid values are
DEFAULTandDYNAMIC. MCP resources forDEFAULTtargets are cached at the control plane for faster access, while resources forDYNAMICtargets are retrieved dynamically when listing tools.
- endpoint String
- Endpoint for the MCP server target configuration.
- listing
Mode String - Listing mode for the MCP server target. Valid values are
DEFAULTandDYNAMIC. MCP resources forDEFAULTtargets are cached at the control plane for faster access, while resources forDYNAMICtargets are retrieved dynamically when listing tools.
AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchema, AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaArgs
AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaInlinePayload, AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaInlinePayloadArgs
- Payload string
- The inline schema payload content.
- Payload string
- The inline schema payload content.
- payload string
- The inline schema payload content.
- payload String
- The inline schema payload content.
- payload string
- The inline schema payload content.
- payload str
- The inline schema payload content.
- payload String
- The inline schema payload content.
AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaS3, AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaS3Args
- Bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- Uri string
- S3 URI where the schema is stored.
- Bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- Uri string
- S3 URI where the schema is stored.
- bucket_
owner_ stringaccount_ id - Account ID of the S3 bucket owner.
- uri string
- S3 URI where the schema is stored.
- bucket
Owner StringAccount Id - Account ID of the S3 bucket owner.
- uri String
- S3 URI where the schema is stored.
- bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- uri string
- S3 URI where the schema is stored.
- bucket_
owner_ straccount_ id - Account ID of the S3 bucket owner.
- uri str
- S3 URI where the schema is stored.
- bucket
Owner StringAccount Id - Account ID of the S3 bucket owner.
- uri String
- S3 URI where the schema is stored.
AgentcoreGatewayTargetTargetConfigurationMcpSmithyModel, AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelArgs
AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelInlinePayload, AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelInlinePayloadArgs
- Payload string
- The inline schema payload content.
- Payload string
- The inline schema payload content.
- payload string
- The inline schema payload content.
- payload String
- The inline schema payload content.
- payload string
- The inline schema payload content.
- payload str
- The inline schema payload content.
- payload String
- The inline schema payload content.
AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelS3, AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelS3Args
- Bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- Uri string
- S3 URI where the schema is stored.
- Bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- Uri string
- S3 URI where the schema is stored.
- bucket_
owner_ stringaccount_ id - Account ID of the S3 bucket owner.
- uri string
- S3 URI where the schema is stored.
- bucket
Owner StringAccount Id - Account ID of the S3 bucket owner.
- uri String
- S3 URI where the schema is stored.
- bucket
Owner stringAccount Id - Account ID of the S3 bucket owner.
- uri string
- S3 URI where the schema is stored.
- bucket_
owner_ straccount_ id - Account ID of the S3 bucket owner.
- uri str
- S3 URI where the schema is stored.
- bucket
Owner StringAccount Id - Account ID of the S3 bucket owner.
- uri String
- S3 URI where the schema is stored.
AgentcoreGatewayTargetTimeouts, AgentcoreGatewayTargetTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import, import Bedrock AgentCore Gateway Target using the gateway identifier and target ID separated by a comma. For example:
$ pulumi import aws:bedrock/agentcoreGatewayTarget:AgentcoreGatewayTarget example GATEWAY1234567890,TARGET0987654321
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Tuesday, Jun 16, 2026 by Pulumi