Enum AuthenticationMethod

java.lang.Object
java.lang.Enum<AuthenticationMethod>
software.amazon.awscdk.services.lambda.eventsources.AuthenticationMethod
All Implemented Interfaces:
Serializable, Comparable<AuthenticationMethod>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:19.307Z") @Stability(Stable) public enum AuthenticationMethod extends Enum<AuthenticationMethod>
The authentication method to use with SelfManagedKafkaEventSource.
  • Enum Constant Details

    • SASL_SCRAM_512_AUTH

      @Stability(Stable) public static final AuthenticationMethod SASL_SCRAM_512_AUTH
      SASL_SCRAM_512_AUTH authentication method for your Kafka cluster.
    • SASL_SCRAM_256_AUTH

      @Stability(Stable) public static final AuthenticationMethod SASL_SCRAM_256_AUTH
      SASL_SCRAM_256_AUTH authentication method for your Kafka cluster.
    • BASIC_AUTH

      @Stability(Stable) public static final AuthenticationMethod BASIC_AUTH
      BASIC_AUTH (SASL/PLAIN) authentication method for your Kafka cluster.
    • CLIENT_CERTIFICATE_TLS_AUTH

      @Stability(Stable) public static final AuthenticationMethod CLIENT_CERTIFICATE_TLS_AUTH
      CLIENT_CERTIFICATE_TLS_AUTH (mTLS) authentication method for your Kafka cluster.
  • Method Details

    • values

      public static AuthenticationMethod[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AuthenticationMethod valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null