KerberosAttributesProperty Struct
KerberosAttributes is a property of the AWS::EMR::Cluster resource.
KerberosAttributes define the cluster-specific Kerberos configuration when Kerberos authentication is enabled using a security configuration. The cluster-specific configuration must be compatible with the security configuration. For more information see Use Kerberos Authentication in the EMR Management Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
const kerberosAttributesProperty: emr.CfnCluster.KerberosAttributesProperty = {
kdcAdminPassword: 'kdcAdminPassword',
realm: 'realm',
// the properties below are optional
adDomainJoinPassword: 'adDomainJoinPassword',
adDomainJoinUser: 'adDomainJoinUser',
crossRealmTrustPrincipalPassword: 'crossRealmTrustPrincipalPassword',
};
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_emr as emr
kerberos_attributes_property = emr.CfnCluster.KerberosAttributesProperty(
kdc_admin_password="kdcAdminPassword",
realm="realm",
# the properties below are optional
ad_domain_join_password="adDomainJoinPassword",
ad_domain_join_user="adDomainJoinUser",
cross_realm_trust_principal_password="crossRealmTrustPrincipalPassword"
)
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.emr.*;
KerberosAttributesProperty kerberosAttributesProperty = KerberosAttributesProperty.builder()
.kdcAdminPassword("kdcAdminPassword")
.realm("realm")
// the properties below are optional
.adDomainJoinPassword("adDomainJoinPassword")
.adDomainJoinUser("adDomainJoinUser")
.crossRealmTrustPrincipalPassword("crossRealmTrustPrincipalPassword")
.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.EMR;
var kerberosAttributesProperty = new KerberosAttributesProperty {
KdcAdminPassword = "kdcAdminPassword",
Realm = "realm",
// the properties below are optional
AdDomainJoinPassword = "adDomainJoinPassword",
AdDomainJoinUser = "adDomainJoinUser",
CrossRealmTrustPrincipalPassword = "crossRealmTrustPrincipalPassword"
};
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"
kerberosAttributesProperty := &KerberosAttributesProperty{
KdcAdminPassword: jsii.String("kdcAdminPassword"),
Realm: jsii.String("realm"),
// the properties below are optional
AdDomainJoinPassword: jsii.String("adDomainJoinPassword"),
AdDomainJoinUser: jsii.String("adDomainJoinUser"),
CrossRealmTrustPrincipalPassword: jsii.String("crossRealmTrustPrincipalPassword"),
}
Properties
adDomainJoinPasswordoptionalstringad_domain_join_passwordoptionalstradDomainJoinPasswordoptionalStringAdDomainJoinPasswordoptionalstringAdDomainJoinPasswordoptional*string #The Active Directory password for `ADDomainJoinUser` .
adDomainJoinUseroptionalstringad_domain_join_useroptionalstradDomainJoinUseroptionalStringAdDomainJoinUseroptionalstringAdDomainJoinUseroptional*string #Required only when establishing a cross-realm trust with an Active Directory domain.
A user with sufficient privileges to join resources to the domain.
crossRealmTrustPrincipalPasswordoptionalstringcross_realm_trust_principal_passwordoptionalstrcrossRealmTrustPrincipalPasswordoptionalStringCrossRealmTrustPrincipalPasswordoptionalstringCrossRealmTrustPrincipalPasswordoptional*string #Required only when establishing a cross-realm trust with a KDC in a different realm.
The cross-realm principal password, which must be identical across realms.
kdcAdminPasswordstringkdc_admin_passwordstrkdcAdminPasswordStringKdcAdminPasswordstringKdcAdminPassword*string required #The password used within the cluster for the kadmin service on the cluster-dedicated KDC, which maintains Kerberos principals, password policies, and keytabs for the cluster.
The name of the Kerberos realm to which all nodes in a cluster belong.
For example, EC2.INTERNAL .