Skip to content
v2.278.0

AuthorizationConfigurationProperty Struct ​

Authorization configuration for the security 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 authorizationConfigurationProperty: emrcontainers.CfnSecurityConfiguration.AuthorizationConfigurationProperty = {
  lakeFormationConfiguration: {
    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

authorization_configuration_property = emrcontainers.CfnSecurityConfiguration.AuthorizationConfigurationProperty(
    lake_formation_configuration=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.*;

AuthorizationConfigurationProperty authorizationConfigurationProperty = AuthorizationConfigurationProperty.builder()
        .lakeFormationConfiguration(LakeFormationConfigurationProperty.builder()
                .authorizedSessionTagValue("authorizedSessionTagValue")
                .queryAccessControlEnabled(false)
                .queryEngineRoleArn("queryEngineRoleArn")
                .secureNamespaceInfo(SecureNamespaceInfoProperty.builder()
                        .clusterId("clusterId")
                        .namespace("namespace")
                        .build())
                .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 authorizationConfigurationProperty = new AuthorizationConfigurationProperty {
    LakeFormationConfiguration = 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"

authorizationConfigurationProperty := &AuthorizationConfigurationProperty{
	LakeFormationConfiguration: &LakeFormationConfigurationProperty{
		AuthorizedSessionTagValue: jsii.String("authorizedSessionTagValue"),
		QueryAccessControlEnabled: jsii.Boolean(false),
		QueryEngineRoleArn: jsii.String("queryEngineRoleArn"),
		SecureNamespaceInfo: &SecureNamespaceInfoProperty{
			ClusterId: jsii.String("clusterId"),
			Namespace: jsii.String("namespace"),
		},
	},
}

Properties ​

lakeFormationConfigurationoptionalIResolvable | CfnSecurityConfiguration.LakeFormationConfigurationPropertylake_formation_configurationoptionaltyping.Union[IResolvable, LakeFormationConfigurationProperty]lakeFormationConfigurationoptionalIResolvableLakeFormationConfigurationoptionalIResolvableLakeFormationConfigurationoptionalinterface{} #
Lake Formation configuration.