Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
LoggingConfig Struct
Configuration for logging with log type and destination.
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';
declare const loggingDestination: bedrock_agentcore_alpha.LoggingDestination;
declare const logType: bedrock_agentcore_alpha.LogType;
const loggingConfig: bedrock_agentcore_alpha.LoggingConfig = {
destination: loggingDestination,
logType: logType,
};
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
# logging_destination: bedrock_agentcore_alpha.LoggingDestination
# log_type: bedrock_agentcore_alpha.LogType
logging_config = bedrock_agentcore_alpha.LoggingConfig(
destination=logging_destination,
log_type=log_type
)
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.*;
LoggingDestination loggingDestination;
LogType logType;
LoggingConfig loggingConfig = LoggingConfig.builder()
.destination(loggingDestination)
.logType(logType)
.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;
LoggingDestination loggingDestination;
LogType logType;
var loggingConfig = new LoggingConfig {
Destination = loggingDestination,
LogType = logType
};
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"
var loggingDestination LoggingDestination
var logType LogType
loggingConfig := &LoggingConfig{
Destination: loggingDestination,
LogType: logType,
}
Properties
destinationLoggingDestinationdestinationLoggingDestinationdestinationLoggingDestinationDestinationLoggingDestinationDestinationLoggingDestinationrequired#The destination for logs.