# CustomLogSourceProperty

Third-party custom log source that meets the requirements to be added to Amazon Security Lake .

For more details, see [Custom log source](https://docs.aws.amazon.com//security-lake/latest/userguide/custom-sources.html#iam-roles-custom-sources) in the *Amazon Security Lake User Guide* .

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## 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 securitylake } from 'aws-cdk-lib';
const customLogSourceProperty: securitylake.CfnSubscriber.CustomLogSourceProperty = {
  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 import aws_securitylake as securitylake

custom_log_source_property = securitylake.CfnSubscriber.CustomLogSourceProperty(
    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.services.securitylake.*;

CustomLogSourceProperty customLogSourceProperty = CustomLogSourceProperty.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.AWS.SecurityLake;

var customLogSourceProperty = new CustomLogSourceProperty {
    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"

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

## Properties

- `sourceName`: string — The name of the custom log source.

- `sourceVersion`: string — The source version of the custom log source.
