Interface CfnGatewayTarget.TargetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTarget.TargetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTarget
@Stability(Stable)
public static interface CfnGatewayTarget.TargetConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The target configuration.
Example:
// 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.*;
Object parameterValues;
SchemaDefinitionProperty schemaDefinitionProperty_;
TargetConfigurationProperty targetConfigurationProperty = TargetConfigurationProperty.builder()
.http(HttpTargetConfigurationProperty.builder()
.agentcoreRuntime(RuntimeTargetConfigurationProperty.builder()
.arn("arn")
// the properties below are optional
.qualifier("qualifier")
.schema(HttpApiSchemaConfigurationProperty.builder()
.source(ApiSchemaConfigurationProperty.builder()
.inlinePayload("inlinePayload")
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.build())
.build())
.passthrough(PassthroughTargetConfigurationProperty.builder()
.endpoint("endpoint")
.protocolType("protocolType")
// the properties below are optional
.schema(HttpApiSchemaConfigurationProperty.builder()
.source(ApiSchemaConfigurationProperty.builder()
.inlinePayload("inlinePayload")
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.build())
.stickinessConfiguration(StickinessConfigurationProperty.builder()
.identifier("identifier")
// the properties below are optional
.timeout(123)
.build())
.build())
.build())
.mcp(McpTargetConfigurationProperty.builder()
.apiGateway(ApiGatewayTargetConfigurationProperty.builder()
.apiGatewayToolConfiguration(ApiGatewayToolConfigurationProperty.builder()
.toolFilters(List.of(ApiGatewayToolFilterProperty.builder()
.filterPath("filterPath")
.methods(List.of("methods"))
.build()))
// the properties below are optional
.toolOverrides(List.of(ApiGatewayToolOverrideProperty.builder()
.method("method")
.name("name")
.path("path")
// the properties below are optional
.description("description")
.build()))
.build())
.restApiId("restApiId")
.stage("stage")
.build())
.connector(ConnectorTargetConfigurationProperty.builder()
.source(ConnectorSourceProperty.builder()
.connectorId("connectorId")
.build())
// the properties below are optional
.configurations(List.of(ConnectorConfigurationProperty.builder()
.name("name")
// the properties below are optional
.description("description")
.parameterOverrides(List.of(ConnectorParameterOverrideProperty.builder()
.path("path")
// the properties below are optional
.description("description")
.visible(false)
.build()))
.parameterValues(parameterValues)
.build()))
.enabled(List.of("enabled"))
.build())
.lambda(McpLambdaTargetConfigurationProperty.builder()
.lambdaArn("lambdaArn")
.toolSchema(ToolSchemaProperty.builder()
.inlinePayload(List.of(ToolDefinitionProperty.builder()
.description("description")
.inputSchema(SchemaDefinitionProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.build())
.name("name")
// the properties below are optional
.outputSchema(SchemaDefinitionProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.items(schemaDefinitionProperty_)
.properties(Map.of(
"propertiesKey", schemaDefinitionProperty_))
.required(List.of("required"))
.build())
.build()))
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.build())
.mcpServer(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())
.openApiSchema(ApiSchemaConfigurationProperty.builder()
.inlinePayload("inlinePayload")
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.smithyModel(ApiSchemaConfigurationProperty.builder()
.inlinePayload("inlinePayload")
.s3(S3ConfigurationProperty.builder()
.bucketOwnerAccountId("bucketOwnerAccountId")
.uri("uri")
.build())
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayTarget.TargetConfigurationPropertystatic final classAn implementation forCfnGatewayTarget.TargetConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetHttp()Returns union: eitherIResolvableorCfnGatewayTarget.HttpTargetConfigurationPropertydefault ObjectgetMcp()The target configuration definition for MCP.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttp
Returns union: eitherIResolvableorCfnGatewayTarget.HttpTargetConfigurationProperty- See Also:
-
getMcp
The target configuration definition for MCP.Returns union: either
IResolvableorCfnGatewayTarget.McpTargetConfigurationProperty- See Also:
-
builder
-