All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerify Maven / Gradle / Ivy

There is a newer version: 3.9.0
Show newest version
package org.mongodb.awscdk.resources.mongodbatlas;

/**
 * A CloudFormation MongoDB::Atlas::LDAPVerify.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:28.938Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.mongodb.awscdk.resources.mongodbatlas.$Module.class, fqn = "awscdk-resources-mongodbatlas.CfnLdapVerify")
public class CfnLdapVerify extends software.amazon.awscdk.CfnResource {

    protected CfnLdapVerify(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected CfnLdapVerify(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    static {
        CFN_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerify.class, "CFN_RESOURCE_TYPE_NAME", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * Create a new MongoDB::Atlas::LDAPVerify.
     * 

* @param scope

  • scope in which this resource is defined.
This parameter is required. * @param id
  • scoped id of the resource.
This parameter is required. * @param props
  • resource properties.
This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public CfnLdapVerify(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerifyProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * The CloudFormation resource type name for this resource class. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static java.lang.String CFN_RESOURCE_TYPE_NAME; /** * Attribute MongoDB::Atlas::LDAPVerify.RequestId. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getAttrRequestId() { return software.amazon.jsii.Kernel.get(this, "attrRequestId", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * Attribute MongoDB::Atlas::LDAPVerify.Status. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getAttrStatus() { return software.amazon.jsii.Kernel.get(this, "attrStatus", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * Resource props. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerifyProps getProps() { return software.amazon.jsii.Kernel.get(this, "props", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerifyProps.class)); } /** * A fluent builder for {@link org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerify}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param scope
  • scope in which this resource is defined.
This parameter is required. * @param id
  • scoped id of the resource.
This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static Builder create(final software.constructs.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.constructs.Construct scope; private final java.lang.String id; private final org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerifyProps.Builder props; private Builder(final software.constructs.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.props = new org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerifyProps.Builder(); } /** * Password that MongoDB Cloud uses to authenticate the bindUsername. *

* @return {@code this} * @param bindPassword Password that MongoDB Cloud uses to authenticate the bindUsername. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder bindPassword(final java.lang.String bindPassword) { this.props.bindPassword(bindPassword); return this; } /** * Full Distinguished Name (DN) of the Lightweight Directory Access Protocol (LDAP) user that MongoDB Cloud uses to connect to the LDAP host. *

* LDAP distinguished names must be formatted according to RFC 2253. *

* @return {@code this} * @param bindUsername Full Distinguished Name (DN) of the Lightweight Directory Access Protocol (LDAP) user that MongoDB Cloud uses to connect to the LDAP host. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder bindUsername(final java.lang.String bindUsername) { this.props.bindUsername(bindUsername); return this; } /** * Human-readable label that identifies the hostname or Internet Protocol (IP) address of the Lightweight Directory Access Protocol (LDAP) host. *

* This host must have access to the internet or have a Virtual Private Cloud (VPC) peering connection to your cluster. *

* @return {@code this} * @param hostName Human-readable label that identifies the hostname or Internet Protocol (IP) address of the Lightweight Directory Access Protocol (LDAP) host. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder hostName(final java.lang.String hostName) { this.props.hostName(hostName); return this; } /** * Port to which the Lightweight Directory Access Protocol (LDAP) host listens for client connections. *

* @return {@code this} * @param port Port to which the Lightweight Directory Access Protocol (LDAP) host listens for client connections. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder port(final java.lang.Number port) { this.props.port(port); return this; } /** * Unique 24-hexadecimal digit string that identifies your project. *

* @return {@code this} * @param projectId Unique 24-hexadecimal digit string that identifies your project. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder projectId(final java.lang.String projectId) { this.props.projectId(projectId); return this; } /** * Lightweight Directory Access Protocol (LDAP) query template that MongoDB Cloud runs to obtain the LDAP groups associated with the authenticated user. *

* MongoDB Cloud uses this parameter only for user authorization. Use the {USER} placeholder in the Uniform Resource Locator (URL) to substitute the authenticated username. The query relates to the host specified with the hostname. Format this query according to RFC 4515 and RFC 4516. *

* @return {@code this} * @param authzQueryTemplate Lightweight Directory Access Protocol (LDAP) query template that MongoDB Cloud runs to obtain the LDAP groups associated with the authenticated user. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder authzQueryTemplate(final java.lang.String authzQueryTemplate) { this.props.authzQueryTemplate(authzQueryTemplate); return this; } /** * Certificate Authority (CA) certificate that MongoDB Cloud uses to verify the identity of the Lightweight Directory Access Protocol (LDAP) host. *

* MongoDB Cloud allows self-signed certificates. To delete an assigned value, pass an empty string: "caCertificate": "" *

* @return {@code this} * @param caCertificate Certificate Authority (CA) certificate that MongoDB Cloud uses to verify the identity of the Lightweight Directory Access Protocol (LDAP) host. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder caCertificate(final java.lang.String caCertificate) { this.props.caCertificate(caCertificate); return this; } /** * Profile used to provide credentials information, (a secret with the cfn/atlas/profile/{Profile}, is required), if not provided default is used. *

* @return {@code this} * @param profile Profile used to provide credentials information, (a secret with the cfn/atlas/profile/{Profile}, is required), if not provided default is used. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder profile(final java.lang.String profile) { this.props.profile(profile); return this; } /** * List of validation messages related to the verification of the provided LDAP over TLS configuration details. *

* The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. *

* @return {@code this} * @param validations List of validation messages related to the verification of the provided LDAP over TLS configuration details. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder validations(final java.util.List validations) { this.props.validations(validations); return this; } /** * @return a newly built instance of {@link org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerify}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerify build() { return new org.mongodb.awscdk.resources.mongodbatlas.CfnLdapVerify( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy