Skip to content
v2.278.0

KerberosAttributesProperty Struct ​

Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.

See the RunJobFlow API for complete documentation on input parameters

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const kerberosAttributesProperty: stepfunctions_tasks.EmrCreateCluster.KerberosAttributesProperty = {
  realm: 'realm',

  // the properties below are optional
  adDomainJoinPassword: 'adDomainJoinPassword',
  adDomainJoinUser: 'adDomainJoinUser',
  crossRealmTrustPrincipalPassword: 'crossRealmTrustPrincipalPassword',
  kdcAdminPassword: 'kdcAdminPassword',
};
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_stepfunctions_tasks as stepfunctions_tasks

kerberos_attributes_property = stepfunctions_tasks.EmrCreateCluster.KerberosAttributesProperty(
    realm="realm",

    # the properties below are optional
    ad_domain_join_password="adDomainJoinPassword",
    ad_domain_join_user="adDomainJoinUser",
    cross_realm_trust_principal_password="crossRealmTrustPrincipalPassword",
    kdc_admin_password="kdcAdminPassword"
)
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.stepfunctions.tasks.*;

KerberosAttributesProperty kerberosAttributesProperty = KerberosAttributesProperty.builder()
        .realm("realm")

        // the properties below are optional
        .adDomainJoinPassword("adDomainJoinPassword")
        .adDomainJoinUser("adDomainJoinUser")
        .crossRealmTrustPrincipalPassword("crossRealmTrustPrincipalPassword")
        .kdcAdminPassword("kdcAdminPassword")
        .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.StepFunctions.Tasks;

var kerberosAttributesProperty = new KerberosAttributesProperty {
    Realm = "realm",

    // the properties below are optional
    AdDomainJoinPassword = "adDomainJoinPassword",
    AdDomainJoinUser = "adDomainJoinUser",
    CrossRealmTrustPrincipalPassword = "crossRealmTrustPrincipalPassword",
    KdcAdminPassword = "kdcAdminPassword"
};
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{
	Realm: jsii.String("realm"),

	// the properties below are optional
	AdDomainJoinPassword: jsii.String("adDomainJoinPassword"),
	AdDomainJoinUser: jsii.String("adDomainJoinUser"),
	CrossRealmTrustPrincipalPassword: jsii.String("crossRealmTrustPrincipalPassword"),
	KdcAdminPassword: jsii.String("kdcAdminPassword"),
}

Properties ​

adDomainJoinPasswordoptionalstringad_domain_join_passwordoptionalstradDomainJoinPasswordoptionalStringAdDomainJoinPasswordoptionalstringAdDomainJoinPasswordoptional*string #
The Active Directory password for ADDomainJoinUser.

Default: No adDomainJoinPassword

adDomainJoinUseroptionalstringad_domain_join_useroptionalstradDomainJoinUseroptionalStringAdDomainJoinUseroptionalstringAdDomainJoinUseroptional*string #
Required only when establishing a cross-realm trust with an Active Directory domain.

Default: No adDomainJoinUser

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.

Default: No crossRealmTrustPrincipalPassword

The cross-realm principal password, which must be identical across realms.

kdcAdminPasswordoptionalstringkdc_admin_passwordoptionalstrkdcAdminPasswordoptionalStringKdcAdminPasswordoptionalstringKdcAdminPasswordoptional*string #
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.

Default: No kdcAdminPassword

realmstringrealmstrrealmStringRealmstringRealm*string required #
The name of the Kerberos realm to which all nodes in a cluster belong.

For example, EC2.INTERNAL.