interface LoggingConfigProperty
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFormation.CfnHookVersion.LoggingConfigProperty |
![]() | software.amazon.awscdk.services.cloudformation.CfnHookVersion.LoggingConfigProperty |
![]() | aws_cdk.aws_cloudformation.CfnHookVersion.LoggingConfigProperty |
![]() | @aws-cdk/aws-cloudformation » CfnHookVersion » LoggingConfigProperty |
The LoggingConfig
property type specifies 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 cloudformation from '@aws-cdk/aws-cloudformation';
const loggingConfigProperty: cloudformation.CfnHookVersion.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 Amazon Resource Name (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 extension's handlers.
logRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.