Class CfnDataLake
Initializes an Amazon Security Lake instance with the provided (or default) configuration.
Inherited Members
Namespace: Amazon.CDK.AwsSecuritylake
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataLake : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnDataLake
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
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 .
CloudformationResource: AWS::SecurityLake::DataLake
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Aws_securitylake;
var cfnDataLake = new CfnDataLake(this, "MyCfnDataLake", new CfnDataLakeProps {
EncryptionConfiguration = new EncryptionConfigurationProperty {
KmsKeyId = "kmsKeyId"
},
LifecycleConfiguration = new LifecycleConfigurationProperty {
Expiration = new ExpirationProperty {
Days = 123
},
Transitions = new [] { new TransitionsProperty {
Days = 123,
StorageClass = "storageClass"
} }
},
MetaStoreManagerRoleArn = "metaStoreManagerRoleArn",
ReplicationConfiguration = new ReplicationConfigurationProperty {
Regions = new [] { "regions" },
RoleArn = "roleArn"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The Amazon Resource Name (ARN) of the data lake. |
Attr |
The Amazon Resource Name (ARN) of the Amazon S3 bucket. |
Cdk |
Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Encryption |
Provides encryption details of the Amazon Security Lake object. |
Lifecycle |
You can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time. |
Meta |
The Amazon Resource Name (ARN) used to create and update the AWS Glue table. |
Replication |
Provides replication details of Amazon Security Lake object. |
Tags | An array of objects, one for each tag to associate with the data lake configuration. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDataLake(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDataLake(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnDataLake(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDataLake(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnDataLake(Construct, String, ICfnDataLakeProps)
public CfnDataLake(Construct scope, string id, ICfnDataLakeProps props = null)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Data Lake Props Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the data lake.
public virtual string AttrArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: Arn
AttrS3BucketArn
The Amazon Resource Name (ARN) of the Amazon S3 bucket.
public virtual string AttrS3BucketArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: S3BucketArn
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
EncryptionConfiguration
Provides encryption details of the Amazon Security Lake object.
public virtual object EncryptionConfiguration { get; set; }
Property Value
System.
LifecycleConfiguration
You can customize Security Lake to store data in your preferred AWS Regions for your preferred amount of time.
public virtual object LifecycleConfiguration { get; set; }
Property Value
System.
MetaStoreManagerRoleArn
The Amazon Resource Name (ARN) used to create and update the AWS Glue table.
public virtual string MetaStoreManagerRoleArn { get; set; }
Property Value
System.
ReplicationConfiguration
Provides replication details of Amazon Security Lake object.
public virtual object ReplicationConfiguration { get; set; }
Property Value
System.
Tags
An array of objects, one for each tag to associate with the data lake configuration.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfn
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.