Skip to content
v2.278.0

HttpConnectorTargetConfigurationProperty 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 httpConnectorTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.HttpConnectorTargetConfigurationProperty = {
  source: {
    connectorId: 'connectorId',
  },

  // the properties below are optional
  parameters: {
    parametersKey: 'parameters',
  },
};
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

http_connector_target_configuration_property = bedrockagentcore.CfnGatewayTarget.HttpConnectorTargetConfigurationProperty(
    source=bedrockagentcore.CfnGatewayTarget.HttpConnectorSourceProperty(
        connector_id="connectorId"
    ),

    # the properties below are optional
    parameters={
        "parameters_key": "parameters"
    }
)
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.*;

HttpConnectorTargetConfigurationProperty httpConnectorTargetConfigurationProperty = HttpConnectorTargetConfigurationProperty.builder()
        .source(HttpConnectorSourceProperty.builder()
                .connectorId("connectorId")
                .build())

        // the properties below are optional
        .parameters(Map.of(
                "parametersKey", "parameters"))
        .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 httpConnectorTargetConfigurationProperty = new HttpConnectorTargetConfigurationProperty {
    Source = new HttpConnectorSourceProperty {
        ConnectorId = "connectorId"
    },

    // the properties below are optional
    Parameters = new Dictionary<string, string> {
        { "parametersKey", "parameters" }
    }
};
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"

httpConnectorTargetConfigurationProperty := &HttpConnectorTargetConfigurationProperty{
	Source: &HttpConnectorSourceProperty{
		ConnectorId: jsii.String("connectorId"),
	},

	// the properties below are optional
	Parameters: map[string]*string{
		"parametersKey": jsii.String("parameters"),
	},
}

Properties ​

parametersoptionalIResolvable | { [key: string]: string }parametersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]parametersoptionalIResolvableParametersoptionalIResolvableParametersoptionalinterface{} #