Class CognitoOptions.Builder

java.lang.Object
software.amazon.awscdk.services.elasticsearch.CognitoOptions.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CognitoOptions>
Enclosing interface:
CognitoOptions

@Stability(Deprecated) @Deprecated public static final class CognitoOptions.Builder extends Object implements software.amazon.jsii.Builder<CognitoOptions>
Deprecated.
A builder for CognitoOptions
  • Constructor Details

    • Builder

      public Builder()
      Deprecated.
  • Method Details

    • identityPoolId

      @Stability(Deprecated) @Deprecated public CognitoOptions.Builder identityPoolId(String identityPoolId)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      identityPoolId - The Amazon Cognito identity pool ID that you want Amazon ES to use for Kibana authentication. This parameter is required.
      Returns:
      this
    • role

      @Stability(Deprecated) @Deprecated public CognitoOptions.Builder role(IRole role)
      Deprecated.
      use opensearchservice module instead
      Sets the value of CognitoOptions.getRole()
      Parameters:
      role - A role that allows Amazon ES to configure your user pool and identity pool. This parameter is required. It must have the AmazonESCognitoAccess policy attached to it.
      Returns:
      this
    • userPoolId

      @Stability(Deprecated) @Deprecated public CognitoOptions.Builder userPoolId(String userPoolId)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      userPoolId - The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication. This parameter is required.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public CognitoOptions build()
      Deprecated.
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CognitoOptions>
      Returns:
      a new instance of CognitoOptions
      Throws:
      NullPointerException - if any required attribute was not provided