Skip to content
v2.278.0

InferenceOperationConfigurationProperty Struct ​

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 inferenceOperationConfigurationProperty: bedrockagentcore.CfnGatewayTarget.InferenceOperationConfigurationProperty = {
  path: 'path',

  // the properties below are optional
  models: [{
    model: 'model',
  }],
  providerPath: 'providerPath',
};
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

inference_operation_configuration_property = bedrockagentcore.CfnGatewayTarget.InferenceOperationConfigurationProperty(
    path="path",

    # the properties below are optional
    models=[bedrockagentcore.CfnGatewayTarget.ModelEntryProperty(
        model="model"
    )],
    provider_path="providerPath"
)
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.*;

InferenceOperationConfigurationProperty inferenceOperationConfigurationProperty = InferenceOperationConfigurationProperty.builder()
        .path("path")

        // the properties below are optional
        .models(List.of(ModelEntryProperty.builder()
                .model("model")
                .build()))
        .providerPath("providerPath")
        .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 inferenceOperationConfigurationProperty = new InferenceOperationConfigurationProperty {
    Path = "path",

    // the properties below are optional
    Models = new [] { new ModelEntryProperty {
        Model = "model"
    } },
    ProviderPath = "providerPath"
};
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"

inferenceOperationConfigurationProperty := &InferenceOperationConfigurationProperty{
	Path: jsii.String("path"),

	// the properties below are optional
	Models: []interface{}{
		&ModelEntryProperty{
			Model: jsii.String("model"),
		},
	},
	ProviderPath: jsii.String("providerPath"),
}

Properties ​

modelsoptionalIResolvable | IResolvable | CfnGatewayTarget.ModelEntryProperty[]modelsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ModelEntryProperty]]]modelsoptionalIResolvableModelsoptionalIResolvableModelsoptionalinterface{} #
pathstringpathstrpathStringPathstringPath*string required #
providerPathoptionalstringprovider_pathoptionalstrproviderPathoptionalStringProviderPathoptionalstringProviderPathoptional*string #