# LogDestinationProperty

Defines a destination for `LoggingConfiguration` .

> For more information on logging with `EXPRESS` workflows, see [Logging Express Workflows Using CloudWatch Logs](https://docs.aws.amazon.com/step-functions/latest/dg/cw-logs.html) .

- 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_stepfunctions as stepfunctions } from 'aws-cdk-lib';
const logDestinationProperty: stepfunctions.CfnStateMachine.LogDestinationProperty = {
  cloudWatchLogsLogGroup: {
    logGroupArn: 'logGroupArn',
  },
};
```

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_stepfunctions as stepfunctions

log_destination_property = stepfunctions.CfnStateMachine.LogDestinationProperty(
    cloud_watch_logs_log_group=stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty(
        log_group_arn="logGroupArn"
    )
)
```

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.stepfunctions.*;

LogDestinationProperty logDestinationProperty = LogDestinationProperty.builder()
        .cloudWatchLogsLogGroup(CloudWatchLogsLogGroupProperty.builder()
                .logGroupArn("logGroupArn")
                .build())
        .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.StepFunctions;

var logDestinationProperty = new LogDestinationProperty {
    CloudWatchLogsLogGroup = new CloudWatchLogsLogGroupProperty {
        LogGroupArn = "logGroupArn"
    }
};
```

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"

logDestinationProperty := &LogDestinationProperty{
	CloudWatchLogsLogGroup: &CloudWatchLogsLogGroupProperty{
		LogGroupArn: jsii.String("logGroupArn"),
	},
}
```

## Properties

- `cloudWatchLogsLogGroup`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStateMachine.CloudWatchLogsLogGroupProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty.html) — An object describing a CloudWatch log group.

  For more information, see [AWS::Logs::LogGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html) in the CloudFormation User Guide.
