CloudWatchLogsDestinationDetailsProperty Struct
Configuration details of a CloudWatch Logs destination.
Note that this field is marked as required but only if CloudWatch Logs was chosen as the destination.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const cloudWatchLogsDestinationDetailsProperty: elasticache.CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty = {
logGroup: 'logGroup',
};
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_elasticache as elasticache
cloud_watch_logs_destination_details_property = elasticache.CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty(
log_group="logGroup"
)
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.elasticache.*;
CloudWatchLogsDestinationDetailsProperty cloudWatchLogsDestinationDetailsProperty = CloudWatchLogsDestinationDetailsProperty.builder()
.logGroup("logGroup")
.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.ElastiCache;
var cloudWatchLogsDestinationDetailsProperty = new CloudWatchLogsDestinationDetailsProperty {
LogGroup = "logGroup"
};
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"
cloudWatchLogsDestinationDetailsProperty := &CloudWatchLogsDestinationDetailsProperty{
LogGroup: jsii.String("logGroup"),
}
Properties
The name of the CloudWatch Logs log group.