interface LoggingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnLambdaHook.LoggingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnLambdaHook_LoggingConfigProperty |
Java | software.amazon.awscdk.CfnLambdaHook.LoggingConfigProperty |
Python | aws_cdk.CfnLambdaHook.LoggingConfigProperty |
TypeScript | aws-cdk-lib » CfnLambdaHook » LoggingConfigProperty |
Contains logging configuration information for an extension.
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.CfnLambdaHook.LoggingConfigProperty = {
logGroupName: 'logGroupName',
logRoleArn: 'logRoleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| log | string | The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers. |
| log | string | The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch Logs. |
logGroupName
Type:
string
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
logRoleArn
Type:
string
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.

.NET
Go
Java
Python
TypeScript