Class CfnDataLakePropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
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
AwsLogSourceresources 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDataLakePropsMixin.static interfaceProvides encryption details of the Amazon Security Lake object.static interfaceProvides data expiration details of the Amazon Security Lake object.static interfaceProvides lifecycle details of Amazon Security Lake object.static interfaceProvides replication configuration details for objects stored in the Amazon Security Lake data lake.static interfaceProvides transition lifecycle details of the Amazon Security Lake object.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SecurityLake::DataLake.CfnDataLakePropsMixin(CfnDataLakeMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SecurityLake::DataLake.protectedCfnDataLakePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataLakePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDataLakeMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::SecurityLake::DataLake.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDataLakePropsMixin
Create a mixin to apply properties toAWS::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-