ConnectorTargetConfigurationProperty 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';
declare const parameterValues: any;
const connectorTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.ConnectorTargetConfigurationProperty = {
source: {
connectorId: 'connectorId',
},
// the properties below are optional
configurations: [{
name: 'name',
// the properties below are optional
description: 'description',
parameterOverrides: [{
path: 'path',
// the properties below are optional
description: 'description',
visible: false,
}],
parameterValues: parameterValues,
}],
enabled: ['enabled'],
};
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
# parameter_values: Any
connector_target_configuration_property = bedrockagentcore.CfnGatewayTarget.ConnectorTargetConfigurationProperty(
source=bedrockagentcore.CfnGatewayTarget.ConnectorSourceProperty(
connector_id="connectorId"
),
# the properties below are optional
configurations=[bedrockagentcore.CfnGatewayTarget.ConnectorConfigurationProperty(
name="name",
# the properties below are optional
description="description",
parameter_overrides=[bedrockagentcore.CfnGatewayTarget.ConnectorParameterOverrideProperty(
path="path",
# the properties below are optional
description="description",
visible=False
)],
parameter_values=parameter_values
)],
enabled=["enabled"]
)
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.*;
Object parameterValues;
ConnectorTargetConfigurationProperty connectorTargetConfigurationProperty = ConnectorTargetConfigurationProperty.builder()
.source(ConnectorSourceProperty.builder()
.connectorId("connectorId")
.build())
// the properties below are optional
.configurations(List.of(ConnectorConfigurationProperty.builder()
.name("name")
// the properties below are optional
.description("description")
.parameterOverrides(List.of(ConnectorParameterOverrideProperty.builder()
.path("path")
// the properties below are optional
.description("description")
.visible(false)
.build()))
.parameterValues(parameterValues)
.build()))
.enabled(List.of("enabled"))
.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 parameterValues;
var connectorTargetConfigurationProperty = new ConnectorTargetConfigurationProperty {
Source = new ConnectorSourceProperty {
ConnectorId = "connectorId"
},
// the properties below are optional
Configurations = new [] { new ConnectorConfigurationProperty {
Name = "name",
// the properties below are optional
Description = "description",
ParameterOverrides = new [] { new ConnectorParameterOverrideProperty {
Path = "path",
// the properties below are optional
Description = "description",
Visible = false
} },
ParameterValues = parameterValues
} },
Enabled = new [] { "enabled" }
};
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"
var parameterValues interface{}
connectorTargetConfigurationProperty := &ConnectorTargetConfigurationProperty{
Source: &ConnectorSourceProperty{
ConnectorId: jsii.String("connectorId"),
},
// the properties below are optional
Configurations: []interface{}{
&ConnectorConfigurationProperty{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
ParameterOverrides: []interface{}{
&ConnectorParameterOverrideProperty{
Path: jsii.String("path"),
// the properties below are optional
Description: jsii.String("description"),
Visible: jsii.Boolean(false),
},
},
ParameterValues: parameterValues,
},
},
Enabled: []*string{
jsii.String("enabled"),
},
}
Properties
configurationsoptionalIResolvable | IResolvable | CfnGatewayTarget.configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConnectorConfigurationProperty]]]configurationsoptionalIResolvableConfigurationsoptionalIResolvableConfigurationsoptionalinterface{} #enabledoptionalstring[]enabledoptionaltyping.List[str]enabledoptionalList<String>Enabledoptionalstring[]Enabledoptional*[]*string #sourceIResolvable | CfnGatewayTarget.sourcetyping.Union[IResolvable, ConnectorSourceProperty]sourceIResolvableSourceIResolvableSourceinterface{} required #