# InferenceProviderTargetConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

TypeScript:

```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 inferenceProviderTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.InferenceProviderTargetConfigurationProperty = {
  endpoint: 'endpoint',

  // the properties below are optional
  modelMapping: {
    providerPrefix: {
      separator: 'separator',
      strip: false,
    },
  },
  operations: [{
    path: 'path',

    // the properties below are optional
    models: [{
      model: 'model',
    }],
    providerPath: 'providerPath',
  }],
};
```

Python:

```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_provider_target_configuration_property = bedrockagentcore.CfnGatewayTarget.InferenceProviderTargetConfigurationProperty(
    endpoint="endpoint",

    # the properties below are optional
    model_mapping=bedrockagentcore.CfnGatewayTarget.ModelMappingProperty(
        provider_prefix=bedrockagentcore.CfnGatewayTarget.ProviderPrefixProperty(
            separator="separator",
            strip=False
        )
    ),
    operations=[bedrockagentcore.CfnGatewayTarget.InferenceOperationConfigurationProperty(
        path="path",

        # the properties below are optional
        models=[bedrockagentcore.CfnGatewayTarget.ModelEntryProperty(
            model="model"
        )],
        provider_path="providerPath"
    )]
)
```

Java:

```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.*;

InferenceProviderTargetConfigurationProperty inferenceProviderTargetConfigurationProperty = InferenceProviderTargetConfigurationProperty.builder()
        .endpoint("endpoint")

        // the properties below are optional
        .modelMapping(ModelMappingProperty.builder()
                .providerPrefix(ProviderPrefixProperty.builder()
                        .separator("separator")
                        .strip(false)
                        .build())
                .build())
        .operations(List.of(InferenceOperationConfigurationProperty.builder()
                .path("path")

                // the properties below are optional
                .models(List.of(ModelEntryProperty.builder()
                        .model("model")
                        .build()))
                .providerPath("providerPath")
                .build()))
        .build();
```

C# / .NET:

```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 inferenceProviderTargetConfigurationProperty = new InferenceProviderTargetConfigurationProperty {
    Endpoint = "endpoint",

    // the properties below are optional
    ModelMapping = new ModelMappingProperty {
        ProviderPrefix = new ProviderPrefixProperty {
            Separator = "separator",
            Strip = false
        }
    },
    Operations = new [] { new InferenceOperationConfigurationProperty {
        Path = "path",

        // the properties below are optional
        Models = new [] { new ModelEntryProperty {
            Model = "model"
        } },
        ProviderPath = "providerPath"
    } }
};
```

Golang:

```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"

inferenceProviderTargetConfigurationProperty := &InferenceProviderTargetConfigurationProperty{
	Endpoint: jsii.String("endpoint"),

	// the properties below are optional
	ModelMapping: &ModelMappingProperty{
		ProviderPrefix: &ProviderPrefixProperty{
			Separator: jsii.String("separator"),
			Strip: jsii.Boolean(false),
		},
	},
	Operations: []interface{}{
		&InferenceOperationConfigurationProperty{
			Path: jsii.String("path"),

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

## Properties

- `endpoint`: string (required)

- `modelMapping`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.ModelMappingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.ModelMappingProperty.html)

- `operations`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.InferenceOperationConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.InferenceOperationConfigurationProperty.html)[]
