McpServerTargetConfigurationProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const mcpServerTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.McpServerTargetConfigurationProperty = {
endpoint: 'endpoint',
// the properties below are optional
listingMode: 'listingMode',
mcpToolSchema: {
inlinePayload: 'inlinePayload',
s3: {
bucketOwnerAccountId: 'bucketOwnerAccountId',
uri: 'uri',
},
},
resourcePriority: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
mcp_server_target_configuration_property = bedrockagentcore.CfnGatewayTarget.McpServerTargetConfigurationProperty(
endpoint="endpoint",
# the properties below are optional
listing_mode="listingMode",
mcp_tool_schema=bedrockagentcore.CfnGatewayTarget.McpToolSchemaConfigurationProperty(
inline_payload="inlinePayload",
s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
bucket_owner_account_id="bucketOwnerAccountId",
uri="uri"
)
),
resource_priority=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
McpServerTargetConfigurationProperty mcpServerTargetConfigurationProperty = McpServerTargetConfigurationProperty.builder()
.endpoint("endpoint")
// the properties below are optional
.listingMode("listingMode")
.mcpToolSchema(McpToolSchemaConfigurationProperty.builder()
.inlinePayload("inlinePayload")
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.resourcePriority(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
var mcpServerTargetConfigurationProperty = new McpServerTargetConfigurationProperty {
Endpoint = "endpoint",
// the properties below are optional
ListingMode = "listingMode",
McpToolSchema = new McpToolSchemaConfigurationProperty {
InlinePayload = "inlinePayload",
S3 = new S3ConfigurationProperty {
BucketOwnerAccountId = "bucketOwnerAccountId",
Uri = "uri"
}
},
ResourcePriority = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
mcpServerTargetConfigurationProperty := &McpServerTargetConfigurationProperty{
Endpoint: jsii.String("endpoint"),
// the properties below are optional
ListingMode: jsii.String("listingMode"),
McpToolSchema: &McpToolSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
ResourcePriority: jsii.Number(123),
}
Properties
listingModeoptionalstringlisting_modeoptionalstrlistingModeoptionalStringListingModeoptionalstringListingModeoptional*string #mcpToolSchemaoptionalIResolvable | CfnGatewayTarget.mcp_tool_schemaoptionaltyping.Union[IResolvable, McpToolSchemaConfigurationProperty]mcpToolSchemaoptionalIResolvableMcpToolSchemaoptionalIResolvableMcpToolSchemaoptionalinterface{} #resourcePriorityoptionalnumberresource_priorityoptionalint | floatresourcePriorityoptionalNumberResourcePriorityoptionaldoubleResourcePriorityoptional*float64 #