Skip to content
v2.274.0

InferenceTargetConfigurationProperty 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 inferenceTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.InferenceTargetConfigurationProperty = {
  connector: {
    source: {
      connectorId: 'connectorId',
    },
  },
  provider: {
    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',
    }],
  },
};

Properties ​