DataSourceConfigBindResult Struct
The result of binding a DataSourceConfig.
| Source | lib/evaluation/types.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const dataSourceConfigBindResult: bedrock_agentcore_alpha.DataSourceConfigBindResult = {
cloudWatchLogs: {
logGroupNames: ['logGroupNames'],
serviceNames: ['serviceNames'],
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha
data_source_config_bind_result = bedrock_agentcore_alpha.DataSourceConfigBindResult(
cloud_watch_logs=bedrock_agentcore_alpha.CloudWatchLogsDataSourceConfig(
log_group_names=["logGroupNames"],
service_names=["serviceNames"]
)
)
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.bedrock.agentcore.alpha.*;
DataSourceConfigBindResult dataSourceConfigBindResult = DataSourceConfigBindResult.builder()
.cloudWatchLogs(CloudWatchLogsDataSourceConfig.builder()
.logGroupNames(List.of("logGroupNames"))
.serviceNames(List.of("serviceNames"))
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;
var dataSourceConfigBindResult = new DataSourceConfigBindResult {
CloudWatchLogs = new CloudWatchLogsDataSourceConfig {
LogGroupNames = new [] { "logGroupNames" },
ServiceNames = new [] { "serviceNames" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"
dataSourceConfigBindResult := &DataSourceConfigBindResult{
CloudWatchLogs: &CloudWatchLogsDataSourceConfig{
LogGroupNames: []*string{
jsii.String("logGroupNames"),
},
ServiceNames: []*string{
jsii.String("serviceNames"),
},
},
}
Properties
cloudWatchLogsCloudWatchLogsDataSourceConfigcloud_watch_logsCloudWatchLogsDataSourceConfigcloudWatchLogsCloudWatchLogsDataSourceConfigCloudWatchLogsCloudWatchLogsDataSourceConfigCloudWatchLogsCloudWatchLogsDataSourceConfig required #The CloudWatch Logs data source configuration.