Skip to content
v2.278.0

AwsLogSourceReference Struct ​

A reference to a AwsLogSource resource.

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 interfaces_securitylake } from 'aws-cdk-lib/interfaces';
const awsLogSourceReference: interfaces_securitylake.AwsLogSourceReference = {
  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.interfaces import aws_securitylake as interfaces_securitylake

aws_log_source_reference = interfaces_securitylake.AwsLogSourceReference(
    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.interfaces.securitylake.*;

AwsLogSourceReference awsLogSourceReference = AwsLogSourceReference.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.Interfaces.SecurityLake;

var awsLogSourceReference = new AwsLogSourceReference {
    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"

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

Properties ​

sourceNamestringsource_namestrsourceNameStringSourceNamestringSourceName*string required #
The SourceName of the AwsLogSource resource.
sourceVersionstringsource_versionstrsourceVersionStringSourceVersionstringSourceVersion*string required #
The SourceVersion of the AwsLogSource resource.