Skip to main content

data_lake_organization_configurations

Creates, updates, deletes, gets or lists a data_lake_organization_configurations resource.

Overview

Namedata_lake_organization_configurations
TypeResource
Idaws.securitylake.data_lake_organization_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auto_enable_new_accountarrayThe configuration used for new accounts in Security Lake.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_lake_organization_configurationselectregionRetrieves the configuration that will be automatically set up for accounts added to the organization after the organization has onboarded to Amazon Security Lake. This API does not take input parameters.
create_data_lake_organization_configurationinsertregionAutomatically 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. This operation merges the new data lake organization configuration with the existing configuration for Security Lake in your organization. If you want to create a new data lake organization configuration, you must delete the existing one using DeleteDataLakeOrganizationConfiguration.
delete_data_lake_organization_configurationdeleteregionTurns off automatic enablement of Amazon Security Lake for member accounts that are added to an organization in Organizations. Only the delegated Security Lake administrator for an organization can perform this operation. If the delegated Security Lake administrator performs this operation, new member accounts won't automatically contribute data to the data lake.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has onboarded to Amazon Security Lake. This API does not take input parameters.

SELECT
auto_enable_new_account
FROM aws.securitylake.data_lake_organization_configurations
WHERE region = '{{ region }}' -- required
;

INSERT examples

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. This operation merges the new data lake organization configuration with the existing configuration for Security Lake in your organization. If you want to create a new data lake organization configuration, you must delete the existing one using DeleteDataLakeOrganizationConfiguration.

INSERT INTO aws.securitylake.data_lake_organization_configurations (
autoEnableNewAccount,
region
)
SELECT
'{{ autoEnableNewAccount }}',
'{{ region }}'
;

DELETE examples

Turns off automatic enablement of Amazon Security Lake for member accounts that are added to an organization in Organizations. Only the delegated Security Lake administrator for an organization can perform this operation. If the delegated Security Lake administrator performs this operation, new member accounts won't automatically contribute data to the data lake.

DELETE FROM aws.securitylake.data_lake_organization_configurations
WHERE region = '{{ region }}' --required
;