# LakeFormationConfigurationProperty

Lake Formation configuration.

- Source: Generated at build time
- Type last changed: v2.237.0 · 2 Feb 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrcontainers as emrcontainers } from 'aws-cdk-lib';
const lakeFormationConfigurationProperty: emrcontainers.CfnSecurityConfiguration.LakeFormationConfigurationProperty = {
  authorizedSessionTagValue: 'authorizedSessionTagValue',
  queryAccessControlEnabled: false,
  queryEngineRoleArn: 'queryEngineRoleArn',
  secureNamespaceInfo: {
    clusterId: 'clusterId',
    namespace: 'namespace',
  },
};
```

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_emrcontainers as emrcontainers

lake_formation_configuration_property = emrcontainers.CfnSecurityConfiguration.LakeFormationConfigurationProperty(
    authorized_session_tag_value="authorizedSessionTagValue",
    query_access_control_enabled=False,
    query_engine_role_arn="queryEngineRoleArn",
    secure_namespace_info=emrcontainers.CfnSecurityConfiguration.SecureNamespaceInfoProperty(
        cluster_id="clusterId",
        namespace="namespace"
    )
)
```

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.emrcontainers.*;

LakeFormationConfigurationProperty lakeFormationConfigurationProperty = LakeFormationConfigurationProperty.builder()
        .authorizedSessionTagValue("authorizedSessionTagValue")
        .queryAccessControlEnabled(false)
        .queryEngineRoleArn("queryEngineRoleArn")
        .secureNamespaceInfo(SecureNamespaceInfoProperty.builder()
                .clusterId("clusterId")
                .namespace("namespace")
                .build())
        .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.EMRContainers;

var lakeFormationConfigurationProperty = new LakeFormationConfigurationProperty {
    AuthorizedSessionTagValue = "authorizedSessionTagValue",
    QueryAccessControlEnabled = false,
    QueryEngineRoleArn = "queryEngineRoleArn",
    SecureNamespaceInfo = new SecureNamespaceInfoProperty {
        ClusterId = "clusterId",
        Namespace = "namespace"
    }
};
```

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{
	AuthorizedSessionTagValue: jsii.String("authorizedSessionTagValue"),
	QueryAccessControlEnabled: jsii.Boolean(false),
	QueryEngineRoleArn: jsii.String("queryEngineRoleArn"),
	SecureNamespaceInfo: &SecureNamespaceInfoProperty{
		ClusterId: jsii.String("clusterId"),
		Namespace: jsii.String("namespace"),
	},
}
```

## Properties

- `authorizedSessionTagValue`: string — The session tag to authorize Lake Formation access.

- `queryAccessControlEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether query access control is enabled.

- `queryEngineRoleArn`: string — The ARN of the query engine role.

- `secureNamespaceInfo`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSecurityConfiguration.SecureNamespaceInfoProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_emrcontainers.CfnSecurityConfiguration.SecureNamespaceInfoProperty.html) — Secure namespace information for Lake Formation.
