# LogDestinationProperty

- 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_sam as sam } from 'aws-cdk-lib';
const logDestinationProperty: sam.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_sam as sam

log_destination_property = sam.CfnStateMachine.LogDestinationProperty(
    cloud_watch_logs_log_group=sam.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.sam.*;

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.SAM;

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](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStateMachine.CloudWatchLogsLogGroupProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnStateMachine.CloudWatchLogsLogGroupProperty.html) (required)
