# AwsLogSourceReference

A reference to a AwsLogSource resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securitylake as interfaces_securitylake } from 'aws-cdk-lib/interfaces';
const awsLogSourceReference: interfaces_securitylake.AwsLogSourceReference = {
  sourceName: 'sourceName',
  sourceVersion: 'sourceVersion',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_securitylake as interfaces_securitylake

aws_log_source_reference = interfaces_securitylake.AwsLogSourceReference(
    source_name="sourceName",
    source_version="sourceVersion"
)
```

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.interfaces.securitylake.*;

AwsLogSourceReference awsLogSourceReference = AwsLogSourceReference.builder()
        .sourceName("sourceName")
        .sourceVersion("sourceVersion")
        .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.Interfaces.SecurityLake;

var awsLogSourceReference = new AwsLogSourceReference {
    SourceName = "sourceName",
    SourceVersion = "sourceVersion"
};
```

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"

awsLogSourceReference := &AwsLogSourceReference{
	SourceName: jsii.String("sourceName"),
	SourceVersion: jsii.String("sourceVersion"),
}
```

## Properties

- `sourceName`: string (required) — The SourceName of the AwsLogSource resource.

- `sourceVersion`: string (required) — The SourceVersion of the AwsLogSource resource.
