InferenceConnectorTargetConfigurationProperty 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 inferenceConnectorTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.InferenceConnectorTargetConfigurationProperty = {
source: {
connectorId: 'connectorId',
},
};
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_connector_target_configuration_property = bedrockagentcore.CfnGatewayTarget.InferenceConnectorTargetConfigurationProperty(
source=bedrockagentcore.CfnGatewayTarget.InferenceConnectorSourceProperty(
connector_id="connectorId"
)
)
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.*;
InferenceConnectorTargetConfigurationProperty inferenceConnectorTargetConfigurationProperty = InferenceConnectorTargetConfigurationProperty.builder()
.source(InferenceConnectorSourceProperty.builder()
.connectorId("connectorId")
.build())
.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 inferenceConnectorTargetConfigurationProperty = new InferenceConnectorTargetConfigurationProperty {
Source = new InferenceConnectorSourceProperty {
ConnectorId = "connectorId"
}
};
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"
inferenceConnectorTargetConfigurationProperty := &InferenceConnectorTargetConfigurationProperty{
Source: &InferenceConnectorSourceProperty{
ConnectorId: jsii.String("connectorId"),
},
}
Properties
sourceIResolvable | CfnGatewayTarget.sourcetyping.Union[IResolvable, InferenceConnectorSourceProperty]sourceIResolvableSourceIResolvableSourceinterface{} required #