interface CloudWatchLogGroupLogDestinationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.CloudWatchLogGroupLogDestinationProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.CloudWatchLogGroupLogDestinationProperty |
![]() | aws_cdk.aws_lex.CfnBot.CloudWatchLogGroupLogDestinationProperty |
![]() | @aws-cdk/aws-lex » CfnBot » CloudWatchLogGroupLogDestinationProperty |
The Amazon CloudWatch Logs log group where the text and metadata logs are delivered.
The log group must exist before you enable logging.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lex from '@aws-cdk/aws-lex';
const cloudWatchLogGroupLogDestinationProperty: lex.CfnBot.CloudWatchLogGroupLogDestinationProperty = {
cloudWatchLogGroupArn: 'cloudWatchLogGroupArn',
logPrefix: 'logPrefix',
};
Properties
Name | Type | Description |
---|---|---|
cloud | string | The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered. |
log | string | The prefix of the log stream name within the log group that you specified. |
cloudWatchLogGroupArn
Type:
string
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
logPrefix
Type:
string
The prefix of the log stream name within the log group that you specified.