Class CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty
The MCP target configuration for the gateway target.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty : CfnGatewayTargetPropsMixin.IMcpTargetConfigurationProperty
Syntax (vb)
Public Class CfnGatewayTargetPropsMixin.McpTargetConfigurationProperty Implements CfnGatewayTargetPropsMixin.IMcpTargetConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins;
SchemaDefinitionProperty schemaDefinitionProperty_;
var mcpTargetConfigurationProperty = new McpTargetConfigurationProperty {
ApiGateway = new ApiGatewayTargetConfigurationProperty {
ApiGatewayToolConfiguration = new ApiGatewayToolConfigurationProperty {
ToolFilters = new [] { new ApiGatewayToolFilterProperty {
FilterPath = "filterPath",
Methods = new [] { "methods" }
} },
ToolOverrides = new [] { new ApiGatewayToolOverrideProperty {
Description = "description",
Method = "method",
Name = "name",
Path = "path"
} }
},
RestApiId = "restApiId",
Stage = "stage"
},
Lambda = new McpLambdaTargetConfigurationProperty {
LambdaArn = "lambdaArn",
ToolSchema = new ToolSchemaProperty {
InlinePayload = new [] { new ToolDefinitionProperty {
Description = "description",
InputSchema = new SchemaDefinitionProperty {
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" },
Type = "type"
},
Name = "name",
OutputSchema = new SchemaDefinitionProperty {
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" },
Type = "type"
}
} },
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
}
},
McpServer = new McpServerTargetConfigurationProperty {
Endpoint = "endpoint"
},
OpenApiSchema = new ApiSchemaConfigurationProperty {
InlinePayload = "inlinePayload",
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
},
SmithyModel = new ApiSchemaConfigurationProperty {
InlinePayload = "inlinePayload",
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
}
};
Synopsis
Constructors
| McpTargetConfigurationProperty() | The MCP target configuration for the gateway target. |
Properties
| ApiGateway | The MCP target configuration for the gateway target. |
| Lambda | The Lambda MCP configuration for the gateway target. |
| McpServer | The MCP target configuration for the gateway target. |
| OpenApiSchema | The OpenApi schema for the gateway target MCP configuration. |
| SmithyModel | The target configuration for the Smithy model target. |
Constructors
McpTargetConfigurationProperty()
The MCP target configuration for the gateway target.
public McpTargetConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins;
SchemaDefinitionProperty schemaDefinitionProperty_;
var mcpTargetConfigurationProperty = new McpTargetConfigurationProperty {
ApiGateway = new ApiGatewayTargetConfigurationProperty {
ApiGatewayToolConfiguration = new ApiGatewayToolConfigurationProperty {
ToolFilters = new [] { new ApiGatewayToolFilterProperty {
FilterPath = "filterPath",
Methods = new [] { "methods" }
} },
ToolOverrides = new [] { new ApiGatewayToolOverrideProperty {
Description = "description",
Method = "method",
Name = "name",
Path = "path"
} }
},
RestApiId = "restApiId",
Stage = "stage"
},
Lambda = new McpLambdaTargetConfigurationProperty {
LambdaArn = "lambdaArn",
ToolSchema = new ToolSchemaProperty {
InlinePayload = new [] { new ToolDefinitionProperty {
Description = "description",
InputSchema = new SchemaDefinitionProperty {
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" },
Type = "type"
},
Name = "name",
OutputSchema = new SchemaDefinitionProperty {
Description = "description",
Items = schemaDefinitionProperty_,
Properties = new Dictionary<string, object> {
{ "propertiesKey", schemaDefinitionProperty_ }
},
Required = new [] { "required" },
Type = "type"
}
} },
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
}
},
McpServer = new McpServerTargetConfigurationProperty {
Endpoint = "endpoint"
},
OpenApiSchema = new ApiSchemaConfigurationProperty {
InlinePayload = "inlinePayload",
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
},
SmithyModel = new ApiSchemaConfigurationProperty {
InlinePayload = "inlinePayload",
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
}
};
Properties
ApiGateway
The MCP target configuration for the gateway target.
public object? ApiGateway { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnGatewayTargetPropsMixin.IApiGatewayTargetConfigurationProperty
Lambda
The Lambda MCP configuration for the gateway target.
public object? Lambda { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnGatewayTargetPropsMixin.IMcpLambdaTargetConfigurationProperty
McpServer
The MCP target configuration for the gateway target.
public object? McpServer { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnGatewayTargetPropsMixin.IMcpServerTargetConfigurationProperty
OpenApiSchema
The OpenApi schema for the gateway target MCP configuration.
public object? OpenApiSchema { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnGatewayTargetPropsMixin.IApiSchemaConfigurationProperty
SmithyModel
The target configuration for the Smithy model target.
public object? SmithyModel { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnGatewayTargetPropsMixin.IApiSchemaConfigurationProperty