SecurityLake / Client / create_datalake_auto_enable

create_datalake_auto_enable#

SecurityLake.Client.create_datalake_auto_enable(**kwargs)#

Automatically enables Amazon Security Lake for new member accounts in your organization. Security Lake is not automatically enabled for any existing member accounts in your organization.

See also: AWS API Documentation

Request Syntax

response = client.create_datalake_auto_enable(
    configurationForNewAccounts=[
        {
            'region': 'us-east-1'|'us-west-2'|'eu-central-1'|'us-east-2'|'eu-west-1'|'ap-northeast-1'|'ap-southeast-2',
            'sources': [
                'ROUTE53'|'VPC_FLOW'|'CLOUD_TRAIL'|'SH_FINDINGS',
            ]
        },
    ]
)
Parameters:

configurationForNewAccounts (list) –

[REQUIRED]

Enable Security Lake with the specified configuration settings to begin collecting security data for new accounts in your organization.

  • (dict) –

    Automatically enable new organization accounts as member accounts from an Amazon Security Lake administrator account.

    • region (string) – [REQUIRED]

      The Amazon Web Services Regions where Security Lake is automatically enabled.

    • sources (list) – [REQUIRED]

      The Amazon Web Services sources that are automatically enabled in Security Lake.

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SecurityLake.Client.exceptions.InternalServerException

  • SecurityLake.Client.exceptions.ValidationException

  • SecurityLake.Client.exceptions.AccessDeniedException

  • SecurityLake.Client.exceptions.AccountNotFoundException