# LakeFormationConfigurationProperty

The Lake Formation configuration of the Data Lake blueprint.

- Source: Generated at build time
- Type last changed: v2.197.0 · 21 May 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const lakeFormationConfigurationProperty: datazone.CfnEnvironmentBlueprintConfiguration.LakeFormationConfigurationProperty = {
  locationRegistrationExcludeS3Locations: ['locationRegistrationExcludeS3Locations'],
  locationRegistrationRole: 'locationRegistrationRole',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datazone as datazone

lake_formation_configuration_property = datazone.CfnEnvironmentBlueprintConfiguration.LakeFormationConfigurationProperty(
    location_registration_exclude_s3_locations=["locationRegistrationExcludeS3Locations"],
    location_registration_role="locationRegistrationRole"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.datazone.*;

LakeFormationConfigurationProperty lakeFormationConfigurationProperty = LakeFormationConfigurationProperty.builder()
        .locationRegistrationExcludeS3Locations(List.of("locationRegistrationExcludeS3Locations"))
        .locationRegistrationRole("locationRegistrationRole")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataZone;

var lakeFormationConfigurationProperty = new LakeFormationConfigurationProperty {
    LocationRegistrationExcludeS3Locations = new [] { "locationRegistrationExcludeS3Locations" },
    LocationRegistrationRole = "locationRegistrationRole"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

lakeFormationConfigurationProperty := &LakeFormationConfigurationProperty{
	LocationRegistrationExcludeS3Locations: []*string{
		jsii.String("locationRegistrationExcludeS3Locations"),
	},
	LocationRegistrationRole: jsii.String("locationRegistrationRole"),
}
```

## Properties

- `locationRegistrationExcludeS3Locations`: string[] — Specifies certain Amazon S3 locations if you do not want Amazon DataZone to automatically register them in hybrid mode.

- `locationRegistrationRole`: string — The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using AWS Lake Formation hybrid access mode.
