Skip to content
v2.278.0

LakeFormationConfigurationProperty Struct ​

Lake Formation configuration.

Example ​

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
# 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
// 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();
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"
    }
};
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 ​

authorizedSessionTagValueoptionalstringauthorized_session_tag_valueoptionalstrauthorizedSessionTagValueoptionalStringAuthorizedSessionTagValueoptionalstringAuthorizedSessionTagValueoptional*string #
The session tag to authorize Lake Formation access.
queryAccessControlEnabledoptionalboolean | IResolvablequery_access_control_enabledoptionaltyping.Union[bool, IResolvable]queryAccessControlEnabledoptionalBooleanQueryAccessControlEnabledoptionalboolQueryAccessControlEnabledoptionalinterface{} #
Whether query access control is enabled.
queryEngineRoleArnoptionalstringquery_engine_role_arnoptionalstrqueryEngineRoleArnoptionalStringQueryEngineRoleArnoptionalstringQueryEngineRoleArnoptional*string #
The ARN of the query engine role.
secureNamespaceInfooptionalIResolvable | CfnSecurityConfiguration.SecureNamespaceInfoPropertysecure_namespace_infooptionaltyping.Union[IResolvable, SecureNamespaceInfoProperty]secureNamespaceInfooptionalIResolvableSecureNamespaceInfooptionalIResolvableSecureNamespaceInfooptionalinterface{} #
Secure namespace information for Lake Formation.