Skip to content
v2.278.0

CustomLogSourceProperty Struct ​

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

For more details, see Custom log source in the Amazon Security Lake User Guide .

Example ​

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
# 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
// 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();
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"
};
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 ​

sourceNameoptionalstringsource_nameoptionalstrsourceNameoptionalStringSourceNameoptionalstringSourceNameoptional*string #
The name of the custom log source.
sourceVersionoptionalstringsource_versionoptionalstrsourceVersionoptionalStringSourceVersionoptionalstringSourceVersionoptional*string #
The source version of the custom log source.