Skip to content
v2.274.0

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 { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';

declare const loggingDestination: bedrockagentcore.LoggingDestination;
declare const logType: bedrockagentcore.LogType;
const loggingConfig: bedrockagentcore.LoggingConfig = {
  destination: loggingDestination,
  logType: logType,
};

Properties ​

destinationLoggingDestinationdestinationLoggingDestinationdestinationLoggingDestinationDestinationLoggingDestinationDestinationLoggingDestinationrequired#
The destination for logs.
logTypeLogTypelog_typeLogTypelogTypeLogTypeLogTypeLogTypeLogTypeLogTyperequired#
The type of logs to deliver.