SecurityLake / Client / update_datalake

update_datalake#

SecurityLake.Client.update_datalake(**kwargs)#

Specifies where to store your security data and for how long. You can add a rollup Region to consolidate data from multiple Amazon Web Services Regions.

See also: AWS API Documentation

Request Syntax

response = client.update_datalake(
    configurations={
        'string': {
            'encryptionKey': 'string',
            'replicationDestinationRegions': [
                'us-east-1'|'us-west-2'|'eu-central-1'|'us-east-2'|'eu-west-1'|'ap-northeast-1'|'ap-southeast-2',
            ],
            'replicationRoleArn': 'string',
            'retentionSettings': [
                {
                    'retentionPeriod': 123,
                    'storageClass': 'STANDARD_IA'|'ONEZONE_IA'|'INTELLIGENT_TIERING'|'GLACIER_IR'|'GLACIER'|'DEEP_ARCHIVE'|'EXPIRE'
                },
            ],
            'tagsMap': {
                'string': 'string'
            }
        }
    }
)
Parameters:

configurations (dict) –

[REQUIRED]

Specify the Region or Regions that will contribute data to the rollup region.

  • (string) –

    • (dict) –

      Provides details of Amazon Security Lake configuration object.

      • encryptionKey (string) –

        The type of encryption key used by Amazon Security Lake to encrypt the Security Lake configuration object.

      • replicationDestinationRegions (list) –

        Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets that are configured for object replication can be owned by the same Amazon Web Services account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Amazon Web Services Regions or within the same Region as the source bucket.

        Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.

        • (string) –

      • replicationRoleArn (string) –

        Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.

      • retentionSettings (list) –

        Retention settings for the destination Amazon S3 buckets.

        • (dict) –

          Retention settings for the destination Amazon S3 buckets in Amazon Security Lake.

          • retentionPeriod (integer) –

            The retention period specifies a fixed period of time during which the Security Lake object remains locked. You can specify the retention period in days for one or more sources.

          • storageClass (string) –

            The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.

      • tagsMap (dict) –

        A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define.

        • (string) –

          • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SecurityLake.Client.exceptions.EventBridgeException

  • SecurityLake.Client.exceptions.InternalServerException

  • SecurityLake.Client.exceptions.ValidationException

  • SecurityLake.Client.exceptions.AccessDeniedException

  • SecurityLake.Client.exceptions.ResourceNotFoundException