AwsLogSourceProperty Struct
Adds a natively supported AWS service as an Amazon Security Lake source.
Enables source types for member accounts in required AWS Regions, based on the parameters you specify. You can choose any source type in any Region for either accounts that are part of a trusted organization or standalone accounts. Once you add an AWS service as a source, Security Lake starts collecting logs and events from it.
| Source | |
|---|---|
| Type last changed |
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 awsLogSourceProperty: securitylake.CfnSubscriber.AwsLogSourceProperty = {
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
aws_log_source_property = securitylake.CfnSubscriber.AwsLogSourceProperty(
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.*;
AwsLogSourceProperty awsLogSourceProperty = AwsLogSourceProperty.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 awsLogSourceProperty = new AwsLogSourceProperty {
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"
awsLogSourceProperty := &AwsLogSourceProperty{
SourceName: jsii.String("sourceName"),
SourceVersion: jsii.String("sourceVersion"),
}
Properties
sourceNameoptionalstringsource_nameoptionalstrsourceNameoptionalStringSourceNameoptionalstringSourceNameoptional*string #Source name of the natively supported AWS service that is supported as an Amazon Security Lake source.
For the list of sources supported by Amazon Security Lake see Collecting data from AWS services in the Amazon Security Lake User Guide.
sourceVersionoptionalstringsource_versionoptionalstrsourceVersionoptionalStringSourceVersionoptionalstringSourceVersionoptional*string #Source version of the natively supported AWS service that is supported as an Amazon Security Lake source.
notes
For more details about source versions supported by Amazon Security Lake see OCSF source identification in the Amazon Security Lake User Guide.