java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.securitylake.CfnDataLakePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:20:05.417Z") @Stability(Stable) public class CfnDataLakePropsMixin extends Mixin implements software.constructs.IMixin
Initializes an Amazon Security Lake instance with the provided (or default) configuration.

You can enable Security Lake in AWS Regions with customized settings before enabling log collection in Regions. To specify particular Regions, configure these Regions using the configurations parameter. If you have already enabled Security Lake in a Region when you call this command, the command will update the Region if you provide new configuration parameters. If you have not already enabled Security Lake in the Region when you call this API, it will set up the data lake in the Region with the specified configurations.

When you enable Security Lake , it starts ingesting security data after the CreateAwsLogSource call. This includes ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also enables all the existing settings and resources that it stores or maintains for your AWS account in the current Region, including security log and event data. For more information, see the Amazon Security Lake User Guide .

If you use this template to create multiple data lakes in different AWS Regions , and more than one of your data lakes include an AWS::SecurityLake::AwsLogSource resource, then you must deploy these data lakes sequentially. This is required because data lakes operate globally, and AwsLogSource resources must be deployed one at a time.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.securitylake.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnDataLakePropsMixin cfnDataLakePropsMixin = CfnDataLakePropsMixin.Builder.create(CfnDataLakeMixinProps.builder()
         .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                 .kmsKeyId("kmsKeyId")
                 .build())
         .lifecycleConfiguration(LifecycleConfigurationProperty.builder()
                 .expiration(ExpirationProperty.builder()
                         .days(123)
                         .build())
                 .transitions(List.of(TransitionsProperty.builder()
                         .days(123)
                         .storageClass("storageClass")
                         .build()))
                 .build())
         .metaStoreManagerRoleArn("metaStoreManagerRoleArn")
         .replicationConfiguration(ReplicationConfigurationProperty.builder()
                 .regions(List.of("regions"))
                 .roleArn("roleArn")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnDataLakePropsMixin

      protected CfnDataLakePropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDataLakePropsMixin

      protected CfnDataLakePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDataLakePropsMixin

      @Stability(Stable) public CfnDataLakePropsMixin(@NotNull CfnDataLakeMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::SecurityLake::DataLake.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnDataLakePropsMixin

      @Stability(Stable) public CfnDataLakePropsMixin(@NotNull CfnDataLakeMixinProps props)
      Create a mixin to apply properties to AWS::SecurityLake::DataLake.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnDataLakeMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()