Skip to content
v2.274.0

LoggingConfigProperty Struct ​

Logging configuration information for a resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const loggingConfigProperty: cdk.CfnResourceVersion.LoggingConfigProperty = {
  logGroupName: 'logGroupName',
  logRoleArn: 'logRoleArn',
};

Properties ​

logGroupNamestringlog_group_namestrlogGroupNameStringLogGroupNamestringLogGroupName*string#
The Amazon CloudWatch logs group to which CloudFormation sends error logging information when invoking the type's handlers.
logRoleArnstringlog_role_arnstrlogRoleArnStringLogRoleArnstringLogRoleArn*string#
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.