CloudWatchLogsDestinationConfigurationProperty Struct
The CloudWatchLogsDestinationConfiguration property type specifies a CloudWatch Logs location where chat logs will be stored.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ivschat as ivschat } from 'aws-cdk-lib';
const cloudWatchLogsDestinationConfigurationProperty: ivschat.CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationProperty = {
logGroupName: 'logGroupName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ivschat as ivschat
cloud_watch_logs_destination_configuration_property = ivschat.CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationProperty(
log_group_name="logGroupName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ivschat.*;
CloudWatchLogsDestinationConfigurationProperty cloudWatchLogsDestinationConfigurationProperty = CloudWatchLogsDestinationConfigurationProperty.builder()
.logGroupName("logGroupName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IVSChat;
var cloudWatchLogsDestinationConfigurationProperty = new CloudWatchLogsDestinationConfigurationProperty {
LogGroupName = "logGroupName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cloudWatchLogsDestinationConfigurationProperty := &CloudWatchLogsDestinationConfigurationProperty{
LogGroupName: jsii.String("logGroupName"),
}
Properties
logGroupNamestringlog_group_namestrlogGroupNameStringLogGroupNamestringLogGroupName*string required #Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.