class CfnDataLakePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SecurityLake.Mixins.CfnDataLakePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssecuritylake/mixins#CfnDataLakePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.securitylake.mixins.CfnDataLakePropsMixin |
Python | aws_cdk.mixins_preview.aws_securitylake.mixins.CfnDataLakePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_securitylake » mixins » CfnDataLakePropsMixin |
Implements
IMixin
Extends
Mixin
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
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 { mixins } from '@aws-cdk/mixins-preview';
import { mixins as securitylake_mixins } from '@aws-cdk/mixins-preview/aws-securitylake';
const cfnDataLakePropsMixin = new securitylake_mixins.CfnDataLakePropsMixin({
encryptionConfiguration: {
kmsKeyId: 'kmsKeyId',
},
lifecycleConfiguration: {
expiration: {
days: 123,
},
transitions: [{
days: 123,
storageClass: 'storageClass',
}],
},
metaStoreManagerRoleArn: 'metaStoreManagerRoleArn',
replicationConfiguration: {
regions: ['regions'],
roleArn: 'roleArn',
},
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnDataLakePropsMixin(props: CfnDataLakeMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Data Lake Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::SecurityLake::DataLake.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript