aws-cdk-lib.CfnResourceVersion.LoggingConfigProperty

interface LoggingConfigProperty

LanguageType name
.NETAmazon.CDK.CfnResourceVersion.LoggingConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnResourceVersion_LoggingConfigProperty
Javasoftware.amazon.awscdk.CfnResourceVersion.LoggingConfigProperty
Pythonaws_cdk.CfnResourceVersion.LoggingConfigProperty
TypeScript aws-cdk-lib » CfnResourceVersion » LoggingConfigProperty

Logging configuration information for a resource.

Example

// 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

NameTypeDescription
logGroupName?stringThe Amazon CloudWatch logs group to which CloudFormation sends error logging information when invoking the type's handlers.
logRoleArn?stringThe ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.

logGroupName?

Type: string (optional)

The Amazon CloudWatch logs group to which CloudFormation sends error logging information when invoking the type's handlers.


logRoleArn?

Type: string (optional)

The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.