AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::SecurityLake::AwsLogSource

CfnAwsLogSource

Adds a natively supported AWS service as an AWS 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. > If you want to create multiple sources using `AWS::SecurityLake::AwsLogSource` , you must use the `DependsOn` attribute to create the sources sequentially. With the `DependsOn` attribute you can specify that the creation of a specific `AWSLogSource` follows another. When you add a `DependsOn` attribute to a resource, that resource is created only after the creation of the resource specified in the `DependsOn` attribute. For an example, see [Add AWS log sources](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html#aws-resource-securitylake-awslogsource--examples) .

Import

import { CfnAwsLogSource } from 'aws-cdk-lib/aws-securitylake';

Or use the module namespace:

import * as securitylake from 'aws-cdk-lib/aws-securitylake';
// securitylake.CfnAwsLogSource

Properties

Configuration passed to the constructor as CfnAwsLogSourceProps.

dataLakeArnRequired
string

The Amazon Resource Name (ARN) used to create the data lake.

sourceNameRequired
string

The name for a AWS source. This must be a Regionally unique value. For the list of sources supported by Amazon Security Lake see [Collecting data from AWS services](https://docs.aws.amazon.com//security-lake/latest/userguide/internal-sources.html) in the Amazon Security Lake User Guide.

sourceVersionRequired
string

The version for a AWS source. For more details about source versions supported by Amazon Security Lake see [OCSF source identification](https://docs.aws.amazon.com//security-lake/latest/userguide/open-cybersecurity-schema-framework.html#ocsf-source-identification) in the Amazon Security Lake User Guide. This must be a Regionally unique value.

accountsOptional
string[]

Specify the AWS account information where you want to enable Security Lake.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-securitylake
CFN TypeAWS::SecurityLake::AwsLogSource
Properties4

External Links