Class CfnDataLake
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IDataLakeRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
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.services.securitylake.*;
CfnDataLake cfnDataLake = CfnDataLake.Builder.create(this, "MyCfnDataLake")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDataLake.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.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.securitylake.IDataLakeRef
IDataLakeRef.Jsii$Default, IDataLakeRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDataLake(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataLake(software.amazon.jsii.JsiiObjectRef objRef) CfnDataLake(software.constructs.Construct scope, String id) CfnDataLake(software.constructs.Construct scope, String id, CfnDataLakeProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the data lake.The Amazon Resource Name (ARN) of the Amazon S3 bucket.Tag Manager which manages the tags for this resource.A reference to a DataLake resource.Provides encryption details of the Amazon Security Lake object.You can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time.The Amazon Resource Name (ARN) used to create and update the AWS Glue table.Provides replication details of Amazon Security Lake object.getTags()An array of objects, one for each tag to associate with the data lake configuration.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidProvides encryption details of the Amazon Security Lake object.voidProvides encryption details of the Amazon Security Lake object.voidYou can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time.voidYou can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time.voidsetMetaStoreManagerRoleArn(String value) The Amazon Resource Name (ARN) used to create and update the AWS Glue table.voidProvides replication details of Amazon Security Lake object.voidProvides replication details of Amazon Security Lake object.voidAn array of objects, one for each tag to associate with the data lake configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDataLake
protected CfnDataLake(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataLake
protected CfnDataLake(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataLake
@Stability(Stable) public CfnDataLake(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDataLakeProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnDataLake
@Stability(Stable) public CfnDataLake(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the data lake. -
getAttrS3BucketArn
The Amazon Resource Name (ARN) of the Amazon S3 bucket. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDataLakeRef
A reference to a DataLake resource.- Specified by:
getDataLakeRefin interfaceIDataLakeRef
-
getEncryptionConfiguration
Provides encryption details of the Amazon Security Lake object.Returns union: either
IResolvableorCfnDataLake.EncryptionConfigurationProperty -
setEncryptionConfiguration
Provides encryption details of the Amazon Security Lake object. -
setEncryptionConfiguration
@Stability(Stable) public void setEncryptionConfiguration(@Nullable CfnDataLake.EncryptionConfigurationProperty value) Provides encryption details of the Amazon Security Lake object. -
getLifecycleConfiguration
You can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time.Returns union: either
IResolvableorCfnDataLake.LifecycleConfigurationProperty -
setLifecycleConfiguration
You can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time. -
setLifecycleConfiguration
@Stability(Stable) public void setLifecycleConfiguration(@Nullable CfnDataLake.LifecycleConfigurationProperty value) You can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time. -
getMetaStoreManagerRoleArn
The Amazon Resource Name (ARN) used to create and update the AWS Glue table. -
setMetaStoreManagerRoleArn
The Amazon Resource Name (ARN) used to create and update the AWS Glue table. -
getReplicationConfiguration
Provides replication details of Amazon Security Lake object.Returns union: either
IResolvableorCfnDataLake.ReplicationConfigurationProperty -
setReplicationConfiguration
Provides replication details of Amazon Security Lake object. -
setReplicationConfiguration
@Stability(Stable) public void setReplicationConfiguration(@Nullable CfnDataLake.ReplicationConfigurationProperty value) Provides replication details of Amazon Security Lake object. -
getTags
An array of objects, one for each tag to associate with the data lake configuration. -
setTags
An array of objects, one for each tag to associate with the data lake configuration.
-