# CloudWatchLogsDestinationDetailsProperty

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `logGroup`: string (required) — The name of the CloudWatch Logs log group.
