Class ProxyAuthArgs.Builder

  • Enclosing class:
    ProxyAuthArgs

    public static final class ProxyAuthArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • authScheme

        public ProxyAuthArgs.Builder authScheme​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> authScheme)
        Parameters:
        authScheme - Type of authentication that the proxy uses for connections from the proxy to the underlying database. One of `SECRETS`.
        Returns:
        builder
      • authScheme

        public ProxyAuthArgs.Builder authScheme​(java.lang.String authScheme)
        Parameters:
        authScheme - Type of authentication that the proxy uses for connections from the proxy to the underlying database. One of `SECRETS`.
        Returns:
        builder
      • clientPasswordAuthType

        public ProxyAuthArgs.Builder clientPasswordAuthType​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> clientPasswordAuthType)
        Parameters:
        clientPasswordAuthType - Type of authentication the proxy uses for connections from clients. Valid values are `MYSQL_CACHING_SHA2_PASSWORD`, `MYSQL_NATIVE_PASSWORD`, `POSTGRES_SCRAM_SHA_256`, `POSTGRES_MD5`, and `SQL_SERVER_AUTHENTICATION`.
        Returns:
        builder
      • clientPasswordAuthType

        public ProxyAuthArgs.Builder clientPasswordAuthType​(java.lang.String clientPasswordAuthType)
        Parameters:
        clientPasswordAuthType - Type of authentication the proxy uses for connections from clients. Valid values are `MYSQL_CACHING_SHA2_PASSWORD`, `MYSQL_NATIVE_PASSWORD`, `POSTGRES_SCRAM_SHA_256`, `POSTGRES_MD5`, and `SQL_SERVER_AUTHENTICATION`.
        Returns:
        builder
      • description

        public ProxyAuthArgs.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - User-specified description about the authentication used by a proxy to log in as a specific database user.
        Returns:
        builder
      • description

        public ProxyAuthArgs.Builder description​(java.lang.String description)
        Parameters:
        description - User-specified description about the authentication used by a proxy to log in as a specific database user.
        Returns:
        builder
      • iamAuth

        public ProxyAuthArgs.Builder iamAuth​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> iamAuth)
        Parameters:
        iamAuth - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. One of `DISABLED`, `REQUIRED`.
        Returns:
        builder
      • iamAuth

        public ProxyAuthArgs.Builder iamAuth​(java.lang.String iamAuth)
        Parameters:
        iamAuth - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. One of `DISABLED`, `REQUIRED`.
        Returns:
        builder
      • secretArn

        public ProxyAuthArgs.Builder secretArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> secretArn)
        Parameters:
        secretArn - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
        Returns:
        builder
      • secretArn

        public ProxyAuthArgs.Builder secretArn​(java.lang.String secretArn)
        Parameters:
        secretArn - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
        Returns:
        builder
      • username

        public ProxyAuthArgs.Builder username​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> username)
        Parameters:
        username - Name of the database user to which the proxy connects.
        Returns:
        builder
      • username

        public ProxyAuthArgs.Builder username​(java.lang.String username)
        Parameters:
        username - Name of the database user to which the proxy connects.
        Returns:
        builder